Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.548/1.548, allocations: 285.5 MB / 292.8 MB, free: 10.4 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.001293/0.001293, allocations: 185.2 kB / 361.1 MB, free: 7.066 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.439/1.439, allocations: 205.2 MB / 0.6195 GB, free: 10.26 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.0008829/0.0008827, allocations: 91.72 kB / 0.7326 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.935e-06/8.086e-06, allocations: 0 / 0.8511 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5812/0.5812, allocations: 115.3 MB / 0.9637 GB, free: 78.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6464/1.228, allocations: 342.1 MB / 1.298 GB, free: 255.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/1.228, allocations: 80.17 kB / 1.298 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.01506/1.243, allocations: 7.396 MB / 1.305 GB, free: 250.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.524e-06/1.243, allocations: 4 kB / 1.305 GB, free: 250.4 MB / 0.8542 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.0002416/1.243, allocations: 346.4 kB / 1.305 GB, free: 250 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/1.243, allocations: 8.531 kB / 1.305 GB, free: 250 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/1.243, allocations: 3.906 kB / 1.305 GB, free: 250 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.369e-05/1.243, allocations: 163.1 kB / 1.306 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.438e-05/1.244, allocations: 25.7 kB / 1.306 GB, free: 249.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/1.244, allocations: 0 / 1.306 GB, free: 249.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.059e-05/1.244, allocations: 15.92 kB / 1.306 GB, free: 249.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.433e-05/1.244, allocations: 46.44 kB / 1.306 GB, free: 249.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/1.244, allocations: 1.625 kB / 1.306 GB, free: 249.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/1.244, allocations: 0 / 1.306 GB, free: 249.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/1.244, allocations: 4 kB / 1.306 GB, free: 249.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/1.244, allocations: 0.5741 MB / 1.306 GB, free: 249 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 2.893e-05/1.244, allocations: 14.58 kB / 1.306 GB, free: 248.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.42e-05/1.244, allocations: 12.86 kB / 1.306 GB, free: 248.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/1.244, allocations: 364.5 kB / 1.307 GB, free: 248.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/1.244, allocations: 42.25 kB / 1.307 GB, free: 248.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/1.244, allocations: 0 / 1.307 GB, free: 248.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0002037/1.245, allocations: 41.69 kB / 1.307 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.095e-05/1.245, allocations: 57.09 kB / 1.307 GB, free: 248.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.811e-05/1.245, allocations: 92.98 kB / 1.307 GB, free: 248.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/1.245, allocations: 29.73 kB / 1.307 GB, free: 248.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.634e-05/1.245, allocations: 92.03 kB / 1.307 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.958e-06/1.245, allocations: 0 / 1.307 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-06/1.245, allocations: 4 kB / 1.307 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.863e-05/1.245, allocations: 314.8 kB / 1.307 GB, free: 247.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.19e-05/1.245, allocations: 0 / 1.307 GB, free: 247.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.551e-05/1.245, allocations: 17.72 kB / 1.307 GB, free: 247.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/1.245, allocations: 31.91 kB / 1.307 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.245, allocations: 3.938 kB / 1.307 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001814/1.245, allocations: 57.67 kB / 1.307 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/1.245, allocations: 4 kB / 1.307 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/1.245, allocations: 0 / 1.307 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/1.245, allocations: 4 kB / 1.307 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.253e-05/1.245, allocations: 7.984 kB / 1.307 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/1.245, allocations: 0 / 1.307 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/1.245, allocations: 7.844 kB / 1.307 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.485e-06/1.245, allocations: 8.062 kB / 1.307 GB, free: 247.6 MB / 0.8542 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 3.823e-05/1.245, allocations: 108.7 kB / 1.307 GB, free: 247.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/1.246, allocations: 0 / 1.307 GB, free: 247.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.403e-05/1.246, allocations: 120.9 kB / 1.308 GB, free: 247.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/1.246, allocations: 184.2 kB / 1.308 GB, free: 247.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.377e-05/1.246, allocations: 186.1 kB / 1.308 GB, free: 247 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.005e-05/1.246, allocations: 176.3 kB / 1.308 GB, free: 246.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/1.246, allocations: 381.8 kB / 1.308 GB, free: 246.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/1.246, allocations: 104.9 kB / 1.309 GB, free: 246.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.466e-05/1.246, allocations: 109 kB / 1.309 GB, free: 246.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.266e-05/1.246, allocations: 176.3 kB / 1.309 GB, free: 246 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/1.246, allocations: 192.2 kB / 1.309 GB, free: 245.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-05/1.246, allocations: 176.3 kB / 1.309 GB, free: 245.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.18e-05/1.246, allocations: 176.3 kB / 1.309 GB, free: 245.5 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.296e-05/1.246, allocations: 307.7 kB / 1.31 GB, free: 245.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/1.246, allocations: 191.4 kB / 1.31 GB, free: 244.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/1.246, allocations: 184.1 kB / 1.31 GB, free: 244.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/1.246, allocations: 109 kB / 1.31 GB, free: 244.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/1.246, allocations: 178 kB / 1.31 GB, free: 244.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/1.246, allocations: 104.9 kB / 1.31 GB, free: 244.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.587e-05/1.246, allocations: 92.41 kB / 1.31 GB, free: 244.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002595/1.247, allocations: 27.98 kB / 1.311 GB, free: 244.2 MB / 0.8542 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.0001871/1.247, allocations: 237.9 kB / 1.311 GB, free: 244 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.344e-05/1.247, allocations: 8 kB / 1.311 GB, free: 244 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.247, allocations: 0 / 1.311 GB, free: 244 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/1.247, allocations: 0 / 1.311 GB, free: 244 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/1.247, allocations: 0.5263 MB / 1.311 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001342/1.247, allocations: 132.4 kB / 1.311 GB, free: 243.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/1.247, allocations: 0.6896 MB / 1.312 GB, free: 242.6 MB / 0.8542 GB Notification: Performance of SimCode: time 2.41e-07/1.247, allocations: 0 / 1.312 GB, free: 242.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.002773/1.25, allocations: 1.068 MB / 1.313 GB, free: 241.6 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)