Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MessagePack_MessagePack.Examples.TestCreateAndReadFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/package.mo", uses=false) Using package MessagePack with version 0.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/package.mo) Running command: "" <> buildModelFMU(MessagePack.Examples.TestCreateAndReadFile,fileNamePrefix="MessagePack_MessagePack_Examples_TestCreateAndReadFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MessagePack.Examples.TestCreateAndReadFile,fileNamePrefix="MessagePack_MessagePack_Examples_TestCreateAndReadFile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/package.mo): time 0.008777/0.008777, allocations: 320.3 kB / 15.29 MB, free: 0.8594 MB / 14.72 MB Notification: Performance of FrontEnd - loaded program: time 7.364e-06/7.374e-06, allocations: 0 / 22.01 MB, free: 1.492 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.205e-05/8.203e-05, allocations: 91.16 kB / 22.1 MB, free: 1.41 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.0002103/0.0002989, allocations: 100.7 kB / 22.2 MB, free: 1.328 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0003891/0.0006965, allocations: 314.4 kB / 22.5 MB, free: 1.023 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.379e-05/0.0007207, allocations: 2.844 kB / 22.51 MB, free: 1.023 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 9.017e-06/0.0007349, allocations: 0 / 22.51 MB, free: 1.023 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 1.414e-05/0.0007539, allocations: 0 / 22.51 MB, free: 1.023 MB / 14.72 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.0009826, allocations: 99.8 kB / 22.6 MB, free: 0.9258 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 1.852e-05/0.00101, allocations: 0 / 22.6 MB, free: 0.9258 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 3.239e-05/0.001047, allocations: 3.984 kB / 22.61 MB, free: 0.9219 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 9.558e-06/0.001061, allocations: 0 / 22.61 MB, free: 0.9219 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 8.897e-06/0.001074, allocations: 0 / 22.61 MB, free: 0.9219 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 3.306e-06/0.001082, allocations: 4 kB / 22.61 MB, free: 0.918 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.001228, allocations: 123.8 kB / 22.73 MB, free: 0.7969 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 3.727e-06/0.001239, allocations: 3.938 kB / 22.74 MB, free: 0.793 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.074e-05/0.001254, allocations: 25.7 kB / 22.76 MB, free: 0.7617 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 9.516e-05/0.001353, allocations: 83.88 kB / 22.84 MB, free: 0.6797 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.001361, allocations: 0 / 22.84 MB, free: 0.6797 MB / 14.72 MB Notification: Performance of FrontEnd: time 4.91e-07/0.001365, allocations: 0 / 22.84 MB, free: 0.6797 MB / 14.72 MB Notification: Performance of Transformations before backend: time 2.315e-06/0.001372, allocations: 0 / 22.84 MB, free: 0.6797 MB / 14.72 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.0001495/0.001525, allocations: 377.4 kB / 23.21 MB, free: 260 kB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 2.749e-05/0.001558, allocations: 12.3 kB / 23.22 MB, free: 248 kB / 14.72 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.563e-05/0.001579, allocations: 34.73 kB / 23.26 MB, free: 204 kB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.576e-05/0.001599, allocations: 5 kB / 23.26 MB, free: 200 kB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003424/0.005028, allocations: 164.2 kB / 23.42 MB, free: 5.531 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.005045, allocations: 352 / 23.42 MB, free: 5.531 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.005057, allocations: 352 / 23.42 MB, free: 5.531 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.13e-05/0.005123, allocations: 32.75 kB / 23.46 MB, free: 5.5 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.005136, allocations: 1.391 kB / 23.46 MB, free: 5.5 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.789e-06/0.005145, allocations: 1.031 kB / 23.46 MB, free: 5.5 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-06/0.005152, allocations: 0 / 23.46 MB, free: 5.5 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.321e-05/0.005169, allocations: 2.25 kB / 23.46 MB, free: 5.5 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.005323, allocations: 383.1 kB / 23.84 MB, free: 5.086 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 2.732e-05/0.005359, allocations: 172.8 kB / 24 MB, free: 4.914 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.498e-06/0.005374, allocations: 83.77 kB / 24.09 MB, free: 4.832 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 8.306e-06/0.005387, allocations: 79.84 kB / 24.16 MB, free: 4.758 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.214e-05/0.005403, allocations: 112.1 kB / 24.27 MB, free: 4.645 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.005408, allocations: 0 / 24.27 MB, free: 4.645 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 4.866e-05/0.005461, allocations: 33.41 kB / 24.31 MB, free: 4.609 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.655e-05/0.005483, allocations: 129.2 kB / 24.43 MB, free: 4.473 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.659e-05/0.005524, allocations: 93.2 kB / 24.52 MB, free: 4.375 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-06/0.005533, allocations: 30.17 kB / 24.55 MB, free: 4.344 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 1.482e-05/0.005553, allocations: 85.14 kB / 24.64 MB, free: 4.262 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.005559, allocations: 0 / 24.64 MB, free: 4.262 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-06/0.005564, allocations: 0 / 24.64 MB, free: 4.262 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 2.153e-05/0.00559, allocations: 313.9 kB / 24.94 MB, free: 3.949 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.169e-06/0.005599, allocations: 1 kB / 24.94 MB, free: 3.949 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.256e-05/0.005616, allocations: 21.27 kB / 24.96 MB, free: 3.934 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.292e-05/0.005634, allocations: 2.562 kB / 24.97 MB, free: 3.934 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.00564, allocations: 0 / 24.97 MB, free: 3.934 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.364e-05/0.005707, allocations: 37.45 kB / 25 MB, free: 3.902 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.005723, allocations: 7.094 kB / 25.01 MB, free: 3.902 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-06/0.00573, allocations: 3.719 kB / 25.01 MB, free: 3.902 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.005744, allocations: 256 / 25.01 MB, free: 3.902 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.131e-05/0.00578, allocations: 4 kB / 25.02 MB, free: 3.898 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.005788, allocations: 3.953 kB / 25.02 MB, free: 3.895 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.868e-06/0.005803, allocations: 1.969 kB / 25.02 MB, free: 3.895 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.00581, allocations: 0 / 25.02 MB, free: 3.895 MB / 14.72 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 () * Number of clocked 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 3.24e-05/0.005846, allocations: 187.8 kB / 25.21 MB, free: 3.707 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.005878, allocations: 107.3 kB / 25.31 MB, free: 3.602 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.395e-05/0.005898, allocations: 110 kB / 25.42 MB, free: 3.488 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.005915, allocations: 186.1 kB / 25.6 MB, free: 3.305 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.005931, allocations: 180.7 kB / 25.78 MB, free: 3.121 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.005945, allocations: 181.8 kB / 25.95 MB, free: 2.938 MB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.358e-05/0.006034, allocations: 402 kB / 26.35 MB, free: 2.492 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.006047, allocations: 104.2 kB / 26.45 MB, free: 2.387 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.534e-06/0.006059, allocations: 101.7 kB / 26.55 MB, free: 2.281 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.364e-05/0.006077, allocations: 187.5 kB / 26.73 MB, free: 2.094 MB / 14.72 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.006095, allocations: 179.6 kB / 26.91 MB, free: 1.914 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.104e-05/0.00611, allocations: 185.2 kB / 27.09 MB, free: 1.727 MB / 14.72 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.337e-05/0.006129, allocations: 180.2 kB / 27.26 MB, free: 1.547 MB / 14.72 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.66e-05/0.00617, allocations: 310.7 kB / 27.57 MB, free: 1.227 MB / 14.72 MB Notification: Performance of postOpt removeConstants (simulation): time 1.613e-05/0.006191, allocations: 183.4 kB / 27.75 MB, free: 1.027 MB / 14.72 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.006213, allocations: 181.7 kB / 27.92 MB, free: 0.8438 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.959e-05/0.006257, allocations: 103 kB / 28.02 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/0.006279, allocations: 177.5 kB / 28.2 MB, free: 0.5586 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.006291, allocations: 112.8 kB / 28.31 MB, free: 456 kB / 14.72 MB Notification: Performance of sorting global known variables: time 1.016e-05/0.006306, allocations: 77.31 kB / 28.38 MB, free: 380 kB / 14.72 MB Notification: Performance of sort global known variables: time 1.1e-07/0.00631, allocations: 0 / 28.38 MB, free: 380 kB / 14.72 MB Notification: Performance of remove unused functions: time 0.0002435/0.006559, allocations: 42.56 kB / 28.42 MB, free: 380 kB / 14.72 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 () * Number of clocked 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.001146/0.00771, allocations: 1.207 MB / 29.63 MB, free: 4.211 MB / 19.64 MB Notification: Performance of simCode: created initialization part: time 5.381e-05/0.007775, allocations: 7.75 kB / 29.64 MB, free: 4.207 MB / 19.64 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.007783, allocations: 0 / 29.64 MB, free: 4.207 MB / 19.64 MB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.007789, allocations: 1.672 kB / 29.64 MB, free: 4.207 MB / 19.64 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.008099, allocations: 0.5214 MB / 30.16 MB, free: 3.684 MB / 19.64 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002752/0.008382, allocations: 210 kB / 30.37 MB, free: 3.465 MB / 19.64 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.008584, allocations: 0.6703 MB / 31.04 MB, free: 2.77 MB / 19.64 MB Notification: Performance of simCode: alias equations: time 9.568e-06/0.008599, allocations: 1.969 kB / 31.04 MB, free: 2.77 MB / 19.64 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.967e-06/0.008613, allocations: 7.438 kB / 31.05 MB, free: 2.762 MB / 19.64 MB Notification: Performance of SimCode: time 2.2e-07/0.008617, allocations: 0 / 31.05 MB, free: 2.762 MB / 19.64 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01139/0.02001, allocations: 2.301 MB / 33.35 MB, free: 0.8906 MB / 19.64 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.02022, allocations: 217.3 kB / 33.56 MB, free: 0.6484 MB / 19.64 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/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:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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: /home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/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. make: *** [: MessagePack_MessagePack_Examples_TestCreateAndReadFile_functions.o] Error 1