Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 193.5 kB / 7.807 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4644/0.4644, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.152/1.152, allocations: 221.4 MB / 342.8 MB, free: 5.094 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008752/0.0008753, allocations: 87.44 kB / 415.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.67e-06/5.68e-06, allocations: 0 / 493.8 MB, free: 8.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2854, allocations: 72.3 MB / 0.5529 GB, free: 73.28 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.5/2.786, allocations: 1.664 GB / 2.217 GB, free: 175.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/2.786, allocations: 71.95 kB / 2.217 GB, free: 175.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.0646/2.851, allocations: 36.74 MB / 2.253 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.205e-06/2.851, allocations: 0 / 2.253 GB, free: 138.2 MB / 0.6042 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.0002819/2.851, allocations: 346.3 kB / 2.253 GB, free: 137.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/2.851, allocations: 12.03 kB / 2.253 GB, free: 137.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/2.851, allocations: 23.88 kB / 2.253 GB, free: 137.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.412e-05/2.851, allocations: 171.1 kB / 2.253 GB, free: 137.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.9e-05/2.851, allocations: 25.7 kB / 2.253 GB, free: 137.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/2.851, allocations: 3.938 kB / 2.253 GB, free: 137.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.325e-05/2.852, allocations: 19.89 kB / 2.253 GB, free: 137.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.137e-05/2.852, allocations: 49.67 kB / 2.253 GB, free: 137.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/2.852, allocations: 4 kB / 2.253 GB, free: 137.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/2.852, allocations: 0 / 2.253 GB, free: 137.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/2.852, allocations: 4 kB / 2.253 GB, free: 137.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/2.852, allocations: 334.5 kB / 2.254 GB, free: 137 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.863e-05/2.852, allocations: 18.58 kB / 2.254 GB, free: 137 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.369e-05/2.852, allocations: 12.86 kB / 2.254 GB, free: 137 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.909e-06/2.852, allocations: 0 / 2.254 GB, free: 137 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/2.852, allocations: 30.56 kB / 2.254 GB, free: 137 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/2.852, allocations: 0 / 2.254 GB, free: 137 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001856/2.852, allocations: 37.69 kB / 2.254 GB, free: 136.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.522e-05/2.852, allocations: 51.41 kB / 2.254 GB, free: 136.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.77e-05/2.852, allocations: 112.9 kB / 2.254 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/2.852, allocations: 25.7 kB / 2.254 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.518e-05/2.853, allocations: 92.05 kB / 2.254 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.998e-06/2.853, allocations: 3.938 kB / 2.254 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/2.853, allocations: 0 / 2.254 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.753e-05/2.853, allocations: 314.8 kB / 2.254 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/2.853, allocations: 7.984 kB / 2.254 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.944e-05/2.853, allocations: 30.52 kB / 2.254 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.706e-05/2.853, allocations: 4 kB / 2.254 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/2.853, allocations: 0 / 2.254 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.119e-05/2.853, allocations: 53.62 kB / 2.254 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/2.853, allocations: 4 kB / 2.254 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/2.853, allocations: 0 / 2.254 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/2.853, allocations: 4 kB / 2.254 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.353e-05/2.853, allocations: 8.094 kB / 2.254 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/2.853, allocations: 0 / 2.254 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.804e-05/2.853, allocations: 7.906 kB / 2.254 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/2.853, allocations: 3.984 kB / 2.254 GB, free: 136.2 MB / 0.6042 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 3.989e-05/2.853, allocations: 105 kB / 2.254 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/2.853, allocations: 3.906 kB / 2.254 GB, free: 136 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/2.853, allocations: 3.156 kB / 2.254 GB, free: 136 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/2.853, allocations: 0 / 2.254 GB, free: 136 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/2.853, allocations: 0 / 2.254 GB, free: 136 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/2.853, allocations: 11.94 kB / 2.254 GB, free: 136 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/2.853, allocations: 323.5 kB / 2.255 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/2.853, allocations: 4 kB / 2.255 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.367e-05/2.853, allocations: 4 kB / 2.255 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/2.853, allocations: 3.984 kB / 2.255 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/2.853, allocations: 0 / 2.255 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/2.853, allocations: 0 / 2.255 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/2.853, allocations: 0 / 2.255 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.212e-05/2.853, allocations: 65.08 kB / 2.255 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/2.853, allocations: 77.11 kB / 2.255 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/2.853, allocations: 0 / 2.255 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/2.853, allocations: 7.984 kB / 2.255 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/2.853, allocations: 0 / 2.255 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-06/2.853, allocations: 3.938 kB / 2.255 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.435e-05/2.853, allocations: 83.28 kB / 2.255 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002535/2.854, allocations: 40.02 kB / 2.255 GB, free: 135.4 MB / 0.6042 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.0005845/2.854, allocations: 0.6568 MB / 2.256 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.686e-05/2.854, allocations: 8 kB / 2.256 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/2.854, allocations: 0 / 2.256 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.306e-06/2.854, allocations: 0 / 2.256 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/2.855, allocations: 7.906 kB / 2.256 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001834/2.855, allocations: 59.86 kB / 2.256 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/2.855, allocations: 0.6882 MB / 2.256 GB, free: 133.9 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/2.855, allocations: 4 kB / 2.256 GB, free: 133.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.005577/2.86, allocations: 3.683 MB / 2.26 GB, free: 130.2 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)