Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 175.7 kB / 7.46 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5989/0.5989, allocations: 133.5 MB / 141.4 MB, free: 15.65 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.107/1.107, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008159/0.0008159, allocations: 80.36 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.889e-06/4.919e-06, allocations: 0 / 0.5528 GB, free: 89.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1062, allocations: 82.3 MB / 0.6332 GB, free: 14.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.166/3.272, allocations: 2.258 GB / 2.891 GB, free: 241.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/3.273, allocations: 93.89 kB / 2.891 GB, free: 241.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 6.88/10.15, allocations: 2.496 GB / 5.387 GB, free: 58.05 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002879/10.15, allocations: 105.6 kB / 5.387 GB, free: 58.05 MB / 0.7917 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.01086/10.16, allocations: 4.991 MB / 5.392 GB, free: 56.32 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/10.16, allocations: 12.03 kB / 5.392 GB, free: 56.32 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02856/10.19, allocations: 4.778 MB / 5.397 GB, free: 56.06 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009716/10.2, allocations: 4.276 MB / 5.401 GB, free: 55.5 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001198/10.2, allocations: 437.9 kB / 5.402 GB, free: 55.49 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006499/10.2, allocations: 205.5 kB / 5.402 GB, free: 55.49 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007359/10.21, allocations: 4.471 MB / 5.406 GB, free: 55.48 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006554/10.22, allocations: 4.217 MB / 5.41 GB, free: 55.16 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.446e-05/10.22, allocations: 0 / 5.41 GB, free: 55.16 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004228/10.22, allocations: 3.25 kB / 5.41 GB, free: 55.16 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/10.22, allocations: 137.4 kB / 5.41 GB, free: 55.16 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03605/10.25, allocations: 21.72 MB / 5.432 GB, free: 47.87 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004273/10.26, allocations: 3.033 MB / 5.435 GB, free: 47.72 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002049/10.26, allocations: 1.569 MB / 5.436 GB, free: 47.7 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01246/10.27, allocations: 8.357 MB / 5.444 GB, free: 44.86 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002487/10.28, allocations: 1.724 MB / 5.446 GB, free: 44.8 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=233): time 4.498e-06/10.28, allocations: 0 / 5.446 GB, free: 44.8 MB / 0.7917 GB Notification: Performance of matching and sorting (n=233): time 0.01468/10.29, allocations: 4.439 MB / 5.45 GB, free: 44.47 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/10.29, allocations: 80.56 kB / 5.45 GB, free: 44.4 MB / 0.7917 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.005512/10.3, allocations: 2.69 MB / 5.453 GB, free: 44.12 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.000642/10.3, allocations: 28.61 kB / 5.453 GB, free: 44.09 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001138/10.3, allocations: 1.312 MB / 5.454 GB, free: 43.37 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001167/10.3, allocations: 0.7729 MB / 5.455 GB, free: 42.85 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005642/10.3, allocations: 3.438 kB / 5.455 GB, free: 42.85 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001952/10.3, allocations: 426.9 kB / 5.456 GB, free: 42.54 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002868/10.3, allocations: 1.631 MB / 5.457 GB, free: 42.53 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003144/10.31, allocations: 2.309 MB / 5.459 GB, free: 41.82 MB / 0.7917 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.006553/10.31, allocations: 2.69 MB / 5.462 GB, free: 41.58 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-05/10.31, allocations: 7.547 kB / 5.462 GB, free: 41.58 MB / 0.7917 GB Notification: Performance of matching and sorting (n=407) (initialization): time 0.01548/10.33, allocations: 5.601 MB / 5.467 GB, free: 41.2 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/10.33, allocations: 7.094 kB / 5.467 GB, free: 41.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/10.33, allocations: 19.31 kB / 5.467 GB, free: 41.2 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003968/10.33, allocations: 1.164 MB / 5.469 GB, free: 41.12 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007936/10.34, allocations: 1.4 MB / 5.47 GB, free: 41.12 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01066/10.35, allocations: 13.45 MB / 5.483 GB, free: 29.85 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00946/10.36, allocations: 1.209 MB / 5.484 GB, free: 29.7 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006853/10.36, allocations: 180.4 kB / 5.484 GB, free: 29.7 MB / 0.7917 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.0009326/10.36, allocations: 203.5 kB / 5.485 GB, free: 29.58 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/10.36, allocations: 361.7 kB / 5.485 GB, free: 29.39 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01534/10.38, allocations: 4.997 MB / 5.49 GB, free: 29.18 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/10.38, allocations: 23.31 kB / 5.49 GB, free: 29.18 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/10.38, allocations: 3.281 kB / 5.49 GB, free: 29.18 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-05/10.38, allocations: 11.67 kB / 5.49 GB, free: 29.18 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02024/10.4, allocations: 9.477 MB / 5.499 GB, free: 28.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/10.4, allocations: 2.625 kB / 5.499 GB, free: 28.34 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004274/10.4, allocations: 0.696 MB / 5.5 GB, free: 28.34 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003444/10.41, allocations: 0.9746 MB / 5.501 GB, free: 28.26 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002938/10.41, allocations: 61.86 kB / 5.501 GB, free: 28.26 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01016/10.42, allocations: 11.56 MB / 5.512 GB, free: 34.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/10.42, allocations: 4.219 kB / 5.512 GB, free: 34.89 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01515/10.43, allocations: 6.925 MB / 5.519 GB, free: 33.9 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002587/10.43, allocations: 1.078 MB / 5.52 GB, free: 33.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001271/10.44, allocations: 10.94 kB / 5.52 GB, free: 33.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006409/10.44, allocations: 0.6415 MB / 5.521 GB, free: 33.57 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/10.44, allocations: 133.3 kB / 5.521 GB, free: 33.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003318/10.44, allocations: 113.8 kB / 5.521 GB, free: 33.57 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.003279/10.45, allocations: 1.946 MB / 5.523 GB, free: 33.42 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00593/10.45, allocations: 1.878 MB / 5.525 GB, free: 33.2 MB / 0.8073 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.007041/10.46, allocations: 6.07 MB / 5.531 GB, free: 30.64 MB / 0.8073 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]