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: translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") [: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.7762/0.7762, allocations: 141.8 MB / 149.1 MB, free: 4.387 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.001413/0.001413, allocations: 189.6 kB / 181.9 MB, free: 52 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 221.3 MB / 436 MB, free: 9.227 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.001103/0.001103, allocations: 100.2 kB / 0.507 GB, free: 24.13 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00195/0.001949, allocations: 277.2 kB / 0.5884 GB, free: 12.23 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.258e-06/9.417e-06, allocations: 4 kB / 0.6759 GB, free: 2.602 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4913/0.4913, allocations: 82.75 MB / 0.7567 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7602/1.252, allocations: 397.1 MB / 1.144 GB, free: 2.602 MB / 0.6669 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/1.252, allocations: 74.45 kB / 1.145 GB, free: 2.562 MB / 0.6669 GB Notification: Performance of FrontEnd: time 0.06374/1.316, allocations: 25.57 MB / 1.17 GB, free: 13.78 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 1.715e-05/1.316, allocations: 4 kB / 1.17 GB, free: 13.77 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.001237/1.317, allocations: 489.2 kB / 1.17 GB, free: 13.26 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 6.488e-05/1.317, allocations: 13.28 kB / 1.17 GB, free: 13.25 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/1.317, allocations: 23.8 kB / 1.17 GB, free: 13.23 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/1.318, allocations: 207.1 kB / 1.17 GB, free: 12.99 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/1.318, allocations: 11.94 kB / 1.17 GB, free: 12.98 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/1.318, allocations: 15.94 kB / 1.17 GB, free: 12.96 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00063/1.318, allocations: 407.5 kB / 1.171 GB, free: 12.64 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/1.319, allocations: 224.6 kB / 1.171 GB, free: 12.44 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/1.319, allocations: 0 / 1.171 GB, free: 12.44 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/1.319, allocations: 4 kB / 1.171 GB, free: 12.44 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/1.319, allocations: 8 kB / 1.171 GB, free: 12.43 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/1.32, allocations: 0.993 MB / 1.172 GB, free: 11.44 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/1.321, allocations: 140.8 kB / 1.172 GB, free: 11.32 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/1.321, allocations: 51.27 kB / 1.172 GB, free: 11.27 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002041/1.323, allocations: 1.94 MB / 1.174 GB, free: 9.016 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/1.323, allocations: 37.11 kB / 1.174 GB, free: 8.973 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/1.323, allocations: 4 kB / 1.174 GB, free: 8.969 MB / 0.6982 GB Notification: Performance of matching and sorting (n=15): time 0.0006559/1.324, allocations: 133 kB / 1.174 GB, free: 8.848 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/1.324, allocations: 63.31 kB / 1.174 GB, free: 8.773 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/1.324, allocations: 132.2 kB / 1.174 GB, free: 8.648 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/1.324, allocations: 25.7 kB / 1.174 GB, free: 8.617 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 9.486e-05/1.324, allocations: 143.4 kB / 1.174 GB, free: 8.48 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/1.324, allocations: 50.8 kB / 1.174 GB, free: 8.438 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-06/1.324, allocations: 0 / 1.174 GB, free: 8.438 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.324, allocations: 327.7 kB / 1.175 GB, free: 8.113 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.019e-05/1.324, allocations: 22.94 kB / 1.175 GB, free: 8.098 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/1.324, allocations: 137.2 kB / 1.175 GB, free: 7.93 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/1.325, allocations: 79.47 kB / 1.175 GB, free: 7.867 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/1.325, allocations: 8 kB / 1.175 GB, free: 7.859 MB / 0.6982 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005716/1.325, allocations: 205 kB / 1.175 GB, free: 7.672 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/1.325, allocations: 4 kB / 1.175 GB, free: 7.668 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/1.325, allocations: 8.406 kB / 1.175 GB, free: 7.66 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/1.325, allocations: 15.91 kB / 1.175 GB, free: 7.645 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/1.326, allocations: 59.16 kB / 1.175 GB, free: 7.59 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/1.326, allocations: 4 kB / 1.175 GB, free: 7.586 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/1.326, allocations: 19.75 kB / 1.175 GB, free: 7.566 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/1.326, allocations: 12 kB / 1.175 GB, free: 7.555 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 0.0001037/1.326, allocations: 111.7 kB / 1.175 GB, free: 7.441 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/1.326, allocations: 15.81 kB / 1.175 GB, free: 7.426 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000611/1.327, allocations: 198.2 kB / 1.176 GB, free: 7.25 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/1.327, allocations: 3.938 kB / 1.176 GB, free: 7.246 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/1.327, allocations: 4 kB / 1.176 GB, free: 7.242 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/1.327, allocations: 3.984 kB / 1.176 GB, free: 7.238 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/1.327, allocations: 180.6 kB / 1.176 GB, free: 7.035 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/1.327, allocations: 0 / 1.176 GB, free: 7.035 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/1.327, allocations: 31.67 kB / 1.176 GB, free: 7.008 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/1.327, allocations: 0 / 1.176 GB, free: 7.008 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/1.327, allocations: 4 kB / 1.176 GB, free: 7.004 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/1.327, allocations: 0 / 1.176 GB, free: 7.004 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/1.327, allocations: 11.91 kB / 1.176 GB, free: 6.992 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004795/1.328, allocations: 236.7 kB / 1.176 GB, free: 6.762 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/1.328, allocations: 111.7 kB / 1.176 GB, free: 6.641 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/1.328, allocations: 0 / 1.176 GB, free: 6.641 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/1.328, allocations: 19.98 kB / 1.176 GB, free: 6.621 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/1.328, allocations: 15.33 kB / 1.176 GB, free: 6.609 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/1.328, allocations: 4 kB / 1.176 GB, free: 6.605 MB / 0.6982 GB Notification: Performance of sort global known variables: time 7.817e-05/1.328, allocations: 108 kB / 1.176 GB, free: 6.512 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.0004757/1.329, allocations: 79.42 kB / 1.176 GB, free: 6.438 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.0004705/1.329, allocations: 226.5 kB / 1.177 GB, free: 6.211 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0003142/1.329, allocations: 105.2 kB / 1.177 GB, free: 6.125 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/1.329, allocations: 0 / 1.177 GB, free: 6.125 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 8.021e-05/1.329, allocations: 42.98 kB / 1.177 GB, free: 6.09 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/1.33, allocations: 32.34 kB / 1.177 GB, free: 6.066 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006723/1.331, allocations: 167.6 kB / 1.177 GB, free: 5.891 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005824/1.331, allocations: 0.7475 MB / 1.178 GB, free: 5.117 MB / 0.6982 GB Notification: Performance of SimCode: time 4.81e-07/1.331, allocations: 4 kB / 1.178 GB, free: 5.113 MB / 0.6982 GB Notification: Performance of Templates: time 0.007602/1.339, allocations: 3.311 MB / 1.181 GB, free: 1.863 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.makefile (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 & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)