Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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/BuildingSystems 2.0.0-master/package.mo): time 0.705/0.705, allocations: 141.8 MB / 149.1 MB, free: 3.211 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 193.5 kB / 182 MB, free: 15.06 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 221.4 MB / 436 MB, free: 8.145 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 92.39 kB / 0.507 GB, free: 24.4 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00186/0.00186, allocations: 277.8 kB / 0.5885 GB, free: 11.27 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1726/0.1745, allocations: 89.63 MB / 0.676 GB, free: 1.555 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.5634, allocations: 82.77 MB / 0.7568 GB, free: 111.7 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5857/1.149, allocations: 377.1 MB / 1.125 GB, free: 6.227 MB / 0.6513 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/1.15, allocations: 75.62 kB / 1.125 GB, free: 6.188 MB / 0.6513 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.04285/1.192, allocations: 19.08 MB / 1.144 GB, free: 6.887 MB / 0.6669 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/1.192, allocations: 12.94 kB / 1.144 GB, free: 6.875 MB / 0.6669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/1.193, allocations: 7.906 kB / 1.144 GB, free: 6.867 MB / 0.6669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/1.193, allocations: 167.1 kB / 1.144 GB, free: 6.664 MB / 0.6669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/1.193, allocations: 3.938 kB / 1.144 GB, free: 6.66 MB / 0.6669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/1.193, allocations: 4 kB / 1.144 GB, free: 6.656 MB / 0.6669 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.932e-05/1.193, allocations: 15.48 kB / 1.144 GB, free: 6.645 MB / 0.6669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/1.193, allocations: 53.47 kB / 1.144 GB, free: 6.59 MB / 0.6669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/1.193, allocations: 0 / 1.144 GB, free: 6.59 MB / 0.6669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/1.193, allocations: 0 / 1.144 GB, free: 6.59 MB / 0.6669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/1.193, allocations: 4 kB / 1.144 GB, free: 6.586 MB / 0.6669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/1.193, allocations: 138 kB / 1.144 GB, free: 6.418 MB / 0.6669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.484e-05/1.193, allocations: 37.58 kB / 1.144 GB, free: 6.379 MB / 0.6669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.218e-05/1.193, allocations: 16.42 kB / 1.144 GB, free: 6.363 MB / 0.6669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000861/1.194, allocations: 0.6081 MB / 1.145 GB, free: 5.66 MB / 0.6669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/1.194, allocations: 38.31 kB / 1.145 GB, free: 5.617 MB / 0.6669 GB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/1.194, allocations: 4 kB / 1.145 GB, free: 5.613 MB / 0.6669 GB Notification: Performance of matching and sorting (n=7): time 0.0006343/1.195, allocations: 273.2 kB / 1.145 GB, free: 5.305 MB / 0.6669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/1.195, allocations: 55.41 kB / 1.145 GB, free: 5.238 MB / 0.6669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.023e-05/1.195, allocations: 92.36 kB / 1.145 GB, free: 5.145 MB / 0.6669 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/1.195, allocations: 29.7 kB / 1.145 GB, free: 5.109 MB / 0.6669 GB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/1.195, allocations: 84.05 kB / 1.145 GB, free: 5.023 MB / 0.6669 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/1.195, allocations: 31.48 kB / 1.145 GB, free: 4.996 MB / 0.6669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/1.195, allocations: 4 kB / 1.145 GB, free: 4.992 MB / 0.6669 GB Notification: Performance of setup shared object (initialization): time 0.0001018/1.195, allocations: 314.7 kB / 1.146 GB, free: 4.68 MB / 0.6669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.331e-05/1.195, allocations: 15.31 kB / 1.146 GB, free: 4.668 MB / 0.6669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.394e-05/1.195, allocations: 44.45 kB / 1.146 GB, free: 4.609 MB / 0.6669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.549e-05/1.195, allocations: 19.75 kB / 1.146 GB, free: 4.594 MB / 0.6669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.195, allocations: 3.984 kB / 1.146 GB, free: 4.59 MB / 0.6669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000126/1.196, allocations: 81.09 kB / 1.146 GB, free: 4.512 MB / 0.6669 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/1.196, allocations: 4 kB / 1.146 GB, free: 4.508 MB / 0.6669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.196, allocations: 4 kB / 1.146 GB, free: 4.504 MB / 0.6669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/1.196, allocations: 0 / 1.146 GB, free: 4.504 MB / 0.6669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.089e-05/1.196, allocations: 19.98 kB / 1.146 GB, free: 4.484 MB / 0.6669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/1.196, allocations: 4 kB / 1.146 GB, free: 4.48 MB / 0.6669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.832e-05/1.196, allocations: 8.062 kB / 1.146 GB, free: 4.473 MB / 0.6669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/1.196, allocations: 10.02 kB / 1.146 GB, free: 4.469 MB / 0.6669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 6.685e-05/1.196, allocations: 108.9 kB / 1.146 GB, free: 4.355 MB / 0.6669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/1.196, allocations: 3.906 kB / 1.146 GB, free: 4.352 MB / 0.6669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/1.196, allocations: 11.67 kB / 1.146 GB, free: 4.344 MB / 0.6669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/1.196, allocations: 4 kB / 1.146 GB, free: 4.34 MB / 0.6669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.196, allocations: 256 / 1.146 GB, free: 4.34 MB / 0.6669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/1.196, allocations: 3.938 kB / 1.146 GB, free: 4.336 MB / 0.6669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/1.196, allocations: 149.7 kB / 1.146 GB, free: 4.156 MB / 0.6669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/1.196, allocations: 11.98 kB / 1.146 GB, free: 4.145 MB / 0.6669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.282e-05/1.196, allocations: 15.91 kB / 1.146 GB, free: 4.129 MB / 0.6669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/1.196, allocations: 0 / 1.146 GB, free: 4.129 MB / 0.6669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/1.196, allocations: 0 / 1.146 GB, free: 4.129 MB / 0.6669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.196, allocations: 0 / 1.146 GB, free: 4.129 MB / 0.6669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.196, allocations: 0 / 1.146 GB, free: 4.129 MB / 0.6669 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001803/1.196, allocations: 169.9 kB / 1.146 GB, free: 3.957 MB / 0.6669 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003235/1.197, allocations: 0.5458 MB / 1.147 GB, free: 3.406 MB / 0.6669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.719e-05/1.197, allocations: 92.88 kB / 1.147 GB, free: 3.301 MB / 0.6669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/1.197, allocations: 0 / 1.147 GB, free: 3.301 MB / 0.6669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/1.197, allocations: 0 / 1.147 GB, free: 3.301 MB / 0.6669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/1.197, allocations: 7.984 kB / 1.147 GB, free: 3.293 MB / 0.6669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/1.197, allocations: 0 / 1.147 GB, free: 3.293 MB / 0.6669 GB Notification: Performance of sort global known variables: time 3.276e-05/1.197, allocations: 79.28 kB / 1.147 GB, free: 3.215 MB / 0.6669 GB Notification: Performance of remove unused functions: time 0.0008792/1.198, allocations: 23.81 kB / 1.147 GB, free: 3.195 MB / 0.6669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0002481/1.198, allocations: 148.4 kB / 1.147 GB, free: 3.047 MB / 0.6669 GB Notification: Performance of simCode: created initialization part: time 0.0001096/1.198, allocations: 39.55 kB / 1.147 GB, free: 3.016 MB / 0.6669 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.198, allocations: 256 / 1.147 GB, free: 3.016 MB / 0.6669 GB Notification: Performance of simCode: created simulation system equations: time 2.013e-05/1.198, allocations: 16 kB / 1.147 GB, free: 3 MB / 0.6669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/1.199, allocations: 11.03 kB / 1.147 GB, free: 2.992 MB / 0.6669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005903/1.199, allocations: 266 kB / 1.148 GB, free: 2.715 MB / 0.6669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/1.199, allocations: 0.711 MB / 1.148 GB, free: 1.98 MB / 0.6669 GB Notification: Performance of SimCode: time 3.21e-07/1.2, allocations: 0 / 1.148 GB, free: 1.98 MB / 0.6669 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)