Fixed compile-time errors in fmi 1.0 fmus. Mainly casts and unused variables.