Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.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.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.254/2.254, allocations: 284.9 MB / 292.2 MB, free: 10.66 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.001722/0.001721, allocations: 188.4 kB / 360.4 MB, free: 7.492 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.877/1.877, allocations: 205.1 MB / 0.6188 GB, free: 12.43 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.001365/0.001364, allocations: 94.23 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.223e-05/1.246e-05, allocations: 4 kB / 0.8502 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6714/0.6714, allocations: 115.2 MB / 0.9628 GB, free: 78.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.482/6.153, allocations: 2.367 GB / 3.329 GB, free: 84.96 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/6.154, allocations: 91.84 kB / 3.33 GB, free: 84.92 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.734/15.89, allocations: 2.06 GB / 5.39 GB, free: 99.11 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.001221/15.89, allocations: 137 kB / 5.39 GB, free: 99.09 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: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.02537/15.91, allocations: 5.131 MB / 5.395 GB, free: 97.25 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/15.91, allocations: 8.406 kB / 5.395 GB, free: 97.25 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01343/15.93, allocations: 1.283 MB / 5.396 GB, free: 96.94 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02632/15.95, allocations: 6.814 MB / 5.403 GB, free: 96.15 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003149/15.95, allocations: 129.1 kB / 5.403 GB, free: 96.15 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002151/15.96, allocations: 246.7 kB / 5.403 GB, free: 96.14 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01684/15.97, allocations: 4.65 MB / 5.408 GB, free: 96.13 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02059/15.99, allocations: 5.069 MB / 5.413 GB, free: 95.8 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002485/15.99, allocations: 12.45 kB / 5.413 GB, free: 95.8 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001653/16, allocations: 7.844 kB / 5.413 GB, free: 95.8 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002516/16, allocations: 196.2 kB / 5.413 GB, free: 95.79 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05929/16.06, allocations: 24.57 MB / 5.437 GB, free: 86 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009856/16.07, allocations: 3.686 MB / 5.44 GB, free: 85.65 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005442/16.07, allocations: 2.109 MB / 5.443 GB, free: 85.62 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001797/16.07, allocations: 1.09 MB / 5.444 GB, free: 84.49 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005794/16.08, allocations: 1.991 MB / 5.446 GB, free: 84.3 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=273): time 6.662e-06/16.08, allocations: 3.188 kB / 5.446 GB, free: 84.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=277): time 0.04315/16.12, allocations: 9.749 MB / 5.455 GB, free: 81.81 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/16.12, allocations: 192.4 kB / 5.455 GB, free: 81.62 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01123/16.13, allocations: 3.67 MB / 5.459 GB, free: 81.34 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0009632/16.13, allocations: 32.14 kB / 5.459 GB, free: 81.31 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002971/16.14, allocations: 1.481 MB / 5.46 GB, free: 80.55 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.003089/16.14, allocations: 0.9179 MB / 5.461 GB, free: 79.95 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000345/16.14, allocations: 0 / 5.461 GB, free: 79.95 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003121/16.14, allocations: 421.8 kB / 5.462 GB, free: 79.64 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004641/16.15, allocations: 1.478 MB / 5.463 GB, free: 79.63 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0057/16.15, allocations: 2.222 MB / 5.465 GB, free: 78.91 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00728/16.16, allocations: 2.064 MB / 5.467 GB, free: 78.86 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.09e-05/16.16, allocations: 11.44 kB / 5.467 GB, free: 78.85 MB / 0.9792 GB Notification: Performance of matching and sorting (n=354) (initialization): time 0.01605/16.17, allocations: 4.208 MB / 5.471 GB, free: 78.52 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001303/16.18, allocations: 5.289 MB / 5.477 GB, free: 73.06 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.787e-05/16.18, allocations: 11.28 kB / 5.477 GB, free: 73.06 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008095/16.18, allocations: 129.7 kB / 5.477 GB, free: 73.05 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006421/16.18, allocations: 0.6264 MB / 5.477 GB, free: 73.05 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003732/16.19, allocations: 2.604 MB / 5.48 GB, free: 71.19 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01031/16.2, allocations: 412.1 kB / 5.48 GB, free: 71.16 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001176/16.2, allocations: 112.2 kB / 5.48 GB, free: 71.16 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/16.2, allocations: 3.594 kB / 5.48 GB, free: 71.16 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01354/16.21, allocations: 3.764 MB / 5.484 GB, free: 71.07 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.069e-05/16.21, allocations: 12.88 kB / 5.484 GB, free: 71.07 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005746/16.21, allocations: 123.9 kB / 5.484 GB, free: 71.05 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005943/16.22, allocations: 0.6184 MB / 5.485 GB, free: 71.05 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/16.22, allocations: 1.99 MB / 5.487 GB, free: 69.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009498/16.23, allocations: 395.2 kB / 5.487 GB, free: 69.74 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009973/16.23, allocations: 113.5 kB / 5.487 GB, free: 69.74 MB / 0.9792 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.001306/16.23, allocations: 245.2 kB / 5.487 GB, free: 69.56 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001773/16.24, allocations: 408.3 kB / 5.488 GB, free: 69.36 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01453/16.25, allocations: 4.025 MB / 5.492 GB, free: 69.15 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.131e-05/16.25, allocations: 31.36 kB / 5.492 GB, free: 69.15 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/16.25, allocations: 3.156 kB / 5.492 GB, free: 69.15 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01108/16.26, allocations: 3.394 MB / 5.495 GB, free: 68.9 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0327/16.29, allocations: 10.1 MB / 5.505 GB, free: 67.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.169e-05/16.29, allocations: 5.344 kB / 5.505 GB, free: 67.77 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006246/16.3, allocations: 0.5865 MB / 5.505 GB, free: 67.77 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006589/16.3, allocations: 107.8 kB / 5.506 GB, free: 67.76 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007283/16.3, allocations: 60.39 kB / 5.506 GB, free: 67.76 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003361/16.31, allocations: 2.584 MB / 5.508 GB, free: 65.74 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/16.31, allocations: 7.469 kB / 5.508 GB, free: 65.74 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0199/16.33, allocations: 6.814 MB / 5.515 GB, free: 62.62 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005406/16.33, allocations: 1.072 MB / 5.516 GB, free: 62.03 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002299/16.33, allocations: 32.41 kB / 5.516 GB, free: 62.02 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008609/16.34, allocations: 357.3 kB / 5.516 GB, free: 62 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009196/16.34, allocations: 146.5 kB / 5.516 GB, free: 61.97 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005597/16.34, allocations: 114.5 kB / 5.516 GB, free: 61.95 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.008973/16.35, allocations: 2.86 MB / 5.519 GB, free: 60.88 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01861/16.37, allocations: 2.521 MB / 5.522 GB, free: 60.68 MB / 0.9792 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.006976/16.38, allocations: 3.004 MB / 5.525 GB, free: 59.64 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01686/16.4, allocations: 5.988 MB / 5.531 GB, free: 57.45 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-05/16.4, allocations: 5.578 kB / 5.531 GB, free: 57.45 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.005406/16.4, allocations: 1.976 MB / 5.532 GB, free: 56.7 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02523/16.43, allocations: 2.535 MB / 5.535 GB, free: 56.31 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04011/16.47, allocations: 10.14 MB / 5.545 GB, free: 49.9 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01151/16.48, allocations: 4.409 MB / 5.549 GB, free: 46.51 MB / 0.9792 GB Notification: Performance of SimCode: time 1.583e-06/16.48, allocations: 0 / 5.549 GB, free: 46.51 MB / 0.9792 GB Notification: Performance of Templates: time 0.7808/17.26, allocations: 124.9 MB / 5.671 GB, free: 205.8 MB / 0.9948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1)