Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.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.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") [: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.21/2.21, allocations: 284.9 MB / 292.2 MB, free: 10.71 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.001682/0.001682, allocations: 183.2 kB / 360.4 MB, free: 7.531 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.753/1.753, allocations: 205.1 MB / 0.6188 GB, free: 12.46 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.00124/0.00124, allocations: 88 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.108e-05/1.152e-05, allocations: 4 kB / 0.8502 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6666/0.6667, allocations: 115.2 MB / 0.9628 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.065/5.732, allocations: 2.127 GB / 3.09 GB, free: 285.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/5.732, allocations: 89.92 kB / 3.09 GB, free: 285.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.467/15.2, allocations: 2.072 GB / 5.161 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0003888/15.2, allocations: 53.81 kB / 5.161 GB, free: 103.7 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.009306/15.21, allocations: 2.453 MB / 5.164 GB, free: 102 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/15.21, allocations: 9.938 kB / 5.164 GB, free: 102 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00923/15.22, allocations: 0.8383 MB / 5.165 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/15.23, allocations: 2.265 MB / 5.167 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/15.23, allocations: 51.42 kB / 5.167 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004541/15.23, allocations: 84 kB / 5.167 GB, free: 100 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003748/15.23, allocations: 1.161 MB / 5.168 GB, free: 98.83 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003642/15.24, allocations: 1.381 MB / 5.169 GB, free: 97.36 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.524e-05/15.24, allocations: 6.781 kB / 5.169 GB, free: 97.36 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002008/15.24, allocations: 0 / 5.169 GB, free: 97.36 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.3e-05/15.24, allocations: 54.38 kB / 5.17 GB, free: 97.3 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01632/15.25, allocations: 7.543 MB / 5.177 GB, free: 89.38 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/15.26, allocations: 0.7846 MB / 5.178 GB, free: 88.59 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/15.26, allocations: 471.7 kB / 5.178 GB, free: 88.12 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001861/15.26, allocations: 0.9222 MB / 5.179 GB, free: 87.04 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/15.26, allocations: 0.4922 MB / 5.179 GB, free: 86.54 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=84): time 4.338e-06/15.26, allocations: 0 / 5.179 GB, free: 86.54 MB / 0.9792 GB Notification: Performance of matching and sorting (n=84): time 0.005513/15.27, allocations: 1.129 MB / 5.181 GB, free: 85.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.668e-05/15.27, allocations: 174.2 kB / 5.181 GB, free: 85.2 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002835/15.27, allocations: 1.244 MB / 5.182 GB, free: 83.96 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002949/15.27, allocations: 25.7 kB / 5.182 GB, free: 83.93 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006493/15.27, allocations: 0.6076 MB / 5.183 GB, free: 83.31 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004275/15.27, allocations: 287.7 kB / 5.183 GB, free: 83.02 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.555e-05/15.27, allocations: 0 / 5.183 GB, free: 83.02 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001125/15.27, allocations: 345.9 kB / 5.183 GB, free: 82.68 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009505/15.27, allocations: 354.5 kB / 5.184 GB, free: 82.33 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/15.27, allocations: 0.7325 MB / 5.184 GB, free: 81.44 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/15.28, allocations: 0.5688 MB / 5.185 GB, free: 80.89 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/15.28, allocations: 4 kB / 5.185 GB, free: 80.89 MB / 0.9792 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004136/15.28, allocations: 1.286 MB / 5.186 GB, free: 79.6 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008239/15.28, allocations: 3.437 MB / 5.189 GB, free: 75.92 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.144e-05/15.28, allocations: 16.53 kB / 5.189 GB, free: 75.91 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.031e-05/15.28, allocations: 16 kB / 5.189 GB, free: 75.89 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002413/15.28, allocations: 267.3 kB / 5.19 GB, free: 75.63 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.137e-05/15.28, allocations: 15.98 kB / 5.19 GB, free: 75.62 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003052/15.29, allocations: 187 kB / 5.19 GB, free: 75.45 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/15.29, allocations: 55.98 kB / 5.19 GB, free: 75.39 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/15.29, allocations: 4 kB / 5.19 GB, free: 75.39 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003452/15.29, allocations: 1.042 MB / 5.191 GB, free: 74.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.887e-05/15.29, allocations: 15.98 kB / 5.191 GB, free: 74.34 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.724e-05/15.29, allocations: 19.75 kB / 5.191 GB, free: 74.32 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002115/15.29, allocations: 264.8 kB / 5.191 GB, free: 74.07 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/15.29, allocations: 15.98 kB / 5.191 GB, free: 74.05 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002903/15.29, allocations: 164.9 kB / 5.191 GB, free: 73.91 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/15.29, allocations: 47.98 kB / 5.191 GB, free: 73.86 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 130 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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 0.0004103/15.3, allocations: 144.5 kB / 5.192 GB, free: 73.71 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003879/15.3, allocations: 188.6 kB / 5.192 GB, free: 73.53 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004042/15.3, allocations: 1.083 MB / 5.193 GB, free: 72.45 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/15.3, allocations: 8 kB / 5.193 GB, free: 72.44 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/15.3, allocations: 4 kB / 5.193 GB, free: 72.44 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002754/15.3, allocations: 1.152 MB / 5.194 GB, free: 71.2 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007705/15.31, allocations: 2.438 MB / 5.196 GB, free: 68.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/15.31, allocations: 5.781 kB / 5.196 GB, free: 68.73 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001847/15.31, allocations: 174.2 kB / 5.197 GB, free: 68.56 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003247/15.31, allocations: 55.7 kB / 5.197 GB, free: 68.51 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/15.31, allocations: 15.98 kB / 5.197 GB, free: 68.49 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/15.31, allocations: 1.375 MB / 5.198 GB, free: 67 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/15.31, allocations: 1.75 kB / 5.198 GB, free: 67 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004566/15.32, allocations: 1.683 MB / 5.2 GB, free: 65.27 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/15.32, allocations: 350.6 kB / 5.2 GB, free: 64.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003818/15.32, allocations: 7.984 kB / 5.2 GB, free: 64.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002126/15.32, allocations: 116 kB / 5.2 GB, free: 64.8 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002225/15.32, allocations: 56.69 kB / 5.2 GB, free: 64.75 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/15.32, allocations: 36.73 kB / 5.2 GB, free: 64.71 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.002028/15.33, allocations: 0.9208 MB / 5.201 GB, free: 63.8 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006062/15.33, allocations: 1.211 MB / 5.202 GB, free: 62.59 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007083/15.34, allocations: 3.748 MB / 5.206 GB, free: 59.05 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004202/15.34, allocations: 1.595 MB / 5.207 GB, free: 57.43 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/15.34, allocations: 0 / 5.207 GB, free: 57.43 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/15.34, allocations: 0.5126 MB / 5.208 GB, free: 56.91 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006554/15.35, allocations: 0.7331 MB / 5.209 GB, free: 56.2 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/15.36, allocations: 3.024 MB / 5.212 GB, free: 53.14 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00224/15.37, allocations: 1.689 MB / 5.213 GB, free: 51.43 MB / 0.9792 GB Notification: Performance of SimCode: time 1.683e-06/15.37, allocations: 0 / 5.213 GB, free: 51.43 MB / 0.9792 GB Notification: Performance of Templates: time 0.134/15.5, allocations: 52.62 MB / 5.265 GB, free: 15.42 MB / 0.9948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)