template for cvode codegen