Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [: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.0009882/0.0009882, allocations: 189.7 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4457/0.4457, allocations: 90.86 MB / 99.07 MB, free: 14.92 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.216/1.216, allocations: 221.4 MB / 342.7 MB, free: 5.422 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.0009759/0.0009759, allocations: 98.39 kB / 415.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.82e-06/5.931e-06, allocations: 0 / 493.9 MB, free: 8.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3154, allocations: 72.31 MB / 0.5529 GB, free: 73.41 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.346/6.661, allocations: 4.141 GB / 4.694 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/6.661, allocations: 79.95 kB / 4.694 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.06721/6.729, allocations: 35.98 MB / 4.729 GB, free: 24.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.36e-06/6.729, allocations: 4 kB / 4.729 GB, free: 24.54 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002403/6.729, allocations: 342.3 kB / 4.73 GB, free: 24.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/6.729, allocations: 8.031 kB / 4.73 GB, free: 24.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/6.729, allocations: 11.98 kB / 4.73 GB, free: 24.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.445e-05/6.729, allocations: 171 kB / 4.73 GB, free: 23.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/6.729, allocations: 4 kB / 4.73 GB, free: 23.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/6.729, allocations: 11.91 kB / 4.73 GB, free: 23.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.204e-05/6.729, allocations: 11.98 kB / 4.73 GB, free: 23.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.029e-05/6.729, allocations: 41.69 kB / 4.73 GB, free: 23.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/6.729, allocations: 0 / 4.73 GB, free: 23.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/6.729, allocations: 4 kB / 4.73 GB, free: 23.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/6.729, allocations: 0 / 4.73 GB, free: 23.85 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/6.73, allocations: 144.1 kB / 4.73 GB, free: 23.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.916e-05/6.73, allocations: 45.64 kB / 4.73 GB, free: 23.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.548e-05/6.73, allocations: 16.86 kB / 4.73 GB, free: 23.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/6.73, allocations: 0 / 4.73 GB, free: 23.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/6.73, allocations: 30.56 kB / 4.73 GB, free: 23.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 7.21e-07/6.73, allocations: 0 / 4.73 GB, free: 23.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0006065/6.73, allocations: 334.3 kB / 4.73 GB, free: 23.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.545e-05/6.73, allocations: 55.41 kB / 4.73 GB, free: 23.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.087e-05/6.73, allocations: 92.98 kB / 4.73 GB, free: 23.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/6.73, allocations: 25.7 kB / 4.73 GB, free: 22.99 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.632e-05/6.73, allocations: 80.14 kB / 4.731 GB, free: 22.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/6.73, allocations: 39.45 kB / 4.731 GB, free: 22.87 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/6.73, allocations: 0 / 4.731 GB, free: 22.87 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.947e-05/6.731, allocations: 314.8 kB / 4.731 GB, free: 22.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.534e-05/6.731, allocations: 16 kB / 4.731 GB, free: 22.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.806e-05/6.731, allocations: 39.7 kB / 4.731 GB, free: 22.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.696e-05/6.731, allocations: 27.03 kB / 4.731 GB, free: 22.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/6.731, allocations: 0 / 4.731 GB, free: 22.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001005/6.731, allocations: 77.62 kB / 4.731 GB, free: 22.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/6.731, allocations: 10.02 kB / 4.731 GB, free: 22.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/6.731, allocations: 4 kB / 4.731 GB, free: 22.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/6.731, allocations: 5.969 kB / 4.731 GB, free: 22.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/6.731, allocations: 20 kB / 4.731 GB, free: 22.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/6.731, allocations: 0 / 4.731 GB, free: 22.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/6.731, allocations: 4 kB / 4.731 GB, free: 22.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/6.731, allocations: 4 kB / 4.731 GB, free: 22.35 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.242e-05/6.731, allocations: 112.9 kB / 4.731 GB, free: 22.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/6.731, allocations: 7.906 kB / 4.731 GB, free: 22.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/6.731, allocations: 7.906 kB / 4.731 GB, free: 22.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/6.731, allocations: 4 kB / 4.731 GB, free: 22.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/6.731, allocations: 0 / 4.731 GB, free: 22.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/6.731, allocations: 7.922 kB / 4.731 GB, free: 22.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.666e-05/6.731, allocations: 142.2 kB / 4.731 GB, free: 22.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/6.731, allocations: 4 kB / 4.731 GB, free: 22.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/6.731, allocations: 23.98 kB / 4.731 GB, free: 22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/6.731, allocations: 0 / 4.731 GB, free: 22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/6.731, allocations: 3.906 kB / 4.731 GB, free: 22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-06/6.731, allocations: 0 / 4.731 GB, free: 22 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/6.731, allocations: 0 / 4.731 GB, free: 22 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001396/6.732, allocations: 129 kB / 4.732 GB, free: 21.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.028e-05/6.732, allocations: 85.09 kB / 4.732 GB, free: 21.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/6.732, allocations: 3.906 kB / 4.732 GB, free: 21.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.866e-05/6.732, allocations: 8 kB / 4.732 GB, free: 21.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/6.732, allocations: 7.094 kB / 4.732 GB, free: 21.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/6.732, allocations: 11.94 kB / 4.732 GB, free: 21.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.641e-05/6.732, allocations: 75.28 kB / 4.732 GB, free: 21.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000257/6.732, allocations: 47.98 kB / 4.732 GB, free: 21.61 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0006321/6.733, allocations: 0.6641 MB / 4.732 GB, free: 20.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001085/6.733, allocations: 51.94 kB / 4.732 GB, free: 20.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/6.733, allocations: 0 / 4.732 GB, free: 20.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.882e-05/6.733, allocations: 27.92 kB / 4.732 GB, free: 20.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/6.733, allocations: 4 kB / 4.732 GB, free: 20.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/6.733, allocations: 262.1 kB / 4.733 GB, free: 20.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/6.734, allocations: 0.7036 MB / 4.733 GB, free: 19.85 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/6.734, allocations: 4 kB / 4.733 GB, free: 19.84 MB / 0.6042 GB Notification: Performance of Templates: time 0.00606/6.74, allocations: 4.029 MB / 4.737 GB, free: 15.85 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)