Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7734/0.7734, allocations: 132.4 MB / 139.7 MB, free: 15.55 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001723/0.001724, allocations: 165.4 kB / 171.6 MB, free: 1.98 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.624/1.624, allocations: 170.5 MB / 373.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00165/0.00165, allocations: 104.1 kB / 444.4 MB, free: 9.434 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.6498/0.6498, allocations: 73.39 MB / 0.666 GB, free: 7.246 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.898/1.548, allocations: 305.8 MB / 0.9647 GB, free: 227.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/1.548, allocations: 71.95 kB / 0.9647 GB, free: 227 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.01629/1.565, allocations: 7.335 MB / 0.9719 GB, free: 219.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.21e-05/1.565, allocations: 0 / 0.9719 GB, free: 219.7 MB / 0.6823 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.0003977/1.565, allocations: 346.4 kB / 0.9722 GB, free: 219.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/1.565, allocations: 8.031 kB / 0.9722 GB, free: 219.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.66e-05/1.565, allocations: 0.625 kB / 0.9722 GB, free: 219.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/1.565, allocations: 163 kB / 0.9724 GB, free: 219.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.758e-05/1.565, allocations: 33.64 kB / 0.9724 GB, free: 219 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/1.565, allocations: 0 / 0.9724 GB, free: 219 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001006/1.566, allocations: 11.98 kB / 0.9724 GB, free: 219 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.622e-05/1.566, allocations: 45.62 kB / 0.9725 GB, free: 219 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/1.566, allocations: 0 / 0.9725 GB, free: 219 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/1.566, allocations: 4.75 kB / 0.9725 GB, free: 219 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/1.566, allocations: 0 / 0.9725 GB, free: 219 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007382/1.567, allocations: 0.5798 MB / 0.973 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.42e-05/1.567, allocations: 18.58 kB / 0.9731 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.159e-05/1.567, allocations: 4.859 kB / 0.9731 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002226/1.567, allocations: 367 kB / 0.9734 GB, free: 217.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/1.567, allocations: 34.56 kB / 0.9734 GB, free: 217.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/1.567, allocations: 0 / 0.9734 GB, free: 217.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0002846/1.567, allocations: 53.47 kB / 0.9735 GB, free: 217.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/1.567, allocations: 53.09 kB / 0.9735 GB, free: 217.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.035e-05/1.567, allocations: 92.98 kB / 0.9736 GB, free: 217.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/1.567, allocations: 25.7 kB / 0.9737 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/1.567, allocations: 96.06 kB / 0.9737 GB, free: 217.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.624e-06/1.567, allocations: 4 kB / 0.9738 GB, free: 217.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/1.567, allocations: 0 / 0.9738 GB, free: 217.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.605e-05/1.567, allocations: 310.8 kB / 0.974 GB, free: 217.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.377e-05/1.568, allocations: 4 kB / 0.9741 GB, free: 217.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.923e-05/1.568, allocations: 13.72 kB / 0.9741 GB, free: 217.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/1.568, allocations: 23.97 kB / 0.9741 GB, free: 217.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.568, allocations: 4 kB / 0.9741 GB, free: 217.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001772/1.568, allocations: 65.52 kB / 0.9742 GB, free: 217 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/1.568, allocations: 8 kB / 0.9742 GB, free: 217 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/1.568, allocations: 0 / 0.9742 GB, free: 217 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/1.568, allocations: 0 / 0.9742 GB, free: 217 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.72e-05/1.568, allocations: 4 kB / 0.9742 GB, free: 217 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/1.568, allocations: 4 kB / 0.9742 GB, free: 217 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/1.568, allocations: 3.984 kB / 0.9742 GB, free: 217 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/1.568, allocations: 4 kB / 0.9742 GB, free: 217 MB / 0.6823 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 6.451e-05/1.568, allocations: 116.9 kB / 0.9743 GB, free: 216.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/1.568, allocations: 0 / 0.9743 GB, free: 216.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/1.568, allocations: 116.9 kB / 0.9744 GB, free: 216.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.253e-05/1.568, allocations: 184.2 kB / 0.9746 GB, free: 216.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.975e-05/1.568, allocations: 176.3 kB / 0.9747 GB, free: 216.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-05/1.568, allocations: 188.2 kB / 0.9749 GB, free: 216.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/1.569, allocations: 385.7 kB / 0.9753 GB, free: 215.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.702e-05/1.569, allocations: 101 kB / 0.9754 GB, free: 215.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.216e-05/1.569, allocations: 112.9 kB / 0.9755 GB, free: 215.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.971e-05/1.569, allocations: 176.3 kB / 0.9757 GB, free: 215.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.906e-05/1.569, allocations: 180.3 kB / 0.9758 GB, free: 215.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.478e-05/1.569, allocations: 184.2 kB / 0.976 GB, free: 215 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.034e-05/1.569, allocations: 182.2 kB / 0.9762 GB, free: 214.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001246/1.569, allocations: 303.7 kB / 0.9765 GB, free: 214.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.409e-05/1.569, allocations: 190.1 kB / 0.9767 GB, free: 214.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.98e-05/1.569, allocations: 180.3 kB / 0.9768 GB, free: 214.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/1.569, allocations: 108.9 kB / 0.9769 GB, free: 214 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.035e-05/1.569, allocations: 180.2 kB / 0.9771 GB, free: 213.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/1.57, allocations: 101 kB / 0.9772 GB, free: 213.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.836e-05/1.57, allocations: 83.22 kB / 0.9773 GB, free: 213.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000344/1.57, allocations: 39.94 kB / 0.9773 GB, free: 213.6 MB / 0.6823 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.0003/1.57, allocations: 228.5 kB / 0.9775 GB, free: 213.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.717e-05/1.57, allocations: 15.92 kB / 0.9776 GB, free: 213.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/1.57, allocations: 4 kB / 0.9776 GB, free: 213.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.695e-06/1.57, allocations: 0 / 0.9776 GB, free: 213.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/1.571, allocations: 0.523 MB / 0.9781 GB, free: 212.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002684/1.571, allocations: 119.6 kB / 0.9782 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/1.571, allocations: 0.692 MB / 0.9789 GB, free: 211.9 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/1.571, allocations: 0 / 0.9789 GB, free: 211.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.003633/1.575, allocations: 1.069 MB / 0.9799 GB, free: 210.9 MB / 0.6823 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)