fix(dsolvers/ode_solver): handle a corner case where m_ode_list/m_var_list is empty

Closes #2