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.001199/0.001199, allocations: 104 kB / 16.36 MB, free: 6.301 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.001259/0.001259, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.457/1.457, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.751/1.751, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001401/0.001401, allocations: 75.89 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2373, allocations: 114.5 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters): time 8.934/9.172, allocations: 2.843 GB / 3.628 GB, free: 56.89 MB / 1.795 GB Notification: Performance of NFInst.instExpressions: time 3.253/12.42, allocations: 0.5327 GB / 4.161 GB, free: 2.023 MB / 2.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1906/12.62, allocations: 3.001 MB / 4.164 GB, free: 2.023 MB / 2.139 GB Notification: Performance of NFTyping.typeComponents: time 0.1554/12.77, allocations: 38.18 MB / 4.201 GB, free: 1.973 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.3828/13.15, allocations: 101.2 MB / 4.3 GB, free: 14.38 MB / 2.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.1771/13.33, allocations: 63.06 MB / 4.361 GB, free: 10.86 MB / 2.154 GB Notification: Performance of NFFlatten.flatten: time 1.861/15.19, allocations: 455.7 MB / 4.806 GB, free: 3.531 MB / 2.451 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2562/15.45, allocations: 81.95 MB / 4.886 GB, free: 2.484 MB / 2.529 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2472/15.7, allocations: 85.34 MB / 4.97 GB, free: 1.582 MB / 2.607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.148/15.84, allocations: 58.66 MB / 5.027 GB, free: 11.22 MB / 2.67 GB Notification: Performance of NFPackage.collectConstants: time 0.05485/15.9, allocations: 8.918 MB / 5.036 GB, free: 2.305 MB / 2.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1711/16.07, allocations: 39.69 MB / 5.075 GB, free: 13.08 MB / 2.717 GB Notification: Performance of NFScalarize.scalarize: time 0.06153/16.13, allocations: 22.03 MB / 5.096 GB, free: 7.449 MB / 2.732 GB Notification: Performance of NFVerifyModel.verify: time 4.616/20.75, allocations: 46.52 MB / 5.141 GB, free: 387.8 MB / 2.748 GB Notification: Performance of NFConvertDAE.convert: time 0.3167/21.06, allocations: 140.5 MB / 5.279 GB, free: 383.4 MB / 2.748 GB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/21.06, allocations: 2.125 kB / 5.279 GB, free: 383.4 MB / 2.748 GB Notification: Performance of FrontEnd: time 2.604e-06/21.06, allocations: 3.844 kB / 5.279 GB, free: 383.4 MB / 2.748 GB Notification: Performance of Transformations before backend: time 0.006216/21.07, allocations: 0 / 5.279 GB, free: 383.4 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.3541/21.42, allocations: 86.61 MB / 5.363 GB, free: 349.6 MB / 2.748 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/21.42, allocations: 10.25 kB / 5.363 GB, free: 349.6 MB / 2.748 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1178/21.54, allocations: 18.4 MB / 5.381 GB, free: 345.1 MB / 2.748 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2139/21.76, allocations: 73.88 MB / 5.453 GB, free: 333.6 MB / 2.748 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005892/21.76, allocations: 3.651 MB / 5.457 GB, free: 333.5 MB / 2.748 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02938/21.79, allocations: 4.798 MB / 5.462 GB, free: 333.5 MB / 2.748 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2303/22.02, allocations: 60.93 MB / 5.521 GB, free: 317.9 MB / 2.748 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003357/22.03, allocations: 150.5 kB / 5.521 GB, free: 317.9 MB / 2.748 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02684/22.05, allocations: 1.951 MB / 5.523 GB, free: 317.9 MB / 2.748 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001591/22.05, allocations: 1.676 MB / 5.525 GB, free: 317.8 MB / 2.748 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1821/22.24, allocations: 51.46 MB / 5.575 GB, free: 309.5 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.6248/22.86, allocations: 319 MB / 5.887 GB, free: 57.14 MB / 2.748 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1144/22.98, allocations: 42.98 MB / 5.929 GB, free: 15.69 MB / 2.748 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04878/23.02, allocations: 18.96 MB / 5.947 GB, free: 12.7 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.2163/23.24, allocations: 81.43 MB / 6.027 GB, free: 6.414 MB / 2.842 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06996/23.31, allocations: 19.79 MB / 6.046 GB, free: 2.516 MB / 2.858 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03765/23.35, allocations: 2.522 MB / 6.048 GB, free: 15.98 MB / 2.873 GB Notification: Performance of pre-optimization done (n=2455): time 0.0001118/23.35, allocations: 0 / 6.048 GB, free: 15.98 MB / 2.873 GB Notification: Performance of matching and sorting (n=2465): time 3.402/26.75, allocations: 339.6 MB / 6.38 GB, free: 0.522 GB / 2.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004263/26.75, allocations: 1.379 MB / 6.381 GB, free: 0.5206 GB / 2.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1806/26.93, allocations: 56.45 MB / 6.437 GB, free: 0.5175 GB / 2.92 GB Notification: Performance of collectPreVariables (initialization): time 0.01139/26.94, allocations: 0.6401 MB / 6.437 GB, free: 0.5175 GB / 2.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.05774/27, allocations: 35.57 MB / 6.472 GB, free: 0.5104 GB / 2.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.01878/27.02, allocations: 8.529 MB / 6.48 GB, free: 0.505 GB / 2.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.04442/27.06, allocations: 7.148 MB / 6.487 GB, free: 0.5046 GB / 2.92 GB Notification: Performance of setup shared object (initialization): time 6.441e-05/27.06, allocations: 305.9 kB / 6.487 GB, free: 0.5043 GB / 2.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04997/27.11, allocations: 16.73 MB / 6.504 GB, free: 0.504 GB / 2.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0671/27.18, allocations: 30.55 MB / 6.534 GB, free: 0.4885 GB / 2.92 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.4185/27.6, allocations: 124 MB / 6.655 GB, free: 427.6 MB / 2.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004789/27.6, allocations: 92 kB / 6.655 GB, free: 427.5 MB / 2.92 GB Notification: Performance of matching and sorting (n=4324) (initialization): time 0.1919/27.79, allocations: 54.37 MB / 6.708 GB, free: 383.9 MB / 2.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004279/27.79, allocations: 152 kB / 6.708 GB, free: 383.7 MB / 2.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006423/27.79, allocations: 328 kB / 6.708 GB, free: 383.4 MB / 2.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0527/27.85, allocations: 32.94 MB / 6.741 GB, free: 350.4 MB / 2.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03735/27.88, allocations: 7.614 MB / 6.748 GB, free: 343.3 MB / 2.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0706/27.95, allocations: 36.12 MB / 6.783 GB, free: 306.2 MB / 2.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08063/28.03, allocations: 3.307 MB / 6.787 GB, free: 302.9 MB / 2.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01261/28.05, allocations: 1.751 MB / 6.788 GB, free: 301.2 MB / 2.92 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.09889/28.15, allocations: 28.88 MB / 6.816 GB, free: 272.3 MB / 2.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0627/28.21, allocations: 29.92 MB / 6.846 GB, free: 236.5 MB / 2.92 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.3949/28.6, allocations: 119.4 MB / 6.962 GB, free: 113.8 MB / 2.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0003109/28.6, allocations: 96 kB / 6.962 GB, free: 113.7 MB / 2.92 GB Notification: Performance of matching and sorting (n=4324) (initialization_lambda0): time 0.1813/28.79, allocations: 52.83 MB / 7.014 GB, free: 62.73 MB / 2.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002717/28.79, allocations: 144 kB / 7.014 GB, free: 62.59 MB / 2.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005759/28.79, allocations: 328 kB / 7.014 GB, free: 62.27 MB / 2.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04764/28.83, allocations: 32.79 MB / 7.046 GB, free: 29.41 MB / 2.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03745/28.87, allocations: 7.652 MB / 7.054 GB, free: 22.24 MB / 2.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07224/28.94, allocations: 34.98 MB / 7.088 GB, free: 2.242 MB / 2.936 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07429/29.02, allocations: 3.494 MB / 7.091 GB, free: 14.75 MB / 2.951 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01251/29.03, allocations: 1.716 MB / 7.093 GB, free: 13.04 MB / 2.951 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.0242/29.06, allocations: 2.513 MB / 7.096 GB, free: 11.01 MB / 2.951 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03449/29.09, allocations: 5.903 MB / 7.101 GB, free: 5.031 MB / 2.951 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.366/31.46, allocations: 59.55 MB / 7.16 GB, free: 0.705 GB / 2.967 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008251/31.46, allocations: 301.4 kB / 7.16 GB, free: 0.705 GB / 2.967 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002043/31.46, allocations: 13.61 kB / 7.16 GB, free: 0.705 GB / 2.967 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1348/31.59, allocations: 35.3 MB / 7.194 GB, free: 0.704 GB / 2.967 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3508/31.94, allocations: 107.8 MB / 7.3 GB, free: 0.6991 GB / 2.967 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003325/31.94, allocations: 28.09 kB / 7.3 GB, free: 0.6991 GB / 2.967 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02722/31.97, allocations: 4.936 MB / 7.304 GB, free: 0.6991 GB / 2.967 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03498/32.01, allocations: 11.97 MB / 7.316 GB, free: 0.6985 GB / 2.967 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.008289/32.01, allocations: 0.7401 MB / 7.317 GB, free: 0.6985 GB / 2.967 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05134/32.07, allocations: 29.02 MB / 7.345 GB, free: 0.6864 GB / 2.967 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.843e-05/32.07, allocations: 46.94 kB / 7.345 GB, free: 0.6864 GB / 2.967 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2048/32.27, allocations: 70.06 MB / 7.414 GB, free: 0.6739 GB / 2.967 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04476/32.31, allocations: 10.86 MB / 7.424 GB, free: 0.6718 GB / 2.967 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02962/32.34, allocations: 0.5197 MB / 7.425 GB, free: 0.6716 GB / 2.967 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06445/32.41, allocations: 2.884 MB / 7.428 GB, free: 0.6692 GB / 2.967 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008064/32.42, allocations: 1.634 MB / 7.429 GB, free: 0.6678 GB / 2.967 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.009536/32.43, allocations: 1.221 MB / 7.43 GB, free: 0.6668 GB / 2.967 GB Notification: Performance of sorting global known variables: time 0.1147/32.54, allocations: 38.48 MB / 7.468 GB, free: 0.6375 GB / 2.967 GB Notification: Performance of sort global known variables: time 5.51e-07/32.54, allocations: 0 / 7.468 GB, free: 0.6375 GB / 2.967 GB Notification: Performance of remove unused functions: time 0.1576/32.7, allocations: 27.69 MB / 7.495 GB, free: 0.6113 GB / 2.967 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.03623/32.74, allocations: 11.31 MB / 7.506 GB, free: 0.6028 GB / 2.967 GB Notification: Performance of simCode: created initialization part: time 0.1842/32.92, allocations: 66.48 MB / 7.571 GB, free: 0.5399 GB / 2.967 GB Notification: Performance of simCode: created event and clocks part: time 6.711e-05/32.92, allocations: 33.77 kB / 7.571 GB, free: 0.5399 GB / 2.967 GB Notification: Performance of simCode: created simulation system equations: time 0.05692/32.98, allocations: 19.83 MB / 7.59 GB, free: 0.5209 GB / 2.967 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2044/33.18, allocations: 30.5 MB / 7.62 GB, free: 0.4925 GB / 2.967 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3354/33.52, allocations: 123.3 MB / 7.741 GB, free: 381.1 MB / 2.967 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.07832/33.59, allocations: 29.16 MB / 7.769 GB, free: 351.9 MB / 2.967 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02665/33.62, allocations: 4.674 MB / 7.774 GB, free: 347.3 MB / 2.967 GB Notification: Performance of SimCode: time 2.104e-06/33.62, allocations: 0 / 7.774 GB, free: 347.3 MB / 2.967 GB Notification: Performance of Templates: time 9.173/42.79, allocations: 4.37 GB / 12.14 GB, free: 1.724 GB / 3.014 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