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 1.6/1.6, allocations: 252 MB / 268 MB, free: 10.85 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.001463/0.001462, allocations: 174.2 kB / 327.6 MB, free: 2.082 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.875/1.875, allocations: 205.4 MB / 0.5786 GB, free: 20.11 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.0008331/0.0008331, allocations: 85.5 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003307, allocations: 6 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2122, allocations: 106.3 MB / 0.9014 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters): time 9.043/9.255, allocations: 2.786 GB / 3.688 GB, free: 38.22 MB / 1.589 GB Notification: Performance of NFInst.instExpressions: time 3.163/12.42, allocations: 0.5278 GB / 4.215 GB, free: 424 kB / 1.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1929/12.61, allocations: 2.593 MB / 4.218 GB, free: 424 kB / 1.823 GB Notification: Performance of NFTyping.typeComponents: time 0.1399/12.75, allocations: 30.97 MB / 4.248 GB, free: 372 kB / 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.3695/13.12, allocations: 93.81 MB / 4.34 GB, free: 6.316 MB / 1.839 GB Notification: Performance of NFTyping.typeClassSections: time 0.2189/13.34, allocations: 57.76 MB / 4.396 GB, free: 11.07 MB / 1.854 GB Notification: Performance of NFFlatten.flatten: time 5.105/18.44, allocations: 490.9 MB / 4.876 GB, free: 13.45 MB / 2.26 GB Notification: Performance of NFFlatten.resolveConnections: time 4.61/23.05, allocations: 64.82 MB / 4.939 GB, free: 226.6 MB / 2.292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.237/23.29, allocations: 67.84 MB / 5.005 GB, free: 220.8 MB / 2.292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1555/23.45, allocations: 54.75 MB / 5.059 GB, free: 210.4 MB / 2.292 GB Notification: Performance of NFPackage.collectConstants: time 0.03926/23.49, allocations: 2.728 MB / 5.061 GB, free: 210.4 MB / 2.292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1592/23.65, allocations: 30.61 MB / 5.091 GB, free: 210.4 MB / 2.292 GB Notification: Performance of NFScalarize.scalarize: time 0.05542/23.7, allocations: 15.29 MB / 5.106 GB, free: 207.3 MB / 2.292 GB Notification: Performance of NFVerifyModel.verify: time 0.1378/23.84, allocations: 38.78 MB / 5.144 GB, free: 195.3 MB / 2.292 GB Notification: Performance of NFConvertDAE.convert: time 0.2056/24.04, allocations: 109.2 MB / 5.251 GB, free: 171.6 MB / 2.292 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/24.04, allocations: 0 / 5.251 GB, free: 171.6 MB / 2.292 GB Notification: Performance of FrontEnd: time 4.037e-06/24.04, allocations: 3.25 kB / 5.251 GB, free: 171.6 MB / 2.292 GB Notification: Performance of Transformations before backend: time 0.006102/24.05, allocations: 0 / 5.251 GB, free: 171.6 MB / 2.292 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.2347/24.29, allocations: 70.3 MB / 5.319 GB, free: 130.6 MB / 2.292 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/24.29, allocations: 10.66 kB / 5.319 GB, free: 130.6 MB / 2.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1119/24.4, allocations: 20.62 MB / 5.339 GB, free: 121.8 MB / 2.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2163/24.61, allocations: 73.43 MB / 5.411 GB, free: 95.94 MB / 2.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01905/24.63, allocations: 6.755 MB / 5.418 GB, free: 94.77 MB / 2.292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02531/24.66, allocations: 4.793 MB / 5.422 GB, free: 92.97 MB / 2.292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2236/24.88, allocations: 61.05 MB / 5.482 GB, free: 49.52 MB / 2.292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.004269/24.89, allocations: 121.1 kB / 5.482 GB, free: 49.46 MB / 2.292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03118/24.92, allocations: 1.923 MB / 5.484 GB, free: 49 MB / 2.292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00192/24.92, allocations: 1.674 MB / 5.486 GB, free: 47.37 MB / 2.292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1886/25.11, allocations: 53.71 MB / 5.538 GB, free: 11.63 MB / 2.292 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 1.568/26.68, allocations: 309.1 MB / 5.84 GB, free: 1.591 GB / 2.557 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1271/26.8, allocations: 46.02 MB / 5.885 GB, free: 1.589 GB / 2.557 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05379/26.86, allocations: 20.12 MB / 5.904 GB, free: 1.589 GB / 2.557 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.2393/27.1, allocations: 80.99 MB / 5.984 GB, free: 1.556 GB / 2.557 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.07527/27.17, allocations: 20.78 MB / 6.004 GB, free: 1.549 GB / 2.557 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05669/27.23, allocations: 3.823 MB / 6.008 GB, free: 1.549 GB / 2.557 GB Notification: Performance of pre-optimization done (n=2481): time 0.0001927/27.23, allocations: 3.938 kB / 6.008 GB, free: 1.549 GB / 2.557 GB Notification: Performance of matching and sorting (n=2491): time 1.519/28.75, allocations: 345.5 MB / 6.345 GB, free: 1.315 GB / 2.557 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008517/28.75, allocations: 1.381 MB / 6.346 GB, free: 1.313 GB / 2.557 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1891/28.94, allocations: 54.85 MB / 6.4 GB, free: 1.268 GB / 2.557 GB Notification: Performance of collectPreVariables (initialization): time 0.01176/28.95, allocations: 0.6397 MB / 6.401 GB, free: 1.268 GB / 2.557 GB Notification: Performance of collectInitialEqns (initialization): time 0.0559/29.01, allocations: 36.63 MB / 6.436 GB, free: 1.235 GB / 2.557 GB Notification: Performance of collectInitialBindings (initialization): time 0.02134/29.03, allocations: 8.596 MB / 6.445 GB, free: 1.228 GB / 2.557 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009724/29.04, allocations: 0.6322 MB / 6.445 GB, free: 1.227 GB / 2.557 GB Notification: Performance of setup shared object (initialization): time 8.537e-05/29.04, allocations: 306.9 kB / 6.446 GB, free: 1.227 GB / 2.557 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05526/29.09, allocations: 17.42 MB / 6.463 GB, free: 1.211 GB / 2.557 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07359/29.17, allocations: 30.64 MB / 6.493 GB, free: 1.176 GB / 2.557 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.4505/29.62, allocations: 130.9 MB / 6.62 GB, free: 1.047 GB / 2.557 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001085/29.62, allocations: 88 kB / 6.62 GB, free: 1.047 GB / 2.557 GB Notification: Performance of matching and sorting (n=4172) (initialization): time 0.2097/29.83, allocations: 56.13 MB / 6.675 GB, free: 0.9928 GB / 2.557 GB Notification: Performance of prepare postOptimizeDAE: time 0.0103/29.84, allocations: 9.327 MB / 6.684 GB, free: 0.9795 GB / 2.557 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001125/29.84, allocations: 300 kB / 6.685 GB, free: 0.9792 GB / 2.557 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05727/29.9, allocations: 34.4 MB / 6.718 GB, free: 0.9456 GB / 2.557 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03711/29.93, allocations: 7.664 MB / 6.726 GB, free: 0.9381 GB / 2.557 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0665/30, allocations: 36.08 MB / 6.761 GB, free: 0.9017 GB / 2.557 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09115/30.09, allocations: 6.191 MB / 6.767 GB, free: 0.8957 GB / 2.557 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0127/30.1, allocations: 1.685 MB / 6.769 GB, free: 0.894 GB / 2.557 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/30.1, allocations: 4 kB / 6.769 GB, free: 0.894 GB / 2.557 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1724/30.28, allocations: 49.03 MB / 6.817 GB, free: 0.8461 GB / 2.557 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001398/30.28, allocations: 300 kB / 6.817 GB, free: 0.8458 GB / 2.557 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05399/30.33, allocations: 33.43 MB / 6.849 GB, free: 0.813 GB / 2.557 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03782/30.37, allocations: 7.711 MB / 6.857 GB, free: 0.8055 GB / 2.557 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07088/30.44, allocations: 34.84 MB / 6.891 GB, free: 0.7703 GB / 2.557 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08877/30.53, allocations: 6.089 MB / 6.897 GB, free: 0.7644 GB / 2.557 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01566/30.55, allocations: 1.65 MB / 6.899 GB, free: 0.7628 GB / 2.557 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 ($whenCondition11,$PRE.watTem.nextTimeEvent,$whenCondition8,$PRE.ret2.loa.nextTimeEvent,$whenCondition7,$PRE.apa2.loa.nextTimeEvent,$whenCondition6,$PRE.larOff4.loa.nextTimeEvent,$whenCondition5,$PRE.larOff3.loa.nextTimeEvent,$whenCondition4,$PRE.apa1.loa.nextTimeEvent,$whenCondition3,$PRE.larOff2.loa.nextTimeEvent,$whenCondition2,$PRE.ret1.loa.nextTimeEvent,$whenCondition1,$PRE.larOff1.loa.nextTimeEvent,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,$whenCondition10,$whenCondition9,larOff1.loa.nextTimeEvent,$PRE.larOff1.loa.nextTimeEventScaled,larOff1.loa.nextTimeEventScaled,ret1.loa.nextTimeEvent,$PRE.ret1.loa.nextTimeEventScaled,ret1.loa.nextTimeEventScaled,larOff2.loa.nextTimeEvent,$PRE.larOff2.loa.nextTimeEventScaled,larOff2.loa.nextTimeEventScaled,apa1.loa.nextTimeEvent,$PRE.apa1.loa.nextTimeEventScaled,apa1.loa.nextTimeEventScaled,larOff3.loa.nextTimeEvent,$PRE.larOff3.loa.nextTimeEventScaled,larOff3.loa.nextTimeEventScaled,larOff4.loa.nextTimeEvent,$PRE.larOff4.loa.nextTimeEventScaled,larOff4.loa.nextTimeEventScaled,apa2.loa.nextTimeEvent,$PRE.apa2.loa.nextTimeEventScaled,apa2.loa.nextTimeEventScaled,ret2.loa.nextTimeEvent,$PRE.ret2.loa.nextTimeEventScaled,ret2.loa.nextTimeEventScaled,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,watTem.nextTimeEvent,$PRE.watTem.nextTimeEventScaled,watTem.nextTimeEventScaled,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), (27,393)} Notification: Performance of prepare postOptimizeDAE: time 0.07245/30.62, allocations: 14.5 MB / 6.913 GB, free: 0.7486 GB / 2.557 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02849/30.65, allocations: 5.845 MB / 6.918 GB, free: 0.7428 GB / 2.557 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2059/30.85, allocations: 62.55 MB / 6.98 GB, free: 0.682 GB / 2.557 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008118/30.85, allocations: 307.9 kB / 6.98 GB, free: 0.6817 GB / 2.557 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001923/30.85, allocations: 12 kB / 6.98 GB, free: 0.6817 GB / 2.557 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1372/30.99, allocations: 38.04 MB / 7.017 GB, free: 0.6444 GB / 2.557 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.3987/31.39, allocations: 113 MB / 7.127 GB, free: 0.5338 GB / 2.557 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004576/31.39, allocations: 28 kB / 7.127 GB, free: 0.5338 GB / 2.557 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02895/31.42, allocations: 5.298 MB / 7.133 GB, free: 0.5286 GB / 2.557 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03812/31.46, allocations: 12.55 MB / 7.145 GB, free: 0.5163 GB / 2.557 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.01011/31.47, allocations: 0.7494 MB / 7.145 GB, free: 0.5156 GB / 2.557 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06224/31.53, allocations: 29.06 MB / 7.174 GB, free: 497.8 MB / 2.557 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.49e-05/31.53, allocations: 39.81 kB / 7.174 GB, free: 497.8 MB / 2.557 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.241/31.77, allocations: 73.91 MB / 7.246 GB, free: 423 MB / 2.557 GB Notification: Performance of postOpt removeConstants (simulation): time 0.06204/31.83, allocations: 11.48 MB / 7.257 GB, free: 411.4 MB / 2.557 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.03707/31.87, allocations: 0.5078 MB / 7.258 GB, free: 410.9 MB / 2.557 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.07929/31.95, allocations: 5.792 MB / 7.263 GB, free: 405.1 MB / 2.557 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01055/31.96, allocations: 1.649 MB / 7.265 GB, free: 403.4 MB / 2.557 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0126/31.97, allocations: 1.194 MB / 7.266 GB, free: 402.3 MB / 2.557 GB Notification: Performance of sorting global known variables: time 0.1311/32.1, allocations: 37.36 MB / 7.303 GB, free: 365.2 MB / 2.557 GB Notification: Performance of sort global known variables: time 1.182e-06/32.1, allocations: 0 / 7.303 GB, free: 365.2 MB / 2.557 GB Notification: Performance of remove unused functions: time 0.1761/32.28, allocations: 26.97 MB / 7.329 GB, free: 338.8 MB / 2.557 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.03364/32.31, allocations: 13.05 MB / 7.342 GB, free: 326.4 MB / 2.557 GB Notification: Performance of simCode: created initialization part: time 0.19/32.5, allocations: 68.51 MB / 7.409 GB, free: 257.8 MB / 2.557 GB Notification: Performance of simCode: created event and clocks part: time 5.832e-05/32.5, allocations: 28.27 kB / 7.409 GB, free: 257.8 MB / 2.557 GB Notification: Performance of simCode: created simulation system equations: time 0.06134/32.56, allocations: 21.09 MB / 7.429 GB, free: 236.6 MB / 2.557 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.9331/33.5, allocations: 30.7 MB / 7.459 GB, free: 206.2 MB / 2.557 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3842/33.88, allocations: 153.3 MB / 7.609 GB, free: 52.43 MB / 2.557 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.786/35.67, allocations: 29.19 MB / 7.638 GB, free: 1.512 GB / 2.558 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03255/35.7, allocations: 4.832 MB / 7.642 GB, free: 1.512 GB / 2.558 GB Notification: Performance of SimCode: time 2.445e-06/35.7, allocations: 0 / 7.642 GB, free: 1.512 GB / 2.558 GB Notification: Performance of Templates: time 9.15/44.85, allocations: 4.343 GB / 11.99 GB, free: 0.6334 GB / 2.558 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