Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.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.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") [: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.292/2.292, allocations: 284.9 MB / 292.2 MB, free: 10.74 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.001649/0.001648, allocations: 185.2 kB / 360.4 MB, free: 7.496 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.836/1.836, allocations: 205.2 MB / 0.6188 GB, free: 12.42 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.00125/0.001249, allocations: 85.78 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.095e-05/1.115e-05, allocations: 4 kB / 0.8503 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6888/0.6889, allocations: 115.2 MB / 0.9628 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.701/6.39, allocations: 2.457 GB / 3.42 GB, free: 11.28 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/6.39, allocations: 92.72 kB / 3.42 GB, free: 11.19 MB / 1.104 GB Notification: Performance of FrontEnd: time 5.72/12.11, allocations: 1.159 GB / 4.579 GB, free: 109.5 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0003414/12.11, allocations: 51.98 kB / 4.579 GB, free: 109.4 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.01097/12.12, allocations: 2.736 MB / 4.582 GB, free: 106.6 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/12.12, allocations: 12.03 kB / 4.582 GB, free: 106.6 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02903/12.15, allocations: 2.381 MB / 4.584 GB, free: 104.2 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008265/12.16, allocations: 2.066 MB / 4.586 GB, free: 102.1 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001372/12.16, allocations: 219.1 kB / 4.586 GB, free: 101.9 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009458/12.16, allocations: 107.9 kB / 4.586 GB, free: 101.8 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00816/12.17, allocations: 2.24 MB / 4.589 GB, free: 99.55 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007755/12.18, allocations: 2.111 MB / 4.591 GB, free: 97.4 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.634e-05/12.18, allocations: 0 / 4.591 GB, free: 97.4 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000372/12.18, allocations: 0 / 4.591 GB, free: 97.4 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.885e-05/12.18, allocations: 71.2 kB / 4.591 GB, free: 97.33 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0293/12.21, allocations: 8.903 MB / 4.599 GB, free: 88.13 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005164/12.21, allocations: 1.708 MB / 4.601 GB, free: 86.39 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002981/12.22, allocations: 1.02 MB / 4.602 GB, free: 85.38 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01558/12.23, allocations: 5.178 MB / 4.607 GB, free: 79.86 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003225/12.23, allocations: 1.223 MB / 4.608 GB, free: 78.61 MB / 1.135 GB Notification: Performance of pre-optimization done (n=151): time 5.29e-06/12.23, allocations: 0 / 4.608 GB, free: 78.61 MB / 1.135 GB Notification: Performance of matching and sorting (n=151): time 0.01508/12.25, allocations: 2.512 MB / 4.611 GB, free: 76.08 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.126e-05/12.25, allocations: 149.8 kB / 4.611 GB, free: 75.9 MB / 1.135 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:6912:7-6912:44:writable] Warning: Parameter hex.UAFroRated.staWat.T has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:6911:7-6911:55:writable] Warning: Parameter hex.UAFroRated.staWat.p has no value, and is fixed during initialization (fixed=true), using available start value (start=300000.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:6135:7-6136:64:writable] Warning: Parameter hex.UAFroRated.staAir.X[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.99) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:6135:7-6136:64:writable] Warning: Parameter hex.UAFroRated.staAir.X[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.01) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:6134:7-6134:44:writable] Warning: Parameter hex.UAFroRated.staAir.T has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:6133:7-6133:55:writable] Warning: Parameter hex.UAFroRated.staAir.p has no value, and is fixed during initialization (fixed=true), using available start value (start=101325.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003536/12.25, allocations: 1.237 MB / 4.612 GB, free: 74.66 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0006982/12.25, allocations: 29.7 kB / 4.612 GB, free: 74.63 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008442/12.25, allocations: 0.6033 MB / 4.613 GB, free: 74.02 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.001236/12.26, allocations: 476.8 kB / 4.613 GB, free: 73.54 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003294/12.26, allocations: 0 / 4.613 GB, free: 73.54 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0002064/12.26, allocations: 377.8 kB / 4.614 GB, free: 73.17 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003084/12.26, allocations: 0.8826 MB / 4.614 GB, free: 72.29 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00374/12.26, allocations: 1.213 MB / 4.616 GB, free: 70.95 MB / 1.135 GB Notification: It was not possible to analyze the given system symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.007985/12.27, allocations: 1.619 MB / 4.617 GB, free: 69.3 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.928e-05/12.27, allocations: 4 kB / 4.617 GB, free: 69.3 MB / 1.135 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.01485/12.29, allocations: 2.753 MB / 4.62 GB, free: 66.53 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005141/12.29, allocations: 2.326 MB / 4.622 GB, free: 64.07 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.712e-05/12.29, allocations: 8 kB / 4.622 GB, free: 64.06 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/12.29, allocations: 234.4 kB / 4.622 GB, free: 63.82 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01005/12.3, allocations: 0.8036 MB / 4.623 GB, free: 63.02 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004285/12.3, allocations: 3.854 MB / 4.627 GB, free: 58.88 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008579/12.31, allocations: 478.3 kB / 4.627 GB, free: 58.41 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009346/12.31, allocations: 99.91 kB / 4.627 GB, free: 58.32 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/12.31, allocations: 6.812 kB / 4.627 GB, free: 58.31 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01424/12.33, allocations: 2.533 MB / 4.63 GB, free: 55.77 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.701e-05/12.33, allocations: 12.06 kB / 4.63 GB, free: 55.76 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/12.33, allocations: 238.6 kB / 4.63 GB, free: 55.52 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01004/12.34, allocations: 0.7959 MB / 4.631 GB, free: 54.72 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004116/12.34, allocations: 3.854 MB / 4.635 GB, free: 50.58 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007999/12.35, allocations: 446.8 kB / 4.635 GB, free: 50.14 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008656/12.35, allocations: 95.91 kB / 4.635 GB, free: 50.05 MB / 1.135 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: hex.UAFroRated.hAirOut = 45300.945 hex.UAFroRated.X_wAirIn = 0.01 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hex.heaCoo.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 18 (hex.UAFroRated.isFulDry,hex.UAFroRated.isFulWet,hex.flowRegime_nominal,$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,hex.flowRegime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 191 * 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: 3 * 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: 0 * Non-linear torn systems: 3 {1 1,1 2,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0009095/12.35, allocations: 215.9 kB / 4.635 GB, free: 49.82 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009103/12.35, allocations: 185.8 kB / 4.636 GB, free: 49.63 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01405/12.37, allocations: 2.774 MB / 4.638 GB, free: 46.83 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.483e-05/12.37, allocations: 16 kB / 4.638 GB, free: 46.82 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/12.37, allocations: 0 / 4.638 GB, free: 46.82 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-05/12.37, allocations: 7.969 kB / 4.638 GB, free: 46.81 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02168/12.39, allocations: 5.393 MB / 4.644 GB, free: 41.32 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.523e-05/12.39, allocations: 4 kB / 4.644 GB, free: 41.32 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006996/12.4, allocations: 0.5621 MB / 4.644 GB, free: 40.76 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001689/12.4, allocations: 238.4 kB / 4.644 GB, free: 40.52 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006378/12.4, allocations: 47.84 kB / 4.644 GB, free: 40.47 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003379/12.4, allocations: 2.6 MB / 4.647 GB, free: 37.7 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/12.4, allocations: 7.938 kB / 4.647 GB, free: 37.69 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01727/12.42, allocations: 4.139 MB / 4.651 GB, free: 33.41 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002411/12.42, allocations: 0.6192 MB / 4.652 GB, free: 32.77 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008875/12.42, allocations: 8 kB / 4.652 GB, free: 32.77 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007144/12.43, allocations: 379.4 kB / 4.652 GB, free: 32.39 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004506/12.43, allocations: 85.19 kB / 4.652 GB, free: 32.31 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004217/12.43, allocations: 71.94 kB / 4.652 GB, free: 32.24 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.002153/12.43, allocations: 0.9159 MB / 4.653 GB, free: 31.33 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.007271/12.44, allocations: 1.454 MB / 4.654 GB, free: 29.88 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (hex.dryWetCalcs.fullyWet.TWatOutEst,senRelHum.phi) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * 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 (141): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 2,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005328/12.45, allocations: 2.77 MB / 4.657 GB, free: 26.93 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.01467/12.46, allocations: 3.925 MB / 4.661 GB, free: 22.96 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/12.46, allocations: 4 kB / 4.661 GB, free: 22.96 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.003883/12.46, allocations: 1.273 MB / 4.662 GB, free: 21.67 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007315/12.47, allocations: 0.721 MB / 4.663 GB, free: 20.95 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0314/12.5, allocations: 4.079 MB / 4.667 GB, free: 16.79 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003903/12.51, allocations: 1.815 MB / 4.669 GB, free: 14.93 MB / 1.135 GB Notification: Performance of SimCode: time 1.432e-06/12.51, allocations: 0 / 4.669 GB, free: 14.93 MB / 1.135 GB Notification: Performance of Templates: time 0.8335/13.34, allocations: 73.97 MB / 4.741 GB, free: 260 MB / 1.167 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe 2>&1)