Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.8398/0.8398, allocations: 141.8 MB / 149.1 MB, free: 1.75 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001128, allocations: 183.8 kB / 182 MB, free: 1.238 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 221.3 MB / 436 MB, free: 5.891 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009782/0.0009789, allocations: 88.67 kB / 0.507 GB, free: 2.57 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00175/0.00175, allocations: 264.9 kB / 0.5884 GB, free: 47.59 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 9.308e-06/9.448e-06, allocations: 4 kB / 0.6759 GB, free: 5.938 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4357/0.4357, allocations: 82.76 MB / 0.7567 GB, free: 25.02 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.1/9.536, allocations: 4.368 GB / 5.124 GB, free: 64.01 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/9.536, allocations: 84.42 kB / 5.124 GB, free: 63.93 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.08077/9.617, allocations: 46.42 MB / 5.17 GB, free: 16.81 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 8.165e-06/9.617, allocations: 0 / 5.17 GB, free: 16.81 MB / 0.6982 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.0002825/9.617, allocations: 338.4 kB / 5.17 GB, free: 16.43 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/9.617, allocations: 12.02 kB / 5.17 GB, free: 16.42 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002309/9.617, allocations: 23.89 kB / 5.17 GB, free: 16.4 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.486e-05/9.618, allocations: 159.1 kB / 5.17 GB, free: 16.2 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.235e-05/9.618, allocations: 33.69 kB / 5.17 GB, free: 16.16 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/9.618, allocations: 0 / 5.17 GB, free: 16.16 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.144e-05/9.618, allocations: 16 kB / 5.17 GB, free: 16.15 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.725e-05/9.618, allocations: 45.67 kB / 5.17 GB, free: 16.1 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/9.618, allocations: 7.938 kB / 5.17 GB, free: 16.09 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/9.618, allocations: 0 / 5.17 GB, free: 16.09 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/9.618, allocations: 0 / 5.17 GB, free: 16.09 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/9.618, allocations: 245.4 kB / 5.17 GB, free: 15.81 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 3.852e-05/9.618, allocations: 30.47 kB / 5.171 GB, free: 15.77 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.734e-05/9.618, allocations: 5.172 kB / 5.171 GB, free: 15.77 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 6.032e-06/9.618, allocations: 0 / 5.171 GB, free: 15.77 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/9.618, allocations: 34.56 kB / 5.171 GB, free: 15.72 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/9.618, allocations: 0 / 5.171 GB, free: 15.72 MB / 0.6982 GB Notification: Performance of matching and sorting (n=1): time 0.0001217/9.618, allocations: 29.77 kB / 5.171 GB, free: 15.69 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/9.618, allocations: 59.34 kB / 5.171 GB, free: 15.62 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.624e-05/9.619, allocations: 100.9 kB / 5.171 GB, free: 15.51 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/9.619, allocations: 25.7 kB / 5.171 GB, free: 15.48 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 3.247e-05/9.619, allocations: 91.95 kB / 5.171 GB, free: 15.39 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 4.95e-06/9.619, allocations: 4 kB / 5.171 GB, free: 15.38 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-06/9.619, allocations: 3.938 kB / 5.171 GB, free: 15.38 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 5.134e-05/9.619, allocations: 314.9 kB / 5.171 GB, free: 15.06 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/9.619, allocations: 4 kB / 5.171 GB, free: 15.06 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.248e-05/9.619, allocations: 30.56 kB / 5.171 GB, free: 15.02 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.75e-05/9.619, allocations: 4 kB / 5.171 GB, free: 15.02 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/9.619, allocations: 0 / 5.171 GB, free: 15.02 MB / 0.6982 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.478e-05/9.619, allocations: 57.53 kB / 5.171 GB, free: 14.95 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/9.619, allocations: 5.25 kB / 5.171 GB, free: 14.95 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/9.619, allocations: 4 kB / 5.171 GB, free: 14.95 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/9.619, allocations: 0 / 5.171 GB, free: 14.95 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.34e-05/9.619, allocations: 4 kB / 5.171 GB, free: 14.94 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/9.619, allocations: 4 kB / 5.171 GB, free: 14.94 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.713e-05/9.619, allocations: 0 / 5.171 GB, free: 14.94 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/9.619, allocations: 0 / 5.171 GB, free: 14.94 MB / 0.6982 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.224e-05/9.619, allocations: 112.9 kB / 5.171 GB, free: 14.82 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/9.619, allocations: 8.031 kB / 5.171 GB, free: 14.81 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.308e-05/9.619, allocations: 7.141 kB / 5.171 GB, free: 14.8 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/9.619, allocations: 0 / 5.171 GB, free: 14.8 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/9.619, allocations: 4 kB / 5.171 GB, free: 14.8 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/9.619, allocations: 0 / 5.171 GB, free: 14.8 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/9.619, allocations: 319.3 kB / 5.172 GB, free: 14.44 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/9.619, allocations: 4.25 kB / 5.172 GB, free: 14.44 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.35e-05/9.619, allocations: 4 kB / 5.172 GB, free: 14.43 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/9.619, allocations: 4.031 kB / 5.172 GB, free: 14.43 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/9.619, allocations: 0 / 5.172 GB, free: 14.43 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/9.619, allocations: 0 / 5.172 GB, free: 14.43 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/9.619, allocations: 3.906 kB / 5.172 GB, free: 14.43 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.623e-05/9.619, allocations: 65 kB / 5.172 GB, free: 14.34 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 2.103e-05/9.619, allocations: 81.02 kB / 5.172 GB, free: 14.25 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/9.619, allocations: 0 / 5.172 GB, free: 14.25 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.08e-05/9.62, allocations: 16.02 kB / 5.172 GB, free: 14.23 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.014e-05/9.62, allocations: 0 / 5.172 GB, free: 14.23 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/9.62, allocations: 4 kB / 5.172 GB, free: 14.23 MB / 0.6982 GB Notification: Performance of sort global known variables: time 2.553e-05/9.62, allocations: 79.28 kB / 5.172 GB, free: 14.15 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.0002488/9.62, allocations: 35.98 kB / 5.172 GB, free: 14.11 MB / 0.6982 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.0006438/9.62, allocations: 0.6653 MB / 5.173 GB, free: 13.45 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 7.695e-05/9.621, allocations: 12 kB / 5.173 GB, free: 13.43 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/9.621, allocations: 0 / 5.173 GB, free: 13.43 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 5.31e-06/9.621, allocations: 7.938 kB / 5.173 GB, free: 13.43 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/9.621, allocations: 0.8125 kB / 5.173 GB, free: 13.43 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001594/9.621, allocations: 52.17 kB / 5.173 GB, free: 13.35 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/9.621, allocations: 0.6919 MB / 5.173 GB, free: 12.63 MB / 0.6982 GB Notification: Performance of SimCode: time 2.5e-07/9.621, allocations: 0 / 5.173 GB, free: 12.63 MB / 0.6982 GB Notification: Performance of Templates: time 0.006273/9.627, allocations: 3.81 MB / 5.177 GB, free: 8.824 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)