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.005053/0.005054, allocations: 312.6 kB / 15.25 MB, free: 6 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.211e-05/1.214e-05, allocations: 0 / 21.98 MB, free: 36 kB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.004195/0.004224, allocations: 90.72 kB / 22.07 MB, free: 6.332 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.002502/0.006741, allocations: 3.449 MB / 25.52 MB, free: 3.305 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 8.774e-05/0.006848, allocations: 47.98 kB / 25.57 MB, free: 3.258 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.004345/0.0112, allocations: 2.225 MB / 27.79 MB, free: 1.047 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01122, allocations: 2.281 kB / 27.79 MB, free: 1.047 MB / 13.93 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.01123, allocations: 0 / 27.79 MB, free: 1.047 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.0001777/0.01142, allocations: 397.3 kB / 28.18 MB, free: 0.6016 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.01146, allocations: 8.297 kB / 28.19 MB, free: 0.5938 MB / 13.93 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.964e-05/0.01148, allocations: 30.73 kB / 28.22 MB, free: 0.5547 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.864e-05/0.01151, allocations: 8.047 kB / 28.23 MB, free: 0.5508 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.556e-05/0.01156, allocations: 168 kB / 28.39 MB, free: 360 kB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.01157, allocations: 4.344 kB / 28.4 MB, free: 356 kB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.01158, allocations: 352 / 28.4 MB, free: 356 kB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.751e-05/0.01165, allocations: 26.22 kB / 28.42 MB, free: 324 kB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-06/0.01166, allocations: 176 / 28.42 MB, free: 324 kB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.01167, allocations: 4.125 kB / 28.43 MB, free: 320 kB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.006e-06/0.01168, allocations: 4 kB / 28.43 MB, free: 316 kB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.39e-05/0.0117, allocations: 7.938 kB / 28.44 MB, free: 308 kB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004341/0.01604, allocations: 379 kB / 28.81 MB, free: 3.613 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 3.51e-05/0.01609, allocations: 168 kB / 28.97 MB, free: 3.441 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.01611, allocations: 75.28 kB / 29.05 MB, free: 3.367 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.01613, allocations: 116.7 kB / 29.16 MB, free: 3.254 MB / 13.93 MB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.01614, allocations: 0.75 kB / 29.16 MB, free: 3.254 MB / 13.93 MB Notification: Performance of matching and sorting (n=0): time 5.089e-05/0.01619, allocations: 32.8 kB / 29.19 MB, free: 3.223 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.01622, allocations: 126.7 kB / 29.32 MB, free: 3.086 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.642e-05/0.01626, allocations: 91.95 kB / 29.41 MB, free: 2.996 MB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 5.751e-06/0.01627, allocations: 25.7 kB / 29.43 MB, free: 2.965 MB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 1.818e-05/0.01629, allocations: 85.08 kB / 29.52 MB, free: 2.883 MB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.0163, allocations: 3.656 kB / 29.52 MB, free: 2.883 MB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.493e-06/0.0163, allocations: 0 / 29.52 MB, free: 2.883 MB / 13.93 MB Notification: Performance of setup shared object (initialization): time 2.897e-05/0.01634, allocations: 315.8 kB / 29.83 MB, free: 2.57 MB / 13.93 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.769e-06/0.01635, allocations: 0 / 29.83 MB, free: 2.57 MB / 13.93 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.371e-05/0.01637, allocations: 17.34 kB / 29.84 MB, free: 2.555 MB / 13.93 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.241e-05/0.01638, allocations: 0 / 29.84 MB, free: 2.555 MB / 13.93 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.01639, allocations: 0 / 29.84 MB, free: 2.555 MB / 13.93 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.011e-05/0.01645, allocations: 36.52 kB / 29.88 MB, free: 2.523 MB / 13.93 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.01647, allocations: 7.219 kB / 29.89 MB, free: 2.523 MB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.01648, allocations: 1.891 kB / 29.89 MB, free: 2.523 MB / 13.93 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.01649, allocations: 0 / 29.89 MB, free: 2.523 MB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.552e-05/0.01653, allocations: 4.375 kB / 29.89 MB, free: 2.523 MB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.01654, allocations: 4 kB / 29.9 MB, free: 2.52 MB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.077e-05/0.01656, allocations: 0 / 29.9 MB, free: 2.52 MB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-06/0.01656, allocations: 0 / 29.9 MB, free: 2.52 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 () * 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.808e-05/0.01661, allocations: 190.6 kB / 30.08 MB, free: 2.328 MB / 13.93 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.01664, allocations: 105.9 kB / 30.19 MB, free: 2.223 MB / 13.93 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.9e-05/0.01666, allocations: 109.2 kB / 30.29 MB, free: 2.109 MB / 13.93 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.01669, allocations: 181.4 kB / 30.47 MB, free: 1.926 MB / 13.93 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.947e-05/0.01671, allocations: 187.5 kB / 30.65 MB, free: 1.742 MB / 13.93 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/0.01673, allocations: 177.1 kB / 30.83 MB, free: 1.562 MB / 13.93 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.82e-05/0.01684, allocations: 405.6 kB / 31.22 MB, free: 1.113 MB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.01685, allocations: 105.3 kB / 31.32 MB, free: 1.008 MB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.149e-05/0.01687, allocations: 101 kB / 31.42 MB, free: 0.9023 MB / 13.93 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-05/0.01689, allocations: 185.3 kB / 31.6 MB, free: 0.7148 MB / 13.93 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.01692, allocations: 177.1 kB / 31.78 MB, free: 0.5352 MB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.829e-05/0.01694, allocations: 188.3 kB / 31.96 MB, free: 360 kB / 13.93 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.812e-05/0.01696, allocations: 181.3 kB / 32.14 MB, free: 172 kB / 13.93 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.844e-05/0.01707, allocations: 310 kB / 32.44 MB, free: 4.492 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/0.01713, allocations: 182.5 kB / 32.62 MB, free: 4.293 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.941e-05/0.01719, allocations: 183.5 kB / 32.8 MB, free: 4.109 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.359e-05/0.01726, allocations: 101.8 kB / 32.9 MB, free: 4.004 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.01732, allocations: 176.8 kB / 33.07 MB, free: 3.824 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/0.01736, allocations: 112.2 kB / 33.18 MB, free: 3.715 MB / 18.57 MB Notification: Performance of sorting global known variables: time 2.401e-05/0.01739, allocations: 79.28 kB / 33.26 MB, free: 3.637 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01739, allocations: 0 / 33.26 MB, free: 3.637 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0002561/0.01766, allocations: 59.14 kB / 33.32 MB, free: 3.637 MB / 18.57 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.0009752/0.01864, allocations: 1.227 MB / 34.54 MB, free: 2.562 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 4.406e-05/0.01869, allocations: 7.094 kB / 34.55 MB, free: 2.559 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.0187, allocations: 3.938 kB / 34.55 MB, free: 2.555 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.01871, allocations: 0 / 34.55 MB, free: 2.555 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.01895, allocations: 0.5252 MB / 35.08 MB, free: 2.031 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/0.01924, allocations: 223.6 kB / 35.3 MB, free: 1.793 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.01944, allocations: 0.6719 MB / 35.97 MB, free: 1.098 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 1.245e-05/0.01946, allocations: 0 / 35.97 MB, free: 1.098 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.061e-05/0.01947, allocations: 11.19 kB / 35.98 MB, free: 1.09 MB / 18.57 MB Notification: Performance of SimCode: time 2.1e-07/0.01948, allocations: 0 / 35.98 MB, free: 1.09 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01199/0.03147, allocations: 2.288 MB / 38.27 MB, free: 0 / 18.57 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.004443/0.03595, allocations: 205.5 kB / 38.47 MB, free: 8.434 MB / 18.57 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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