Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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: translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [: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.8072/0.8072, allocations: 141.8 MB / 149.1 MB, free: 10.2 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.001283/0.001283, allocations: 185.5 kB / 181.9 MB, free: 7.105 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.492/1.492, allocations: 221.4 MB / 436 MB, free: 15.23 MB / 346.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009194/0.0009193, allocations: 95.67 kB / 0.507 GB, free: 8.438 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001939/0.001939, allocations: 281.4 kB / 0.5885 GB, free: 5.219 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/8.005e-06, allocations: 1.781 kB / 0.6759 GB, free: 166.6 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.187, allocations: 82.78 MB / 0.7567 GB, free: 114.3 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.121/1.308, allocations: 393.8 MB / 1.141 GB, free: 192.9 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/1.309, allocations: 66.81 kB / 1.141 GB, free: 192.9 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.04248/1.351, allocations: 18.71 MB / 1.16 GB, free: 191.6 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 1.01e-05/1.351, allocations: 3.938 kB / 1.16 GB, free: 191.6 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004137/1.352, allocations: 352.1 kB / 1.16 GB, free: 191.2 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/1.352, allocations: 11.72 kB / 1.16 GB, free: 191.2 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/1.352, allocations: 3.906 kB / 1.16 GB, free: 191.2 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/1.352, allocations: 162.1 kB / 1.16 GB, free: 191 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.937e-05/1.352, allocations: 29.61 kB / 1.16 GB, free: 191 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/1.352, allocations: 0 / 1.16 GB, free: 191 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.892e-05/1.352, allocations: 14.86 kB / 1.16 GB, free: 191 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.611e-05/1.352, allocations: 44.91 kB / 1.16 GB, free: 190.9 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/1.352, allocations: 4 kB / 1.16 GB, free: 190.9 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/1.352, allocations: 3.906 kB / 1.16 GB, free: 190.9 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/1.352, allocations: 3.906 kB / 1.16 GB, free: 190.9 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/1.353, allocations: 304.2 kB / 1.161 GB, free: 190.6 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 3.057e-05/1.353, allocations: 18.48 kB / 1.161 GB, free: 190.6 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.8e-05/1.353, allocations: 12.64 kB / 1.161 GB, free: 190.6 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-05/1.353, allocations: 88.34 kB / 1.161 GB, free: 190.5 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/1.353, allocations: 34.47 kB / 1.161 GB, free: 190.4 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=1): time 1.273e-06/1.353, allocations: 0 / 1.161 GB, free: 190.4 MB / 0.6982 GB Notification: Performance of matching and sorting (n=1): time 0.0001825/1.353, allocations: 37.16 kB / 1.161 GB, free: 190.4 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/1.353, allocations: 51.41 kB / 1.161 GB, free: 190.3 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.53e-05/1.353, allocations: 96.5 kB / 1.161 GB, free: 190.3 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/1.353, allocations: 25.7 kB / 1.161 GB, free: 190.2 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/1.353, allocations: 88.08 kB / 1.161 GB, free: 190.1 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 6.432e-06/1.353, allocations: 7.5 kB / 1.161 GB, free: 190.1 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/1.353, allocations: 0 / 1.161 GB, free: 190.1 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 5.632e-05/1.353, allocations: 318.4 kB / 1.161 GB, free: 189.8 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/1.353, allocations: 3.812 kB / 1.161 GB, free: 189.8 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.02e-05/1.353, allocations: 13.88 kB / 1.161 GB, free: 189.8 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.308e-05/1.353, allocations: 7.5 kB / 1.161 GB, free: 189.8 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.354, allocations: 4 kB / 1.161 GB, free: 189.8 MB / 0.6982 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001023/1.354, allocations: 52.27 kB / 1.161 GB, free: 189.8 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/1.354, allocations: 3.812 kB / 1.161 GB, free: 189.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/1.354, allocations: 0 / 1.161 GB, free: 189.8 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/1.354, allocations: 4 kB / 1.161 GB, free: 189.8 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.771e-05/1.354, allocations: 7.094 kB / 1.161 GB, free: 189.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/1.354, allocations: 3.938 kB / 1.161 GB, free: 189.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.263e-05/1.354, allocations: 7.891 kB / 1.161 GB, free: 189.7 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/1.354, allocations: 3.906 kB / 1.161 GB, free: 189.7 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 5.472e-05/1.354, allocations: 105 kB / 1.161 GB, free: 189.6 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/1.354, allocations: 3.906 kB / 1.161 GB, free: 189.6 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/1.354, allocations: 130.9 kB / 1.162 GB, free: 189.5 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.431e-05/1.354, allocations: 176.3 kB / 1.162 GB, free: 189.3 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.263e-05/1.354, allocations: 176.3 kB / 1.162 GB, free: 189.2 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.042e-05/1.354, allocations: 184.2 kB / 1.162 GB, free: 189 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/1.354, allocations: 388.6 kB / 1.162 GB, free: 188.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/1.354, allocations: 104.3 kB / 1.163 GB, free: 188.4 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.671e-05/1.354, allocations: 104.9 kB / 1.163 GB, free: 188.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.022e-05/1.354, allocations: 180.2 kB / 1.163 GB, free: 188.2 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/1.354, allocations: 176.3 kB / 1.163 GB, free: 188 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-05/1.354, allocations: 188.1 kB / 1.163 GB, free: 187.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.27e-05/1.354, allocations: 179.6 kB / 1.163 GB, free: 187.6 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.531e-05/1.355, allocations: 307 kB / 1.164 GB, free: 187.3 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/1.355, allocations: 190.4 kB / 1.164 GB, free: 187.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/1.355, allocations: 188.2 kB / 1.164 GB, free: 186.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/1.355, allocations: 112.2 kB / 1.164 GB, free: 186.8 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/1.355, allocations: 176.3 kB / 1.164 GB, free: 186.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/1.355, allocations: 104.9 kB / 1.164 GB, free: 186.5 MB / 0.6982 GB Notification: Performance of sort global known variables: time 2.635e-05/1.355, allocations: 83.12 kB / 1.164 GB, free: 186.4 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.000281/1.355, allocations: 22.8 kB / 1.165 GB, free: 186.4 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 (0): * Single equations (assignments): 0 * 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.0002646/1.355, allocations: 231.2 kB / 1.165 GB, free: 186.3 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 6.796e-05/1.355, allocations: 11.98 kB / 1.165 GB, free: 186.3 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/1.355, allocations: 0 / 1.165 GB, free: 186.3 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/1.356, allocations: 0 / 1.165 GB, free: 186.3 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/1.356, allocations: 0.5322 MB / 1.165 GB, free: 185.7 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001787/1.356, allocations: 122.5 kB / 1.165 GB, free: 185.6 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/1.356, allocations: 0.6903 MB / 1.166 GB, free: 184.9 MB / 0.6982 GB Notification: Performance of SimCode: time 3.3e-07/1.356, allocations: 0 / 1.166 GB, free: 184.9 MB / 0.6982 GB Notification: Performance of Templates: time 0.003099/1.359, allocations: 0.8813 MB / 1.167 GB, free: 184.7 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)