Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",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 4.0.0+maint.om/package.mo): time 0.00391/0.00391, allocations: 183 kB / 7.459 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7719/0.7719, allocations: 133.5 MB / 141.4 MB, free: 15.64 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 221.3 MB / 395 MB, free: 10.16 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 97.47 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4598/0.4609, allocations: 88.41 MB / 0.5529 GB, free: 89.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.6222, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.171/1.794, allocations: 399.7 MB / 1.024 GB, free: 235.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/1.794, allocations: 71.95 kB / 1.024 GB, free: 235.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.05274/1.847, allocations: 26.05 MB / 1.049 GB, free: 209 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/1.847, allocations: 12 kB / 1.049 GB, free: 209 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/1.847, allocations: 27.75 kB / 1.049 GB, free: 209 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/1.847, allocations: 210.7 kB / 1.049 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/1.847, allocations: 4 kB / 1.049 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/1.847, allocations: 12 kB / 1.049 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004298/1.848, allocations: 408.2 kB / 1.05 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/1.848, allocations: 220.6 kB / 1.05 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/1.848, allocations: 0 / 1.05 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/1.848, allocations: 4 kB / 1.05 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/1.848, allocations: 7.984 kB / 1.05 GB, free: 208 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000855/1.849, allocations: 0.9924 MB / 1.051 GB, free: 207 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/1.849, allocations: 155.3 kB / 1.051 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.515e-05/1.849, allocations: 48.86 kB / 1.051 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/1.85, allocations: 1.934 MB / 1.053 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/1.85, allocations: 34.56 kB / 1.053 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/1.85, allocations: 0 / 1.053 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0005129/1.851, allocations: 136.5 kB / 1.053 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/1.851, allocations: 59.41 kB / 1.053 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/1.851, allocations: 140.3 kB / 1.053 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/1.851, allocations: 25.7 kB / 1.053 GB, free: 204 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/1.851, allocations: 139.8 kB / 1.054 GB, free: 203.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/1.851, allocations: 55.19 kB / 1.054 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-06/1.851, allocations: 0 / 1.054 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.957e-05/1.851, allocations: 322.8 kB / 1.054 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.686e-05/1.851, allocations: 24 kB / 1.054 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.818e-05/1.851, allocations: 133.7 kB / 1.054 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/1.852, allocations: 79.86 kB / 1.054 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.852, allocations: 4 kB / 1.054 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004759/1.852, allocations: 209.2 kB / 1.054 GB, free: 203 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/1.852, allocations: 4 kB / 1.054 GB, free: 203 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.852, allocations: 4 kB / 1.054 GB, free: 203 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/1.852, allocations: 4 kB / 1.054 GB, free: 203 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/1.853, allocations: 67.84 kB / 1.054 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/1.853, allocations: 4 kB / 1.054 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/1.853, allocations: 24.14 kB / 1.054 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/1.853, allocations: 16 kB / 1.055 GB, free: 202.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * 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 8.368e-05/1.853, allocations: 111 kB / 1.055 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/1.853, allocations: 23.69 kB / 1.055 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005107/1.853, allocations: 184.8 kB / 1.055 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/1.853, allocations: 3.906 kB / 1.055 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.853, allocations: 0 / 1.055 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.853, allocations: 0 / 1.055 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/1.854, allocations: 190 kB / 1.055 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.854, allocations: 4 kB / 1.055 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/1.854, allocations: 31.97 kB / 1.055 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/1.854, allocations: 4 kB / 1.055 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/1.854, allocations: 0 / 1.055 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/1.854, allocations: 0 / 1.055 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.854, allocations: 0 / 1.055 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003772/1.854, allocations: 239.2 kB / 1.055 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004426/1.855, allocations: 0.6169 MB / 1.056 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.795e-05/1.855, allocations: 116.8 kB / 1.056 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/1.855, allocations: 3.984 kB / 1.056 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/1.855, allocations: 19.98 kB / 1.056 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.088e-05/1.855, allocations: 7.984 kB / 1.056 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/1.855, allocations: 12 kB / 1.056 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.518e-05/1.855, allocations: 108.3 kB / 1.056 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009903/1.856, allocations: 95.83 kB / 1.056 GB, free: 201.1 MB / 0.6823 GB 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 (15): * Single equations (assignments): 14 * 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.0003446/1.856, allocations: 211 kB / 1.056 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002082/1.857, allocations: 111 kB / 1.057 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.857, allocations: 3.938 kB / 1.057 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.952e-05/1.857, allocations: 43.92 kB / 1.057 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/1.857, allocations: 28.92 kB / 1.057 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/1.857, allocations: 160.5 kB / 1.057 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/1.858, allocations: 0.7434 MB / 1.057 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/1.858, allocations: 0 / 1.057 GB, free: 199.7 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)