Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [: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.499/1.499, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001182/0.001182, allocations: 185.3 kB / 361.1 MB, free: 7.105 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.404/1.404, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0009783/0.0009784, allocations: 86.89 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.917e-06/8.947e-06, allocations: 4 kB / 0.851 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7475/0.7475, allocations: 115.3 MB / 0.9637 GB, free: 78.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.196/4.944, allocations: 2.053 GB / 3.016 GB, free: 26.51 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/4.944, allocations: 68.67 kB / 3.016 GB, free: 26.45 MB / 0.9323 GB Notification: Performance of FrontEnd: time 0.5586/5.503, allocations: 36.81 MB / 3.052 GB, free: 322.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.011e-05/5.503, allocations: 3.188 kB / 3.052 GB, free: 322.5 MB / 0.9323 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.0003595/5.503, allocations: 331.9 kB / 3.053 GB, free: 322.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/5.503, allocations: 8.969 kB / 3.053 GB, free: 322.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002903/5.503, allocations: 29.95 kB / 3.053 GB, free: 322.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/5.504, allocations: 171.1 kB / 3.053 GB, free: 321.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.193e-05/5.504, allocations: 27.3 kB / 3.053 GB, free: 321.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/5.504, allocations: 6.844 kB / 3.053 GB, free: 321.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000101/5.504, allocations: 20.23 kB / 3.053 GB, free: 321.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.81e-05/5.504, allocations: 43.5 kB / 3.053 GB, free: 321.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/5.504, allocations: 3.906 kB / 3.053 GB, free: 321.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/5.504, allocations: 0 / 3.053 GB, free: 321.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/5.504, allocations: 3.375 kB / 3.053 GB, free: 321.9 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/5.505, allocations: 339.6 kB / 3.053 GB, free: 321.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.935e-05/5.505, allocations: 17.67 kB / 3.053 GB, free: 321.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.848e-05/5.505, allocations: 4.859 kB / 3.053 GB, free: 321.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/5.505, allocations: 2.031 kB / 3.053 GB, free: 321.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/5.505, allocations: 35.5 kB / 3.053 GB, free: 321.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/5.505, allocations: 0 / 3.053 GB, free: 321.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0002324/5.505, allocations: 41.36 kB / 3.053 GB, free: 321.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/5.505, allocations: 54.44 kB / 3.053 GB, free: 321.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.577e-05/5.505, allocations: 95.75 kB / 3.053 GB, free: 321.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/5.505, allocations: 25.7 kB / 3.053 GB, free: 321.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/5.505, allocations: 96.72 kB / 3.054 GB, free: 321.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.494e-06/5.505, allocations: 4.984 kB / 3.054 GB, free: 321.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/5.505, allocations: 0 / 3.054 GB, free: 321.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.498e-05/5.505, allocations: 313.7 kB / 3.054 GB, free: 320.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/5.505, allocations: 5.719 kB / 3.054 GB, free: 320.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-05/5.505, allocations: 25.06 kB / 3.054 GB, free: 320.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.483e-05/5.505, allocations: 9.844 kB / 3.054 GB, free: 320.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/5.505, allocations: 3.719 kB / 3.054 GB, free: 320.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.167e-05/5.505, allocations: 46.09 kB / 3.054 GB, free: 320.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/5.505, allocations: 7.094 kB / 3.054 GB, free: 320.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/5.505, allocations: 0.9062 kB / 3.054 GB, free: 320.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/5.505, allocations: 2.906 kB / 3.054 GB, free: 320.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.536e-05/5.506, allocations: 5.906 kB / 3.054 GB, free: 320.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/5.506, allocations: 2.812 kB / 3.054 GB, free: 320.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.66e-05/5.506, allocations: 10.22 kB / 3.054 GB, free: 320.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/5.506, allocations: 9.078 kB / 3.054 GB, free: 320.8 MB / 0.9323 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.617e-05/5.506, allocations: 103.9 kB / 3.054 GB, free: 320.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/5.506, allocations: 3.188 kB / 3.054 GB, free: 320.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.365e-05/5.506, allocations: 9.469 kB / 3.054 GB, free: 320.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/5.506, allocations: 4.797 kB / 3.054 GB, free: 320.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/5.506, allocations: 0 / 3.054 GB, free: 320.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/5.506, allocations: 0 / 3.054 GB, free: 320.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/5.506, allocations: 323.3 kB / 3.054 GB, free: 320.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/5.506, allocations: 2.625 kB / 3.054 GB, free: 320.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.469e-05/5.506, allocations: 2.312 kB / 3.054 GB, free: 320.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/5.506, allocations: 3.906 kB / 3.054 GB, free: 320.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/5.506, allocations: 3 kB / 3.054 GB, free: 320.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/5.506, allocations: 0 / 3.054 GB, free: 320.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/5.506, allocations: 2.5 kB / 3.054 GB, free: 320.3 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.909e-05/5.506, allocations: 59.55 kB / 3.055 GB, free: 320.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/5.506, allocations: 86.55 kB / 3.055 GB, free: 320.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/5.506, allocations: 0 / 3.055 GB, free: 320.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.948e-05/5.506, allocations: 4.125 kB / 3.055 GB, free: 320.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/5.506, allocations: 5.422 kB / 3.055 GB, free: 320.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/5.506, allocations: 0 / 3.055 GB, free: 320.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.179e-05/5.506, allocations: 83.34 kB / 3.055 GB, free: 320.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002519/5.507, allocations: 39.09 kB / 3.055 GB, free: 320.1 MB / 0.9323 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.00079/5.507, allocations: 0.6471 MB / 3.055 GB, free: 319.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 7.611e-05/5.507, allocations: 10.5 kB / 3.055 GB, free: 319.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/5.507, allocations: 0 / 3.055 GB, free: 319.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 5.21e-06/5.507, allocations: 3.625 kB / 3.055 GB, free: 319.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/5.508, allocations: 7.094 kB / 3.055 GB, free: 319.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001825/5.508, allocations: 59.42 kB / 3.055 GB, free: 319.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/5.508, allocations: 0.6916 MB / 3.056 GB, free: 319.1 MB / 0.9323 GB Notification: Performance of SimCode: time 4.31e-07/5.508, allocations: 0 / 3.056 GB, free: 319.1 MB / 0.9323 GB Notification: Performance of Templates: time 0.006678/5.515, allocations: 3.643 MB / 3.06 GB, free: 318.6 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)