Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.31/2.31, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001593/0.001593, allocations: 189.2 kB / 360.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.2 MB / 0.6188 GB, free: 12.39 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001206/0.001206, allocations: 94.28 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.328e-05/1.343e-05, allocations: 4 kB / 0.8502 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6049/0.605, allocations: 115.2 MB / 0.9628 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 10.79/11.4, allocations: 4.61 GB / 5.573 GB, free: 223.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003411/11.4, allocations: 81.03 kB / 5.573 GB, free: 223.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 0.1191/11.52, allocations: 35.86 MB / 5.608 GB, free: 194.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 9.107e-06/11.52, allocations: 0 / 5.608 GB, free: 194.7 MB / 0.9323 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.0004094/11.52, allocations: 349.5 kB / 5.609 GB, free: 194.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/11.52, allocations: 12.53 kB / 5.609 GB, free: 194.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004401/11.52, allocations: 15.89 kB / 5.609 GB, free: 194.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/11.52, allocations: 159.1 kB / 5.609 GB, free: 194.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/11.52, allocations: 4 kB / 5.609 GB, free: 194.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/11.52, allocations: 4.812 kB / 5.609 GB, free: 194.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001124/11.52, allocations: 19.39 kB / 5.609 GB, free: 194.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/11.52, allocations: 45.25 kB / 5.609 GB, free: 194.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/11.52, allocations: 0 / 5.609 GB, free: 194.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/11.52, allocations: 0 / 5.609 GB, free: 194.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/11.52, allocations: 8 kB / 5.609 GB, free: 194.1 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001967/11.52, allocations: 141.7 kB / 5.609 GB, free: 193.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/11.52, allocations: 33.22 kB / 5.609 GB, free: 193.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.794e-05/11.52, allocations: 17.2 kB / 5.609 GB, free: 193.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/11.52, allocations: 7.984 kB / 5.609 GB, free: 193.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/11.52, allocations: 30.56 kB / 5.609 GB, free: 193.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/11.52, allocations: 0 / 5.609 GB, free: 193.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=11): time 0.001082/11.52, allocations: 334.5 kB / 5.609 GB, free: 193.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/11.52, allocations: 54.91 kB / 5.609 GB, free: 193.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.765e-05/11.52, allocations: 88.98 kB / 5.61 GB, free: 193.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/11.52, allocations: 29.7 kB / 5.61 GB, free: 193.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 2.385e-05/11.52, allocations: 80.14 kB / 5.61 GB, free: 193.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.164e-05/11.52, allocations: 39.08 kB / 5.61 GB, free: 193.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-06/11.52, allocations: 4.125 kB / 5.61 GB, free: 193.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.365e-05/11.52, allocations: 314.5 kB / 5.61 GB, free: 192.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.525e-05/11.52, allocations: 15.56 kB / 5.61 GB, free: 192.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.47e-05/11.52, allocations: 33.38 kB / 5.61 GB, free: 192.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.562e-05/11.52, allocations: 20.45 kB / 5.61 GB, free: 192.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/11.52, allocations: 4 kB / 5.61 GB, free: 192.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002403/11.52, allocations: 80.14 kB / 5.61 GB, free: 192.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/11.52, allocations: 11.94 kB / 5.61 GB, free: 192.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/11.52, allocations: 7.984 kB / 5.61 GB, free: 192.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/11.52, allocations: 0 / 5.61 GB, free: 192.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/11.52, allocations: 25.16 kB / 5.61 GB, free: 192.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/11.52, allocations: 0 / 5.61 GB, free: 192.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.192e-05/11.52, allocations: 0.9375 kB / 5.61 GB, free: 192.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/11.52, allocations: 5.719 kB / 5.61 GB, free: 192.6 MB / 0.9323 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 8.091e-05/11.52, allocations: 113.7 kB / 5.61 GB, free: 192.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/11.52, allocations: 7.984 kB / 5.61 GB, free: 192.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.708e-05/11.52, allocations: 10.84 kB / 5.61 GB, free: 192.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/11.52, allocations: 11.91 kB / 5.61 GB, free: 192.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/11.52, allocations: 0 / 5.61 GB, free: 192.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/11.52, allocations: 0 / 5.61 GB, free: 192.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/11.52, allocations: 142.1 kB / 5.61 GB, free: 192.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/11.52, allocations: 0.8125 kB / 5.61 GB, free: 192.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003158/11.52, allocations: 27.36 kB / 5.61 GB, free: 192.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/11.52, allocations: 5.688 kB / 5.61 GB, free: 192.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/11.52, allocations: 0 / 5.61 GB, free: 192.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/11.52, allocations: 0 / 5.61 GB, free: 192.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/11.52, allocations: 0.875 kB / 5.61 GB, free: 192.3 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002952/11.52, allocations: 129.9 kB / 5.611 GB, free: 192.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 9.609e-05/11.52, allocations: 88.47 kB / 5.611 GB, free: 192.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/11.52, allocations: 0 / 5.611 GB, free: 192.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/11.52, allocations: 4 kB / 5.611 GB, free: 192.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/11.52, allocations: 3.984 kB / 5.611 GB, free: 192 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/11.52, allocations: 8.719 kB / 5.611 GB, free: 192 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.436e-05/11.52, allocations: 79.16 kB / 5.611 GB, free: 192 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005932/11.52, allocations: 45.64 kB / 5.611 GB, free: 191.9 MB / 0.9323 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.00111/11.52, allocations: 0.659 MB / 5.611 GB, free: 191.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001959/11.52, allocations: 43.84 kB / 5.612 GB, free: 191.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/11.52, allocations: 4 kB / 5.612 GB, free: 191.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 7.023e-05/11.52, allocations: 30.94 kB / 5.612 GB, free: 191.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/11.52, allocations: 9.672 kB / 5.612 GB, free: 191.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008282/11.52, allocations: 269 kB / 5.612 GB, free: 191 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/11.52, allocations: 0.6997 MB / 5.612 GB, free: 190.2 MB / 0.9323 GB Notification: Performance of SimCode: time 8.32e-07/11.52, allocations: 0 / 5.612 GB, free: 190.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.01496/11.54, allocations: 4.023 MB / 5.616 GB, free: 186.2 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)