Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [: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.494/1.494, 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.001021/0.001021, allocations: 181.2 kB / 361.1 MB, free: 7.051 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.284/1.284, allocations: 205.1 MB / 0.6195 GB, free: 10.24 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.0008748/0.0008748, allocations: 83.7 kB / 0.7326 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.698e-06/9.728e-06, allocations: 4 kB / 0.8511 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6773/0.6773, allocations: 115.3 MB / 0.9637 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 9.118/9.796, allocations: 4.61 GB / 5.574 GB, free: 144.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/9.796, allocations: 82.66 kB / 5.574 GB, free: 144.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.08421/9.88, allocations: 44.55 MB / 5.617 GB, free: 99.09 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.466e-06/9.88, allocations: 1.312 kB / 5.617 GB, free: 99.09 MB / 0.948 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.0003295/9.881, allocations: 330.4 kB / 5.618 GB, free: 98.73 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/9.881, allocations: 12.47 kB / 5.618 GB, free: 98.71 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/9.881, allocations: 31.81 kB / 5.618 GB, free: 98.68 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/9.881, allocations: 163.1 kB / 5.618 GB, free: 98.48 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.347e-05/9.881, allocations: 29.69 kB / 5.618 GB, free: 98.45 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/9.881, allocations: 0 / 5.618 GB, free: 98.45 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.79e-05/9.881, allocations: 19.98 kB / 5.618 GB, free: 98.43 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.524e-05/9.881, allocations: 45.69 kB / 5.618 GB, free: 98.38 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/9.881, allocations: 3.984 kB / 5.618 GB, free: 98.38 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/9.881, allocations: 4 kB / 5.618 GB, free: 98.37 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/9.881, allocations: 7.906 kB / 5.618 GB, free: 98.36 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/9.882, allocations: 229.4 kB / 5.618 GB, free: 98.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.545e-05/9.882, allocations: 22.48 kB / 5.618 GB, free: 98.07 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/9.882, allocations: 7.016 kB / 5.618 GB, free: 98.06 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/9.882, allocations: 4 kB / 5.618 GB, free: 98.06 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/9.882, allocations: 38.66 kB / 5.618 GB, free: 98.01 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 1.864e-06/9.882, allocations: 0 / 5.618 GB, free: 98.01 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0001567/9.882, allocations: 29.7 kB / 5.618 GB, free: 97.98 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/9.882, allocations: 51.41 kB / 5.618 GB, free: 97.91 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.729e-05/9.882, allocations: 97 kB / 5.619 GB, free: 97.81 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/9.882, allocations: 25.7 kB / 5.619 GB, free: 97.78 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/9.882, allocations: 99.91 kB / 5.619 GB, free: 97.68 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.972e-06/9.882, allocations: 7.938 kB / 5.619 GB, free: 97.67 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/9.882, allocations: 0 / 5.619 GB, free: 97.67 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.231e-05/9.882, allocations: 315.2 kB / 5.619 GB, free: 97.36 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.15e-05/9.882, allocations: 0 / 5.619 GB, free: 97.36 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.531e-05/9.882, allocations: 22.58 kB / 5.619 GB, free: 97.32 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.244e-05/9.882, allocations: 15.98 kB / 5.619 GB, free: 97.31 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/9.882, allocations: 0 / 5.619 GB, free: 97.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.454e-05/9.882, allocations: 49.53 kB / 5.619 GB, free: 97.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/9.882, allocations: 8 kB / 5.619 GB, free: 97.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/9.882, allocations: 0 / 5.619 GB, free: 97.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/9.883, allocations: 256 / 5.619 GB, free: 97.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.093e-05/9.883, allocations: 8 kB / 5.619 GB, free: 97.24 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/9.883, allocations: 4 kB / 5.619 GB, free: 97.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.139e-05/9.883, allocations: 3.938 kB / 5.619 GB, free: 97.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/9.883, allocations: 14.25 kB / 5.619 GB, free: 97.22 MB / 0.948 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 7.676e-05/9.883, allocations: 104.9 kB / 5.619 GB, free: 97.11 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/9.883, allocations: 0 / 5.619 GB, free: 97.11 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/9.883, allocations: 7.156 kB / 5.619 GB, free: 97.11 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/9.883, allocations: 3.984 kB / 5.619 GB, free: 97.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/9.883, allocations: 0 / 5.619 GB, free: 97.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/9.883, allocations: 7.844 kB / 5.619 GB, free: 97.09 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/9.883, allocations: 319.4 kB / 5.619 GB, free: 96.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/9.883, allocations: 4.031 kB / 5.619 GB, free: 96.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.587e-05/9.883, allocations: 0 / 5.619 GB, free: 96.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/9.883, allocations: 0 / 5.619 GB, free: 96.73 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/9.883, allocations: 4 kB / 5.619 GB, free: 96.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/9.883, allocations: 3.906 kB / 5.619 GB, free: 96.72 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/9.883, allocations: 0 / 5.619 GB, free: 96.72 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.543e-05/9.883, allocations: 57.06 kB / 5.62 GB, free: 96.65 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.424e-05/9.883, allocations: 89.05 kB / 5.62 GB, free: 96.54 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/9.883, allocations: 4 kB / 5.62 GB, free: 96.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/9.883, allocations: 4 kB / 5.62 GB, free: 96.54 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/9.883, allocations: 0 / 5.62 GB, free: 96.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/9.883, allocations: 0 / 5.62 GB, free: 96.54 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.996e-05/9.883, allocations: 83.27 kB / 5.62 GB, free: 96.45 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002787/9.884, allocations: 35.98 kB / 5.62 GB, free: 96.42 MB / 0.948 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 (1): * Single equations (assignments): 1 * 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.0007673/9.884, allocations: 0.6696 MB / 5.62 GB, free: 95.75 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.98e-05/9.885, allocations: 17.12 kB / 5.62 GB, free: 95.74 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/9.885, allocations: 4 kB / 5.62 GB, free: 95.73 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.53e-06/9.885, allocations: 3.938 kB / 5.62 GB, free: 95.73 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/9.885, allocations: 4.25 kB / 5.62 GB, free: 95.73 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001878/9.885, allocations: 60.64 kB / 5.62 GB, free: 95.64 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/9.885, allocations: 0.6849 MB / 5.621 GB, free: 94.93 MB / 0.948 GB Notification: Performance of SimCode: time 3.51e-07/9.885, allocations: 0 / 5.621 GB, free: 94.93 MB / 0.948 GB Notification: Performance of Templates: time 0.006578/9.892, allocations: 3.76 MB / 5.625 GB, free: 91.2 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)