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.001164/0.001165, allocations: 108.6 kB / 15.99 MB, free: 6.367 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.001204/0.001204, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.497/1.497, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.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.715/1.715, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.00141/0.001411, allocations: 67.22 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2178, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters): time 7.524/7.742, allocations: 2.815 GB / 3.599 GB, free: 14.9 MB / 1.92 GB Notification: Performance of NFInst.instExpressions: time 2.968/10.71, allocations: 0.5285 GB / 4.127 GB, free: 4.152 MB / 1.951 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1901/10.9, allocations: 2.749 MB / 4.13 GB, free: 2.34 MB / 1.951 GB Notification: Performance of NFTyping.typeComponents: time 0.1503/11.05, allocations: 33.12 MB / 4.162 GB, free: 3.223 MB / 1.982 GB [/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/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.3822/11.43, allocations: 94.52 MB / 4.255 GB, free: 2.938 MB / 2.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.1886/11.62, allocations: 58.65 MB / 4.312 GB, free: 14.03 MB / 2.123 GB Notification: Performance of NFFlatten.flatten: time 7.933/19.55, allocations: 454.7 MB / 4.756 GB, free: 95.71 MB / 2.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2146/19.77, allocations: 81.42 MB / 4.835 GB, free: 86.76 MB / 2.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2327/20, allocations: 85.94 MB / 4.919 GB, free: 50.51 MB / 2.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1186/20.12, allocations: 60.84 MB / 4.979 GB, free: 17.13 MB / 2.295 GB Notification: Performance of NFPackage.collectConstants: time 0.04658/20.17, allocations: 8.957 MB / 4.988 GB, free: 8.172 MB / 2.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1735/20.34, allocations: 42.4 MB / 5.029 GB, free: 5.812 MB / 2.311 GB Notification: Performance of NFScalarize.scalarize: time 0.05218/20.39, allocations: 22.23 MB / 5.051 GB, free: 10.41 MB / 2.326 GB Notification: Performance of NFVerifyModel.verify: time 0.1383/20.53, allocations: 46.69 MB / 5.096 GB, free: 14.01 MB / 2.358 GB Notification: Performance of NFConvertDAE.convert: time 0.2138/20.75, allocations: 114.6 MB / 5.208 GB, free: 3.117 MB / 2.436 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/20.75, allocations: 0 / 5.208 GB, free: 3.117 MB / 2.436 GB Notification: Performance of FrontEnd: time 2.264e-06/20.75, allocations: 0 / 5.208 GB, free: 3.117 MB / 2.436 GB Notification: Performance of Transformations before backend: time 0.005019/20.75, allocations: 3.984 kB / 5.208 GB, free: 3.113 MB / 2.436 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.279/21.03, allocations: 86.67 MB / 5.293 GB, free: 13.13 MB / 2.529 GB Notification: Performance of prepare preOptimizeDAE: time 6.283e-05/21.03, allocations: 8.031 kB / 5.293 GB, free: 13.12 MB / 2.529 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1061/21.14, allocations: 18.41 MB / 5.311 GB, free: 10.61 MB / 2.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.193/21.33, allocations: 73.45 MB / 5.382 GB, free: 3.977 MB / 2.608 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01659/21.35, allocations: 6.283 MB / 5.389 GB, free: 13.7 MB / 2.623 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02036/21.37, allocations: 4.796 MB / 5.393 GB, free: 8.922 MB / 2.623 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1952/21.56, allocations: 60.43 MB / 5.452 GB, free: 10.58 MB / 2.686 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002172/21.56, allocations: 120.2 kB / 5.452 GB, free: 10.52 MB / 2.686 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01678/21.58, allocations: 1.938 MB / 5.454 GB, free: 8.594 MB / 2.686 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001669/21.58, allocations: 1.668 MB / 5.456 GB, free: 6.934 MB / 2.686 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7963/22.38, allocations: 52.08 MB / 5.507 GB, free: 1.782 GB / 2.686 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.5161/22.89, allocations: 305.8 MB / 5.805 GB, free: 1.546 GB / 2.686 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1094/23, allocations: 43.97 MB / 5.848 GB, free: 1.524 GB / 2.686 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05046/23.05, allocations: 19.29 MB / 5.867 GB, free: 1.515 GB / 2.686 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.1946/23.25, allocations: 81.26 MB / 5.947 GB, free: 1.446 GB / 2.686 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06072/23.31, allocations: 20.16 MB / 5.966 GB, free: 1.435 GB / 2.686 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03829/23.35, allocations: 3.341 MB / 5.97 GB, free: 1.434 GB / 2.686 GB Notification: Performance of pre-optimization done (n=2479): time 0.0001214/23.35, allocations: 7.922 kB / 5.97 GB, free: 1.434 GB / 2.686 GB Notification: Performance of matching and sorting (n=2489): time 1.027/24.38, allocations: 341.3 MB / 6.303 GB, free: 1.098 GB / 2.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000443/24.38, allocations: 1.38 MB / 6.304 GB, free: 1.097 GB / 2.686 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1436/24.52, allocations: 54.84 MB / 6.358 GB, free: 1.044 GB / 2.686 GB Notification: Performance of collectPreVariables (initialization): time 0.009556/24.53, allocations: 0.6528 MB / 6.358 GB, free: 1.043 GB / 2.686 GB Notification: Performance of collectInitialEqns (initialization): time 0.04659/24.58, allocations: 36.63 MB / 6.394 GB, free: 1.007 GB / 2.686 GB Notification: Performance of collectInitialBindings (initialization): time 0.01581/24.59, allocations: 8.587 MB / 6.403 GB, free: 0.9984 GB / 2.686 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03604/24.63, allocations: 6.914 MB / 6.409 GB, free: 0.9916 GB / 2.686 GB Notification: Performance of setup shared object (initialization): time 5.336e-05/24.63, allocations: 303.2 kB / 6.41 GB, free: 0.9913 GB / 2.686 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04604/24.67, allocations: 16.79 MB / 6.426 GB, free: 0.9751 GB / 2.686 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05846/24.73, allocations: 29.87 MB / 6.455 GB, free: 0.9409 GB / 2.686 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.3918/25.12, allocations: 126.1 MB / 6.578 GB, free: 0.8146 GB / 2.686 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003776/25.12, allocations: 92 kB / 6.578 GB, free: 0.8145 GB / 2.686 GB Notification: Performance of matching and sorting (n=4170) (initialization): time 0.1618/25.29, allocations: 54.1 MB / 6.631 GB, free: 0.7615 GB / 2.686 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002237/25.29, allocations: 133 kB / 6.631 GB, free: 0.7613 GB / 2.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004436/25.29, allocations: 300 kB / 6.632 GB, free: 0.7611 GB / 2.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06107/25.35, allocations: 40.84 MB / 6.671 GB, free: 0.7211 GB / 2.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03173/25.38, allocations: 7.363 MB / 6.679 GB, free: 0.7139 GB / 2.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06591/25.45, allocations: 37.06 MB / 6.715 GB, free: 0.6765 GB / 2.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0687/25.51, allocations: 5.762 MB / 6.72 GB, free: 0.6709 GB / 2.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009949/25.52, allocations: 1.689 MB / 6.722 GB, free: 0.6692 GB / 2.686 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.07871/25.6, allocations: 28.92 MB / 6.75 GB, free: 0.641 GB / 2.686 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.05449/25.66, allocations: 29.24 MB / 6.779 GB, free: 0.6069 GB / 2.686 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.3756/26.03, allocations: 121.5 MB / 6.898 GB, free: 495.7 MB / 2.686 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0003301/26.03, allocations: 84 kB / 6.898 GB, free: 495.6 MB / 2.686 GB Notification: Performance of matching and sorting (n=4170) (initialization_lambda0): time 0.1575/26.19, allocations: 52.56 MB / 6.949 GB, free: 442.9 MB / 2.686 GB Notification: Performance of prepare postOptimizeDAE: time 0.000195/26.19, allocations: 136.7 kB / 6.949 GB, free: 442.8 MB / 2.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003463/26.19, allocations: 300 kB / 6.949 GB, free: 442.5 MB / 2.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05467/26.25, allocations: 37.64 MB / 6.986 GB, free: 404.8 MB / 2.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03206/26.28, allocations: 7.394 MB / 6.993 GB, free: 397.4 MB / 2.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06221/26.34, allocations: 35.95 MB / 7.028 GB, free: 360.2 MB / 2.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06782/26.41, allocations: 5.934 MB / 7.034 GB, free: 354.2 MB / 2.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009199/26.42, allocations: 1.648 MB / 7.036 GB, free: 352.6 MB / 2.686 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: 1368 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.watTem.nextTimeEvent,$whenCondition11,$PRE.ret2.loa.nextTimeEvent,$whenCondition8,$PRE.apa2.loa.nextTimeEvent,$whenCondition7,$PRE.larOff4.loa.nextTimeEvent,$whenCondition6,$PRE.larOff3.loa.nextTimeEvent,$whenCondition5,$PRE.apa1.loa.nextTimeEvent,$whenCondition4,$PRE.larOff2.loa.nextTimeEvent,$whenCondition3,$PRE.ret1.loa.nextTimeEvent,$whenCondition2,$PRE.larOff1.loa.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,watTem.nextTimeEventScaled,$PRE.watTem.nextTimeEventScaled,watTem.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,ret2.loa.nextTimeEventScaled,$PRE.ret2.loa.nextTimeEventScaled,ret2.loa.nextTimeEvent,apa2.loa.nextTimeEventScaled,$PRE.apa2.loa.nextTimeEventScaled,apa2.loa.nextTimeEvent,larOff4.loa.nextTimeEventScaled,$PRE.larOff4.loa.nextTimeEventScaled,larOff4.loa.nextTimeEvent,larOff3.loa.nextTimeEventScaled,$PRE.larOff3.loa.nextTimeEventScaled,larOff3.loa.nextTimeEvent,apa1.loa.nextTimeEventScaled,$PRE.apa1.loa.nextTimeEventScaled,apa1.loa.nextTimeEvent,larOff2.loa.nextTimeEventScaled,$PRE.larOff2.loa.nextTimeEventScaled,larOff2.loa.nextTimeEvent,ret1.loa.nextTimeEventScaled,$PRE.ret1.loa.nextTimeEventScaled,ret1.loa.nextTimeEvent,larOff1.loa.nextTimeEventScaled,$PRE.larOff1.loa.nextTimeEventScaled,larOff1.loa.nextTimeEvent,$whenCondition9,$whenCondition10,ETheCoo.local_reset,ETheHotWat.local_reset,ETheHea.local_reset,EEleCoo.local_reset,EEleHea.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3634): * Single equations (assignments): 3598 * 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,417)} Notification: Performance of prepare postOptimizeDAE: time 0.01814/26.44, allocations: 2.417 MB / 7.038 GB, free: 350.2 MB / 2.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02365/26.46, allocations: 5.856 MB / 7.044 GB, free: 344.2 MB / 2.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1667/26.63, allocations: 61.11 MB / 7.104 GB, free: 283.4 MB / 2.686 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005656/26.63, allocations: 303.9 kB / 7.104 GB, free: 283.1 MB / 2.686 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.963e-05/26.63, allocations: 12 kB / 7.104 GB, free: 283.1 MB / 2.686 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.112/26.74, allocations: 36.39 MB / 7.139 GB, free: 246.6 MB / 2.686 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3182/27.06, allocations: 108.7 MB / 7.246 GB, free: 137.8 MB / 2.686 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002865/27.06, allocations: 28 kB / 7.246 GB, free: 137.8 MB / 2.686 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02585/27.08, allocations: 4.989 MB / 7.251 GB, free: 132.8 MB / 2.686 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03567/27.12, allocations: 13 MB / 7.263 GB, free: 119.8 MB / 2.686 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.008073/27.13, allocations: 0.7455 MB / 7.264 GB, free: 119 MB / 2.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05082/27.18, allocations: 30.02 MB / 7.293 GB, free: 87.88 MB / 2.686 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-05/27.18, allocations: 47.75 kB / 7.293 GB, free: 87.83 MB / 2.686 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1951/27.37, allocations: 71.5 MB / 7.363 GB, free: 15.45 MB / 2.686 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03864/27.41, allocations: 10.82 MB / 7.374 GB, free: 4.535 MB / 2.686 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02362/27.44, allocations: 0.531 MB / 7.374 GB, free: 4.004 MB / 2.686 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.7636/28.2, allocations: 5.212 MB / 7.379 GB, free: 1.686 GB / 2.686 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007403/28.21, allocations: 1.661 MB / 7.381 GB, free: 1.686 GB / 2.686 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.009029/28.22, allocations: 1.228 MB / 7.382 GB, free: 1.686 GB / 2.686 GB Notification: Performance of sorting global known variables: time 0.1061/28.32, allocations: 37.36 MB / 7.419 GB, free: 1.684 GB / 2.686 GB Notification: Performance of sort global known variables: time 6.31e-07/28.32, allocations: 0 / 7.419 GB, free: 1.684 GB / 2.686 GB Notification: Performance of remove unused functions: time 0.1407/28.46, allocations: 27.38 MB / 7.445 GB, free: 1.684 GB / 2.686 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,465)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0293/28.49, allocations: 10.67 MB / 7.456 GB, free: 1.683 GB / 2.686 GB Notification: Performance of simCode: created initialization part: time 0.7602/29.25, allocations: 132.9 MB / 7.586 GB, free: 1.667 GB / 2.686 GB Notification: Performance of simCode: created event and clocks part: time 5.866e-05/29.25, allocations: 33.77 kB / 7.586 GB, free: 1.667 GB / 2.686 GB Notification: Performance of simCode: created simulation system equations: time 0.05381/29.31, allocations: 20.32 MB / 7.605 GB, free: 1.65 GB / 2.686 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.173/29.48, allocations: 30.63 MB / 7.635 GB, free: 1.628 GB / 2.686 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.337/29.82, allocations: 150.9 MB / 7.783 GB, free: 1.494 GB / 2.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.07747/29.89, allocations: 29.19 MB / 7.811 GB, free: 1.474 GB / 2.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02648/29.92, allocations: 4.615 MB / 7.816 GB, free: 1.47 GB / 2.686 GB Notification: Performance of SimCode: time 1.683e-06/29.92, allocations: 4 kB / 7.816 GB, free: 1.47 GB / 2.686 GB Notification: Performance of Templates: time 7.937/37.86, allocations: 4.355 GB / 12.17 GB, free: 1.535 GB / 2.686 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++14 -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