Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7603/0.7603, allocations: 141.8 MB / 149.1 MB, free: 12.37 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 179.7 kB / 181.9 MB, free: 9.109 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.232/1.232, allocations: 221.3 MB / 436 MB, free: 1.523 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.0009183/0.0009184, allocations: 90.44 kB / 0.507 GB, free: 17.64 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001784/0.001784, allocations: 275.3 kB / 0.5884 GB, free: 3.129 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3437/0.3455, allocations: 89.62 MB / 0.676 GB, free: 136 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.5038, allocations: 82.79 MB / 0.7568 GB, free: 81.82 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9372/1.441, allocations: 397.1 MB / 1.145 GB, free: 266.1 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/1.441, allocations: 77.08 kB / 1.145 GB, free: 266.1 MB / 0.6982 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.063/1.504, allocations: 26.05 MB / 1.17 GB, free: 257.7 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/1.504, allocations: 12.98 kB / 1.17 GB, free: 257.7 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/1.505, allocations: 23.06 kB / 1.17 GB, free: 257.7 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/1.505, allocations: 217.7 kB / 1.17 GB, free: 257.4 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/1.505, allocations: 4 kB / 1.17 GB, free: 257.4 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/1.505, allocations: 8 kB / 1.17 GB, free: 257.4 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003876/1.505, allocations: 417 kB / 1.171 GB, free: 257.1 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/1.506, allocations: 216.5 kB / 1.171 GB, free: 256.9 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.506, allocations: 3.938 kB / 1.171 GB, free: 256.9 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/1.506, allocations: 4 kB / 1.171 GB, free: 256.9 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/1.506, allocations: 11.98 kB / 1.171 GB, free: 256.9 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008801/1.507, allocations: 0.9811 MB / 1.172 GB, free: 255.9 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/1.507, allocations: 146.3 kB / 1.172 GB, free: 255.8 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.385e-05/1.507, allocations: 48.89 kB / 1.172 GB, free: 255.7 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/1.508, allocations: 1.952 MB / 1.174 GB, free: 253.4 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/1.508, allocations: 34.56 kB / 1.174 GB, free: 253.3 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/1.508, allocations: 4 kB / 1.174 GB, free: 253.3 MB / 0.6982 GB Notification: Performance of matching and sorting (n=15): time 0.0005119/1.508, allocations: 133.5 kB / 1.174 GB, free: 253.2 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/1.509, allocations: 55.31 kB / 1.174 GB, free: 253.1 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/1.509, allocations: 136.2 kB / 1.174 GB, free: 253 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/1.509, allocations: 29.7 kB / 1.174 GB, free: 253 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/1.509, allocations: 135.8 kB / 1.175 GB, free: 252.8 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/1.509, allocations: 51.3 kB / 1.175 GB, free: 252.8 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/1.509, allocations: 0 / 1.175 GB, free: 252.8 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 6.314e-05/1.509, allocations: 330.7 kB / 1.175 GB, free: 252.4 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.961e-05/1.509, allocations: 32 kB / 1.175 GB, free: 252.4 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.125e-05/1.509, allocations: 126.2 kB / 1.175 GB, free: 252.2 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00032/1.509, allocations: 83.86 kB / 1.175 GB, free: 252.2 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.509, allocations: 0 / 1.175 GB, free: 252.2 MB / 0.6982 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004803/1.51, allocations: 208.7 kB / 1.175 GB, free: 252 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/1.51, allocations: 8.469 kB / 1.175 GB, free: 251.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/1.51, allocations: 8 kB / 1.175 GB, free: 251.9 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/1.51, allocations: 7.906 kB / 1.175 GB, free: 251.9 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/1.51, allocations: 59.84 kB / 1.175 GB, free: 251.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/1.51, allocations: 8 kB / 1.175 GB, free: 251.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/1.51, allocations: 19.75 kB / 1.175 GB, free: 251.8 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/1.51, allocations: 11.98 kB / 1.175 GB, free: 251.8 MB / 0.6982 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 6.943e-05/1.51, allocations: 116.9 kB / 1.176 GB, free: 251.7 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/1.51, allocations: 15.81 kB / 1.176 GB, free: 251.7 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005203/1.511, allocations: 189.7 kB / 1.176 GB, free: 251.5 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/1.511, allocations: 4 kB / 1.176 GB, free: 251.5 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.511, allocations: 0 / 1.176 GB, free: 251.5 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/1.511, allocations: 0 / 1.176 GB, free: 251.5 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/1.511, allocations: 190 kB / 1.176 GB, free: 251.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/1.511, allocations: 3.938 kB / 1.176 GB, free: 251.3 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/1.511, allocations: 31.98 kB / 1.176 GB, free: 251.2 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.511, allocations: 0 / 1.176 GB, free: 251.2 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/1.511, allocations: 7.984 kB / 1.176 GB, free: 251.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.511, allocations: 4 kB / 1.176 GB, free: 251.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.511, allocations: 3.906 kB / 1.176 GB, free: 251.2 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003903/1.512, allocations: 239.2 kB / 1.176 GB, free: 251 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004593/1.512, allocations: 0.6086 MB / 1.177 GB, free: 250.3 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 8.088e-05/1.512, allocations: 116.9 kB / 1.177 GB, free: 250.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/1.512, allocations: 4 kB / 1.177 GB, free: 250.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/1.512, allocations: 15.98 kB / 1.177 GB, free: 250.2 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/1.512, allocations: 15.89 kB / 1.177 GB, free: 250.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/1.513, allocations: 7.984 kB / 1.177 GB, free: 250.2 MB / 0.6982 GB Notification: Performance of sort global known variables: time 4.962e-05/1.513, allocations: 106.5 kB / 1.177 GB, free: 250.1 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001101/1.514, allocations: 91.94 kB / 1.177 GB, free: 250 MB / 0.6982 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.0003925/1.514, allocations: 222.9 kB / 1.177 GB, free: 249.8 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0002217/1.514, allocations: 108 kB / 1.177 GB, free: 249.6 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.514, allocations: 4 kB / 1.177 GB, free: 249.6 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 6.137e-05/1.514, allocations: 39.94 kB / 1.177 GB, free: 249.6 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/1.515, allocations: 27.88 kB / 1.178 GB, free: 249.6 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/1.515, allocations: 169.3 kB / 1.178 GB, free: 249.4 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/1.515, allocations: 0.7476 MB / 1.178 GB, free: 248.6 MB / 0.6982 GB Notification: Performance of SimCode: time 2.8e-07/1.515, allocations: 0 / 1.178 GB, free: 248.6 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)