Skip to main content

fmu

Function fmu 

Source
pub(crate) fn fmu(args: &Args) -> Result<(), Failure>
Expand description

fmu <machine> --out FILE.fmu [--fmi 2|3]: the machine with its config as an FMI 2.0 (the default) or 3.0 Co-Simulation FMU (see sim_fmi), with the descriptions in the language of --lang. Its binaries are the files --binary names (it may repeat: for FMI 2.0 a .dll goes to win64, a .so to linux64, a .dylib to darwin64; for FMI 3.0 to <architecture>-<system>, the architecture read from the binary), or else the sim-fmi library built next to this program. A machine file (--machine-file) goes into the FMU’s resources, which builds its machine from it.