Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.441/2.441, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001552/0.001552, allocations: 181.3 kB / 360.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.1 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001259/0.001258, allocations: 84.86 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.296e-06/8.506e-06, allocations: 0 / 0.8503 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6126/0.6126, allocations: 115.2 MB / 0.9628 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9243/1.537, allocations: 342 MB / 1.297 GB, free: 190.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/1.537, allocations: 76.78 kB / 1.297 GB, free: 190.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.02421/1.562, allocations: 7.405 MB / 1.304 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.825e-06/1.562, allocations: 4 kB / 1.304 GB, free: 189.8 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.0003404/1.562, allocations: 340.8 kB / 1.304 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/1.562, allocations: 8.344 kB / 1.304 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/1.562, allocations: 15.23 kB / 1.304 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.694e-05/1.562, allocations: 159.1 kB / 1.305 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.756e-05/1.562, allocations: 25.7 kB / 1.305 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/1.562, allocations: 3.906 kB / 1.305 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.005e-05/1.562, allocations: 15.36 kB / 1.305 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.32e-05/1.563, allocations: 44.03 kB / 1.305 GB, free: 189.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/1.563, allocations: 0 / 1.305 GB, free: 189.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/1.563, allocations: 1.5 kB / 1.305 GB, free: 189.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/1.563, allocations: 0 / 1.305 GB, free: 189.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006051/1.563, allocations: 0.5741 MB / 1.305 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.201e-05/1.563, allocations: 18.48 kB / 1.305 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.555e-05/1.563, allocations: 4.859 kB / 1.305 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002456/1.564, allocations: 375.7 kB / 1.306 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/1.564, allocations: 34.47 kB / 1.306 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/1.564, allocations: 0 / 1.306 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0002621/1.564, allocations: 40.66 kB / 1.306 GB, free: 188 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/1.564, allocations: 53.09 kB / 1.306 GB, free: 188 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.585e-05/1.564, allocations: 95.7 kB / 1.306 GB, free: 187.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/1.564, allocations: 29.73 kB / 1.306 GB, free: 187.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.009e-05/1.564, allocations: 87.8 kB / 1.306 GB, free: 187.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.201e-06/1.564, allocations: 3.938 kB / 1.306 GB, free: 187.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-06/1.564, allocations: 0 / 1.306 GB, free: 187.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.571e-05/1.564, allocations: 318.2 kB / 1.306 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/1.564, allocations: 0 / 1.306 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.34e-05/1.564, allocations: 17.12 kB / 1.306 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/1.564, allocations: 33.88 kB / 1.306 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.564, allocations: 0 / 1.306 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002523/1.565, allocations: 55.55 kB / 1.306 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/1.565, allocations: 11.05 kB / 1.306 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/1.565, allocations: 0 / 1.306 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/1.565, allocations: 0 / 1.306 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/1.565, allocations: 3.938 kB / 1.306 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/1.565, allocations: 3.875 kB / 1.306 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.014e-05/1.565, allocations: 7.844 kB / 1.306 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/1.565, allocations: 4.062 kB / 1.306 GB, free: 187.4 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 5.535e-05/1.565, allocations: 110.1 kB / 1.306 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/1.565, allocations: 1.594 kB / 1.306 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/1.565, allocations: 125.9 kB / 1.307 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.098e-05/1.565, allocations: 177.8 kB / 1.307 GB, free: 187 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-05/1.565, allocations: 187.5 kB / 1.307 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-05/1.565, allocations: 180.1 kB / 1.307 GB, free: 186.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/1.565, allocations: 380.3 kB / 1.307 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.07e-05/1.565, allocations: 108.8 kB / 1.308 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.068e-05/1.566, allocations: 105 kB / 1.308 GB, free: 186 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.221e-05/1.566, allocations: 179.5 kB / 1.308 GB, free: 185.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/1.566, allocations: 184.2 kB / 1.308 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.021e-05/1.566, allocations: 176.3 kB / 1.308 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.203e-05/1.566, allocations: 182.8 kB / 1.308 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.49e-05/1.566, allocations: 310.3 kB / 1.309 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/1.566, allocations: 188.1 kB / 1.309 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/1.566, allocations: 184.1 kB / 1.309 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/1.566, allocations: 108.8 kB / 1.309 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/1.566, allocations: 186.9 kB / 1.309 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/1.566, allocations: 106.9 kB / 1.309 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.683e-05/1.566, allocations: 83.19 kB / 1.309 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003939/1.567, allocations: 34.47 kB / 1.309 GB, free: 184.1 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.0002815/1.567, allocations: 230 kB / 1.31 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.246e-05/1.567, allocations: 11.22 kB / 1.31 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.567, allocations: 0 / 1.31 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.296e-06/1.567, allocations: 3.938 kB / 1.31 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/1.567, allocations: 0.5218 MB / 1.31 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001809/1.568, allocations: 131.8 kB / 1.31 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/1.568, allocations: 0.6874 MB / 1.311 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/1.568, allocations: 0 / 1.311 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.004312/1.572, allocations: 1.067 MB / 1.312 GB, free: 182.4 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)