Made model work in OpenModelica.

This commit also removes the parameter
forceErrorControlOnFlow which was
not used.