FMU2Jar is a command line utility for converting Functional Mock-up Units (FMUs) into regular Java libraries.
This allows the FMU to be loaded into an application using maven artifacts rather that referring to the location of the FMU in your app.
Furthermore, typesafe getters and setters for each variable is generated and accessiable though the API.
E.g. an FMU with the a ScalaraVariable with name “pid.kp” of type Real will have a getter like so: public double getPid_kp()
FMU2Jar is available here