add "CasADi::" namespace to functions at top level, not in WriteC