Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) 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 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") [: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 1.6.0+build.1/package.mo): time 0.5188/0.5188, allocations: 94.74 MB / 102 MB, free: 10.38 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001142/0.001142, allocations: 175.7 kB / 125.3 MB, free: 11.99 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.343/1.343, allocations: 170.5 MB / 319 MB, free: 9.367 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00183/0.00183, allocations: 117.2 kB / 381 MB, free: 18.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.596e-06/8.626e-06, allocations: 0 / 448.6 MB, free: 2.133 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1578, allocations: 61.52 MB / 0.4981 GB, free: 4.516 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.42/12.58, allocations: 5.238 GB / 5.736 GB, free: 27.51 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/12.58, allocations: 79.95 kB / 5.736 GB, free: 27.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.4332/13.02, allocations: 60.65 MB / 5.795 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.694e-06/13.02, allocations: 1.031 kB / 5.795 GB, free: 157.2 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003723/13.02, allocations: 376.2 kB / 5.795 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/13.02, allocations: 9.219 kB / 5.795 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/13.02, allocations: 0.9688 kB / 5.795 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.375e-05/13.02, allocations: 167.6 kB / 5.796 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.744e-05/13.02, allocations: 27.64 kB / 5.796 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/13.02, allocations: 3.844 kB / 5.796 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.345e-05/13.02, allocations: 23.73 kB / 5.796 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.804e-05/13.02, allocations: 48.8 kB / 5.796 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/13.02, allocations: 1.469 kB / 5.796 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/13.02, allocations: 4 kB / 5.796 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/13.02, allocations: 5.031 kB / 5.796 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/13.02, allocations: 236.3 kB / 5.796 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.492e-05/13.02, allocations: 20.7 kB / 5.796 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/13.02, allocations: 6.203 kB / 5.796 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/13.02, allocations: 0 / 5.796 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/13.02, allocations: 39.62 kB / 5.796 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/13.02, allocations: 0 / 5.796 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001408/13.02, allocations: 34.11 kB / 5.796 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/13.02, allocations: 55.31 kB / 5.796 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.138e-05/13.02, allocations: 95 kB / 5.796 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/13.02, allocations: 25.7 kB / 5.796 GB, free: 156 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.1e-05/13.02, allocations: 92.7 kB / 5.796 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.913e-06/13.02, allocations: 8.359 kB / 5.796 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/13.02, allocations: 3.562 kB / 5.796 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.04e-05/13.02, allocations: 316.2 kB / 5.797 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/13.02, allocations: 5.781 kB / 5.797 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.259e-05/13.02, allocations: 23.38 kB / 5.797 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.2e-05/13.02, allocations: 8.656 kB / 5.797 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/13.02, allocations: 0 / 5.797 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.332e-05/13.02, allocations: 51.83 kB / 5.797 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/13.02, allocations: 5.125 kB / 5.797 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/13.02, allocations: 9.234 kB / 5.797 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/13.02, allocations: 3.406 kB / 5.797 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.03e-05/13.02, allocations: 10.06 kB / 5.797 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/13.02, allocations: 5.5 kB / 5.797 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.368e-05/13.02, allocations: 1.344 kB / 5.797 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/13.02, allocations: 2.656 kB / 5.797 GB, free: 155.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.477e-05/13.02, allocations: 109.8 kB / 5.797 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/13.02, allocations: 4.938 kB / 5.797 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/13.02, allocations: 127.8 kB / 5.797 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-05/13.02, allocations: 179.5 kB / 5.797 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.18e-05/13.02, allocations: 177.8 kB / 5.797 GB, free: 155 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.057e-05/13.02, allocations: 192 kB / 5.798 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/13.02, allocations: 386.5 kB / 5.798 GB, free: 154.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.667e-05/13.02, allocations: 102.4 kB / 5.798 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.827e-05/13.02, allocations: 110.9 kB / 5.798 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.38e-05/13.02, allocations: 177.4 kB / 5.798 GB, free: 154 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/13.02, allocations: 177.6 kB / 5.798 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.978e-05/13.02, allocations: 188.6 kB / 5.799 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.838e-05/13.02, allocations: 178.4 kB / 5.799 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.072e-05/13.02, allocations: 307.5 kB / 5.799 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/13.02, allocations: 182.3 kB / 5.799 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/13.02, allocations: 183.1 kB / 5.799 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/13.02, allocations: 109.4 kB / 5.8 GB, free: 152.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/13.02, allocations: 177.3 kB / 5.8 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/13.02, allocations: 105 kB / 5.8 GB, free: 152.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.979e-05/13.02, allocations: 84.44 kB / 5.8 GB, free: 152.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003859/13.02, allocations: 86.44 kB / 5.8 GB, free: 152.2 MB / 0.5261 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.001031/13.02, allocations: 0.8351 MB / 5.801 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.627e-05/13.02, allocations: 16.52 kB / 5.801 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/13.02, allocations: 0 / 5.801 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/13.02, allocations: 2.406 kB / 5.801 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/13.02, allocations: 0.5261 MB / 5.801 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001717/13.02, allocations: 130.5 kB / 5.801 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/13.02, allocations: 0.687 MB / 5.802 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/13.02, allocations: 0 / 5.802 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.01032/13.03, allocations: 4.557 MB / 5.807 GB, free: 149.8 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe 2>&1)