Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.501/1.501, allocations: 289.8 MB / 297.1 MB, free: 6.629 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.001044/0.001044, allocations: 191.3 kB / 366.3 MB, free: 1.918 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.381/1.381, allocations: 205.1 MB / 0.6256 GB, free: 5.762 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.001086/0.001085, allocations: 97.94 kB / 0.7396 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.732e-06/6.762e-06, allocations: 0 / 0.859 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.628/0.628, allocations: 116.3 MB / 0.9725 GB, free: 68.33 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 9.342/9.97, allocations: 4.612 GB / 5.584 GB, free: 43.38 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/9.97, allocations: 75.95 kB / 5.584 GB, free: 43.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.06474/10.04, allocations: 35.85 MB / 5.619 GB, free: 7.027 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.859e-06/10.04, allocations: 0 / 5.619 GB, free: 7.027 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00036/10.04, allocations: 346.4 kB / 5.619 GB, free: 6.645 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/10.04, allocations: 8.031 kB / 5.619 GB, free: 6.637 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002099/10.04, allocations: 15.89 kB / 5.62 GB, free: 6.621 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/10.04, allocations: 163.1 kB / 5.62 GB, free: 6.422 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/10.04, allocations: 0 / 5.62 GB, free: 6.422 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/10.04, allocations: 12 kB / 5.62 GB, free: 6.41 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.164e-05/10.04, allocations: 15.89 kB / 5.62 GB, free: 6.395 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.166e-05/10.04, allocations: 49.61 kB / 5.62 GB, free: 6.34 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/10.04, allocations: 0 / 5.62 GB, free: 6.34 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/10.04, allocations: 4.75 kB / 5.62 GB, free: 6.336 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/10.04, allocations: 0 / 5.62 GB, free: 6.336 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/10.04, allocations: 138.2 kB / 5.62 GB, free: 6.164 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.763e-05/10.04, allocations: 41.77 kB / 5.62 GB, free: 6.117 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/10.04, allocations: 24.7 kB / 5.62 GB, free: 6.09 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/10.04, allocations: 4 kB / 5.62 GB, free: 6.086 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/10.04, allocations: 30.56 kB / 5.62 GB, free: 6.047 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/10.04, allocations: 0 / 5.62 GB, free: 6.047 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.000679/10.04, allocations: 337.5 kB / 5.62 GB, free: 5.668 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/10.04, allocations: 51.41 kB / 5.62 GB, free: 5.605 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.736e-05/10.04, allocations: 93 kB / 5.62 GB, free: 5.508 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/10.04, allocations: 25.7 kB / 5.62 GB, free: 5.477 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.002e-05/10.04, allocations: 84.08 kB / 5.621 GB, free: 5.391 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/10.04, allocations: 43.39 kB / 5.621 GB, free: 5.348 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/10.04, allocations: 0 / 5.621 GB, free: 5.348 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.148e-05/10.04, allocations: 310.8 kB / 5.621 GB, free: 5.035 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.745e-05/10.04, allocations: 16 kB / 5.621 GB, free: 5.02 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.846e-05/10.04, allocations: 41.83 kB / 5.621 GB, free: 4.973 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.759e-05/10.04, allocations: 17.02 kB / 5.621 GB, free: 4.957 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/10.04, allocations: 0 / 5.621 GB, free: 4.957 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000103/10.04, allocations: 90.66 kB / 5.621 GB, free: 4.863 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/10.04, allocations: 4 kB / 5.621 GB, free: 4.859 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/10.04, allocations: 0 / 5.621 GB, free: 4.859 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/10.04, allocations: 3.938 kB / 5.621 GB, free: 4.855 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/10.04, allocations: 23.94 kB / 5.621 GB, free: 4.832 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/10.04, allocations: 3.984 kB / 5.621 GB, free: 4.828 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.024e-05/10.04, allocations: 0 / 5.621 GB, free: 4.828 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/10.04, allocations: 12 kB / 5.621 GB, free: 4.816 MB / 0.948 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.277e-05/10.04, allocations: 114.4 kB / 5.621 GB, free: 4.699 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/10.04, allocations: 4 kB / 5.621 GB, free: 4.695 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.865e-05/10.04, allocations: 7.906 kB / 5.621 GB, free: 4.691 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/10.04, allocations: 7.906 kB / 5.621 GB, free: 4.684 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/10.04, allocations: 0 / 5.621 GB, free: 4.684 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/10.04, allocations: 0 / 5.621 GB, free: 4.684 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.359e-05/10.04, allocations: 146.2 kB / 5.621 GB, free: 4.504 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/10.04, allocations: 0 / 5.621 GB, free: 4.504 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/10.04, allocations: 23.94 kB / 5.621 GB, free: 4.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/10.04, allocations: 4 kB / 5.621 GB, free: 4.477 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/10.04, allocations: 3.984 kB / 5.621 GB, free: 4.473 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/10.04, allocations: 0 / 5.621 GB, free: 4.473 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/10.04, allocations: 0 / 5.621 GB, free: 4.473 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001489/10.04, allocations: 124.9 kB / 5.621 GB, free: 4.332 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.158e-05/10.04, allocations: 85.09 kB / 5.622 GB, free: 4.23 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/10.04, allocations: 0 / 5.622 GB, free: 4.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.045e-05/10.04, allocations: 9.125 kB / 5.622 GB, free: 4.223 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/10.04, allocations: 3.984 kB / 5.622 GB, free: 4.219 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/10.04, allocations: 11.91 kB / 5.622 GB, free: 4.207 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.743e-05/10.04, allocations: 75.28 kB / 5.622 GB, free: 4.133 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002595/10.04, allocations: 47.98 kB / 5.622 GB, free: 4.086 MB / 0.948 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.0006968/10.04, allocations: 0.6637 MB / 5.622 GB, free: 3.426 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001071/10.04, allocations: 51.98 kB / 5.622 GB, free: 3.375 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/10.04, allocations: 0 / 5.622 GB, free: 3.375 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.836e-05/10.04, allocations: 27.94 kB / 5.622 GB, free: 3.348 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/10.04, allocations: 6.688 kB / 5.622 GB, free: 3.348 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/10.04, allocations: 270.1 kB / 5.623 GB, free: 3.062 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/10.04, allocations: 0.7075 MB / 5.623 GB, free: 2.328 MB / 0.948 GB Notification: Performance of SimCode: time 2.51e-07/10.04, allocations: 0 / 5.623 GB, free: 2.328 MB / 0.948 GB Notification: Performance of Templates: time 0.4566/10.5, allocations: 4.018 MB / 5.627 GB, free: 407.7 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)