Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.972/1.972, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001086/0.001086, allocations: 189.2 kB / 490.8 MB, free: 1.902 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.372/1.372, allocations: 221.3 MB / 0.7863 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009464/0.0009464, allocations: 84.67 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.345e-06/8.566e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2975, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.196/5.493, allocations: 2.296 GB / 3.508 GB, free: 9.262 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/5.494, allocations: 91.88 kB / 3.508 GB, free: 9.176 MB / 1.151 GB Notification: Performance of FrontEnd: time 9.086/14.58, allocations: 2.493 GB / 6.001 GB, free: 120.6 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.0005308/14.58, allocations: 110.8 kB / 6.001 GB, free: 120.5 MB / 1.245 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.01605/14.6, allocations: 4.992 MB / 6.006 GB, free: 118.4 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/14.6, allocations: 8.891 kB / 6.006 GB, free: 118.4 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03225/14.63, allocations: 4.789 MB / 6.01 GB, free: 118.1 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01257/14.64, allocations: 4.277 MB / 6.014 GB, free: 117.4 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001418/14.64, allocations: 436.4 kB / 6.015 GB, free: 117.4 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001629/14.64, allocations: 207.4 kB / 6.015 GB, free: 117.4 MB / 1.245 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01023/14.66, allocations: 4.466 MB / 6.019 GB, free: 117.4 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008539/14.66, allocations: 4.219 MB / 6.024 GB, free: 117.1 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.955e-05/14.66, allocations: 1.312 kB / 6.024 GB, free: 117.1 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004495/14.66, allocations: 2.094 kB / 6.024 GB, free: 117.1 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001101/14.66, allocations: 141.2 kB / 6.024 GB, free: 117.1 MB / 1.245 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0447/14.71, allocations: 21.74 MB / 6.045 GB, free: 109.8 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004901/14.71, allocations: 3.01 MB / 6.048 GB, free: 109.6 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002343/14.72, allocations: 1.562 MB / 6.049 GB, free: 109.6 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01552/14.73, allocations: 8.352 MB / 6.058 GB, free: 106.8 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003/14.74, allocations: 1.828 MB / 6.059 GB, free: 106.7 MB / 1.245 GB Notification: Performance of pre-optimization done (n=231): time 5.961e-06/14.74, allocations: 0 / 6.059 GB, free: 106.7 MB / 1.245 GB Notification: Performance of matching and sorting (n=231): time 0.01653/14.75, allocations: 4.423 MB / 6.064 GB, free: 106.3 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/14.75, allocations: 129.7 kB / 6.064 GB, free: 106.2 MB / 1.245 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.006836/14.76, allocations: 2.7 MB / 6.066 GB, free: 105.9 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.0008121/14.76, allocations: 33.44 kB / 6.066 GB, free: 105.9 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.001409/14.76, allocations: 1.327 MB / 6.068 GB, free: 105.2 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.001469/14.76, allocations: 0.7653 MB / 6.068 GB, free: 104.7 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007729/14.76, allocations: 3.281 kB / 6.068 GB, free: 104.7 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0002429/14.76, allocations: 423.9 kB / 6.069 GB, free: 104.3 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003351/14.77, allocations: 1.625 MB / 6.07 GB, free: 104.3 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003723/14.77, allocations: 2.332 MB / 6.073 GB, free: 103.6 MB / 1.245 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.00736/14.78, allocations: 2.681 MB / 6.075 GB, free: 103.4 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.6e-05/14.78, allocations: 3.188 kB / 6.075 GB, free: 103.4 MB / 1.245 GB Notification: Performance of matching and sorting (n=405) (initialization): time 0.01843/14.8, allocations: 5.598 MB / 6.081 GB, free: 103 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/14.8, allocations: 7.312 kB / 6.081 GB, free: 103 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-05/14.8, allocations: 15.72 kB / 6.081 GB, free: 103 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004535/14.8, allocations: 1.163 MB / 6.082 GB, free: 102.9 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009223/14.81, allocations: 1.403 MB / 6.083 GB, free: 102.9 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/14.82, allocations: 13.45 MB / 6.096 GB, free: 91.62 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01104/14.83, allocations: 1.231 MB / 6.098 GB, free: 91.46 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001206/14.83, allocations: 174.1 kB / 6.098 GB, free: 91.46 MB / 1.245 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: 62 * Number of states: 0 () * Number of discrete variables: 11 (hexWetNTU.UAFroRated.isFulDry,hexWetNTU.UAFroRated.isFulWet,$whenCondition1,$PRE.w_a2.nextTimeEvent,w_a2.nextTimeEvent,$PRE.w_a2.nextTimeEventScaled,w_a2.nextTimeEventScaled,hexWetNTU.flowRegime_nominal,hexWetNTU_TX.UAFroRated.isFulDry,hexWetNTU_TX.UAFroRated.isFulWet,hexWetNTU_TX.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (374): * Single equations (assignments): 362 * 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.001741/14.84, allocations: 209.9 kB / 6.098 GB, free: 91.34 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001939/14.84, allocations: 358.8 kB / 6.098 GB, free: 91.16 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02008/14.86, allocations: 5.117 MB / 6.103 GB, free: 90.91 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.491e-05/14.86, allocations: 33.34 kB / 6.103 GB, free: 90.91 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/14.86, allocations: 1.312 kB / 6.103 GB, free: 90.91 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-05/14.86, allocations: 13.64 kB / 6.103 GB, free: 90.91 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02738/14.89, allocations: 9.584 MB / 6.113 GB, free: 90.07 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/14.89, allocations: 4.125 kB / 6.113 GB, free: 90.07 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005075/14.89, allocations: 0.6986 MB / 6.113 GB, free: 90.07 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004142/14.9, allocations: 0.9808 MB / 6.114 GB, free: 89.99 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005391/14.9, allocations: 57.19 kB / 6.114 GB, free: 89.99 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01306/14.91, allocations: 11.54 MB / 6.126 GB, free: 80.61 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.164e-05/14.91, allocations: 3.625 kB / 6.126 GB, free: 80.61 MB / 1.245 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02305/14.93, allocations: 7.032 MB / 6.133 GB, free: 77.8 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004727/14.94, allocations: 1.078 MB / 6.134 GB, free: 77.1 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002374/14.94, allocations: 3.938 kB / 6.134 GB, free: 77.1 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008491/14.95, allocations: 0.6608 MB / 6.134 GB, free: 77.09 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009888/14.95, allocations: 132 kB / 6.134 GB, free: 77.07 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001128/14.95, allocations: 115.6 kB / 6.135 GB, free: 77.05 MB / 1.245 GB Notification: Performance of sort global known variables: time 0.006619/14.96, allocations: 1.951 MB / 6.136 GB, free: 76.22 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.01039/14.97, allocations: 1.887 MB / 6.138 GB, free: 75.7 MB / 1.245 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: 3 ($whenCondition1,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 (219): * Single equations (assignments): 204 * 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.009995/14.98, allocations: 6.072 MB / 6.144 GB, free: 72.61 MB / 1.245 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 {13, 12, 11:36, 34, 37, 35, 33, 32, 38} 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]