Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesConstantDensity.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.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesConstantDensity.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.5005/0.5005, allocations: 94.74 MB / 102 MB, free: 10.37 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.001195/0.001195, allocations: 182.1 kB / 125.3 MB, free: 12 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.465/1.465, allocations: 170.5 MB / 319 MB, free: 9.59 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.001738/0.001738, allocations: 102.5 kB / 381 MB, free: 18.12 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.273e-05/1.275e-05, allocations: 0 / 448.6 MB, free: 2.168 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1627, allocations: 61.52 MB / 0.4981 GB, free: 4.551 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.18/12.34, allocations: 5.193 GB / 5.691 GB, free: 89.88 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/12.34, allocations: 71.97 kB / 5.691 GB, free: 89.81 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.09911/12.44, allocations: 52.79 MB / 5.742 GB, free: 36.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.448e-06/12.44, allocations: 0 / 5.742 GB, free: 36.48 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.0003712/12.44, allocations: 370.3 kB / 5.743 GB, free: 36.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/12.44, allocations: 12.03 kB / 5.743 GB, free: 36.06 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/12.44, allocations: 0 / 5.743 GB, free: 36.06 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/12.44, allocations: 168.6 kB / 5.743 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.142e-05/12.44, allocations: 33.7 kB / 5.743 GB, free: 35.82 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/12.44, allocations: 3.5 kB / 5.743 GB, free: 35.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.722e-05/12.44, allocations: 19.92 kB / 5.743 GB, free: 35.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.875e-05/12.44, allocations: 45.69 kB / 5.743 GB, free: 35.75 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/12.44, allocations: 0 / 5.743 GB, free: 35.75 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/12.44, allocations: 0 / 5.743 GB, free: 35.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/12.44, allocations: 0 / 5.743 GB, free: 35.75 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005383/12.44, allocations: 334.5 kB / 5.743 GB, free: 35.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 2.922e-05/12.44, allocations: 22.56 kB / 5.743 GB, free: 35.33 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.905e-05/12.44, allocations: 4.859 kB / 5.743 GB, free: 35.32 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/12.44, allocations: 5.656 kB / 5.743 GB, free: 35.32 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/12.44, allocations: 34.5 kB / 5.743 GB, free: 35.28 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.462e-06/12.44, allocations: 0 / 5.743 GB, free: 35.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0002141/12.44, allocations: 45.59 kB / 5.744 GB, free: 35.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/12.44, allocations: 51.41 kB / 5.744 GB, free: 35.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.399e-05/12.44, allocations: 97 kB / 5.744 GB, free: 35.06 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/12.44, allocations: 25.7 kB / 5.744 GB, free: 35.03 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/12.44, allocations: 91.97 kB / 5.744 GB, free: 34.94 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.26e-06/12.44, allocations: 3.906 kB / 5.744 GB, free: 34.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/12.44, allocations: 0 / 5.744 GB, free: 34.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.896e-05/12.44, allocations: 322.8 kB / 5.744 GB, free: 34.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/12.44, allocations: 4.031 kB / 5.744 GB, free: 34.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.55e-05/12.44, allocations: 22.56 kB / 5.744 GB, free: 34.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/12.44, allocations: 23.92 kB / 5.744 GB, free: 34.55 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/12.44, allocations: 0 / 5.744 GB, free: 34.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001413/12.44, allocations: 57.66 kB / 5.744 GB, free: 34.49 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/12.44, allocations: 5.5 kB / 5.744 GB, free: 34.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/12.44, allocations: 15.47 kB / 5.744 GB, free: 34.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/12.44, allocations: 0 / 5.744 GB, free: 34.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.051e-05/12.44, allocations: 11.94 kB / 5.744 GB, free: 34.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/12.44, allocations: 0 / 5.744 GB, free: 34.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.671e-05/12.44, allocations: 0 / 5.744 GB, free: 34.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/12.44, allocations: 4 kB / 5.744 GB, free: 34.46 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.462e-05/12.44, allocations: 101 kB / 5.744 GB, free: 34.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/12.44, allocations: 15.89 kB / 5.744 GB, free: 34.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/12.44, allocations: 124.7 kB / 5.744 GB, free: 34.21 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-05/12.44, allocations: 180.2 kB / 5.745 GB, free: 34.03 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-05/12.44, allocations: 180.3 kB / 5.745 GB, free: 33.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-05/12.44, allocations: 180.2 kB / 5.745 GB, free: 33.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/12.44, allocations: 393.6 kB / 5.745 GB, free: 33.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-05/12.44, allocations: 105 kB / 5.745 GB, free: 33.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.943e-05/12.44, allocations: 101 kB / 5.746 GB, free: 33.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.439e-05/12.44, allocations: 184.2 kB / 5.746 GB, free: 32.83 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/12.44, allocations: 176.3 kB / 5.746 GB, free: 32.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.702e-05/12.44, allocations: 176.3 kB / 5.746 GB, free: 32.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.428e-05/12.44, allocations: 189.9 kB / 5.746 GB, free: 32.28 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.698e-05/12.44, allocations: 307.7 kB / 5.747 GB, free: 31.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/12.44, allocations: 186.1 kB / 5.747 GB, free: 31.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.186e-05/12.44, allocations: 176.3 kB / 5.747 GB, free: 31.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/12.44, allocations: 117 kB / 5.747 GB, free: 31.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/12.44, allocations: 180.2 kB / 5.747 GB, free: 31.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/12.44, allocations: 101 kB / 5.747 GB, free: 31.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.217e-05/12.44, allocations: 83.27 kB / 5.747 GB, free: 31.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004472/12.44, allocations: 83.86 kB / 5.747 GB, free: 30.99 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.0009873/12.44, allocations: 0.8228 MB / 5.748 GB, free: 30.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.806e-05/12.44, allocations: 15.88 kB / 5.748 GB, free: 30.15 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/12.44, allocations: 0 / 5.748 GB, free: 30.15 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/12.44, allocations: 4.188 kB / 5.748 GB, free: 30.14 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/12.44, allocations: 0.5262 MB / 5.749 GB, free: 29.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000199/12.44, allocations: 127.3 kB / 5.749 GB, free: 29.46 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/12.44, allocations: 0.6892 MB / 5.75 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of SimCode: time 2.2e-07/12.44, allocations: 0 / 5.75 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of Templates: time 0.007917/12.45, allocations: 4.447 MB / 5.754 GB, free: 24.36 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesConstantDensity.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe 2>&1)