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.002957/0.002957, allocations: 324.7 kB / 15.27 MB, free: 0.8945 MB / 14.72 MB Notification: Performance of FrontEnd - loaded program: time 1.117e-05/1.125e-05, allocations: 224 / 21.98 MB, free: 1.609 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001795/0.0002085, allocations: 93.89 kB / 22.07 MB, free: 1.516 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.0003219/0.0005384, allocations: 100.8 kB / 22.17 MB, free: 1.418 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0005087/0.001057, allocations: 309.8 kB / 22.47 MB, free: 1.117 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.744e-05/0.001086, allocations: 0 / 22.47 MB, free: 1.117 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 9.898e-06/0.001112, allocations: 2.781 kB / 22.48 MB, free: 1.117 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 2.61e-05/0.001144, allocations: 0 / 22.48 MB, free: 1.117 MB / 14.72 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.001503, allocations: 103.6 kB / 22.58 MB, free: 1.016 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 2.559e-05/0.001538, allocations: 0 / 22.58 MB, free: 1.016 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/0.001589, allocations: 0 / 22.58 MB, free: 1.016 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.488e-05/0.00161, allocations: 4 kB / 22.58 MB, free: 1.012 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.315e-05/0.001629, allocations: 0 / 22.58 MB, free: 1.012 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 4.258e-06/0.001637, allocations: 0 / 22.58 MB, free: 1.012 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002384/0.001882, allocations: 96.67 kB / 22.68 MB, free: 0.918 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 6.081e-06/0.001895, allocations: 0 / 22.68 MB, free: 0.918 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.001922, allocations: 29.7 kB / 22.71 MB, free: 0.8828 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.002099, allocations: 83.83 kB / 22.79 MB, free: 0.8008 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 1.273e-06/0.002106, allocations: 0 / 22.79 MB, free: 0.8008 MB / 14.72 MB Notification: Performance of FrontEnd: time 5.62e-07/0.002111, allocations: 0 / 22.79 MB, free: 0.8008 MB / 14.72 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.002119, allocations: 0 / 22.79 MB, free: 0.8008 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.0002065/0.00233, allocations: 381.4 kB / 23.16 MB, free: 380 kB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.002378, allocations: 8.297 kB / 23.17 MB, free: 372 kB / 14.72 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.708e-05/0.002411, allocations: 34.72 kB / 23.2 MB, free: 328 kB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.274e-05/0.002439, allocations: 8.938 kB / 23.21 MB, free: 320 kB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.844e-05/0.002492, allocations: 160.6 kB / 23.37 MB, free: 120 kB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.00251, allocations: 8.344 kB / 23.38 MB, free: 112 kB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.002522, allocations: 352 / 23.38 MB, free: 112 kB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.806e-05/0.002605, allocations: 26.22 kB / 23.4 MB, free: 80 kB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.002616, allocations: 176 / 23.4 MB, free: 80 kB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.002628, allocations: 4.125 kB / 23.41 MB, free: 76 kB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.002637, allocations: 0 / 23.41 MB, free: 76 kB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.6e-05/0.002657, allocations: 4 kB / 23.41 MB, free: 72 kB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005468/0.00813, allocations: 373.7 kB / 23.77 MB, free: 4.41 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 5.509e-05/0.008203, allocations: 174.6 kB / 23.95 MB, free: 4.238 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.008224, allocations: 75.28 kB / 24.02 MB, free: 4.164 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.008254, allocations: 116.4 kB / 24.13 MB, free: 4.051 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.00826, allocations: 0 / 24.13 MB, free: 4.051 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 6.668e-05/0.008331, allocations: 29.16 kB / 24.16 MB, free: 4.02 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.008368, allocations: 127.6 kB / 24.29 MB, free: 3.883 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.21e-05/0.008436, allocations: 101.2 kB / 24.38 MB, free: 3.785 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.008452, allocations: 27.14 kB / 24.41 MB, free: 3.754 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 3.22e-05/0.008489, allocations: 87.45 kB / 24.5 MB, free: 3.672 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-06/0.008496, allocations: 2.297 kB / 24.5 MB, free: 3.672 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-06/0.008503, allocations: 0 / 24.5 MB, free: 3.672 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 4.447e-05/0.008552, allocations: 311.7 kB / 24.8 MB, free: 3.359 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-06/0.008565, allocations: 4.453 kB / 24.81 MB, free: 3.359 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.864e-05/0.008588, allocations: 11.81 kB / 24.82 MB, free: 3.344 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.017e-05/0.008614, allocations: 5.391 kB / 24.82 MB, free: 3.344 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.008622, allocations: 1.312 kB / 24.83 MB, free: 3.344 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.822e-05/0.008704, allocations: 33.11 kB / 24.86 MB, free: 3.312 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.008726, allocations: 9.984 kB / 24.87 MB, free: 3.312 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.008735, allocations: 0 / 24.87 MB, free: 3.312 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.008751, allocations: 2.641 kB / 24.87 MB, free: 3.312 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.432e-05/0.00881, allocations: 9.109 kB / 24.88 MB, free: 3.309 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.008821, allocations: 1.938 kB / 24.88 MB, free: 3.309 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.364e-05/0.008839, allocations: 6.281 kB / 24.89 MB, free: 3.309 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.00885, allocations: 0 / 24.89 MB, free: 3.309 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 5.868e-05/0.008913, allocations: 184.9 kB / 25.07 MB, free: 3.121 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.008955, allocations: 103.9 kB / 25.17 MB, free: 3.016 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.152e-05/0.008991, allocations: 113.2 kB / 25.28 MB, free: 2.902 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.73e-05/0.009025, allocations: 184.3 kB / 25.46 MB, free: 2.719 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.872e-05/0.009059, allocations: 182.3 kB / 25.64 MB, free: 2.535 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.722e-05/0.00909, allocations: 180.7 kB / 25.81 MB, free: 2.355 MB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.009241, allocations: 400.9 kB / 26.21 MB, free: 1.914 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/0.009266, allocations: 103.9 kB / 26.31 MB, free: 1.809 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-05/0.009286, allocations: 105.6 kB / 26.41 MB, free: 1.703 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.567e-05/0.009317, allocations: 185.6 kB / 26.59 MB, free: 1.52 MB / 14.72 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.00935, allocations: 185.1 kB / 26.77 MB, free: 1.336 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.872e-05/0.009384, allocations: 177.6 kB / 26.95 MB, free: 1.156 MB / 14.72 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.061e-05/0.009419, allocations: 183.4 kB / 27.12 MB, free: 0.9727 MB / 14.72 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.544e-05/0.00951, allocations: 311.5 kB / 27.43 MB, free: 0.6562 MB / 14.72 MB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/0.009558, allocations: 183.3 kB / 27.61 MB, free: 464 kB / 14.72 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.009597, allocations: 180.3 kB / 27.78 MB, free: 280 kB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.649e-05/0.00966, allocations: 106.9 kB / 27.89 MB, free: 168 kB / 14.72 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.009735, allocations: 178.2 kB / 28.06 MB, free: 4.922 MB / 19.66 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.009773, allocations: 106 kB / 28.17 MB, free: 4.816 MB / 19.66 MB Notification: Performance of sorting global known variables: time 3.746e-05/0.009816, allocations: 86.12 kB / 28.25 MB, free: 4.738 MB / 19.66 MB Notification: Performance of sort global known variables: time 1.1e-07/0.009821, allocations: 0 / 28.25 MB, free: 4.738 MB / 19.66 MB Notification: Performance of remove unused functions: time 0.0002906/0.01012, allocations: 43.19 kB / 28.29 MB, free: 4.734 MB / 19.66 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.002363/0.01248, allocations: 1.2 MB / 29.49 MB, free: 3.66 MB / 19.66 MB Notification: Performance of simCode: created initialization part: time 6.869e-05/0.01256, allocations: 2.844 kB / 29.5 MB, free: 3.66 MB / 19.66 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.01258, allocations: 3.938 kB / 29.5 MB, free: 3.656 MB / 19.66 MB Notification: Performance of simCode: created simulation system equations: time 3.406e-06/0.01259, allocations: 1.156 kB / 29.5 MB, free: 3.656 MB / 19.66 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.01293, allocations: 0.5237 MB / 30.02 MB, free: 3.129 MB / 19.66 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.0133, allocations: 204.7 kB / 30.22 MB, free: 2.914 MB / 19.66 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.01361, allocations: 0.6736 MB / 30.9 MB, free: 2.219 MB / 19.66 MB Notification: Performance of simCode: alias equations: time 1.583e-05/0.01363, allocations: 1.844 kB / 30.9 MB, free: 2.219 MB / 19.66 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.215e-05/0.01364, allocations: 8.375 kB / 30.91 MB, free: 2.211 MB / 19.66 MB Notification: Performance of SimCode: time 6.41e-07/0.01365, allocations: 0 / 30.91 MB, free: 2.211 MB / 19.66 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01336/0.02701, allocations: 2.299 MB / 33.21 MB, free: 464 kB / 19.66 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/0.02727, allocations: 204.5 kB / 33.41 MB, free: 224 kB / 19.66 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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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