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.005553/0.005553, allocations: 307.7 kB / 12.86 MB, free: 2.461 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.467e-05/1.471e-05, allocations: 0 / 18.01 MB, free: 4.363 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0002394/0.0002765, allocations: 89.78 kB / 18.1 MB, free: 4.285 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.003825/0.004114, allocations: 3.364 MB / 21.47 MB, free: 0.9258 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 8.167e-05/0.004218, allocations: 39.98 kB / 21.5 MB, free: 0.8867 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.01591/0.02014, allocations: 2.219 MB / 23.72 MB, free: 4.988 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.724e-06/0.02019, allocations: 1.844 kB / 23.73 MB, free: 4.988 MB / 13.93 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.0202, allocations: 0 / 23.73 MB, free: 4.988 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.0002687/0.02048, allocations: 387.7 kB / 24.1 MB, free: 4.59 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.02054, allocations: 11.22 kB / 24.12 MB, free: 4.59 MB / 13.93 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.3e-05/0.02059, allocations: 31.83 kB / 24.15 MB, free: 4.551 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.02062, allocations: 1.016 kB / 24.15 MB, free: 4.551 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.31e-05/0.02071, allocations: 166.5 kB / 24.31 MB, free: 4.355 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.02073, allocations: 7.969 kB / 24.32 MB, free: 4.352 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.02075, allocations: 1.938 kB / 24.32 MB, free: 4.352 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.967e-05/0.02085, allocations: 30.97 kB / 24.35 MB, free: 4.32 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.02087, allocations: 176 / 24.35 MB, free: 4.32 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.02089, allocations: 4.125 kB / 24.35 MB, free: 4.316 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.0209, allocations: 0 / 24.35 MB, free: 4.316 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.154e-05/0.02093, allocations: 4.562 kB / 24.36 MB, free: 4.316 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002629/0.0212, allocations: 387.4 kB / 24.74 MB, free: 3.902 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 5.405e-05/0.02127, allocations: 169.9 kB / 24.9 MB, free: 3.73 MB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.976e-05/0.0213, allocations: 80.14 kB / 24.98 MB, free: 3.648 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.02132, allocations: 80.22 kB / 25.06 MB, free: 3.57 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.02135, allocations: 115.8 kB / 25.17 MB, free: 3.449 MB / 13.93 MB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.02136, allocations: 4 kB / 25.18 MB, free: 3.445 MB / 13.93 MB Notification: Performance of matching and sorting (n=0): time 7.919e-05/0.02145, allocations: 26.8 kB / 25.2 MB, free: 3.414 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.02149, allocations: 129.4 kB / 25.33 MB, free: 3.277 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.855e-05/0.02156, allocations: 86.66 kB / 25.41 MB, free: 3.188 MB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.02158, allocations: 29.08 kB / 25.44 MB, free: 3.156 MB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 2.882e-05/0.02162, allocations: 91.3 kB / 25.53 MB, free: 3.07 MB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-06/0.02163, allocations: 0 / 25.53 MB, free: 3.07 MB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.02164, allocations: 128 / 25.53 MB, free: 3.07 MB / 13.93 MB Notification: Performance of setup shared object (initialization): time 5.528e-05/0.0217, allocations: 315.8 kB / 25.84 MB, free: 2.754 MB / 13.93 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-06/0.02172, allocations: 0 / 25.84 MB, free: 2.754 MB / 13.93 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-05/0.02175, allocations: 13.47 kB / 25.85 MB, free: 2.738 MB / 13.93 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.068e-05/0.02178, allocations: 4.812 kB / 25.86 MB, free: 2.734 MB / 13.93 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.02179, allocations: 0 / 25.86 MB, free: 2.734 MB / 13.93 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.591e-05/0.0219, allocations: 33.92 kB / 25.89 MB, free: 2.703 MB / 13.93 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.02192, allocations: 9.094 kB / 25.9 MB, free: 2.699 MB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.02194, allocations: 3.953 kB / 25.9 MB, free: 2.695 MB / 13.93 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.02196, allocations: 0 / 25.9 MB, free: 2.695 MB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.969e-05/0.02202, allocations: 7.141 kB / 25.91 MB, free: 2.691 MB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.02204, allocations: 0 / 25.91 MB, free: 2.691 MB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.577e-05/0.02206, allocations: 0 / 25.91 MB, free: 2.691 MB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.02207, allocations: 0.8125 kB / 25.91 MB, free: 2.691 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 5.965e-05/0.02214, allocations: 183.2 kB / 26.09 MB, free: 2.512 MB / 13.93 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.0222, allocations: 105.9 kB / 26.19 MB, free: 2.402 MB / 13.93 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.02224, allocations: 109.6 kB / 26.3 MB, free: 2.281 MB / 13.93 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.231e-05/0.02228, allocations: 182 kB / 26.48 MB, free: 2.098 MB / 13.93 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.19e-05/0.02232, allocations: 185 kB / 26.66 MB, free: 1.914 MB / 13.93 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.927e-05/0.02236, allocations: 183.6 kB / 26.84 MB, free: 1.73 MB / 13.93 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.02255, allocations: 402.6 kB / 27.23 MB, free: 1.285 MB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.672e-05/0.02259, allocations: 108.8 kB / 27.34 MB, free: 1.176 MB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.691e-05/0.02263, allocations: 102.8 kB / 27.44 MB, free: 1.07 MB / 13.93 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.929e-05/0.02268, allocations: 180.2 kB / 27.61 MB, free: 0.8867 MB / 13.93 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.002e-05/0.02274, allocations: 179.7 kB / 27.79 MB, free: 0.707 MB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.482e-05/0.02279, allocations: 184.2 kB / 27.97 MB, free: 0.5195 MB / 13.93 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.345e-05/0.02285, allocations: 180.2 kB / 28.15 MB, free: 344 kB / 13.93 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.87e-05/0.02296, allocations: 310.8 kB / 28.45 MB, free: 16 kB / 13.93 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01128/0.03425, allocations: 184.7 kB / 28.63 MB, free: 3.949 MB / 13.93 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-05/0.03434, allocations: 181.9 kB / 28.81 MB, free: 3.77 MB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.42e-05/0.03444, allocations: 109 kB / 28.91 MB, free: 3.664 MB / 13.93 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.03451, allocations: 185.5 kB / 29.09 MB, free: 3.484 MB / 13.93 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.03453, allocations: 102.9 kB / 29.2 MB, free: 3.379 MB / 13.93 MB Notification: Performance of sorting global known variables: time 4.643e-05/0.03459, allocations: 75.28 kB / 29.27 MB, free: 3.305 MB / 13.93 MB Notification: Performance of sort global known variables: time 2.71e-07/0.0346, allocations: 1.625 kB / 29.27 MB, free: 3.305 MB / 13.93 MB Notification: Performance of remove unused functions: time 0.0005594/0.03517, allocations: 59.02 kB / 29.33 MB, free: 3.305 MB / 13.93 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.002316/0.0375, allocations: 1.199 MB / 30.53 MB, free: 2.277 MB / 13.93 MB Notification: Performance of simCode: created initialization part: time 9.582e-05/0.03761, allocations: 3.906 kB / 30.53 MB, free: 2.277 MB / 13.93 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.03763, allocations: 0.5312 kB / 30.53 MB, free: 2.277 MB / 13.93 MB Notification: Performance of simCode: created simulation system equations: time 3.707e-06/0.03764, allocations: 3.953 kB / 30.54 MB, free: 2.277 MB / 13.93 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.03794, allocations: 0.53 MB / 31.07 MB, free: 1.754 MB / 13.93 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004194/0.03838, allocations: 188.4 kB / 31.25 MB, free: 1.555 MB / 13.93 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.03852, allocations: 0.6739 MB / 31.92 MB, free: 0.8594 MB / 13.93 MB Notification: Performance of simCode: alias equations: time 1.901e-05/0.03855, allocations: 0 / 31.92 MB, free: 0.8594 MB / 13.93 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.413e-05/0.03857, allocations: 8.594 kB / 31.93 MB, free: 0.8516 MB / 13.93 MB Notification: Performance of SimCode: time 1.302e-06/0.03858, allocations: 0 / 31.93 MB, free: 0.8516 MB / 13.93 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.05496, allocations: 2.309 MB / 34.24 MB, free: 3.957 MB / 18.57 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002567/0.05526, allocations: 180 kB / 34.42 MB, free: 3.734 MB / 18.57 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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: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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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: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: /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