Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.542/1.542, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.001286/0.001286, allocations: 185.2 kB / 366.3 MB, free: 1.988 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.591/1.591, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.0009318/0.0009317, allocations: 82.98 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.785e-06/7.805e-06, allocations: 0 / 0.859 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7002/0.7003, allocations: 116.3 MB / 0.9725 GB, free: 68.81 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.313/5.013, allocations: 2.054 GB / 3.026 GB, free: 22.64 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/5.013, allocations: 72.53 kB / 3.026 GB, free: 22.57 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.6134/5.627, allocations: 36.79 MB / 3.062 GB, free: 340.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.737e-06/5.627, allocations: 0 / 3.062 GB, free: 340.9 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.0003575/5.627, allocations: 348.5 kB / 3.062 GB, free: 340.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/5.627, allocations: 8.5 kB / 3.062 GB, free: 340.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002933/5.627, allocations: 25.33 kB / 3.062 GB, free: 340.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/5.628, allocations: 169 kB / 3.063 GB, free: 340.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-05/5.628, allocations: 25.7 kB / 3.063 GB, free: 340.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/5.628, allocations: 3.375 kB / 3.063 GB, free: 340.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001007/5.628, allocations: 18.42 kB / 3.063 GB, free: 340.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.38e-05/5.628, allocations: 45.88 kB / 3.063 GB, free: 340.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/5.628, allocations: 3.906 kB / 3.063 GB, free: 340.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/5.628, allocations: 3.219 kB / 3.063 GB, free: 340.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/5.628, allocations: 3.516 kB / 3.063 GB, free: 340.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000511/5.628, allocations: 331.2 kB / 3.063 GB, free: 340 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.269e-05/5.629, allocations: 22.2 kB / 3.063 GB, free: 340 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/5.629, allocations: 8.797 kB / 3.063 GB, free: 340 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/5.629, allocations: 0 / 3.063 GB, free: 340 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/5.629, allocations: 36.91 kB / 3.063 GB, free: 339.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/5.629, allocations: 0 / 3.063 GB, free: 339.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0002194/5.629, allocations: 36.58 kB / 3.063 GB, free: 339.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/5.629, allocations: 62.16 kB / 3.063 GB, free: 339.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.167e-05/5.629, allocations: 98.97 kB / 3.063 GB, free: 339.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/5.629, allocations: 25.7 kB / 3.063 GB, free: 339.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/5.629, allocations: 91.39 kB / 3.063 GB, free: 339.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.871e-06/5.629, allocations: 7.5 kB / 3.063 GB, free: 339.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/5.629, allocations: 0 / 3.063 GB, free: 339.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.708e-05/5.629, allocations: 314.4 kB / 3.064 GB, free: 339.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/5.629, allocations: 6.531 kB / 3.064 GB, free: 339.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.46e-05/5.629, allocations: 21.73 kB / 3.064 GB, free: 339.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.065e-05/5.629, allocations: 13.08 kB / 3.064 GB, free: 339.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/5.629, allocations: 0 / 3.064 GB, free: 339.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.231e-05/5.629, allocations: 50.08 kB / 3.064 GB, free: 339.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/5.629, allocations: 6.312 kB / 3.064 GB, free: 339.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/5.629, allocations: 0 / 3.064 GB, free: 339.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/5.629, allocations: 7.281 kB / 3.064 GB, free: 339.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.456e-05/5.629, allocations: 12.52 kB / 3.064 GB, free: 339.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/5.629, allocations: 0 / 3.064 GB, free: 339.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.853e-05/5.629, allocations: 7.188 kB / 3.064 GB, free: 339.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/5.629, allocations: 0 / 3.064 GB, free: 339.2 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.707e-05/5.63, allocations: 107.6 kB / 3.064 GB, free: 339.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/5.63, allocations: 2.344 kB / 3.064 GB, free: 339.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/5.63, allocations: 9.281 kB / 3.064 GB, free: 339.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/5.63, allocations: 3.906 kB / 3.064 GB, free: 339.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/5.63, allocations: 0 / 3.064 GB, free: 339.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/5.63, allocations: 4 kB / 3.064 GB, free: 339.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/5.63, allocations: 315.7 kB / 3.064 GB, free: 338.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/5.63, allocations: 6.156 kB / 3.064 GB, free: 338.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.376e-05/5.63, allocations: 2.531 kB / 3.064 GB, free: 338.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/5.63, allocations: 3.906 kB / 3.064 GB, free: 338.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/5.63, allocations: 0 / 3.064 GB, free: 338.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/5.63, allocations: 0 / 3.064 GB, free: 338.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/5.63, allocations: 3.281 kB / 3.064 GB, free: 338.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.973e-05/5.63, allocations: 60.45 kB / 3.064 GB, free: 338.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.78e-05/5.63, allocations: 83.12 kB / 3.064 GB, free: 338.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/5.63, allocations: 0 / 3.064 GB, free: 338.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-05/5.63, allocations: 3.094 kB / 3.064 GB, free: 338.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/5.63, allocations: 6.562 kB / 3.064 GB, free: 338.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-06/5.63, allocations: 2.125 kB / 3.064 GB, free: 338.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.143e-05/5.63, allocations: 92.53 kB / 3.065 GB, free: 338.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002691/5.63, allocations: 35.14 kB / 3.065 GB, free: 338.5 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.0008534/5.631, allocations: 0.652 MB / 3.065 GB, free: 338.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.295e-05/5.631, allocations: 9.312 kB / 3.065 GB, free: 338.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/5.631, allocations: 0 / 3.065 GB, free: 338.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.01e-06/5.631, allocations: 3.562 kB / 3.065 GB, free: 338.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/5.632, allocations: 7.844 kB / 3.065 GB, free: 338.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001964/5.632, allocations: 54.36 kB / 3.065 GB, free: 338.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/5.632, allocations: 0.6956 MB / 3.066 GB, free: 337.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.4e-07/5.632, allocations: 0 / 3.066 GB, free: 337.5 MB / 0.948 GB Notification: Performance of Templates: time 0.006693/5.639, allocations: 3.631 MB / 3.069 GB, free: 336.9 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)