Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 102.5 kB / 16.27 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 192.4 kB / 17.2 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.845/1.845, allocations: 292.3 MB / 0.5495 GB, free: 17.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001439/0.00144, allocations: 63.91 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2323, allocations: 114.6 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters): time 8.654/8.886, allocations: 2.843 GB / 3.627 GB, free: 56.16 MB / 1.795 GB Notification: Performance of NFInst.instExpressions: time 3.426/12.31, allocations: 0.5327 GB / 4.16 GB, free: 2.078 MB / 2.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1934/12.51, allocations: 3 MB / 4.163 GB, free: 2.078 MB / 2.139 GB Notification: Performance of NFTyping.typeComponents: time 0.1644/12.67, allocations: 38.18 MB / 4.2 GB, free: 2.027 MB / 2.139 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:1211:5-1277:25:writable] Warning: Pure function 'Modelica.Utilities.Strings.Advanced.skipLineComments' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:965:3-1021:18:writable] Warning: Pure function 'Modelica.Utilities.Strings.syntaxError' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:846:3-933:20:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanDelimiter' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:638:3-686:15:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanReal' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.scanReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Experimental/DHC/Loads/BaseClasses/getPeakLoad.mo:2:1-99:16:writable] Warning: Pure function 'Buildings.Experimental.DHC.Loads.BaseClasses.getPeakLoad' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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.3599/13.03, allocations: 101.2 MB / 4.299 GB, free: 14.45 MB / 2.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.1814/13.21, allocations: 62.62 MB / 4.36 GB, free: 11.01 MB / 2.154 GB Notification: Performance of NFFlatten.flatten: time 1.905/15.12, allocations: 453.2 MB / 4.803 GB, free: 6.785 MB / 2.451 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2423/15.36, allocations: 81.97 MB / 4.883 GB, free: 5.723 MB / 2.529 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2693/15.63, allocations: 84.99 MB / 4.966 GB, free: 5.184 MB / 2.607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1476/15.78, allocations: 58.59 MB / 5.023 GB, free: 14.89 MB / 2.67 GB Notification: Performance of NFPackage.collectConstants: time 0.05722/15.83, allocations: 8.926 MB / 5.032 GB, free: 5.961 MB / 2.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1631/16, allocations: 39.67 MB / 5.07 GB, free: 0.7578 MB / 2.701 GB Notification: Performance of NFScalarize.scalarize: time 0.05795/16.05, allocations: 22.02 MB / 5.092 GB, free: 11.13 MB / 2.732 GB Notification: Performance of NFVerifyModel.verify: time 4.474/20.53, allocations: 46.54 MB / 5.137 GB, free: 386.5 MB / 2.748 GB Notification: Performance of NFConvertDAE.convert: time 0.3314/20.86, allocations: 139.1 MB / 5.273 GB, free: 382.1 MB / 2.748 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/20.86, allocations: 0 / 5.273 GB, free: 382.1 MB / 2.748 GB Notification: Performance of FrontEnd: time 3.356e-06/20.86, allocations: 2.219 kB / 5.273 GB, free: 382.1 MB / 2.748 GB Notification: Performance of Transformations before backend: time 0.006326/20.87, allocations: 3.469 kB / 5.273 GB, free: 382.1 MB / 2.748 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11857 * Number of variables: 11857 Notification: Performance of Generate backend data structure: time 0.359/21.23, allocations: 86.6 MB / 5.358 GB, free: 348.3 MB / 2.748 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/21.23, allocations: 12.66 kB / 5.358 GB, free: 348.3 MB / 2.748 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1193/21.34, allocations: 18.4 MB / 5.376 GB, free: 343.8 MB / 2.748 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2133/21.56, allocations: 71.03 MB / 5.445 GB, free: 332.7 MB / 2.748 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01843/21.58, allocations: 6.281 MB / 5.451 GB, free: 332.4 MB / 2.748 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02886/21.61, allocations: 4.799 MB / 5.456 GB, free: 332.4 MB / 2.748 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2971/21.9, allocations: 61.16 MB / 5.516 GB, free: 315.2 MB / 2.748 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003849/21.91, allocations: 159.5 kB / 5.516 GB, free: 315.2 MB / 2.748 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02904/21.94, allocations: 1.944 MB / 5.518 GB, free: 315.2 MB / 2.748 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002056/21.94, allocations: 1.678 MB / 5.519 GB, free: 315.1 MB / 2.748 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1798/22.12, allocations: 51.9 MB / 5.57 GB, free: 306.7 MB / 2.748 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 0.5695/22.69, allocations: 321.6 MB / 5.884 GB, free: 55.26 MB / 2.748 GB Notification: Performance of preOpt comSubExp (simulation): time 0.116/22.8, allocations: 43.43 MB / 5.927 GB, free: 13.35 MB / 2.748 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05417/22.86, allocations: 19.19 MB / 5.945 GB, free: 10.14 MB / 2.764 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.2234/23.08, allocations: 81.51 MB / 6.025 GB, free: 3.766 MB / 2.842 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.07196/23.15, allocations: 20.01 MB / 6.044 GB, free: 15.63 MB / 2.873 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04415/23.2, allocations: 2.525 MB / 6.047 GB, free: 13.09 MB / 2.873 GB Notification: Performance of pre-optimization done (n=2455): time 0.0001297/23.2, allocations: 0 / 6.047 GB, free: 13.09 MB / 2.873 GB Notification: Performance of matching and sorting (n=2465): time 2.365/25.56, allocations: 340.9 MB / 6.38 GB, free: 1.676 GB / 2.936 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004266/25.56, allocations: 1.384 MB / 6.381 GB, free: 1.674 GB / 2.936 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1832/25.75, allocations: 56.45 MB / 6.436 GB, free: 1.671 GB / 2.936 GB Notification: Performance of collectPreVariables (initialization): time 0.01154/25.76, allocations: 0.6433 MB / 6.437 GB, free: 1.671 GB / 2.936 GB Notification: Performance of collectInitialEqns (initialization): time 0.05956/25.82, allocations: 36.84 MB / 6.473 GB, free: 1.663 GB / 2.936 GB Notification: Performance of collectInitialBindings (initialization): time 0.01884/25.84, allocations: 8.533 MB / 6.481 GB, free: 1.658 GB / 2.936 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.04616/25.88, allocations: 7.144 MB / 6.488 GB, free: 1.658 GB / 2.936 GB Notification: Performance of setup shared object (initialization): time 6.116e-05/25.88, allocations: 304.9 kB / 6.488 GB, free: 1.657 GB / 2.936 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0572/25.94, allocations: 16.96 MB / 6.505 GB, free: 1.654 GB / 2.936 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07955/26.02, allocations: 30.8 MB / 6.535 GB, free: 1.632 GB / 2.936 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.4396/26.46, allocations: 125.6 MB / 6.658 GB, free: 1.587 GB / 2.936 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007245/26.46, allocations: 93.91 kB / 6.658 GB, free: 1.587 GB / 2.936 GB Notification: Performance of matching and sorting (n=4324) (initialization): time 0.2047/26.66, allocations: 54.93 MB / 6.712 GB, free: 1.556 GB / 2.936 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008528/26.67, allocations: 144 kB / 6.712 GB, free: 1.556 GB / 2.936 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009779/26.67, allocations: 328 kB / 6.712 GB, free: 1.556 GB / 2.936 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0552/26.72, allocations: 33.2 MB / 6.744 GB, free: 1.526 GB / 2.936 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03707/26.76, allocations: 7.675 MB / 6.752 GB, free: 1.52 GB / 2.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08088/26.84, allocations: 36.47 MB / 6.788 GB, free: 1.487 GB / 2.936 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07242/26.91, allocations: 3.496 MB / 6.791 GB, free: 1.485 GB / 2.936 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01243/26.92, allocations: 1.754 MB / 6.793 GB, free: 1.483 GB / 2.936 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.09974/27.02, allocations: 29.13 MB / 6.821 GB, free: 1.459 GB / 2.936 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.06503/27.09, allocations: 30.17 MB / 6.851 GB, free: 1.427 GB / 2.936 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_lambda0): time 0.4036/27.49, allocations: 121 MB / 6.969 GB, free: 1.323 GB / 2.936 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0004127/27.49, allocations: 92 kB / 6.969 GB, free: 1.323 GB / 2.936 GB Notification: Performance of matching and sorting (n=4324) (initialization_lambda0): time 0.1799/27.67, allocations: 53.39 MB / 7.021 GB, free: 1.276 GB / 2.936 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003132/27.67, allocations: 144 kB / 7.021 GB, free: 1.276 GB / 2.936 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005843/27.67, allocations: 328 kB / 7.021 GB, free: 1.276 GB / 2.936 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04669/27.72, allocations: 33.06 MB / 7.054 GB, free: 1.245 GB / 2.936 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0351/27.76, allocations: 7.703 MB / 7.061 GB, free: 1.239 GB / 2.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06999/27.83, allocations: 35.34 MB / 7.096 GB, free: 1.207 GB / 2.936 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07449/27.9, allocations: 3.697 MB / 7.099 GB, free: 1.204 GB / 2.936 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0115/27.91, allocations: 1.714 MB / 7.101 GB, free: 1.203 GB / 2.936 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization_lambda0 system: 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: 1494 * 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,ETheCoo.local_reset,ETheHotWat.local_reset,ETheHea.local_reset,EEleCoo.local_reset,EEleHea.local_reset,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3812): * Single equations (assignments): 3776 * 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.02514/27.94, allocations: 2.508 MB / 7.103 GB, free: 1.2 GB / 2.936 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03125/27.97, allocations: 5.899 MB / 7.109 GB, free: 1.194 GB / 2.936 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1878/28.16, allocations: 60.18 MB / 7.168 GB, free: 1.139 GB / 2.936 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006367/28.16, allocations: 299.9 kB / 7.168 GB, free: 1.139 GB / 2.936 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000101/28.16, allocations: 15.84 kB / 7.168 GB, free: 1.139 GB / 2.936 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1254/28.28, allocations: 35.88 MB / 7.203 GB, free: 1.104 GB / 2.936 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3383/28.62, allocations: 108.5 MB / 7.309 GB, free: 0.9982 GB / 2.936 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003443/28.62, allocations: 28 kB / 7.309 GB, free: 0.9982 GB / 2.936 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02671/28.65, allocations: 4.986 MB / 7.314 GB, free: 0.9933 GB / 2.936 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0362/28.68, allocations: 12.24 MB / 7.326 GB, free: 0.9813 GB / 2.936 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.008045/28.69, allocations: 0.7377 MB / 7.327 GB, free: 0.9806 GB / 2.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05522/28.75, allocations: 29.39 MB / 7.355 GB, free: 0.9508 GB / 2.936 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.96e-05/28.75, allocations: 43.81 kB / 7.355 GB, free: 0.9507 GB / 2.936 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2105/28.96, allocations: 70.79 MB / 7.425 GB, free: 0.8807 GB / 2.936 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04629/29, allocations: 10.85 MB / 7.435 GB, free: 0.87 GB / 2.936 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.03225/29.04, allocations: 0.5205 MB / 7.436 GB, free: 0.8695 GB / 2.936 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06981/29.11, allocations: 2.994 MB / 7.439 GB, free: 0.8666 GB / 2.936 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00742/29.11, allocations: 1.637 MB / 7.44 GB, free: 0.865 GB / 2.936 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.009495/29.12, allocations: 1.222 MB / 7.441 GB, free: 0.8638 GB / 2.936 GB Notification: Performance of sorting global known variables: time 0.1059/29.23, allocations: 38.47 MB / 7.479 GB, free: 0.8266 GB / 2.936 GB Notification: Performance of sort global known variables: time 1.483e-06/29.23, allocations: 0 / 7.479 GB, free: 0.8266 GB / 2.936 GB Notification: Performance of remove unused functions: time 0.1551/29.38, allocations: 27.68 MB / 7.506 GB, free: 0.8001 GB / 2.936 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 (2216): * Single equations (assignments): 2078 * 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), (27,417)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03324/29.42, allocations: 11.31 MB / 7.517 GB, free: 0.791 GB / 2.936 GB Notification: Performance of simCode: created initialization part: time 0.8436/30.26, allocations: 133.6 MB / 7.648 GB, free: 0.6606 GB / 2.936 GB Notification: Performance of simCode: created event and clocks part: time 5.556e-05/30.26, allocations: 37.77 kB / 7.648 GB, free: 0.6606 GB / 2.936 GB Notification: Performance of simCode: created simulation system equations: time 0.06149/30.32, allocations: 20.07 MB / 7.667 GB, free: 0.6409 GB / 2.936 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2123/30.54, allocations: 30.55 MB / 7.697 GB, free: 0.6122 GB / 2.936 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3997/30.94, allocations: 125.4 MB / 7.82 GB, free: 0.4893 GB / 2.936 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.09009/31.03, allocations: 29.16 MB / 7.848 GB, free: 471.8 MB / 2.936 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03345/31.06, allocations: 4.677 MB / 7.853 GB, free: 467.1 MB / 2.936 GB Notification: Performance of SimCode: time 1.303e-06/31.06, allocations: 4 kB / 7.853 GB, free: 467.1 MB / 2.936 GB Notification: Performance of Templates: time 9.746/40.81, allocations: 4.37 GB / 12.22 GB, free: 1.64 GB / 2.936 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters.makefile make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters.makefile clang++ -std=c++17 -fopenmp=libomp -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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersCalcHelperMain.o OMCppBuildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:27: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_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersCalcHelperMain.o] Error 1