Running command: "" <> buildModelFMU(MessagePack.Examples.TestCreateAndReadFile,fileNamePrefix="MessagePack_MessagePack_Examples_TestCreateAndReadFile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(MessagePack): time 0.00288/0.002879, allocations: 322 kB / 12.46 MB, free: 2.852 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.2e-05/3.444e-05, allocations: 1.438 kB / 15.5 MB, free: 6.062 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0002282/0.0003082, allocations: 100.6 kB / 15.6 MB, free: 6.055 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.004113/0.004435, allocations: 3.376 MB / 18.97 MB, free: 3.336 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001445/0.004626, allocations: 43.98 kB / 19.01 MB, free: 3.293 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.008025/0.01267, allocations: 2.213 MB / 21.23 MB, free: 1.105 MB / 13.93 MB Notification: Performance of FrontEnd: time 3.457e-06/0.01272, allocations: 0 / 21.23 MB, free: 1.105 MB / 13.93 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.01274, allocations: 3.938 kB / 21.23 MB, free: 1.102 MB / 13.93 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003873/0.01314, allocations: 384.5 kB / 21.61 MB, free: 0.6719 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/0.01321, allocations: 19.27 kB / 21.63 MB, free: 0.6562 MB / 13.93 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.369e-05/0.01326, allocations: 30.73 kB / 21.66 MB, free: 0.6172 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.01329, allocations: 1.016 kB / 21.66 MB, free: 0.6172 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.462e-05/0.01339, allocations: 160.3 kB / 21.81 MB, free: 432 kB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.01341, allocations: 1.406 kB / 21.81 MB, free: 432 kB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.01344, allocations: 4.281 kB / 21.82 MB, free: 428 kB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.527e-05/0.01353, allocations: 33.53 kB / 21.85 MB, free: 392 kB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.01355, allocations: 176 / 21.85 MB, free: 392 kB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.01357, allocations: 4.125 kB / 21.86 MB, free: 388 kB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.01358, allocations: 3.984 kB / 21.86 MB, free: 384 kB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.878e-05/0.01361, allocations: 0 / 21.86 MB, free: 384 kB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009928/0.02355, allocations: 380 kB / 22.23 MB, free: 3.773 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 8.031e-05/0.02367, allocations: 173.5 kB / 22.4 MB, free: 3.602 MB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/0.02371, allocations: 80.14 kB / 22.48 MB, free: 3.52 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.02374, allocations: 75.28 kB / 22.55 MB, free: 3.445 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.02378, allocations: 114.9 kB / 22.66 MB, free: 3.332 MB / 13.93 MB Notification: Performance of pre-optimization done (n=0): time 2.474e-06/0.0238, allocations: 0 / 22.66 MB, free: 3.332 MB / 13.93 MB Notification: Performance of matching and sorting (n=0): time 9.819e-05/0.0239, allocations: 32.12 kB / 22.7 MB, free: 3.301 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.02396, allocations: 129.5 kB / 22.82 MB, free: 3.164 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.02407, allocations: 92.75 kB / 22.91 MB, free: 3.074 MB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.0241, allocations: 25.7 kB / 22.94 MB, free: 3.043 MB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.02415, allocations: 85.34 kB / 23.02 MB, free: 2.961 MB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-06/0.02416, allocations: 0 / 23.02 MB, free: 2.961 MB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.02417, allocations: 0 / 23.02 MB, free: 2.961 MB / 13.93 MB Notification: Performance of setup shared object (initialization): time 6.206e-05/0.02424, allocations: 319.5 kB / 23.33 MB, free: 2.648 MB / 13.93 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-06/0.02426, allocations: 1.406 kB / 23.33 MB, free: 2.648 MB / 13.93 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.518e-05/0.02429, allocations: 11.97 kB / 23.35 MB, free: 2.633 MB / 13.93 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.054e-05/0.02432, allocations: 2.562 kB / 23.35 MB, free: 2.633 MB / 13.93 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.02434, allocations: 1.438 kB / 23.35 MB, free: 2.633 MB / 13.93 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.417e-05/0.02444, allocations: 36.59 kB / 23.39 MB, free: 2.598 MB / 13.93 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.02447, allocations: 5.312 kB / 23.39 MB, free: 2.598 MB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.02448, allocations: 0 / 23.39 MB, free: 2.598 MB / 13.93 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.02451, allocations: 5.719 kB / 23.4 MB, free: 2.598 MB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.296e-05/0.02458, allocations: 0.7188 kB / 23.4 MB, free: 2.598 MB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.0246, allocations: 0.6562 kB / 23.4 MB, free: 2.598 MB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.188e-05/0.02463, allocations: 6.75 kB / 23.4 MB, free: 2.598 MB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.02464, allocations: 0 / 23.4 MB, free: 2.598 MB / 13.93 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.878e-05/0.02472, allocations: 187.9 kB / 23.59 MB, free: 2.41 MB / 13.93 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.02478, allocations: 111.3 kB / 23.7 MB, free: 2.301 MB / 13.93 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.528e-05/0.02483, allocations: 108.2 kB / 23.8 MB, free: 2.184 MB / 13.93 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.775e-05/0.02487, allocations: 176.9 kB / 23.97 MB, free: 2.004 MB / 13.93 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.731e-05/0.02492, allocations: 181.2 kB / 24.15 MB, free: 1.824 MB / 13.93 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.842e-05/0.02497, allocations: 181 kB / 24.33 MB, free: 1.645 MB / 13.93 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.02515, allocations: 407.8 kB / 24.73 MB, free: 1.195 MB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.18e-05/0.02519, allocations: 103.4 kB / 24.83 MB, free: 1.09 MB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.329e-05/0.02522, allocations: 106.5 kB / 24.93 MB, free: 0.9805 MB / 13.93 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.032e-05/0.02527, allocations: 177.6 kB / 25.1 MB, free: 0.8008 MB / 13.93 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/0.02532, allocations: 180 kB / 25.28 MB, free: 0.6211 MB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.488e-05/0.02536, allocations: 181.4 kB / 25.46 MB, free: 448 kB / 13.93 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-05/0.02541, allocations: 186 kB / 25.64 MB, free: 256 kB / 13.93 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.02557, allocations: 303.5 kB / 25.94 MB, free: 4.609 MB / 18.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.0257, allocations: 184.9 kB / 26.12 MB, free: 4.406 MB / 18.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.614e-05/0.0258, allocations: 182.2 kB / 26.29 MB, free: 4.227 MB / 18.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.02592, allocations: 110 kB / 26.4 MB, free: 4.113 MB / 18.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.26e-05/0.02602, allocations: 178.4 kB / 26.58 MB, free: 3.934 MB / 18.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.833e-05/0.02608, allocations: 101 kB / 26.67 MB, free: 3.828 MB / 18.6 MB Notification: Performance of sorting global known variables: time 5.966e-05/0.02615, allocations: 76.94 kB / 26.75 MB, free: 3.754 MB / 18.6 MB Notification: Performance of sort global known variables: time 3.8e-07/0.02616, allocations: 0 / 26.75 MB, free: 3.754 MB / 18.6 MB Notification: Performance of remove unused functions: time 0.000491/0.02666, allocations: 59.94 kB / 26.81 MB, free: 3.754 MB / 18.6 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001824/0.0285, allocations: 1.254 MB / 28.06 MB, free: 2.648 MB / 18.6 MB Notification: Performance of simCode: created initialization part: time 9.294e-05/0.02862, allocations: 8.281 kB / 28.07 MB, free: 2.645 MB / 18.6 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.02864, allocations: 0 / 28.07 MB, free: 2.645 MB / 18.6 MB Notification: Performance of simCode: created simulation system equations: time 2.785e-06/0.02865, allocations: 0 / 28.07 MB, free: 2.645 MB / 18.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.02904, allocations: 0.5201 MB / 28.59 MB, free: 2.121 MB / 18.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000458/0.02951, allocations: 193.8 kB / 28.78 MB, free: 1.918 MB / 18.6 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.02982, allocations: 0.6727 MB / 29.45 MB, free: 1.223 MB / 18.6 MB Notification: Performance of simCode: alias equations: time 1.782e-05/0.02985, allocations: 0 / 29.45 MB, free: 1.223 MB / 18.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.02988, allocations: 7.438 kB / 29.46 MB, free: 1.215 MB / 18.6 MB Notification: Performance of SimCode: time 8.72e-07/0.02989, allocations: 0 / 29.46 MB, free: 1.215 MB / 18.6 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.05618, allocations: 2.291 MB / 31.75 MB, free: 204 kB / 18.6 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.01382/0.07008, allocations: 196 kB / 31.94 MB, free: 8.734 MB / 18.6 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/MessagePack 0.1.1/Resources/C-Sources/msgpack-c/include" -c -o MessagePack_MessagePack_Examples_TestCreateAndReadFile.o MessagePack_MessagePack_Examples_TestCreateAndReadFile.c In file included from MessagePack_MessagePack_Examples_TestCreateAndReadFile.c:7: In file included from ./MessagePack_MessagePack_Examples_TestCreateAndReadFile_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/MessagePack 0.1.1/Resources/C-Sources/msgpack-c/include" -c -o MessagePack_MessagePack_Examples_TestCreateAndReadFile_functions.o MessagePack_MessagePack_Examples_TestCreateAndReadFile_functions.c In file included from MessagePack_MessagePack_Examples_TestCreateAndReadFile_functions.c:2: In file included from ./MessagePack_MessagePack_Examples_TestCreateAndReadFile_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from MessagePack_MessagePack_Examples_TestCreateAndReadFile_functions.c:7: In file included from ./MessagePack_MessagePack_Examples_TestCreateAndReadFile_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/MessagePack 0.1.1/Resources/C-Sources/msgpack-c/include/../../../Include/msgpack-modelica.h:55:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'MessagePack_MessagePack_Examples_TestCreateAndReadFile_functions.o' failed make: *** [MessagePack_MessagePack_Examples_TestCreateAndReadFile_functions.o] Error 1