OrdinaryDifferentialEquation is a Java interface. You have to implement it in order to initialize the ExpandableODE object. In addition, the method init is a void. So, it returns nothing. Therefore, you can’t use it to create an OrdinaryDifferentialEquation.