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 apart of the FMI4j suite and is available here: https://github.com/SFI-Mechatronics/fmi4j/releases