Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingTimeSeriesSingleLoop.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: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingTimeSeriesSingleLoop,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Examples_CouplingTimeSeriesSingleLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingTimeSeriesSingleLoop,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Examples_CouplingTimeSeriesSingleLoop",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 9.1.1-maint.9.1.x/package.mo): time 2.179/2.179, 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.001099/0.001099, allocations: 185.3 kB / 487 MB, free: 5.34 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.653/1.653, allocations: 221.3 MB / 0.7819 GB, free: 1.352 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.001124/0.001124, allocations: 102.3 kB / 0.9213 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.7674/0.7685, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/1.073, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.982/7.055, allocations: 2.423 GB / 3.629 GB, free: 357.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/7.055, allocations: 102 kB / 3.629 GB, free: 357.2 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: 1670 * Number of variables: 1670 Notification: Performance of Generate backend data structure: time 16.52/23.57, allocations: 5.282 GB / 8.911 GB, free: 81.06 MB / 1.401 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/23.57, allocations: 11.41 kB / 8.911 GB, free: 81.06 MB / 1.401 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03152/23.6, allocations: 4.69 MB / 8.916 GB, free: 80.45 MB / 1.401 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2208/23.82, allocations: 81.69 MB / 8.995 GB, free: 76.38 MB / 1.401 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001062/23.83, allocations: 0.5257 MB / 8.996 GB, free: 76.23 MB / 1.401 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002447/23.83, allocations: 437 kB / 8.996 GB, free: 76.23 MB / 1.401 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01602/23.84, allocations: 6.906 MB / 9.003 GB, free: 76.2 MB / 1.401 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01702/23.86, allocations: 7.535 MB / 9.01 GB, free: 75.32 MB / 1.401 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001479/23.86, allocations: 9.812 kB / 9.01 GB, free: 75.32 MB / 1.401 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007808/23.86, allocations: 14.44 kB / 9.01 GB, free: 75.32 MB / 1.401 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001657/23.86, allocations: 249.6 kB / 9.011 GB, free: 75.3 MB / 1.401 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06417/23.93, allocations: 43.3 MB / 9.053 GB, free: 59.25 MB / 1.401 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008294/23.93, allocations: 5.131 MB / 9.058 GB, free: 58.98 MB / 1.401 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00387/23.94, allocations: 2.694 MB / 9.061 GB, free: 58.95 MB / 1.401 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02447/23.96, allocations: 15.02 MB / 9.075 GB, free: 53.72 MB / 1.401 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00449/23.97, allocations: 3 MB / 9.078 GB, free: 53.56 MB / 1.401 GB Notification: Performance of pre-optimization done (n=404): time 6.362e-06/23.97, allocations: 0 / 9.078 GB, free: 53.56 MB / 1.401 GB Notification: Performance of matching and sorting (n=404): time 0.02958/24, allocations: 7.575 MB / 9.086 GB, free: 52.95 MB / 1.401 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.913e-05/24, allocations: 336.3 kB / 9.086 GB, free: 52.61 MB / 1.401 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01196/24.01, allocations: 6.159 MB / 9.092 GB, free: 52.1 MB / 1.401 GB Notification: Performance of collectPreVariables (initialization): time 0.001423/24.01, allocations: 47.83 kB / 9.092 GB, free: 52.07 MB / 1.401 GB Notification: Performance of collectInitialEqns (initialization): time 0.002851/24.01, allocations: 2.72 MB / 9.095 GB, free: 50.71 MB / 1.401 GB Notification: Performance of collectInitialBindings (initialization): time 0.002965/24.02, allocations: 1.32 MB / 9.096 GB, free: 49.84 MB / 1.401 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004996/24.02, allocations: 0 / 9.096 GB, free: 49.84 MB / 1.401 GB Notification: Performance of setup shared object (initialization): time 0.0002886/24.02, allocations: 0.5062 MB / 9.096 GB, free: 49.52 MB / 1.401 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003844/24.02, allocations: 2.361 MB / 9.099 GB, free: 49.51 MB / 1.401 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004937/24.03, allocations: 4.27 MB / 9.103 GB, free: 47.28 MB / 1.401 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007334/24.03, allocations: 3.176 MB / 9.106 GB, free: 47.2 MB / 1.401 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-05/24.03, allocations: 13.72 kB / 9.106 GB, free: 47.2 MB / 1.401 GB Notification: Performance of matching and sorting (n=687) (initialization): time 0.03475/24.07, allocations: 9.543 MB / 9.115 GB, free: 46.55 MB / 1.401 GB Notification: Performance of prepare postOptimizeDAE: time 0.003646/24.07, allocations: 23.89 MB / 9.139 GB, free: 38.15 MB / 1.417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001253/24.07, allocations: 44.62 kB / 9.139 GB, free: 38.15 MB / 1.417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01193/24.08, allocations: 3.211 MB / 9.142 GB, free: 38.08 MB / 1.417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007331/24.09, allocations: 1.248 MB / 9.143 GB, free: 38.02 MB / 1.417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/24.1, allocations: 10.21 MB / 9.153 GB, free: 31.74 MB / 1.417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01106/24.11, allocations: 1.009 MB / 9.154 GB, free: 31.48 MB / 1.417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001343/24.12, allocations: 331.7 kB / 9.154 GB, free: 31.48 MB / 1.417 GB Notification: Performance of prepare postOptimizeDAE: time 7.304e-06/24.12, allocations: 2.562 kB / 9.154 GB, free: 31.48 MB / 1.417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02992/24.15, allocations: 8.43 MB / 9.163 GB, free: 31.07 MB / 1.417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000127/24.15, allocations: 47.3 kB / 9.163 GB, free: 31.07 MB / 1.417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01169/24.16, allocations: 3.159 MB / 9.166 GB, free: 31.01 MB / 1.417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006295/24.16, allocations: 1.213 MB / 9.167 GB, free: 30.94 MB / 1.417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008407/24.17, allocations: 7.263 MB / 9.174 GB, free: 27.01 MB / 1.417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0108/24.18, allocations: 0.8971 MB / 9.175 GB, free: 26.82 MB / 1.417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001661/24.18, allocations: 318.6 kB / 9.175 GB, free: 26.81 MB / 1.417 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: buiCoo.terUniCoo.hexWetNtu.UAFroRated.LMED:VARIABLE(unit = "J/kg" fixed = false protected = true ) "Log mean enthalpy difference" type: Real buiCoo.terUniCoo.hexWetNtu.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 buiCoo.terUniCoo.hexWetNtu.UAFroRated.UA:VARIABLE(unit = "W/K" protected = true ) = buiCoo.terUniCoo.hexWetNtu.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: buiCoo.terUniCoo.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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: buiCoo.terUniCoo.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 198 * Number of states: 0 () * Number of discrete variables: 40 (buiCoo.terUniCoo.hexWetNtu.flowRegime_nominal,$whenCondition5,$PRE.buiHea.loa.nextTimeEvent,$whenCondition6,$PRE.QAveHeaReq_flow.mode,QAveHeaReq_flow.mode,$whenCondition7,$PRE.QAveHeaAct_flow.mode,QAveHeaAct_flow.mode,$whenCondition1,$PRE.buiCoo.loa.nextTimeEvent,$whenCondition2,$PRE.QAveCooReq_flow.mode,QAveCooReq_flow.mode,$whenCondition3,$PRE.QAveCooAct_flow.mode,QAveCooAct_flow.mode,buiCoo.terUniCoo.con1.y,$whenCondition4,buiCoo.loa.nextTimeEvent,$PRE.buiCoo.loa.nextTimeEventScaled,buiCoo.loa.nextTimeEventScaled,buiCoo.terUniCoo.hexWetNtu.flowRegime,$PRE.buiCoo.terUniCoo.greThr.greHys.y,buiCoo.terUniCoo.greThr.greHys.y,buiCoo.terUniCoo.hexWetNtu.UAFroRated.isFulDry,buiCoo.terUniCoo.hexWetNtu.UAFroRated.isFulWet,buiHea.terUniHea.con1.y,$whenCondition8,buiHea.loa.nextTimeEvent,$PRE.buiHea.loa.nextTimeEventScaled,buiHea.loa.nextTimeEventScaled,buiHea.terUniHea.hex.flowRegime,$PRE.buiHea.terUniHea.greThr.greHys.y,buiHea.terUniHea.greThr.greHys.y,buiHea.terUniHea.hex.flowRegime_nominal,EHeaAct.local_reset,EHeaReq.local_reset,ECooAct.local_reset,ECooReq.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (575): * Single equations (assignments): 561 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,3,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 4,1 4,1 2,2 60,1 27} Notification: Performance of prepare postOptimizeDAE: time 0.001979/24.19, allocations: 304.6 kB / 9.175 GB, free: 26.6 MB / 1.417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002698/24.19, allocations: 0.8178 MB / 9.176 GB, free: 26.16 MB / 1.417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02778/24.22, allocations: 8.052 MB / 9.184 GB, free: 23.65 MB / 1.417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7e-05/24.22, allocations: 56.17 kB / 9.184 GB, free: 23.64 MB / 1.417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.829e-05/24.22, allocations: 2.469 kB / 9.184 GB, free: 23.64 MB / 1.417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02124/24.24, allocations: 6.73 MB / 9.191 GB, free: 20.61 MB / 1.417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03846/24.28, allocations: 17.31 MB / 9.208 GB, free: 12.4 MB / 1.417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.956e-05/24.28, allocations: 13.97 kB / 9.208 GB, free: 12.39 MB / 1.417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004846/24.28, allocations: 0.854 MB / 9.208 GB, free: 12.34 MB / 1.417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008262/24.29, allocations: 2.434 MB / 9.211 GB, free: 11.77 MB / 1.417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007429/24.29, allocations: 88.56 kB / 9.211 GB, free: 11.75 MB / 1.417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008858/24.3, allocations: 8.944 MB / 9.22 GB, free: 4.527 MB / 1.417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/24.3, allocations: 10.75 kB / 9.22 GB, free: 4.523 MB / 1.417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03012/24.33, allocations: 12.91 MB / 9.232 GB, free: 13.26 MB / 1.432 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03861/24.37, allocations: 17.48 MB / 9.249 GB, free: 3.176 MB / 1.432 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005401/24.37, allocations: 1.912 MB / 9.251 GB, free: 1.871 MB / 1.432 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001852/24.38, allocations: 28.78 kB / 9.251 GB, free: 1.863 MB / 1.432 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007564/24.38, allocations: 0.654 MB / 9.252 GB, free: 1.832 MB / 1.432 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005092/24.38, allocations: 269.7 kB / 9.252 GB, free: 1.785 MB / 1.432 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005603/24.38, allocations: 204 kB / 9.252 GB, free: 1.75 MB / 1.432 GB Notification: Performance of sort global known variables: time 0.00907/24.39, allocations: 4.657 MB / 9.257 GB, free: 0 / 1.432 GB Notification: Performance of remove unused functions: time 0.02741/24.42, allocations: 8.346 MB / 9.265 GB, free: 12.09 MB / 1.448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 23 (buiCoo.disFloCoo.heaCoo.vol.dynBal.U,buiCoo.disFloCoo.senTSup.T,buiCoo.terUniCoo.con.I.y,buiCoo.terUniCoo.fan.vol.dynBal.medium.Xi[1],buiCoo.terUniCoo.fan.vol.dynBal.U,buiCoo.terUniCoo.fan.vol.dynBal.m,buiCoo.terUniCoo.hexWetNtu.dryWetCalcs.fullyWet.TWatOutEst,buiCoo.terUniCoo.TLoaODE.TAir,ECooReq.y,QAveCooReq_flow.mu,QAveCooAct_flow.mu,ECooAct.y,buiHea.terUniHea.fan.vol.dynBal.medium.Xi[1],buiHea.terUniHea.fan.vol.dynBal.U,buiHea.terUniHea.fan.vol.dynBal.m,buiHea.terUniHea.con.I.y,buiHea.terUniHea.TLoaODE.TAir,buiHea.disFloHea.heaCoo.vol.dynBal.U,buiHea.disFloHea.senTSup.T,QAveHeaReq_flow.mu,EHeaReq.y,EHeaAct.y,QAveHeaAct_flow.mu) * Number of discrete variables: 20 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,buiCoo.loa.nextTimeEvent,buiCoo.loa.nextTimeEventScaled,buiCoo.terUniCoo.hexWetNtu.flowRegime,buiCoo.terUniCoo.greThr.greHys.y,QAveCooReq_flow.mode,QAveCooAct_flow.mode,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,buiHea.loa.nextTimeEvent,buiHea.loa.nextTimeEventScaled,buiHea.terUniHea.hex.flowRegime,buiHea.terUniHea.greThr.greHys.y,QAveHeaReq_flow.mode,QAveHeaAct_flow.mode) * Number of discrete states: 6 (buiHea.loa.nextTimeEvent,buiHea.loa.nextTimeEventScaled,buiHea.terUniHea.greThr.greHys.y,buiCoo.loa.nextTimeEvent,buiCoo.loa.nextTimeEventScaled,buiCoo.terUniCoo.greThr.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (346): * Single equations (assignments): 315 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 4,1 4,1 2,2 58,1 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0183/24.44, allocations: 14.06 MB / 9.279 GB, free: 4.621 MB / 1.448 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 {16, 15, 14:18, 19, 16, 15, 21, 17, 20} 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.Experimental.DHC.Loads.BaseClasses.Examples.CouplingTimeSeriesSingleLoop could not be translated to FMU