Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 191.1 kB / 7.801 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009962/0.0009962, allocations: 100 kB / 261.4 MB, free: 13.52 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2098/0.2098, allocations: 43.48 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2362/0.4461, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.7916, allocations: 58.83 MB / 476.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6557/1.447, allocations: 376.7 MB / 0.8333 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/1.448, allocations: 69.09 kB / 0.8334 GB, free: 6.473 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.292/1.74, allocations: 21.47 MB / 0.8544 GB, free: 202.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/1.74, allocations: 9.219 kB / 0.8544 GB, free: 202.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002335/1.74, allocations: 27.72 kB / 0.8544 GB, free: 202.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/1.74, allocations: 227.1 kB / 0.8546 GB, free: 202.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/1.741, allocations: 116.5 kB / 0.8547 GB, free: 201.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/1.741, allocations: 12.31 kB / 0.8547 GB, free: 201.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0011/1.742, allocations: 0.7177 MB / 0.8554 GB, free: 201.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004627/1.742, allocations: 278.7 kB / 0.8557 GB, free: 201.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/1.742, allocations: 9.312 kB / 0.8557 GB, free: 201.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/1.742, allocations: 1.984 kB / 0.8557 GB, free: 201.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/1.742, allocations: 6.281 kB / 0.8557 GB, free: 201.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002931/1.745, allocations: 3.193 MB / 0.8588 GB, free: 198.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/1.745, allocations: 57.3 kB / 0.8589 GB, free: 198.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.976e-05/1.745, allocations: 28.05 kB / 0.8589 GB, free: 198.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006656/1.746, allocations: 0.5267 MB / 0.8594 GB, free: 197.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/1.746, allocations: 37.22 kB / 0.8595 GB, free: 197.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 2.205e-06/1.746, allocations: 3.938 kB / 0.8595 GB, free: 197.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0006424/1.747, allocations: 155.4 kB / 0.8596 GB, free: 197.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/1.747, allocations: 59.31 kB / 0.8597 GB, free: 197.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/1.747, allocations: 202.7 kB / 0.8599 GB, free: 197.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/1.747, allocations: 25.7 kB / 0.8599 GB, free: 197.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/1.747, allocations: 227.8 kB / 0.8601 GB, free: 197.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/1.747, allocations: 38.38 kB / 0.8601 GB, free: 197.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.818e-06/1.747, allocations: 0 / 0.8601 GB, free: 197.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.054e-05/1.747, allocations: 329.5 kB / 0.8605 GB, free: 196.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.975e-05/1.747, allocations: 34.75 kB / 0.8605 GB, free: 196.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/1.748, allocations: 323.7 kB / 0.8608 GB, free: 196.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003857/1.748, allocations: 106.2 kB / 0.8609 GB, free: 196.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/1.748, allocations: 2.469 kB / 0.8609 GB, free: 196.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008286/1.749, allocations: 319 kB / 0.8612 GB, free: 196.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/1.749, allocations: 9.594 kB / 0.8612 GB, free: 196.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.792e-05/1.749, allocations: 13.72 kB / 0.8612 GB, free: 196.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.973e-05/1.749, allocations: 14.69 kB / 0.8612 GB, free: 196.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/1.75, allocations: 111.4 kB / 0.8614 GB, free: 196.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.801e-05/1.75, allocations: 20.53 kB / 0.8614 GB, free: 196.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003562/1.75, allocations: 15.56 kB / 0.8614 GB, free: 196.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.09e-05/1.75, allocations: 24.59 kB / 0.8614 GB, free: 196.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * 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 0.0001082/1.75, allocations: 128 kB / 0.8615 GB, free: 196.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/1.75, allocations: 23.47 kB / 0.8616 GB, free: 196.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/1.75, allocations: 94.16 kB / 0.8616 GB, free: 196.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/1.75, allocations: 1.75 kB / 0.8616 GB, free: 196.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.75, allocations: 5.406 kB / 0.8617 GB, free: 196.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.75, allocations: 0.7969 kB / 0.8617 GB, free: 196.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005131/1.751, allocations: 379.1 kB / 0.862 GB, free: 195.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/1.751, allocations: 9.234 kB / 0.862 GB, free: 195.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/1.751, allocations: 21.14 kB / 0.862 GB, free: 195.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/1.751, allocations: 1.562 kB / 0.862 GB, free: 195.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/1.751, allocations: 1.156 kB / 0.862 GB, free: 195.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/1.751, allocations: 1.703 kB / 0.862 GB, free: 195.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.751, allocations: 1.062 kB / 0.8621 GB, free: 195.8 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002282/1.751, allocations: 209.2 kB / 0.8622 GB, free: 195.6 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003204/1.752, allocations: 0.5864 MB / 0.8628 GB, free: 195 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/1.752, allocations: 115.1 kB / 0.8629 GB, free: 194.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.224e-05/1.752, allocations: 5.812 kB / 0.8629 GB, free: 194.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/1.752, allocations: 4.281 kB / 0.8629 GB, free: 194.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/1.752, allocations: 4.922 kB / 0.8629 GB, free: 194.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/1.752, allocations: 7.016 kB / 0.863 GB, free: 194.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.000134/1.752, allocations: 136 kB / 0.8631 GB, free: 194.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001259/1.754, allocations: 98.16 kB / 0.8632 GB, free: 194.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0003402/1.754, allocations: 174.4 kB / 0.8633 GB, free: 194.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003141/1.754, allocations: 149.4 kB / 0.8635 GB, free: 194.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.754, allocations: 0 / 0.8635 GB, free: 194.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.486e-05/1.754, allocations: 26.56 kB / 0.8635 GB, free: 194.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/1.755, allocations: 31.19 kB / 0.8635 GB, free: 194.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/1.755, allocations: 195.7 kB / 0.8637 GB, free: 194.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/1.755, allocations: 0.7523 MB / 0.8645 GB, free: 193.8 MB / 0.5105 GB Notification: Performance of SimCode: time 2.7e-07/1.755, allocations: 0 / 0.8645 GB, free: 193.8 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1)