Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.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.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") [: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.185/2.185, allocations: 253.1 MB / 260.4 MB, free: 7.531 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.001637/0.001637, allocations: 188.8 kB / 319.6 MB, free: 3.305 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.8/1.8, allocations: 205.4 MB / 0.5704 GB, free: 15.11 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.001315/0.001315, allocations: 91.33 kB / 0.6746 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.193e-05/1.205e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2132, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.229/6.443, allocations: 2.484 GB / 3.373 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/6.443, allocations: 80.83 kB / 3.373 GB, free: 206 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.303/15.75, allocations: 2.004 GB / 5.377 GB, free: 107.2 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001275/15.75, allocations: 133 kB / 5.377 GB, free: 107.1 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1029 * Number of variables: 1029 Notification: Performance of Generate backend data structure: time 0.02587/15.77, allocations: 5.161 MB / 5.382 GB, free: 105.3 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/15.77, allocations: 11.41 kB / 5.382 GB, free: 105.3 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01372/15.79, allocations: 1.284 MB / 5.383 GB, free: 105 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02621/15.81, allocations: 6.832 MB / 5.39 GB, free: 104.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002932/15.81, allocations: 127.7 kB / 5.39 GB, free: 104.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001989/15.82, allocations: 245.9 kB / 5.39 GB, free: 104.2 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01629/15.83, allocations: 4.681 MB / 5.395 GB, free: 104.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01971/15.85, allocations: 5.107 MB / 5.4 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002063/15.85, allocations: 6.406 kB / 5.4 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001253/15.85, allocations: 6.031 kB / 5.4 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002317/15.85, allocations: 197.5 kB / 5.4 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05885/15.91, allocations: 24.59 MB / 5.424 GB, free: 94.02 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009731/15.92, allocations: 3.513 MB / 5.428 GB, free: 93.88 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005266/15.93, allocations: 2.095 MB / 5.43 GB, free: 93.85 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001758/15.93, allocations: 1.093 MB / 5.431 GB, free: 92.71 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005821/15.94, allocations: 1.998 MB / 5.433 GB, free: 92.53 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=273): time 7.294e-06/15.94, allocations: 0 / 5.433 GB, free: 92.53 MB / 0.9167 GB Notification: Performance of matching and sorting (n=277): time 0.04217/15.98, allocations: 9.737 MB / 5.442 GB, free: 90.01 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.388e-05/15.98, allocations: 188.2 kB / 5.442 GB, free: 89.82 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01121/15.99, allocations: 3.699 MB / 5.446 GB, free: 89.54 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0009819/15.99, allocations: 35.73 kB / 5.446 GB, free: 89.51 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002947/15.99, allocations: 1.492 MB / 5.447 GB, free: 88.75 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003092/16, allocations: 0.9156 MB / 5.448 GB, free: 88.14 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000323/16, allocations: 0 / 5.448 GB, free: 88.14 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003131/16, allocations: 423.7 kB / 5.449 GB, free: 87.83 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003997/16, allocations: 1.472 MB / 5.45 GB, free: 87.82 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005162/16.01, allocations: 2.221 MB / 5.452 GB, free: 87.1 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006796/16.01, allocations: 2.041 MB / 5.454 GB, free: 87.05 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.604e-05/16.01, allocations: 3.25 kB / 5.454 GB, free: 87.05 MB / 0.9167 GB Notification: Performance of matching and sorting (n=354) (initialization): time 0.01413/16.03, allocations: 4.191 MB / 5.458 GB, free: 86.73 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00118/16.03, allocations: 5.299 MB / 5.464 GB, free: 81.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.656e-05/16.03, allocations: 12.22 kB / 5.464 GB, free: 81.26 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000738/16.03, allocations: 118 kB / 5.464 GB, free: 81.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00633/16.04, allocations: 0.629 MB / 5.464 GB, free: 81.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003669/16.04, allocations: 2.608 MB / 5.467 GB, free: 79.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009635/16.05, allocations: 409.6 kB / 5.467 GB, free: 79.35 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/16.05, allocations: 115.5 kB / 5.467 GB, free: 79.35 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/16.05, allocations: 3.656 kB / 5.467 GB, free: 79.35 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01274/16.06, allocations: 3.744 MB / 5.471 GB, free: 79.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.403e-05/16.06, allocations: 10.44 kB / 5.471 GB, free: 79.26 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005905/16.06, allocations: 122.2 kB / 5.471 GB, free: 79.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00587/16.07, allocations: 0.6129 MB / 5.472 GB, free: 79.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003064/16.07, allocations: 1.99 MB / 5.474 GB, free: 77.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009306/16.08, allocations: 404.8 kB / 5.474 GB, free: 77.94 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009778/16.08, allocations: 116.7 kB / 5.474 GB, free: 77.94 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (337): * Single equations (assignments): 333 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001334/16.08, allocations: 235.5 kB / 5.474 GB, free: 77.76 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001679/16.09, allocations: 420.9 kB / 5.475 GB, free: 77.55 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01444/16.1, allocations: 4.002 MB / 5.479 GB, free: 77.35 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.302e-05/16.1, allocations: 31.5 kB / 5.479 GB, free: 77.35 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/16.1, allocations: 6.375 kB / 5.479 GB, free: 77.35 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01098/16.11, allocations: 3.368 MB / 5.482 GB, free: 77.1 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03175/16.14, allocations: 9.928 MB / 5.492 GB, free: 76.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-05/16.14, allocations: 3.688 kB / 5.492 GB, free: 76.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006302/16.15, allocations: 0.5907 MB / 5.492 GB, free: 76.11 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006121/16.15, allocations: 112.9 kB / 5.492 GB, free: 76.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007488/16.15, allocations: 50.39 kB / 5.492 GB, free: 76.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003352/16.15, allocations: 2.577 MB / 5.495 GB, free: 74.24 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/16.15, allocations: 7.25 kB / 5.495 GB, free: 74.24 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01885/16.17, allocations: 6.791 MB / 5.502 GB, free: 73.04 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005675/16.18, allocations: 1.093 MB / 5.503 GB, free: 72.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002308/16.18, allocations: 30.11 kB / 5.503 GB, free: 72.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008586/16.19, allocations: 366.6 kB / 5.503 GB, free: 72.71 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009018/16.19, allocations: 145.3 kB / 5.503 GB, free: 72.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005183/16.19, allocations: 117.5 kB / 5.503 GB, free: 72.71 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.009253/16.2, allocations: 2.881 MB / 5.506 GB, free: 72.04 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01905/16.22, allocations: 2.534 MB / 5.509 GB, free: 71.83 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 18 (hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (266): * Single equations (assignments): 258 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007188/16.23, allocations: 3.02 MB / 5.512 GB, free: 70.78 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01809/16.25, allocations: 5.946 MB / 5.517 GB, free: 68.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-05/16.25, allocations: 4.781 kB / 5.517 GB, free: 68.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.005711/16.25, allocations: 1.974 MB / 5.519 GB, free: 67.85 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0345/16.29, allocations: 2.523 MB / 5.522 GB, free: 67.46 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06323/16.35, allocations: 10.2 MB / 5.532 GB, free: 64.24 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01907/16.37, allocations: 4.427 MB / 5.536 GB, free: 62.54 MB / 0.9167 GB Notification: Performance of SimCode: time 2.535e-06/16.37, allocations: 0 / 5.536 GB, free: 62.54 MB / 0.9167 GB Notification: Performance of Templates: time 0.8371/17.21, allocations: 125 MB / 5.658 GB, free: 199.4 MB / 0.9323 GB