Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.617/1.617, allocations: 289.8 MB / 297.1 MB, free: 8.996 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001567/0.001567, allocations: 188.6 kB / 366.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 205.1 MB / 0.6256 GB, free: 11.41 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 85.72 kB / 0.7396 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 8.646e-06/8.757e-06, allocations: 4 kB / 0.859 GB, free: 148.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2502, allocations: 116.3 MB / 0.9726 GB, free: 31.76 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.436/5.687, allocations: 2.368 GB / 3.34 GB, free: 334.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/5.687, allocations: 83.95 kB / 3.34 GB, free: 334.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 6.625/12.31, allocations: 2.06 GB / 5.401 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.00114/12.31, allocations: 137.2 kB / 5.401 GB, free: 103.6 MB / 0.9948 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.02355/12.34, allocations: 5.137 MB / 5.406 GB, free: 98.42 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/12.34, allocations: 8.031 kB / 5.406 GB, free: 98.41 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/12.35, allocations: 1.277 MB / 5.407 GB, free: 97.13 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02042/12.37, allocations: 6.813 MB / 5.414 GB, free: 90.38 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003024/12.37, allocations: 131.9 kB / 5.414 GB, free: 90.26 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002254/12.37, allocations: 243.9 kB / 5.414 GB, free: 90.02 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0123/12.38, allocations: 4.654 MB / 5.419 GB, free: 85.36 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0116/12.39, allocations: 5.072 MB / 5.424 GB, free: 80.21 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/12.39, allocations: 8 kB / 5.424 GB, free: 80.2 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005009/12.4, allocations: 9.422 kB / 5.424 GB, free: 80.2 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001551/12.4, allocations: 199.6 kB / 5.424 GB, free: 80 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03799/12.43, allocations: 24.56 MB / 5.448 GB, free: 54.4 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005121/12.44, allocations: 3.686 MB / 5.451 GB, free: 50.67 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002483/12.44, allocations: 2.106 MB / 5.453 GB, free: 48.56 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/12.44, allocations: 1.096 MB / 5.454 GB, free: 47.25 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00258/12.45, allocations: 1.986 MB / 5.456 GB, free: 45.2 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=273): time 5.32e-06/12.45, allocations: 0 / 5.456 GB, free: 45.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=277): time 0.02565/12.47, allocations: 9.75 MB / 5.466 GB, free: 35.27 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.818e-05/12.47, allocations: 192.3 kB / 5.466 GB, free: 35.05 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005879/12.48, allocations: 3.671 MB / 5.47 GB, free: 31.36 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009444/12.48, allocations: 36.77 kB / 5.47 GB, free: 31.32 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001747/12.48, allocations: 1.482 MB / 5.471 GB, free: 29.82 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002139/12.48, allocations: 0.9123 MB / 5.472 GB, free: 28.89 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/12.48, allocations: 4 kB / 5.472 GB, free: 28.89 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001847/12.48, allocations: 415.7 kB / 5.473 GB, free: 28.48 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/12.48, allocations: 1.481 MB / 5.474 GB, free: 27 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002253/12.49, allocations: 2.222 MB / 5.476 GB, free: 24.5 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003222/12.49, allocations: 2.065 MB / 5.478 GB, free: 22.41 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/12.49, allocations: 4 kB / 5.478 GB, free: 22.41 MB / 0.9948 GB Notification: Performance of matching and sorting (n=354) (initialization): time 0.007268/12.5, allocations: 4.218 MB / 5.482 GB, free: 18.15 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009464/12.5, allocations: 5.28 MB / 5.487 GB, free: 12.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/12.5, allocations: 12 kB / 5.487 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004178/12.5, allocations: 128.8 kB / 5.488 GB, free: 12.39 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002825/12.5, allocations: 0.6202 MB / 5.488 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/12.5, allocations: 2.61 MB / 5.491 GB, free: 9.031 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006256/12.51, allocations: 406.9 kB / 5.491 GB, free: 8.633 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004978/12.51, allocations: 120 kB / 5.491 GB, free: 8.516 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/12.51, allocations: 6.5 kB / 5.491 GB, free: 8.512 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006321/12.52, allocations: 3.76 MB / 5.495 GB, free: 4.719 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/12.52, allocations: 12 kB / 5.495 GB, free: 4.707 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003669/12.52, allocations: 125.5 kB / 5.495 GB, free: 4.582 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002569/12.52, allocations: 0.6124 MB / 5.496 GB, free: 3.969 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/12.52, allocations: 2.002 MB / 5.498 GB, free: 1.859 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006303/12.53, allocations: 387 kB / 5.498 GB, free: 1.48 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005347/12.53, allocations: 123.9 kB / 5.498 GB, free: 1.359 MB / 0.9948 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.0009844/12.53, allocations: 235.9 kB / 5.498 GB, free: 1.109 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001485/12.53, allocations: 415.1 kB / 5.499 GB, free: 0.6992 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5049/13.04, allocations: 4.024 MB / 5.503 GB, free: 216 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.138e-05/13.04, allocations: 30.53 kB / 5.503 GB, free: 216 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/13.04, allocations: 4.156 kB / 5.503 GB, free: 216 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005159/13.04, allocations: 3.386 MB / 5.506 GB, free: 215.7 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01996/13.06, allocations: 10.09 MB / 5.516 GB, free: 214.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/13.06, allocations: 3.375 kB / 5.516 GB, free: 214.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002936/13.06, allocations: 0.5932 MB / 5.516 GB, free: 214.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003594/13.06, allocations: 110.4 kB / 5.516 GB, free: 214.7 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002455/13.06, allocations: 51.16 kB / 5.517 GB, free: 214.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/13.07, allocations: 2.588 MB / 5.519 GB, free: 212.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/13.07, allocations: 6.75 kB / 5.519 GB, free: 212.8 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009693/13.08, allocations: 6.821 MB / 5.526 GB, free: 211.9 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003835/13.08, allocations: 1.071 MB / 5.527 GB, free: 211.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001651/13.08, allocations: 36.22 kB / 5.527 GB, free: 211.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005192/13.09, allocations: 355.6 kB / 5.527 GB, free: 211.8 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003285/13.09, allocations: 146.2 kB / 5.527 GB, free: 211.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003438/13.09, allocations: 112.1 kB / 5.527 GB, free: 211.8 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.005089/13.09, allocations: 2.861 MB / 5.53 GB, free: 211.6 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01312/13.11, allocations: 2.522 MB / 5.533 GB, free: 211.6 MB / 0.9948 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.005183/13.11, allocations: 3.004 MB / 5.536 GB, free: 210.7 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.009338/13.12, allocations: 5.986 MB / 5.541 GB, free: 210.3 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/13.12, allocations: 3.531 kB / 5.541 GB, free: 210.3 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002823/13.12, allocations: 1.974 MB / 5.543 GB, free: 210.1 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01454/13.14, allocations: 2.536 MB / 5.546 GB, free: 210.1 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02875/13.17, allocations: 10.15 MB / 5.556 GB, free: 208.4 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006561/13.17, allocations: 4.397 MB / 5.56 GB, free: 207.5 MB / 0.9948 GB Notification: Performance of SimCode: time 7.11e-07/13.17, allocations: 3.938 kB / 5.56 GB, free: 207.5 MB / 0.9948 GB Notification: Performance of Templates: time 0.2042/13.38, allocations: 124.9 MB / 5.682 GB, free: 202.1 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1)