What Stan version do you use? I think we improved these error messages a lot recently when we introduced the variadic ode interface. So maybe switch to the latest 2.25.0 and use ode_bdf_tol instead if that is an option.
2 Likes