Towards compatibility with OpenModelica

This solves #10, #26, #27, #28.
With this version, the library at least opens in OpenModelica 1.9.1 beta 4

As every model is affected by these changes, please wait with merging until internal testing and discussions are finished.