Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001875/0.001875, allocations: 183 kB / 7.803 MB, free: 2.145 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4395/0.4395, allocations: 90.85 MB / 99.07 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.168/1.168, allocations: 221.4 MB / 342.8 MB, free: 5.254 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008986/0.0008987, allocations: 95.77 kB / 415.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.424e-06/7.444e-06, allocations: 4 kB / 493.9 MB, free: 8.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3214, allocations: 72.3 MB / 0.5529 GB, free: 73.53 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.193/4.514, allocations: 2.249 GB / 2.802 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004152/4.515, allocations: 89.05 kB / 2.802 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 7.939/12.45, allocations: 2.493 GB / 5.294 GB, free: 15.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004978/12.45, allocations: 103.9 kB / 5.294 GB, free: 15.3 MB / 0.698 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.01785/12.47, allocations: 5 MB / 5.299 GB, free: 10.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/12.47, allocations: 11.97 kB / 5.299 GB, free: 10.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03307/12.51, allocations: 4.792 MB / 5.304 GB, free: 5.402 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01464/12.52, allocations: 4.285 MB / 5.308 GB, free: 1.062 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001442/12.52, allocations: 434.2 kB / 5.309 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002008/12.52, allocations: 207.9 kB / 5.309 GB, free: 444 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01167/12.54, allocations: 4.469 MB / 5.313 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009727/12.55, allocations: 4.217 MB / 5.317 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.609e-05/12.55, allocations: 0 / 5.317 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004785/12.55, allocations: 4 kB / 5.317 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002714/12.55, allocations: 134.5 kB / 5.317 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4517/13, allocations: 21.72 MB / 5.339 GB, free: 87.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004981/13, allocations: 3.019 MB / 5.342 GB, free: 87.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002329/13.01, allocations: 1.555 MB / 5.343 GB, free: 87.26 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01486/13.02, allocations: 8.34 MB / 5.351 GB, free: 84.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002786/13.02, allocations: 1.832 MB / 5.353 GB, free: 84.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=231): time 4.739e-06/13.02, allocations: 2.031 kB / 5.353 GB, free: 84.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=231): time 0.01551/13.04, allocations: 4.43 MB / 5.357 GB, free: 84.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/13.04, allocations: 127.5 kB / 5.357 GB, free: 83.95 MB / 0.7136 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.005841/13.04, allocations: 2.695 MB / 5.36 GB, free: 83.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0007292/13.05, allocations: 29.17 kB / 5.36 GB, free: 83.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001209/13.05, allocations: 1.325 MB / 5.361 GB, free: 83.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001097/13.05, allocations: 0.7625 MB / 5.362 GB, free: 82.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003178/13.05, allocations: 3.031 kB / 5.362 GB, free: 82.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001638/13.05, allocations: 433.8 kB / 5.363 GB, free: 82.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002824/13.05, allocations: 1.624 MB / 5.364 GB, free: 82.39 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003352/13.05, allocations: 2.327 MB / 5.366 GB, free: 81.66 MB / 0.7136 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.007105/13.06, allocations: 2.687 MB / 5.369 GB, free: 81.42 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.509e-05/13.06, allocations: 6.906 kB / 5.369 GB, free: 81.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=405) (initialization): time 0.01734/13.08, allocations: 5.586 MB / 5.375 GB, free: 81.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/13.08, allocations: 4.5 kB / 5.375 GB, free: 81.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-05/13.08, allocations: 19.25 kB / 5.375 GB, free: 81.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004394/13.08, allocations: 1.163 MB / 5.376 GB, free: 80.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009447/13.09, allocations: 1.402 MB / 5.377 GB, free: 80.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01337/13.11, allocations: 13.45 MB / 5.39 GB, free: 69.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01149/13.12, allocations: 1.231 MB / 5.391 GB, free: 69.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001273/13.12, allocations: 177.8 kB / 5.392 GB, free: 69.61 MB / 0.7136 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.001083/13.12, allocations: 226.5 kB / 5.392 GB, free: 69.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00144/13.12, allocations: 358.2 kB / 5.392 GB, free: 69.31 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01786/13.14, allocations: 5.118 MB / 5.397 GB, free: 69.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.123e-05/13.14, allocations: 27.78 kB / 5.397 GB, free: 69.09 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.562e-05/13.14, allocations: 1.938 kB / 5.397 GB, free: 69.09 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000122/13.14, allocations: 15.14 kB / 5.397 GB, free: 69.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02642/13.17, allocations: 9.579 MB / 5.407 GB, free: 68.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/13.17, allocations: 3.75 kB / 5.407 GB, free: 68.31 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004919/13.17, allocations: 0.6983 MB / 5.407 GB, free: 68.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003862/13.18, allocations: 0.9745 MB / 5.408 GB, free: 68.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005041/13.18, allocations: 57.19 kB / 5.408 GB, free: 68.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/13.19, allocations: 11.54 MB / 5.419 GB, free: 58.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/13.19, allocations: 4.031 kB / 5.419 GB, free: 58.86 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01993/13.21, allocations: 7.033 MB / 5.426 GB, free: 57.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004146/13.21, allocations: 1.08 MB / 5.427 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001723/13.21, allocations: 12.72 kB / 5.427 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007547/13.22, allocations: 0.6503 MB / 5.428 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003669/13.22, allocations: 136.3 kB / 5.428 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000413/13.22, allocations: 113.6 kB / 5.428 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.003945/13.23, allocations: 1.947 MB / 5.43 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.008385/13.23, allocations: 1.888 MB / 5.432 GB, free: 57.37 MB / 0.7136 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.009252/13.24, allocations: 6.07 MB / 5.438 GB, free: 54.9 MB / 0.7136 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]