Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.494/1.494, allocations: 285.5 MB / 292.8 MB, free: 1.066 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 187.2 kB / 361.1 MB, free: 15.43 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 205.1 MB / 0.6195 GB, free: 6.125 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 95.44 kB / 0.7326 GB, free: 46.99 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 8.135e-06/8.155e-06, allocations: 0 / 0.8511 GB, free: 13.07 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.781/0.781, allocations: 115.3 MB / 0.9637 GB, free: 85.91 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.516/6.297, allocations: 2.367 GB / 3.33 GB, free: 124.3 MB / 0.9405 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/6.298, allocations: 92.78 kB / 3.331 GB, free: 124.2 MB / 0.9405 GB Notification: Performance of FrontEnd: time 8.198/14.5, allocations: 2.06 GB / 5.391 GB, free: 112.9 MB / 0.9874 GB Notification: Performance of Transformations before backend: time 0.00122/14.5, allocations: 132.5 kB / 5.391 GB, free: 112.9 MB / 0.9874 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.02397/14.52, allocations: 5.141 MB / 5.396 GB, free: 111.2 MB / 0.9874 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/14.52, allocations: 7.5 kB / 5.396 GB, free: 111.2 MB / 0.9874 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01071/14.53, allocations: 1.282 MB / 5.397 GB, free: 110.9 MB / 0.9874 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02226/14.55, allocations: 6.814 MB / 5.404 GB, free: 110.1 MB / 0.9874 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003977/14.55, allocations: 126.9 kB / 5.404 GB, free: 110.1 MB / 0.9874 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002602/14.56, allocations: 243.1 kB / 5.404 GB, free: 110.1 MB / 0.9874 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0146/14.57, allocations: 4.652 MB / 5.409 GB, free: 110.1 MB / 0.9874 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02477/14.6, allocations: 5.076 MB / 5.414 GB, free: 109.7 MB / 0.9874 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003933/14.6, allocations: 17.59 kB / 5.414 GB, free: 109.7 MB / 0.9874 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002046/14.6, allocations: 6.781 kB / 5.414 GB, free: 109.7 MB / 0.9874 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002472/14.6, allocations: 196.9 kB / 5.414 GB, free: 109.7 MB / 0.9874 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05143/14.65, allocations: 24.55 MB / 5.438 GB, free: 99.95 MB / 0.9874 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00744/14.66, allocations: 3.687 MB / 5.442 GB, free: 99.62 MB / 0.9874 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00383/14.66, allocations: 2.105 MB / 5.444 GB, free: 99.58 MB / 0.9874 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001481/14.66, allocations: 1.091 MB / 5.445 GB, free: 98.45 MB / 0.9874 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004184/14.67, allocations: 1.99 MB / 5.447 GB, free: 98.27 MB / 0.9874 GB Notification: Performance of pre-optimization done (n=273): time 1.393e-05/14.67, allocations: 0 / 5.447 GB, free: 98.27 MB / 0.9874 GB Notification: Performance of matching and sorting (n=277): time 0.03385/14.7, allocations: 9.749 MB / 5.456 GB, free: 95.77 MB / 0.9874 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.944e-05/14.7, allocations: 196 kB / 5.456 GB, free: 95.58 MB / 0.9874 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00963/14.71, allocations: 3.669 MB / 5.46 GB, free: 95.3 MB / 0.9874 GB Notification: Performance of collectPreVariables (initialization): time 0.0009785/14.71, allocations: 32.67 kB / 5.46 GB, free: 95.27 MB / 0.9874 GB Notification: Performance of collectInitialEqns (initialization): time 0.002722/14.72, allocations: 1.482 MB / 5.461 GB, free: 94.52 MB / 0.9874 GB Notification: Performance of collectInitialBindings (initialization): time 0.002692/14.72, allocations: 0.9133 MB / 5.462 GB, free: 93.91 MB / 0.9874 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005312/14.72, allocations: 0 / 5.462 GB, free: 93.91 MB / 0.9874 GB Notification: Performance of setup shared object (initialization): time 0.0003339/14.72, allocations: 421.2 kB / 5.463 GB, free: 93.61 MB / 0.9874 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002862/14.72, allocations: 1.477 MB / 5.464 GB, free: 93.6 MB / 0.9874 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003236/14.72, allocations: 2.233 MB / 5.466 GB, free: 92.87 MB / 0.9874 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004262/14.73, allocations: 2.052 MB / 5.468 GB, free: 92.82 MB / 0.9874 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.148e-05/14.73, allocations: 7.875 kB / 5.468 GB, free: 92.82 MB / 0.9874 GB Notification: Performance of matching and sorting (n=354) (initialization): time 0.01031/14.74, allocations: 4.216 MB / 5.472 GB, free: 92.49 MB / 0.9874 GB Notification: Performance of prepare postOptimizeDAE: time 0.001484/14.74, allocations: 5.296 MB / 5.478 GB, free: 87.03 MB / 0.9874 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.451e-05/14.74, allocations: 12.78 kB / 5.478 GB, free: 87.03 MB / 0.9874 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000533/14.74, allocations: 118.8 kB / 5.478 GB, free: 87.02 MB / 0.9874 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003155/14.74, allocations: 0.6285 MB / 5.478 GB, free: 87.02 MB / 0.9874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002773/14.75, allocations: 2.616 MB / 5.481 GB, free: 85.15 MB / 0.9874 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006604/14.75, allocations: 397.6 kB / 5.481 GB, free: 85.12 MB / 0.9874 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005996/14.75, allocations: 121.3 kB / 5.481 GB, free: 85.12 MB / 0.9874 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/14.75, allocations: 3.219 kB / 5.481 GB, free: 85.12 MB / 0.9874 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008331/14.76, allocations: 3.766 MB / 5.485 GB, free: 85.03 MB / 0.9874 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.012e-05/14.76, allocations: 11.72 kB / 5.485 GB, free: 85.03 MB / 0.9874 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004344/14.76, allocations: 122.8 kB / 5.485 GB, free: 85.02 MB / 0.9874 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002865/14.77, allocations: 0.6178 MB / 5.486 GB, free: 85.02 MB / 0.9874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/14.77, allocations: 1.988 MB / 5.488 GB, free: 83.75 MB / 0.9874 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006181/14.77, allocations: 399.7 kB / 5.488 GB, free: 83.71 MB / 0.9874 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004937/14.78, allocations: 115.4 kB / 5.488 GB, free: 83.71 MB / 0.9874 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.001074/14.78, allocations: 234.2 kB / 5.488 GB, free: 83.54 MB / 0.9874 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001749/14.78, allocations: 415.3 kB / 5.489 GB, free: 83.33 MB / 0.9874 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009192/14.79, allocations: 4.022 MB / 5.493 GB, free: 83.12 MB / 0.9874 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.878e-05/14.79, allocations: 28.91 kB / 5.493 GB, free: 83.12 MB / 0.9874 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.412e-05/14.79, allocations: 2.125 kB / 5.493 GB, free: 83.12 MB / 0.9874 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006906/14.79, allocations: 3.394 MB / 5.496 GB, free: 82.87 MB / 0.9874 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02735/14.82, allocations: 10.1 MB / 5.506 GB, free: 81.73 MB / 0.9874 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/14.82, allocations: 3.25 kB / 5.506 GB, free: 81.73 MB / 0.9874 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003552/14.83, allocations: 0.5922 MB / 5.507 GB, free: 81.73 MB / 0.9874 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005042/14.83, allocations: 114.4 kB / 5.507 GB, free: 81.73 MB / 0.9874 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005027/14.83, allocations: 53.75 kB / 5.507 GB, free: 81.73 MB / 0.9874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002618/14.83, allocations: 2.583 MB / 5.509 GB, free: 79.87 MB / 0.9874 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.146e-05/14.83, allocations: 5.188 kB / 5.509 GB, free: 79.87 MB / 0.9874 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01367/14.84, allocations: 6.819 MB / 5.516 GB, free: 78.66 MB / 0.9874 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005498/14.85, allocations: 1.07 MB / 5.517 GB, free: 78.36 MB / 0.9874 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003122/14.85, allocations: 27 kB / 5.517 GB, free: 78.36 MB / 0.9874 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006884/14.86, allocations: 361.7 kB / 5.517 GB, free: 78.34 MB / 0.9874 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004739/14.86, allocations: 150.4 kB / 5.517 GB, free: 78.33 MB / 0.9874 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005089/14.86, allocations: 113.4 kB / 5.518 GB, free: 78.33 MB / 0.9874 GB Notification: Performance of sort global known variables: time 0.008203/14.87, allocations: 2.861 MB / 5.52 GB, free: 78.15 MB / 0.9874 GB Notification: Performance of remove unused functions: time 0.01705/14.88, allocations: 2.524 MB / 5.523 GB, free: 78.09 MB / 0.9874 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.00594/14.89, allocations: 2.998 MB / 5.526 GB, free: 77.1 MB / 0.9874 GB Notification: Performance of simCode: created initialization part: time 0.01099/14.9, allocations: 5.99 MB / 5.532 GB, free: 76.68 MB / 0.9874 GB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/14.9, allocations: 3.875 kB / 5.532 GB, free: 76.68 MB / 0.9874 GB Notification: Performance of simCode: created simulation system equations: time 0.003234/14.91, allocations: 1.978 MB / 5.534 GB, free: 76.5 MB / 0.9874 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01665/14.92, allocations: 2.535 MB / 5.536 GB, free: 76.43 MB / 0.9874 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03353/14.96, allocations: 10.17 MB / 5.546 GB, free: 74.31 MB / 0.9874 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01086/14.97, allocations: 4.398 MB / 5.55 GB, free: 72.79 MB / 0.9874 GB Notification: Performance of SimCode: time 1.212e-06/14.97, allocations: 0 / 5.55 GB, free: 72.79 MB / 0.9874 GB Notification: Performance of Templates: time 0.214/15.18, allocations: 124.9 MB / 5.672 GB, free: 3.953 MB / 1.003 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1)