Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters") translateModel(Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 2.058/2.058, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001384/0.001384, allocations: 179.4 kB / 326.5 MB, free: 2.668 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205 MB / 0.5766 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008792/0.0008789, allocations: 91.92 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003403, allocations: 8.25 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2487, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters): time 9.725/9.973, allocations: 2.824 GB / 3.72 GB, free: 36.19 MB / 1.573 GB Notification: Performance of NFInst.instExpressions: time 2.95/12.92, allocations: 0.5327 GB / 4.253 GB, free: 144 kB / 1.807 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1738/13.1, allocations: 2.723 MB / 4.256 GB, free: 144 kB / 1.807 GB Notification: Performance of NFTyping.typeComponents: time 0.1355/13.23, allocations: 30.97 MB / 4.286 GB, free: 15.96 MB / 1.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Experimental/DistrictHeatingCooling/SubStations/VaporCompression/BaseClasses/getPeakLoad.mo:2:1-88:16:writable] Warning: Pure function ‘Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.getPeakLoad‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-50:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath‘ contains a call to impure function ‘Modelica.Utilities.Files.exist‘. Notification: Performance of NFTyping.typeBindings: time 0.3534/13.59, allocations: 93.82 MB / 4.377 GB, free: 0.5234 MB / 1.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.1805/13.77, allocations: 57.79 MB / 4.434 GB, free: 12.39 MB / 1.854 GB Notification: Performance of NFFlatten.flatten: time 9.386/23.15, allocations: 490.7 MB / 4.913 GB, free: 221.2 MB / 2.245 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2246/23.38, allocations: 64.21 MB / 4.976 GB, free: 212.9 MB / 2.245 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2162/23.59, allocations: 67.91 MB / 5.042 GB, free: 205.9 MB / 2.245 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1442/23.74, allocations: 54.76 MB / 5.096 GB, free: 195.5 MB / 2.245 GB Notification: Performance of NFPackage.collectConstants: time 0.04812/23.79, allocations: 2.725 MB / 5.098 GB, free: 195.5 MB / 2.245 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1591/23.95, allocations: 30.6 MB / 5.128 GB, free: 195.5 MB / 2.245 GB Notification: Performance of NFScalarize.scalarize: time 0.05469/24, allocations: 15.29 MB / 5.143 GB, free: 192.4 MB / 2.245 GB Notification: Performance of NFVerifyModel.verify: time 0.1462/24.15, allocations: 38.75 MB / 5.181 GB, free: 180.4 MB / 2.245 GB Notification: Performance of NFConvertDAE.convert: time 0.2032/24.35, allocations: 109.2 MB / 5.288 GB, free: 146.9 MB / 2.245 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/24.35, allocations: 0 / 5.288 GB, free: 146.9 MB / 2.245 GB Notification: Performance of FrontEnd: time 3.908e-06/24.35, allocations: 0 / 5.288 GB, free: 146.9 MB / 2.245 GB Notification: Performance of Transformations before backend: time 0.00636/24.36, allocations: 0 / 5.288 GB, free: 146.9 MB / 2.245 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11861 * Number of variables: 11861 Notification: Performance of Generate backend data structure: time 0.2388/24.6, allocations: 70.29 MB / 5.356 GB, free: 92.89 MB / 2.245 GB Notification: Performance of prepare preOptimizeDAE: time 6.809e-05/24.6, allocations: 12.03 kB / 5.356 GB, free: 92.88 MB / 2.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1154/24.71, allocations: 20.62 MB / 5.376 GB, free: 72.31 MB / 2.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2075/24.92, allocations: 73.45 MB / 5.448 GB, free: 27.1 MB / 2.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01716/24.94, allocations: 6.758 MB / 5.455 GB, free: 21.91 MB / 2.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02459/24.96, allocations: 4.789 MB / 5.459 GB, free: 18.66 MB / 2.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2605/25.22, allocations: 61.05 MB / 5.519 GB, free: 7.207 MB / 2.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.004272/25.23, allocations: 124.6 kB / 5.519 GB, free: 7.148 MB / 2.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02721/25.25, allocations: 1.927 MB / 5.521 GB, free: 6.688 MB / 2.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002781/25.26, allocations: 1.675 MB / 5.523 GB, free: 5.047 MB / 2.276 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2123/25.47, allocations: 53.71 MB / 5.575 GB, free: 10.23 MB / 2.323 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 3.313/28.78, allocations: 309.1 MB / 5.877 GB, free: 380.8 MB / 2.511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1538/28.93, allocations: 46.02 MB / 5.922 GB, free: 378 MB / 2.511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.07091/29.01, allocations: 20.11 MB / 5.941 GB, free: 377.8 MB / 2.511 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.2253/29.23, allocations: 80.99 MB / 6.021 GB, free: 348.5 MB / 2.511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.07192/29.3, allocations: 20.78 MB / 6.041 GB, free: 347.9 MB / 2.511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05167/29.35, allocations: 3.825 MB / 6.045 GB, free: 347.9 MB / 2.511 GB Notification: Performance of pre-optimization done (n=2481): time 0.0002293/29.35, allocations: 0 / 6.045 GB, free: 347.9 MB / 2.511 GB Notification: Performance of matching and sorting (n=2491): time 1.366/30.72, allocations: 345.5 MB / 6.382 GB, free: 138.6 MB / 2.511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000522/30.72, allocations: 1.384 MB / 6.383 GB, free: 136.9 MB / 2.511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1671/30.89, allocations: 54.85 MB / 6.437 GB, free: 97.86 MB / 2.511 GB Notification: Performance of collectPreVariables (initialization): time 0.01388/30.9, allocations: 0.6353 MB / 6.438 GB, free: 97.22 MB / 2.511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0542/30.96, allocations: 36.63 MB / 6.473 GB, free: 63.86 MB / 2.511 GB Notification: Performance of collectInitialBindings (initialization): time 0.01743/30.97, allocations: 8.6 MB / 6.482 GB, free: 56.07 MB / 2.511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01312/30.99, allocations: 2.593 MB / 6.484 GB, free: 53.9 MB / 2.511 GB Notification: Performance of setup shared object (initialization): time 7.245e-05/30.99, allocations: 306.4 kB / 6.484 GB, free: 53.6 MB / 2.511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05141/31.04, allocations: 17.41 MB / 6.501 GB, free: 38.75 MB / 2.511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07166/31.11, allocations: 30.64 MB / 6.531 GB, free: 5.836 MB / 2.511 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: pla.coo.con.vol.dynBal.medium.p = pla.coo.con.vol.dynBal.p_start (pla.sinCoo.p = pla.coo.con.vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: pla.hea.eva.vol.dynBal.medium.p = pla.hea.eva.vol.dynBal.p_start (pla.sinHea.p = pla.hea.eva.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.4546/31.57, allocations: 131.1 MB / 6.659 GB, free: 9.699 MB / 2.636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004495/31.57, allocations: 84.55 kB / 6.66 GB, free: 9.617 MB / 2.636 GB Notification: Performance of matching and sorting (n=4172) (initialization): time 1.229/32.79, allocations: 56.1 MB / 6.714 GB, free: 1.692 GB / 2.636 GB Notification: Performance of prepare postOptimizeDAE: time 0.008325/32.8, allocations: 9.324 MB / 6.723 GB, free: 1.681 GB / 2.636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001011/32.8, allocations: 299.1 kB / 6.724 GB, free: 1.681 GB / 2.636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06184/32.87, allocations: 32.68 MB / 6.756 GB, free: 1.681 GB / 2.636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03781/32.9, allocations: 7.668 MB / 6.763 GB, free: 1.681 GB / 2.636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07967/32.98, allocations: 36.09 MB / 6.798 GB, free: 1.666 GB / 2.636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09894/33.08, allocations: 6.199 MB / 6.804 GB, free: 1.666 GB / 2.636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01284/33.1, allocations: 1.683 MB / 6.806 GB, free: 1.665 GB / 2.636 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/33.1, allocations: 3.938 kB / 6.806 GB, free: 1.665 GB / 2.636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1703/33.27, allocations: 48.84 MB / 6.854 GB, free: 1.649 GB / 2.636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001604/33.27, allocations: 301.3 kB / 6.854 GB, free: 1.649 GB / 2.636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0614/33.33, allocations: 32.8 MB / 6.886 GB, free: 1.647 GB / 2.636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03644/33.37, allocations: 7.71 MB / 6.894 GB, free: 1.647 GB / 2.636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06352/33.43, allocations: 34.81 MB / 6.928 GB, free: 1.627 GB / 2.636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07494/33.5, allocations: 6.091 MB / 6.934 GB, free: 1.626 GB / 2.636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01078/33.51, allocations: 1.647 MB / 6.935 GB, free: 1.626 GB / 2.636 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: pla.coo.con.vol.dynBal.medium.p = pla.coo.con.vol.dynBal.p_start pla.hea.eva.vol.dynBal.medium.p = pla.hea.eva.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1368 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.watTem.nextTimeEvent,$whenCondition11,$PRE.ret2.loa.nextTimeEvent,$whenCondition8,$PRE.apa2.loa.nextTimeEvent,$whenCondition7,$PRE.larOff4.loa.nextTimeEvent,$whenCondition6,$PRE.larOff3.loa.nextTimeEvent,$whenCondition5,$PRE.apa1.loa.nextTimeEvent,$whenCondition4,$PRE.larOff2.loa.nextTimeEvent,$whenCondition3,$PRE.ret1.loa.nextTimeEvent,$whenCondition2,$PRE.larOff1.loa.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,watTem.nextTimeEventScaled,$PRE.watTem.nextTimeEventScaled,watTem.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,ret2.loa.nextTimeEventScaled,$PRE.ret2.loa.nextTimeEventScaled,ret2.loa.nextTimeEvent,apa2.loa.nextTimeEventScaled,$PRE.apa2.loa.nextTimeEventScaled,apa2.loa.nextTimeEvent,larOff4.loa.nextTimeEventScaled,$PRE.larOff4.loa.nextTimeEventScaled,larOff4.loa.nextTimeEvent,larOff3.loa.nextTimeEventScaled,$PRE.larOff3.loa.nextTimeEventScaled,larOff3.loa.nextTimeEvent,apa1.loa.nextTimeEventScaled,$PRE.apa1.loa.nextTimeEventScaled,apa1.loa.nextTimeEvent,larOff2.loa.nextTimeEventScaled,$PRE.larOff2.loa.nextTimeEventScaled,larOff2.loa.nextTimeEvent,ret1.loa.nextTimeEventScaled,$PRE.ret1.loa.nextTimeEventScaled,ret1.loa.nextTimeEvent,larOff1.loa.nextTimeEventScaled,$PRE.larOff1.loa.nextTimeEventScaled,larOff1.loa.nextTimeEvent,$whenCondition9,$whenCondition10,ETheCoo.local_reset,ETheHotWat.local_reset,ETheHea.local_reset,EEleCoo.local_reset,EEleHea.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3660): * Single equations (assignments): 3624 * Array equations: 26 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,6,100.0%), (1,6,100.0%), (1,6,100.0%), (1,6,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (2,22), (26,394)} Notification: Performance of prepare postOptimizeDAE: time 0.05496/33.57, allocations: 14.49 MB / 6.949 GB, free: 1.618 GB / 2.636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02807/33.6, allocations: 5.857 MB / 6.955 GB, free: 1.617 GB / 2.636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1832/33.78, allocations: 62.54 MB / 7.016 GB, free: 1.569 GB / 2.636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006251/33.78, allocations: 304.9 kB / 7.016 GB, free: 1.569 GB / 2.636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001133/33.78, allocations: 27.88 kB / 7.016 GB, free: 1.569 GB / 2.636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1218/33.9, allocations: 38.03 MB / 7.054 GB, free: 1.536 GB / 2.636 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.329/34.23, allocations: 113 MB / 7.164 GB, free: 1.432 GB / 2.636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003365/34.23, allocations: 32.03 kB / 7.164 GB, free: 1.432 GB / 2.636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02675/34.26, allocations: 5.302 MB / 7.169 GB, free: 1.427 GB / 2.636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03525/34.29, allocations: 12.54 MB / 7.181 GB, free: 1.415 GB / 2.636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.008369/34.3, allocations: 0.7377 MB / 7.182 GB, free: 1.414 GB / 2.636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05198/34.36, allocations: 29.07 MB / 7.21 GB, free: 1.385 GB / 2.636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.162e-05/34.36, allocations: 43.81 kB / 7.21 GB, free: 1.385 GB / 2.636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2135/34.57, allocations: 73.9 MB / 7.283 GB, free: 1.315 GB / 2.636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.05095/34.62, allocations: 10.72 MB / 7.293 GB, free: 1.304 GB / 2.636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.03183/34.65, allocations: 0.523 MB / 7.294 GB, free: 1.304 GB / 2.636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.07195/34.72, allocations: 5.794 MB / 7.299 GB, free: 1.298 GB / 2.636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01008/34.73, allocations: 1.649 MB / 7.301 GB, free: 1.296 GB / 2.636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01034/34.74, allocations: 1.187 MB / 7.302 GB, free: 1.295 GB / 2.636 GB Notification: Performance of sorting global known variables: time 0.1105/34.85, allocations: 37.36 MB / 7.339 GB, free: 1.259 GB / 2.636 GB Notification: Performance of sort global known variables: time 8.02e-07/34.85, allocations: 0 / 7.339 GB, free: 1.259 GB / 2.636 GB Notification: Performance of remove unused functions: time 0.1741/35.03, allocations: 26.96 MB / 7.365 GB, free: 1.233 GB / 2.636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 127 * Number of states: 61 (larOff1.del_a.dynBal.U,larOff1.del_b.dynBal.U,ret1.del_a.dynBal.U,ret1.del_b.dynBal.U,larOff2.del_a.dynBal.U,larOff2.del_b.dynBal.U,apa1.del_a.dynBal.U,apa1.del_b.dynBal.U,larOff3.del_a.dynBal.U,larOff3.del_b.dynBal.U,larOff4.del_a.dynBal.U,larOff4.del_b.dynBal.U,apa2.del_a.dynBal.U,apa2.del_b.dynBal.U,ret2.del_a.dynBal.U,ret2.del_b.dynBal.U,EEleHea.y,EEleCoo.y,ETheHea.y,ETheHotWat.y,ETheCoo.y,pla.coo.con.vol.dynBal.U,pla.coo.con.vol.dynBal.mXi[1],pla.coo.eva.outCon.T,pla.hea.con.outCon.T,pla.hea.eva.vol.dynBal.U,pla.hea.eva.vol.dynBal.mXi[1],bayWatHex.valCoo.vol.dynBal.U,bayWatHex.valHea.vol.dynBal.U,pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip2.vol[1].dynBal.U,pip2.vol[2].dynBal.U,pip2.vol[3].dynBal.U,pip3.vol[1].dynBal.U,pip3.vol[2].dynBal.U,pip3.vol[3].dynBal.U,pip4.vol[1].dynBal.U,pip4.vol[2].dynBal.U,pip4.vol[3].dynBal.U,pip5.vol[1].dynBal.U,pip5.vol[2].dynBal.U,pip5.vol[3].dynBal.U,splSup1.vol.dynBal.U,splRet1.vol.dynBal.U,splSup2.vol.dynBal.U,splRet2.vol.dynBal.U,splSup3.vol.dynBal.U,splRet3.vol.dynBal.U,splSup5.vol.dynBal.U,splRet5.vol.dynBal.U,splSup6.vol.dynBal.U,splRet6.vol.dynBal.U,splSup4.vol.dynBal.U,splRet4.vol.dynBal.U,splSup7.vol.dynBal.U,splRet7.vol.dynBal.U) * Number of discrete variables: 31 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,larOff1.loa.nextTimeEvent,larOff1.loa.nextTimeEventScaled,ret1.loa.nextTimeEvent,ret1.loa.nextTimeEventScaled,larOff2.loa.nextTimeEvent,larOff2.loa.nextTimeEventScaled,apa1.loa.nextTimeEvent,apa1.loa.nextTimeEventScaled,larOff3.loa.nextTimeEvent,larOff3.loa.nextTimeEventScaled,larOff4.loa.nextTimeEvent,larOff4.loa.nextTimeEventScaled,apa2.loa.nextTimeEvent,apa2.loa.nextTimeEventScaled,ret2.loa.nextTimeEvent,ret2.loa.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext,watTem.nextTimeEvent,watTem.nextTimeEventScaled) * Number of discrete states: 20 (watTem.nextTimeEvent,ret2.loa.nextTimeEvent,apa2.loa.nextTimeEvent,larOff4.loa.nextTimeEvent,larOff3.loa.nextTimeEvent,apa1.loa.nextTimeEvent,larOff2.loa.nextTimeEvent,ret1.loa.nextTimeEvent,larOff1.loa.nextTimeEvent,weaDat.conTim.tNext,weaDat.conTimMin.tNext,watTem.nextTimeEventScaled,ret2.loa.nextTimeEventScaled,apa2.loa.nextTimeEventScaled,larOff4.loa.nextTimeEventScaled,larOff3.loa.nextTimeEventScaled,apa1.loa.nextTimeEventScaled,larOff2.loa.nextTimeEventScaled,ret1.loa.nextTimeEventScaled,larOff1.loa.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2242): * Single equations (assignments): 2104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 109 * When equations: 20 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,6,100.0%), (1,6,100.0%), (1,6,100.0%), (1,6,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (26,418)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03565/35.06, allocations: 13.06 MB / 7.378 GB, free: 1.222 GB / 2.636 GB Notification: Performance of simCode: created initialization part: time 0.1919/35.26, allocations: 68.47 MB / 7.444 GB, free: 1.155 GB / 2.636 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-05/35.26, allocations: 28.27 kB / 7.445 GB, free: 1.155 GB / 2.636 GB Notification: Performance of simCode: created simulation system equations: time 0.06278/35.32, allocations: 21.09 MB / 7.465 GB, free: 1.134 GB / 2.636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.6048/35.92, allocations: 30.7 MB / 7.495 GB, free: 1.105 GB / 2.636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.36/36.28, allocations: 152.4 MB / 7.644 GB, free: 0.9556 GB / 2.636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.07157/36.36, allocations: 29.19 MB / 7.672 GB, free: 0.927 GB / 2.636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02884/36.38, allocations: 4.829 MB / 7.677 GB, free: 0.9223 GB / 2.636 GB Notification: Performance of SimCode: time 1.283e-06/36.38, allocations: 0 / 7.677 GB, free: 0.9223 GB / 2.636 GB Notification: Performance of Templates: time 8.309/44.69, allocations: 4.343 GB / 12.02 GB, free: 115.6 MB / 2.636 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters.makefile clang++ -std=c++14 -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/getTimeSpan.c:23:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'void *' char *result = malloc(len1 + len2 + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersCalcHelperMain.o] Error 1