Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hexWetNTU.Q1_flow|hexWetNTU_TX.Q1_flow|hexWetNTU.sta_b2.T|hexWetNTU_TX.sta_b2.T|relHumOut_eps.phi|hexWetNTU.SHR|hexWetNTU.dryFra|hexWetNTU.UA_nominal|hexWetNTU_TX.UA_nominal",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hexWetNTU.Q1_flow|hexWetNTU_TX.Q1_flow|hexWetNTU.sta_b2.T|hexWetNTU_TX.sta_b2.T|relHumOut_eps.phi|hexWetNTU.SHR|hexWetNTU.dryFra|hexWetNTU.UA_nominal|hexWetNTU_TX.UA_nominal",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") [: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 9.1.1-maint.9.1.x/package.mo): time 2.097/2.097, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 168.5 kB / 487 MB, free: 5.375 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 221.3 MB / 0.7819 GB, free: 1.316 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 93.94 kB / 0.9213 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.536e-06/8.566e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3238, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.281/6.605, allocations: 2.295 GB / 3.5 GB, free: 419.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003408/6.606, allocations: 97.22 kB / 3.5 GB, free: 419.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 8.278/14.88, allocations: 2.493 GB / 5.993 GB, free: 105 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.000565/14.88, allocations: 110 kB / 5.993 GB, free: 105 MB / 1.229 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.01923/14.9, allocations: 4.992 MB / 5.998 GB, free: 102.7 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/14.9, allocations: 11.47 kB / 5.998 GB, free: 102.7 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03446/14.94, allocations: 4.783 MB / 6.002 GB, free: 102.4 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01379/14.95, allocations: 4.273 MB / 6.007 GB, free: 101.7 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001407/14.95, allocations: 429.9 kB / 6.007 GB, free: 101.7 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001767/14.96, allocations: 211.5 kB / 6.007 GB, free: 101.7 MB / 1.229 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01017/14.97, allocations: 4.471 MB / 6.012 GB, free: 101.6 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009362/14.97, allocations: 4.215 MB / 6.016 GB, free: 101.3 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-05/14.97, allocations: 2.953 kB / 6.016 GB, free: 101.3 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004706/14.98, allocations: 3.5 kB / 6.016 GB, free: 101.3 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/14.98, allocations: 136.4 kB / 6.016 GB, free: 101.3 MB / 1.229 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04539/15.02, allocations: 21.73 MB / 6.037 GB, free: 93.79 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005119/15.03, allocations: 3.031 MB / 6.04 GB, free: 93.64 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002398/15.03, allocations: 1.571 MB / 6.042 GB, free: 93.63 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0162/15.04, allocations: 8.358 MB / 6.05 GB, free: 90.77 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003688/15.05, allocations: 1.725 MB / 6.051 GB, free: 90.7 MB / 1.229 GB Notification: Performance of pre-optimization done (n=233): time 5.56e-06/15.05, allocations: 0 / 6.051 GB, free: 90.7 MB / 1.229 GB Notification: Performance of matching and sorting (n=233): time 0.01834/15.07, allocations: 4.438 MB / 6.056 GB, free: 90.36 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/15.07, allocations: 75.53 kB / 6.056 GB, free: 90.3 MB / 1.229 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:5870:7-5870:44:writable] Warning: Parameter hexWetNTU.UAFroRated.staWat.T has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:5869:7-5869:55:writable] Warning: Parameter hexWetNTU.UAFroRated.staWat.p has no value, and is fixed during initialization (fixed=true), using available start value (start=300000.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:5093:7-5094:64:writable] Warning: Parameter hexWetNTU.UAFroRated.staAir.X[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.99) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:5093:7-5094:64:writable] Warning: Parameter hexWetNTU.UAFroRated.staAir.X[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.01) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:5092:7-5092:44:writable] Warning: Parameter hexWetNTU.UAFroRated.staAir.T has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:5091:7-5091:55:writable] Warning: Parameter hexWetNTU.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.007205/15.07, allocations: 2.691 MB / 6.058 GB, free: 90.02 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.001134/15.08, allocations: 32.52 kB / 6.059 GB, free: 89.99 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.001544/15.08, allocations: 1.318 MB / 6.06 GB, free: 89.25 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.0016/15.08, allocations: 0.7681 MB / 6.061 GB, free: 88.74 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004208/15.08, allocations: 1.156 kB / 6.061 GB, free: 88.74 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0001956/15.08, allocations: 426.4 kB / 6.061 GB, free: 88.43 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003399/15.08, allocations: 1.636 MB / 6.063 GB, free: 88.42 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004011/15.09, allocations: 2.306 MB / 6.065 GB, free: 87.71 MB / 1.229 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.008903/15.1, allocations: 2.691 MB / 6.067 GB, free: 87.44 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.407e-05/15.1, allocations: 6.781 kB / 6.067 GB, free: 87.44 MB / 1.229 GB Notification: Performance of matching and sorting (n=407) (initialization): time 0.02059/15.12, allocations: 5.61 MB / 6.073 GB, free: 85.87 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/15.12, allocations: 10.56 kB / 6.073 GB, free: 85.87 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.285e-05/15.12, allocations: 16.88 kB / 6.073 GB, free: 85.87 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00453/15.12, allocations: 1.156 MB / 6.074 GB, free: 85.61 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00986/15.13, allocations: 1.415 MB / 6.075 GB, free: 85.53 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/15.14, allocations: 13.45 MB / 6.089 GB, free: 73.21 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01177/15.16, allocations: 1.206 MB / 6.09 GB, free: 73.01 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001409/15.16, allocations: 181.1 kB / 6.09 GB, free: 72.98 MB / 1.229 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: hexWetNTU.UAFroRated.hAirOut = 45300.945 hexWetNTU.UAFroRated.X_wAirIn = 0.01 Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: hexWetNTU_TX.UAFroRated.cpEff:VARIABLE(min = 0.0 unit = "J/(kg.K)" fixed = false protected = true ) "Effective specific heat: change in saturated moist air enthalpy with respect to temperature along the saturation line between inlet and outlet water temperatures" type: Real hexWetNTU_TX.UAFroRated.LMED:VARIABLE(unit = "J/kg" fixed = false protected = true ) "Log mean enthalpy difference" type: Real hexWetNTU_TX.UAFroRated.UA:VARIABLE(unit = "W/K" protected = true ) = hexWetNTU_TX.UA_nominal "Overall heat transfer coefficient for a fully dry condition" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hexWetNTU_TX.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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hexWetNTU_TX.heaCooHum_u.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hexWetNTU.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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hexWetNTU.heaCooHum_u.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: 64 * Number of states: 0 () * Number of discrete variables: 13 (hexWetNTU.UAFroRated.isFulDry,hexWetNTU.UAFroRated.isFulWet,hexWetNTU.flowRegime_nominal,hexWetNTU_TX.flowRegime_nominal,$whenCondition1,$PRE.w_a2.nextTimeEvent,hexWetNTU.flowRegime,hexWetNTU_TX.flowRegime,w_a2.nextTimeEvent,$PRE.w_a2.nextTimeEventScaled,w_a2.nextTimeEventScaled,hexWetNTU_TX.UAFroRated.isFulDry,hexWetNTU_TX.UAFroRated.isFulWet) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (376): * Single equations (assignments): 364 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {3,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {1 1,1 2,1 2,1 4,1 4,1 2,1 4,1 4,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001162/15.16, allocations: 211.1 kB / 6.09 GB, free: 72.8 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001614/15.16, allocations: 355.4 kB / 6.09 GB, free: 72.62 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01747/15.18, allocations: 4.994 MB / 6.095 GB, free: 70.81 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.558e-05/15.18, allocations: 29.17 kB / 6.095 GB, free: 70.81 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/15.18, allocations: 0 / 6.095 GB, free: 70.81 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-05/15.18, allocations: 11.02 kB / 6.095 GB, free: 70.81 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02678/15.2, allocations: 9.457 MB / 6.105 GB, free: 66.7 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/15.2, allocations: 3.656 kB / 6.105 GB, free: 66.7 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005421/15.21, allocations: 0.6962 MB / 6.105 GB, free: 66.63 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004472/15.21, allocations: 0.9868 MB / 6.106 GB, free: 66.35 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009061/15.21, allocations: 56.19 kB / 6.106 GB, free: 66.34 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01261/15.23, allocations: 11.55 MB / 6.118 GB, free: 55.88 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-05/15.23, allocations: 8.359 kB / 6.118 GB, free: 55.88 MB / 1.229 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02056/15.25, allocations: 6.92 MB / 6.124 GB, free: 50.54 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004113/15.25, allocations: 1.078 MB / 6.125 GB, free: 49.64 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001668/15.25, allocations: 9.125 kB / 6.125 GB, free: 49.64 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007481/15.26, allocations: 0.6482 MB / 6.126 GB, free: 49.15 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003663/15.26, allocations: 127.6 kB / 6.126 GB, free: 49.07 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004082/15.26, allocations: 121.5 kB / 6.126 GB, free: 48.99 MB / 1.229 GB Notification: Performance of sort global known variables: time 0.003691/15.27, allocations: 1.943 MB / 6.128 GB, free: 47.22 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.008898/15.27, allocations: 1.883 MB / 6.13 GB, free: 45.38 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (relHumIn.phi,TDryBulIn.T,senMasFraIn.X,senMasFraOut.X,TDryBulOut.T,hexWetNTU.dryWetCalcs.fullyWet.TWatOutEst,relHumOut_eps.phi,hexWetNTU_TX.dryWetCalcs.fullyWet.TWatOutEst) * Number of discrete variables: 5 ($whenCondition1,hexWetNTU.flowRegime,hexWetNTU_TX.flowRegime,w_a2.nextTimeEvent,w_a2.nextTimeEventScaled) * Number of discrete states: 2 (w_a2.nextTimeEvent,w_a2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (221): * Single equations (assignments): 206 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 4,1 4,1 2,1 1,1 4,1 4,1 2,1 1,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00914/15.28, allocations: 6.083 MB / 6.136 GB, free: 39.9 MB / 1.229 GB Error: Internal error function createNonlinearResidualEquations failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:3706:7-3706:48:writable] Error: Internal error createOdeSystem2 failed for Generic Jacobian via directional derivatives [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:3599:9-3599:50:writable] Error: Internal error function createOdeSystem failed for component {12, 11, 10:35, 34, 36, 33, 32, 31, 37} Size: 3 Generic Jacobian via directional derivatives [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:1356:5-1356:77:writable] Error: Internal error createEquationsForSystems failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:596:5-596:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]