Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.208/2.208, allocations: 253.1 MB / 260.4 MB, free: 7.512 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002246/0.002246, allocations: 189.2 kB / 319.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.821/1.821, allocations: 205.4 MB / 0.5704 GB, free: 15.15 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001247/0.001247, allocations: 89.02 kB / 0.6746 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.178e-05/1.179e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2074, allocations: 106.2 MB / 0.888 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.753/5.961, allocations: 2.246 GB / 3.134 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/5.961, allocations: 90.2 kB / 3.134 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.533/15.49, allocations: 2.006 GB / 5.141 GB, free: 101.1 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0004672/15.5, allocations: 65.42 kB / 5.141 GB, free: 101.1 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.009848/15.5, allocations: 2.456 MB / 5.143 GB, free: 99.91 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/15.5, allocations: 7.469 kB / 5.143 GB, free: 99.91 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00916/15.51, allocations: 0.8291 MB / 5.144 GB, free: 99.77 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0113/15.53, allocations: 2.258 MB / 5.146 GB, free: 99.26 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/15.53, allocations: 47.72 kB / 5.146 GB, free: 99.26 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008115/15.53, allocations: 85.38 kB / 5.146 GB, free: 99.26 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004772/15.53, allocations: 1.163 MB / 5.147 GB, free: 99.25 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004383/15.54, allocations: 1.389 MB / 5.149 GB, free: 98.99 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.337e-05/15.54, allocations: 7.531 kB / 5.149 GB, free: 98.99 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000225/15.54, allocations: 0 / 5.149 GB, free: 98.99 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.995e-05/15.54, allocations: 54.36 kB / 5.149 GB, free: 98.98 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01781/15.55, allocations: 7.58 MB / 5.156 GB, free: 94.87 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/15.56, allocations: 0.78 MB / 5.157 GB, free: 94.83 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/15.56, allocations: 467.8 kB / 5.157 GB, free: 94.82 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00192/15.56, allocations: 0.9267 MB / 5.158 GB, free: 93.88 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001511/15.56, allocations: 498.5 kB / 5.159 GB, free: 93.82 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=84): time 4.258e-06/15.56, allocations: 2.844 kB / 5.159 GB, free: 93.82 MB / 0.9011 GB Notification: Performance of matching and sorting (n=84): time 0.006195/15.57, allocations: 1.125 MB / 5.16 GB, free: 93.66 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/15.57, allocations: 171.5 kB / 5.16 GB, free: 93.48 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003648/15.57, allocations: 1.24 MB / 5.161 GB, free: 93.26 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003838/15.57, allocations: 28.08 kB / 5.161 GB, free: 93.23 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000804/15.57, allocations: 0.6067 MB / 5.162 GB, free: 92.9 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005089/15.57, allocations: 282.1 kB / 5.162 GB, free: 92.72 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-05/15.57, allocations: 3.188 kB / 5.162 GB, free: 92.72 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001194/15.57, allocations: 355.4 kB / 5.162 GB, free: 92.41 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/15.57, allocations: 351.4 kB / 5.163 GB, free: 92.41 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/15.58, allocations: 0.7242 MB / 5.163 GB, free: 91.96 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002367/15.58, allocations: 0.5628 MB / 5.164 GB, free: 91.94 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.364e-05/15.58, allocations: 6.938 kB / 5.164 GB, free: 91.93 MB / 0.9011 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.005211/15.58, allocations: 1.279 MB / 5.165 GB, free: 91.75 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009138/15.58, allocations: 3.456 MB / 5.169 GB, free: 88.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.616e-05/15.58, allocations: 13.19 kB / 5.169 GB, free: 88.12 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.666e-05/15.58, allocations: 14.66 kB / 5.169 GB, free: 88.12 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002557/15.59, allocations: 266.9 kB / 5.169 GB, free: 88.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-05/15.59, allocations: 19.7 kB / 5.169 GB, free: 88.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003321/15.59, allocations: 179.5 kB / 5.169 GB, free: 88.04 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002935/15.59, allocations: 51.86 kB / 5.169 GB, free: 88.04 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/15.59, allocations: 10.22 kB / 5.169 GB, free: 88.04 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004146/15.59, allocations: 1.047 MB / 5.17 GB, free: 87.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.929e-05/15.59, allocations: 10.19 kB / 5.17 GB, free: 87.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.377e-05/15.59, allocations: 15.66 kB / 5.17 GB, free: 87.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002287/15.6, allocations: 257.2 kB / 5.17 GB, free: 87.68 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.928e-05/15.6, allocations: 21.19 kB / 5.17 GB, free: 87.67 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003343/15.6, allocations: 163.8 kB / 5.171 GB, free: 87.64 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002651/15.6, allocations: 52.17 kB / 5.171 GB, free: 87.63 MB / 0.9011 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.0005696/15.6, allocations: 137.9 kB / 5.171 GB, free: 87.5 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007518/15.6, allocations: 178.9 kB / 5.171 GB, free: 87.4 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004772/15.61, allocations: 1.086 MB / 5.172 GB, free: 87.01 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/15.61, allocations: 9.125 kB / 5.172 GB, free: 87.01 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/15.61, allocations: 7.938 kB / 5.172 GB, free: 87.01 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0033/15.61, allocations: 1.14 MB / 5.173 GB, free: 86.32 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0091/15.62, allocations: 2.442 MB / 5.176 GB, free: 85.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/15.62, allocations: 1.438 kB / 5.176 GB, free: 85.25 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002014/15.62, allocations: 184.9 kB / 5.176 GB, free: 85.23 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003597/15.62, allocations: 48.02 kB / 5.176 GB, free: 85.21 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/15.62, allocations: 14.59 kB / 5.176 GB, free: 85.21 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/15.62, allocations: 1.373 MB / 5.177 GB, free: 83.91 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/15.62, allocations: 2.344 kB / 5.177 GB, free: 83.91 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00531/15.63, allocations: 1.679 MB / 5.179 GB, free: 83.07 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001654/15.63, allocations: 356.1 kB / 5.179 GB, free: 82.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005601/15.63, allocations: 9.562 kB / 5.179 GB, free: 82.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002642/15.63, allocations: 120.2 kB / 5.179 GB, free: 82.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000269/15.63, allocations: 54.03 kB / 5.179 GB, free: 82.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/15.63, allocations: 37.86 kB / 5.179 GB, free: 82.79 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.002556/15.64, allocations: 0.9329 MB / 5.18 GB, free: 82.37 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.007603/15.64, allocations: 1.2 MB / 5.181 GB, free: 82.02 MB / 0.9011 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.008775/15.65, allocations: 3.722 MB / 5.185 GB, free: 80.59 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.005129/15.66, allocations: 1.587 MB / 5.187 GB, free: 79.93 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/15.66, allocations: 1.156 kB / 5.187 GB, free: 79.93 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/15.66, allocations: 0.5157 MB / 5.187 GB, free: 79.68 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007535/15.67, allocations: 0.7296 MB / 5.188 GB, free: 79.51 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01649/15.68, allocations: 3.026 MB / 5.191 GB, free: 78.49 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003716/15.69, allocations: 1.691 MB / 5.192 GB, free: 77.36 MB / 0.9011 GB Notification: Performance of SimCode: time 1.603e-06/15.69, allocations: 0 / 5.192 GB, free: 77.36 MB / 0.9011 GB Notification: Performance of Templates: time 0.1418/15.83, allocations: 52.55 MB / 5.244 GB, free: 28.98 MB / 0.9011 GB