To build the Oscillator FMU you need CMake ≥ 3.16 and a supported build tool e.g. Visual Studio ≥ 2013 , Xcode or make.
Generate the build files with the following commands:
mkdir build
cd build
cmake -DFMI_TYPE=CS -DFMI_VERSION=3 ..
make
cp ./Oscillator.fmu ../..
Instead of make
, you can also use your preferred build tool to create the FMU.
The FMU model Oscillator.fmu
used for this tutorial is based on the Reference-FMUs from the Modelica Association Project "FMI", which are released under the 2-Clause BSD License.