Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [: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.7869/0.7869, allocations: 141.8 MB / 149.1 MB, free: 3.164 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.001124/0.001125, allocations: 178.6 kB / 181.9 MB, free: 15.02 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.567/1.567, allocations: 221.3 MB / 436 MB, free: 8.113 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.001005/0.001005, allocations: 94.66 kB / 0.507 GB, free: 24.51 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001995/0.001995, allocations: 282.4 kB / 0.5884 GB, free: 11.25 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 7.144e-06/7.174e-06, allocations: 0 / 0.6759 GB, free: 1.613 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5492/0.5492, allocations: 82.76 MB / 0.7567 GB, free: 111.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7703/1.32, allocations: 316.1 MB / 1.065 GB, free: 12.35 MB / 0.6044 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/1.32, allocations: 78.67 kB / 1.065 GB, free: 12.31 MB / 0.6044 GB Notification: Performance of FrontEnd: time 0.04273/1.363, allocations: 16.4 MB / 1.082 GB, free: 14.79 MB / 0.62 GB Notification: Performance of Transformations before backend: time 1.761e-05/1.363, allocations: 0 / 1.082 GB, free: 14.79 MB / 0.62 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.001217/1.364, allocations: 484.1 kB / 1.082 GB, free: 14.29 MB / 0.62 GB Notification: Performance of prepare preOptimizeDAE: time 7.183e-05/1.364, allocations: 8.031 kB / 1.082 GB, free: 14.28 MB / 0.62 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002333/1.366, allocations: 195.2 kB / 1.082 GB, free: 14.1 MB / 0.62 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/1.367, allocations: 212.5 kB / 1.082 GB, free: 13.86 MB / 0.62 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/1.367, allocations: 4 kB / 1.082 GB, free: 13.86 MB / 0.62 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/1.367, allocations: 15.91 kB / 1.082 GB, free: 13.84 MB / 0.62 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004927/1.367, allocations: 198 kB / 1.083 GB, free: 13.7 MB / 0.62 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000461/1.368, allocations: 234.2 kB / 1.083 GB, free: 13.47 MB / 0.62 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/1.368, allocations: 7.938 kB / 1.083 GB, free: 13.46 MB / 0.62 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/1.368, allocations: 0 / 1.083 GB, free: 13.46 MB / 0.62 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/1.368, allocations: 4 kB / 1.083 GB, free: 13.46 MB / 0.62 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/1.37, allocations: 1.355 MB / 1.084 GB, free: 12.07 MB / 0.62 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/1.37, allocations: 144.6 kB / 1.084 GB, free: 11.96 MB / 0.62 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/1.37, allocations: 54.23 kB / 1.084 GB, free: 11.92 MB / 0.62 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/1.37, allocations: 4 kB / 1.084 GB, free: 11.91 MB / 0.62 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/1.37, allocations: 34.44 kB / 1.084 GB, free: 11.88 MB / 0.62 GB Notification: Performance of pre-optimization done (n=18): time 1.834e-06/1.371, allocations: 4 kB / 1.084 GB, free: 11.87 MB / 0.62 GB Notification: Performance of matching and sorting (n=18): time 0.000357/1.371, allocations: 148 kB / 1.084 GB, free: 11.75 MB / 0.62 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/1.371, allocations: 51.41 kB / 1.085 GB, free: 11.68 MB / 0.62 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/1.371, allocations: 127.4 kB / 1.085 GB, free: 11.56 MB / 0.62 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/1.371, allocations: 29.64 kB / 1.085 GB, free: 11.52 MB / 0.62 GB Notification: Performance of collectInitialEqns (initialization): time 9.213e-05/1.371, allocations: 131.5 kB / 1.085 GB, free: 11.39 MB / 0.62 GB Notification: Performance of collectInitialBindings (initialization): time 5.33e-05/1.371, allocations: 62.3 kB / 1.085 GB, free: 11.34 MB / 0.62 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.421e-05/1.371, allocations: 0 / 1.085 GB, free: 11.34 MB / 0.62 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.371, allocations: 324.8 kB / 1.085 GB, free: 11.02 MB / 0.62 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.886e-05/1.372, allocations: 49.16 kB / 1.085 GB, free: 10.98 MB / 0.62 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/1.372, allocations: 114.5 kB / 1.085 GB, free: 10.86 MB / 0.62 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/1.372, allocations: 58.19 kB / 1.085 GB, free: 10.82 MB / 0.62 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.372, allocations: 0 / 1.085 GB, free: 10.82 MB / 0.62 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003527/1.372, allocations: 203.9 kB / 1.086 GB, free: 10.64 MB / 0.62 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/1.372, allocations: 8 kB / 1.086 GB, free: 10.64 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.372, allocations: 0 / 1.086 GB, free: 10.64 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/1.372, allocations: 4 kB / 1.086 GB, free: 10.63 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/1.373, allocations: 67.89 kB / 1.086 GB, free: 10.57 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/1.373, allocations: 4 kB / 1.086 GB, free: 10.56 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/1.373, allocations: 27.92 kB / 1.086 GB, free: 10.54 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/1.373, allocations: 15.98 kB / 1.086 GB, free: 10.52 MB / 0.62 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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 0.0001145/1.373, allocations: 108.4 kB / 1.086 GB, free: 10.41 MB / 0.62 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/1.373, allocations: 12.56 kB / 1.086 GB, free: 10.4 MB / 0.62 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004464/1.374, allocations: 190.5 kB / 1.086 GB, free: 10.25 MB / 0.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/1.374, allocations: 4 kB / 1.086 GB, free: 10.24 MB / 0.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/1.374, allocations: 4 kB / 1.086 GB, free: 10.24 MB / 0.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.374, allocations: 0 / 1.086 GB, free: 10.24 MB / 0.62 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/1.374, allocations: 202.3 kB / 1.086 GB, free: 10.02 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.374, allocations: 0 / 1.086 GB, free: 10.02 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/1.374, allocations: 56.73 kB / 1.086 GB, free: 9.969 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/1.374, allocations: 0 / 1.086 GB, free: 9.969 MB / 0.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/1.374, allocations: 11.94 kB / 1.086 GB, free: 9.957 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/1.374, allocations: 0 / 1.086 GB, free: 9.957 MB / 0.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.374, allocations: 3.906 kB / 1.086 GB, free: 9.953 MB / 0.62 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003289/1.375, allocations: 257.4 kB / 1.087 GB, free: 9.723 MB / 0.62 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/1.375, allocations: 112.4 kB / 1.087 GB, free: 9.598 MB / 0.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/1.375, allocations: 0 / 1.087 GB, free: 9.598 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/1.375, allocations: 15.98 kB / 1.087 GB, free: 9.582 MB / 0.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/1.375, allocations: 16.95 kB / 1.087 GB, free: 9.566 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/1.375, allocations: 19.77 kB / 1.087 GB, free: 9.551 MB / 0.62 GB Notification: Performance of sort global known variables: time 7.576e-05/1.375, allocations: 97.44 kB / 1.087 GB, free: 9.465 MB / 0.62 GB Notification: Performance of remove unused functions: time 0.0004372/1.376, allocations: 60.11 kB / 1.087 GB, free: 9.406 MB / 0.62 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 (20): * Single equations (assignments): 20 * 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.0002693/1.376, allocations: 132.1 kB / 1.087 GB, free: 9.27 MB / 0.62 GB Notification: Performance of simCode: created initialization part: time 0.0002737/1.376, allocations: 139.1 kB / 1.087 GB, free: 9.168 MB / 0.62 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.376, allocations: 0 / 1.087 GB, free: 9.168 MB / 0.62 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/1.376, allocations: 71.31 kB / 1.087 GB, free: 9.113 MB / 0.62 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/1.377, allocations: 42.95 kB / 1.087 GB, free: 9.082 MB / 0.62 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007761/1.378, allocations: 202.3 kB / 1.087 GB, free: 8.879 MB / 0.62 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005199/1.378, allocations: 0.7554 MB / 1.088 GB, free: 8.098 MB / 0.62 GB Notification: Performance of SimCode: time 2.3e-07/1.378, allocations: 0 / 1.088 GB, free: 8.098 MB / 0.62 GB Notification: Performance of Templates: time 0.0079/1.386, allocations: 3.389 MB / 1.091 GB, free: 4.797 MB / 0.62 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)