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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) [: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 2.206/2.206, allocations: 390.4 MB / 397.7 MB, free: 11.3 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.001146/0.001146, allocations: 189.2 kB / 490.8 MB, free: 1.945 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.692/1.692, allocations: 221.4 MB / 0.7863 GB, free: 13.66 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.001298/0.001298, allocations: 94.53 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6954/0.6968, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/1.025, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.671/6.697, allocations: 2.296 GB / 3.508 GB, free: 10.03 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/6.697, allocations: 91.33 kB / 3.508 GB, free: 9.945 MB / 1.151 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 10.83/17.53, allocations: 2.498 GB / 6.006 GB, free: 120.5 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/17.53, allocations: 10.33 kB / 6.006 GB, free: 120.5 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03413/17.56, allocations: 4.783 MB / 6.01 GB, free: 120.3 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01692/17.58, allocations: 4.281 MB / 6.015 GB, free: 119.6 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001563/17.58, allocations: 437.5 kB / 6.015 GB, free: 119.6 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002628/17.58, allocations: 206.3 kB / 6.015 GB, free: 119.6 MB / 1.245 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01365/17.6, allocations: 4.472 MB / 6.02 GB, free: 119.6 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01298/17.61, allocations: 4.212 MB / 6.024 GB, free: 119.3 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.352e-05/17.61, allocations: 3.812 kB / 6.024 GB, free: 119.3 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004943/17.61, allocations: 0 / 6.024 GB, free: 119.3 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000124/17.61, allocations: 138.6 kB / 6.024 GB, free: 119.3 MB / 1.245 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04627/17.66, allocations: 21.73 MB / 6.045 GB, free: 111.9 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004891/17.66, allocations: 3.017 MB / 6.048 GB, free: 111.8 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002258/17.67, allocations: 1.56 MB / 6.05 GB, free: 111.8 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0152/17.68, allocations: 8.342 MB / 6.058 GB, free: 108.9 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002788/17.68, allocations: 1.824 MB / 6.06 GB, free: 108.9 MB / 1.245 GB Notification: Performance of pre-optimization done (n=231): time 4.589e-06/17.68, allocations: 5.375 kB / 6.06 GB, free: 108.9 MB / 1.245 GB Notification: Performance of matching and sorting (n=231): time 0.01695/17.7, allocations: 4.429 MB / 6.064 GB, free: 108.5 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/17.7, allocations: 129.4 kB / 6.064 GB, free: 108.4 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.009511/17.71, allocations: 2.699 MB / 6.067 GB, free: 108.1 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.001892/17.71, allocations: 28.3 kB / 6.067 GB, free: 108.1 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.002782/17.71, allocations: 1.333 MB / 6.068 GB, free: 107.3 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.00261/17.72, allocations: 0.7634 MB / 6.069 GB, free: 106.8 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000674/17.72, allocations: 0 / 6.069 GB, free: 106.8 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0004448/17.72, allocations: 429.4 kB / 6.069 GB, free: 106.5 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004015/17.72, allocations: 1.624 MB / 6.071 GB, free: 106.5 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004161/17.73, allocations: 2.334 MB / 6.073 GB, free: 105.8 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.007854/17.73, allocations: 2.684 MB / 6.076 GB, free: 105.5 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.074e-05/17.73, allocations: 5.719 kB / 6.076 GB, free: 105.5 MB / 1.245 GB Notification: Performance of matching and sorting (n=405) (initialization): time 0.01989/17.75, allocations: 5.596 MB / 6.081 GB, free: 105.2 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/17.75, allocations: 3.781 kB / 6.081 GB, free: 105.2 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.945e-05/17.75, allocations: 16.31 kB / 6.081 GB, free: 105.2 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004729/17.76, allocations: 1.163 MB / 6.082 GB, free: 105.1 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009846/17.77, allocations: 1.394 MB / 6.084 GB, free: 105.1 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/17.78, allocations: 13.45 MB / 6.097 GB, free: 93.8 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01263/17.79, allocations: 1.229 MB / 6.098 GB, free: 93.65 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001674/17.8, allocations: 177 kB / 6.098 GB, free: 93.65 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.001361/17.8, allocations: 214 kB / 6.098 GB, free: 93.53 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001873/17.8, allocations: 358.6 kB / 6.099 GB, free: 93.34 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02086/17.82, allocations: 5.126 MB / 6.104 GB, free: 93.1 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.787e-05/17.82, allocations: 34.27 kB / 6.104 GB, free: 93.09 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/17.82, allocations: 0.875 kB / 6.104 GB, free: 93.09 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.991e-05/17.82, allocations: 10.78 kB / 6.104 GB, free: 93.09 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03128/17.85, allocations: 9.583 MB / 6.113 GB, free: 92.26 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.299e-05/17.85, allocations: 2.656 kB / 6.113 GB, free: 92.26 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006042/17.86, allocations: 0.6955 MB / 6.114 GB, free: 92.26 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004418/17.86, allocations: 0.9802 MB / 6.115 GB, free: 92.18 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000979/17.86, allocations: 58.19 kB / 6.115 GB, free: 92.18 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/17.88, allocations: 11.54 MB / 6.126 GB, free: 82.8 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/17.88, allocations: 7.375 kB / 6.126 GB, free: 82.8 MB / 1.245 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02198/17.9, allocations: 7.028 MB / 6.133 GB, free: 80.77 MB / 1.245 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02655/17.93, allocations: 9.894 MB / 6.143 GB, free: 75.83 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005563/17.93, allocations: 1.078 MB / 6.144 GB, free: 75.13 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002646/17.93, allocations: 6.344 kB / 6.144 GB, free: 75.13 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009598/17.94, allocations: 0.6646 MB / 6.144 GB, free: 75.11 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001034/17.94, allocations: 127 kB / 6.144 GB, free: 75.1 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001084/17.95, allocations: 114.5 kB / 6.144 GB, free: 75.08 MB / 1.245 GB Notification: Performance of sort global known variables: time 0.007096/17.95, allocations: 1.948 MB / 6.146 GB, free: 74.25 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.01777/17.97, allocations: 2.656 MB / 6.149 GB, free: 72.97 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.01271/17.98, allocations: 6.056 MB / 6.155 GB, free: 69.95 MB / 1.245 GB Error: Internal error function createNonlinearResidualEquations failed [/var/lib/jenkins1/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/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:1356:5-1356:77:writable] Error: Internal error createEquationsForSystems failed [/var/lib/jenkins1/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] Error: Internal error SimCode: The model Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU could not be translated to FMU