Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [: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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.453/1.453, allocations: 289.8 MB / 297.1 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 181.3 kB / 366.3 MB, free: 2.023 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.1 MB / 0.6256 GB, free: 5.863 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009016/0.0009015, allocations: 83.11 kB / 0.7395 GB, free: 39.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.642e-06/6.672e-06, allocations: 0 / 0.859 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5526/0.5526, allocations: 116.3 MB / 0.9725 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8036/1.356, allocations: 341.6 MB / 1.306 GB, free: 143.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/1.357, allocations: 82.11 kB / 1.306 GB, free: 143.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01489/1.371, allocations: 7.382 MB / 1.313 GB, free: 139.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.48e-06/1.372, allocations: 0 / 1.313 GB, free: 139.2 MB / 0.823 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.0002423/1.372, allocations: 350.2 kB / 1.314 GB, free: 138.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/1.372, allocations: 16.03 kB / 1.314 GB, free: 138.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/1.372, allocations: 3.906 kB / 1.314 GB, free: 138.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.042e-05/1.372, allocations: 163.1 kB / 1.314 GB, free: 138.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.896e-05/1.372, allocations: 29.7 kB / 1.314 GB, free: 138.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/1.372, allocations: 0.75 kB / 1.314 GB, free: 138.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.038e-05/1.372, allocations: 11.98 kB / 1.314 GB, free: 138.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.832e-05/1.372, allocations: 41.12 kB / 1.314 GB, free: 138.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/1.372, allocations: 0 / 1.314 GB, free: 138.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/1.372, allocations: 0 / 1.314 GB, free: 138.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/1.372, allocations: 4 kB / 1.314 GB, free: 138.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/1.373, allocations: 0.5824 MB / 1.315 GB, free: 137.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.113e-05/1.373, allocations: 18.58 kB / 1.315 GB, free: 137.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/1.373, allocations: 6.266 kB / 1.315 GB, free: 137.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/1.373, allocations: 361.8 kB / 1.315 GB, free: 137.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/1.373, allocations: 38.56 kB / 1.315 GB, free: 137.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/1.373, allocations: 0 / 1.315 GB, free: 137.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0002188/1.373, allocations: 41.59 kB / 1.315 GB, free: 137.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.652e-05/1.373, allocations: 56.91 kB / 1.315 GB, free: 137.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.691e-05/1.373, allocations: 96.94 kB / 1.315 GB, free: 137.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.727e-06/1.373, allocations: 25.7 kB / 1.315 GB, free: 137.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.32e-05/1.373, allocations: 87.73 kB / 1.315 GB, free: 137 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.519e-06/1.373, allocations: 3.984 kB / 1.315 GB, free: 137 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/1.373, allocations: 4.031 kB / 1.315 GB, free: 137 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.857e-05/1.373, allocations: 318.8 kB / 1.316 GB, free: 136.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.748e-06/1.373, allocations: 0 / 1.316 GB, free: 136.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.581e-05/1.374, allocations: 17.41 kB / 1.316 GB, free: 136.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/1.374, allocations: 23.91 kB / 1.316 GB, free: 136.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.374, allocations: 1.406 kB / 1.316 GB, free: 136.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000195/1.374, allocations: 69.17 kB / 1.316 GB, free: 136.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/1.374, allocations: 4 kB / 1.316 GB, free: 136.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/1.374, allocations: 0 / 1.316 GB, free: 136.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/1.374, allocations: 0 / 1.316 GB, free: 136.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.994e-05/1.374, allocations: 8 kB / 1.316 GB, free: 136.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/1.374, allocations: 0 / 1.316 GB, free: 136.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.023e-05/1.374, allocations: 3.906 kB / 1.316 GB, free: 136.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/1.374, allocations: 7.984 kB / 1.316 GB, free: 136.5 MB / 0.823 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 4.795e-05/1.374, allocations: 104.9 kB / 1.316 GB, free: 136.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/1.374, allocations: 4.062 kB / 1.316 GB, free: 136.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.635e-05/1.374, allocations: 116.9 kB / 1.316 GB, free: 136.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.307e-05/1.374, allocations: 184.1 kB / 1.316 GB, free: 136.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.619e-05/1.374, allocations: 188.2 kB / 1.316 GB, free: 135.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.178e-05/1.374, allocations: 176.3 kB / 1.317 GB, free: 135.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/1.374, allocations: 392.2 kB / 1.317 GB, free: 135.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/1.374, allocations: 104.7 kB / 1.317 GB, free: 135.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.699e-05/1.374, allocations: 105 kB / 1.317 GB, free: 135.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.21e-05/1.374, allocations: 180.2 kB / 1.317 GB, free: 134.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/1.375, allocations: 176.3 kB / 1.317 GB, free: 134.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.403e-05/1.375, allocations: 192.2 kB / 1.318 GB, free: 134.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.193e-05/1.375, allocations: 176.3 kB / 1.318 GB, free: 134.4 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.746e-05/1.375, allocations: 307.4 kB / 1.318 GB, free: 134 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/1.375, allocations: 183.4 kB / 1.318 GB, free: 133.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/1.375, allocations: 184.5 kB / 1.318 GB, free: 133.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/1.375, allocations: 109 kB / 1.319 GB, free: 133.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/1.375, allocations: 184.2 kB / 1.319 GB, free: 133.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/1.375, allocations: 104.4 kB / 1.319 GB, free: 133.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.414e-05/1.375, allocations: 79.28 kB / 1.319 GB, free: 133.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002534/1.375, allocations: 35.61 kB / 1.319 GB, free: 133.1 MB / 0.823 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.0002054/1.375, allocations: 236.2 kB / 1.319 GB, free: 132.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 5.889e-05/1.375, allocations: 15.92 kB / 1.319 GB, free: 132.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.375, allocations: 7.5 kB / 1.319 GB, free: 132.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/1.375, allocations: 0 / 1.319 GB, free: 132.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/1.376, allocations: 0.5146 MB / 1.32 GB, free: 132.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001525/1.376, allocations: 138.9 kB / 1.32 GB, free: 132.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/1.376, allocations: 0.688 MB / 1.32 GB, free: 131.5 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/1.376, allocations: 1.031 kB / 1.32 GB, free: 131.5 MB / 0.823 GB Notification: Performance of Templates: time 0.002864/1.379, allocations: 1.058 MB / 1.321 GB, free: 130.5 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)