Can't see anything wrong with the code.

Do you have the correct version of ODE compiled and installed?