worked some on fmi2 support, still WIP
fmi2 support, barely works.