Solution was in in the syntax. Last line should be
DiffEqBase.ODEProblem(f, u0, tspan, p)
omit the equal sign.