Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",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.6881/0.6881, allocations: 141.8 MB / 149.1 MB, free: 1.652 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.001078/0.001078, allocations: 177.3 kB / 181.9 MB, free: 1.137 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.196/1.196, allocations: 221.3 MB / 436 MB, free: 5.867 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.000895/0.0008952, allocations: 96.55 kB / 0.507 GB, free: 2.531 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001687/0.001687, allocations: 280 kB / 0.5884 GB, free: 47.55 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3055/0.3072, allocations: 89.63 MB / 0.676 GB, free: 59.85 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.442, allocations: 82.79 MB / 0.7568 GB, free: 0.9102 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8364/1.278, allocations: 408.7 MB / 1.156 GB, free: 267.5 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/1.279, allocations: 84.17 kB / 1.156 GB, free: 267.5 MB / 0.7138 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.2096/1.488, allocations: 86.71 MB / 1.241 GB, free: 198.1 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/1.488, allocations: 13 kB / 1.241 GB, free: 198.1 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/1.489, allocations: 19.81 kB / 1.241 GB, free: 198.1 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/1.489, allocations: 218.8 kB / 1.241 GB, free: 197.8 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/1.489, allocations: 4 kB / 1.241 GB, free: 197.8 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/1.489, allocations: 12 kB / 1.241 GB, free: 197.8 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004294/1.489, allocations: 408.2 kB / 1.241 GB, free: 197.4 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/1.49, allocations: 219.8 kB / 1.242 GB, free: 197.2 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/1.49, allocations: 3.984 kB / 1.242 GB, free: 197.2 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/1.49, allocations: 0 / 1.242 GB, free: 197.2 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/1.49, allocations: 8 kB / 1.242 GB, free: 197.2 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008951/1.491, allocations: 0.9726 MB / 1.243 GB, free: 196.1 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/1.491, allocations: 140.6 kB / 1.243 GB, free: 196 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.347e-05/1.491, allocations: 52.89 kB / 1.243 GB, free: 195.9 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/1.492, allocations: 1.976 MB / 1.245 GB, free: 193.6 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/1.492, allocations: 38.56 kB / 1.245 GB, free: 193.5 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/1.492, allocations: 0 / 1.245 GB, free: 193.5 MB / 0.7138 GB Notification: Performance of matching and sorting (n=15): time 0.000494/1.492, allocations: 137.4 kB / 1.245 GB, free: 193.4 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.698e-05/1.493, allocations: 51.41 kB / 1.245 GB, free: 193.3 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.943e-05/1.493, allocations: 129.6 kB / 1.245 GB, free: 193.2 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/1.493, allocations: 25.7 kB / 1.245 GB, free: 193.2 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/1.493, allocations: 143.7 kB / 1.245 GB, free: 193 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/1.493, allocations: 55.2 kB / 1.245 GB, free: 193 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/1.493, allocations: 0 / 1.245 GB, free: 193 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 4.661e-05/1.493, allocations: 330.8 kB / 1.246 GB, free: 192.6 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.898e-05/1.493, allocations: 31.98 kB / 1.246 GB, free: 192.6 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.431e-05/1.493, allocations: 134.2 kB / 1.246 GB, free: 192.4 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/1.493, allocations: 75.88 kB / 1.246 GB, free: 192.3 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.493, allocations: 0 / 1.246 GB, free: 192.3 MB / 0.7138 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004683/1.494, allocations: 220.8 kB / 1.246 GB, free: 192.1 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/1.494, allocations: 8 kB / 1.246 GB, free: 192.1 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/1.494, allocations: 4 kB / 1.246 GB, free: 192.1 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/1.494, allocations: 4 kB / 1.246 GB, free: 192.1 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/1.494, allocations: 55.91 kB / 1.246 GB, free: 192.1 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/1.494, allocations: 4 kB / 1.246 GB, free: 192.1 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/1.494, allocations: 19.75 kB / 1.246 GB, free: 192 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/1.494, allocations: 12 kB / 1.246 GB, free: 192 MB / 0.7138 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.655e-05/1.494, allocations: 124.9 kB / 1.246 GB, free: 191.9 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/1.494, allocations: 15.81 kB / 1.246 GB, free: 191.9 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005323/1.495, allocations: 180.3 kB / 1.246 GB, free: 191.7 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/1.495, allocations: 4 kB / 1.246 GB, free: 191.7 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/1.495, allocations: 3.984 kB / 1.246 GB, free: 191.7 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/1.495, allocations: 0 / 1.246 GB, free: 191.7 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/1.495, allocations: 190.1 kB / 1.247 GB, free: 191.5 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/1.495, allocations: 0 / 1.247 GB, free: 191.5 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/1.495, allocations: 27.98 kB / 1.247 GB, free: 191.4 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/1.495, allocations: 7.938 kB / 1.247 GB, free: 191.4 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/1.495, allocations: 7.906 kB / 1.247 GB, free: 191.4 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.495, allocations: 0 / 1.247 GB, free: 191.4 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.495, allocations: 3.984 kB / 1.247 GB, free: 191.4 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004044/1.496, allocations: 235.2 kB / 1.247 GB, free: 191.2 MB / 0.7138 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004958/1.496, allocations: 0.6248 MB / 1.247 GB, free: 190.5 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 7.622e-05/1.496, allocations: 124.9 kB / 1.248 GB, free: 190.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/1.496, allocations: 0 / 1.248 GB, free: 190.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/1.496, allocations: 19.89 kB / 1.248 GB, free: 190.4 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.977e-05/1.496, allocations: 7.984 kB / 1.248 GB, free: 190.4 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/1.496, allocations: 23.92 kB / 1.248 GB, free: 190.3 MB / 0.7138 GB Notification: Performance of sort global known variables: time 4.427e-05/1.497, allocations: 109.9 kB / 1.248 GB, free: 190.2 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.001065/1.498, allocations: 91.94 kB / 1.248 GB, free: 190.1 MB / 0.7138 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.0003311/1.498, allocations: 237.7 kB / 1.248 GB, free: 189.9 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.0002052/1.498, allocations: 104.6 kB / 1.248 GB, free: 189.8 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.498, allocations: 4.125 kB / 1.248 GB, free: 189.8 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 6.135e-05/1.498, allocations: 47.86 kB / 1.248 GB, free: 189.8 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/1.499, allocations: 27.89 kB / 1.248 GB, free: 189.7 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/1.499, allocations: 167.4 kB / 1.248 GB, free: 189.5 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/1.499, allocations: 0.7551 MB / 1.249 GB, free: 188.8 MB / 0.7138 GB Notification: Performance of SimCode: time 2.6e-07/1.499, allocations: 0 / 1.249 GB, free: 188.8 MB / 0.7138 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)