Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") [: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.057/2.057, allocations: 253.1 MB / 260.4 MB, free: 7.434 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.001635/0.001635, allocations: 185.2 kB / 319.6 MB, free: 3.309 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.882/1.882, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.002868/0.002868, allocations: 90.38 kB / 0.6746 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.228e-05/1.241e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2706, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.128/6.399, allocations: 2.475 GB / 3.363 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004976/6.399, allocations: 89.92 kB / 3.363 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.329/10.73, allocations: 0.9191 GB / 4.282 GB, free: 126 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002937/10.73, allocations: 53.88 kB / 4.282 GB, free: 126 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.00934/10.74, allocations: 2.126 MB / 4.284 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/10.74, allocations: 8.781 kB / 4.284 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005723/10.74, allocations: 0.5888 MB / 4.285 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005786/10.75, allocations: 1.407 MB / 4.286 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001313/10.75, allocations: 194.8 kB / 4.287 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006066/10.75, allocations: 67.56 kB / 4.287 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003461/10.75, allocations: 0.9907 MB / 4.288 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003279/10.76, allocations: 1.104 MB / 4.289 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.749e-05/10.76, allocations: 1.312 kB / 4.289 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001817/10.76, allocations: 5.562 kB / 4.289 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.109e-05/10.76, allocations: 46.09 kB / 4.289 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01548/10.77, allocations: 5.253 MB / 4.294 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002354/10.78, allocations: 0.7613 MB / 4.295 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/10.78, allocations: 418.3 kB / 4.295 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001505/10.78, allocations: 0.8456 MB / 4.296 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001355/10.78, allocations: 0.4912 MB / 4.296 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=82): time 4.278e-06/10.78, allocations: 0 / 4.296 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=82): time 0.004289/10.78, allocations: 1.011 MB / 4.297 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/10.78, allocations: 191.5 kB / 4.298 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/10.79, allocations: 0.9207 MB / 4.298 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004016/10.79, allocations: 29.64 kB / 4.298 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004968/10.79, allocations: 459 kB / 4.299 GB, free: 121 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004093/10.79, allocations: 269 kB / 4.299 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/10.79, allocations: 0 / 4.299 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001039/10.79, allocations: 349.3 kB / 4.299 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/10.79, allocations: 400.5 kB / 4.3 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/10.79, allocations: 0.7122 MB / 4.301 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/10.79, allocations: 0.5349 MB / 4.301 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/10.79, allocations: 5.953 kB / 4.301 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.004578/10.8, allocations: 1.251 MB / 4.302 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004528/10.8, allocations: 2.037 MB / 4.304 GB, free: 118 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.192e-05/10.8, allocations: 7.875 kB / 4.304 GB, free: 118 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.625e-05/10.8, allocations: 13.66 kB / 4.304 GB, free: 118 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003823/10.8, allocations: 354.8 kB / 4.305 GB, free: 118 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009351/10.8, allocations: 1.209 MB / 4.306 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00345/10.81, allocations: 213.2 kB / 4.306 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005579/10.81, allocations: 61.34 kB / 4.306 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/10.81, allocations: 6.656 kB / 4.306 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004914/10.81, allocations: 1.074 MB / 4.307 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.311e-05/10.81, allocations: 7.781 kB / 4.307 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/10.81, allocations: 10.66 kB / 4.307 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003314/10.82, allocations: 344.1 kB / 4.307 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/10.82, allocations: 12.16 kB / 4.308 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003392/10.82, allocations: 189.2 kB / 4.308 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003887/10.82, allocations: 62.17 kB / 4.308 GB, free: 116.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004672/10.82, allocations: 143.5 kB / 4.308 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006178/10.82, allocations: 139.7 kB / 4.308 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004626/10.83, allocations: 1.154 MB / 4.309 GB, free: 116.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/10.83, allocations: 7.75 kB / 4.309 GB, free: 116.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/10.83, allocations: 0 / 4.309 GB, free: 116.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/10.83, allocations: 3.094 kB / 4.309 GB, free: 116.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008583/10.83, allocations: 2.571 MB / 4.312 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/10.83, allocations: 3.219 kB / 4.312 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002603/10.84, allocations: 267.1 kB / 4.312 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.066e-05/10.84, allocations: 10.88 kB / 4.312 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001662/10.84, allocations: 21.25 kB / 4.312 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006043/10.84, allocations: 1.195 MB / 4.313 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/10.84, allocations: 5.969 kB / 4.313 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005161/10.84, allocations: 1.995 MB / 4.315 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/10.84, allocations: 359.4 kB / 4.315 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004454/10.84, allocations: 7.312 kB / 4.315 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002738/10.85, allocations: 141.4 kB / 4.316 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002735/10.85, allocations: 63.08 kB / 4.316 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000167/10.85, allocations: 46.25 kB / 4.316 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.00148/10.85, allocations: 0.6798 MB / 4.316 GB, free: 114 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004752/10.85, allocations: 0.9888 MB / 4.317 GB, free: 113.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004951/10.86, allocations: 2.355 MB / 4.32 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.006045/10.87, allocations: 1.768 MB / 4.321 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/10.87, allocations: 3.844 kB / 4.321 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001775/10.87, allocations: 0.5231 MB / 4.322 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005342/10.87, allocations: 0.4978 MB / 4.322 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008026/10.88, allocations: 2.075 MB / 4.324 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001965/10.88, allocations: 1.419 MB / 4.326 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.483e-06/10.88, allocations: 0 / 4.326 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.1447/11.03, allocations: 43.48 MB / 4.368 GB, free: 111.1 MB / 0.8855 GB