Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase.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.HeatingCoolingHotWater3ClustersBaseCase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 107 kB / 16.36 MB, free: 6.305 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.001101/0.001101, allocations: 188 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.409/1.409, 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.76/1.76, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001463/0.001464, allocations: 71.89 kB / 0.6729 GB, free: 5.793 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.26, allocations: 114.6 MB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase): time 6.332/6.592, allocations: 1.95 GB / 2.735 GB, free: 62.18 MB / 1.514 GB Notification: Performance of NFInst.instExpressions: time 0.8916/7.483, allocations: 0.5628 GB / 3.298 GB, free: 8.535 MB / 1.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1538/7.637, allocations: 2.346 MB / 3.3 GB, free: 6.176 MB / 1.795 GB Notification: Performance of NFTyping.typeComponents: time 2.122/9.76, allocations: 29.55 MB / 3.329 GB, free: 4.301 MB / 1.795 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'. Notification: Performance of NFTyping.typeBindings: time 0.3021/10.06, allocations: 76.45 MB / 3.404 GB, free: 3.469 MB / 1.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.1487/10.21, allocations: 48.65 MB / 3.451 GB, free: 2.355 MB / 1.795 GB Notification: Performance of NFFlatten.flatten: time 1.777/11.99, allocations: 396.2 MB / 3.838 GB, free: 8.699 MB / 2.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1861/12.17, allocations: 58.53 MB / 3.895 GB, free: 14.83 MB / 2.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1789/12.35, allocations: 62.6 MB / 3.956 GB, free: 3.371 MB / 2.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.09575/12.45, allocations: 42.05 MB / 3.997 GB, free: 12.3 MB / 2.201 GB Notification: Performance of NFPackage.collectConstants: time 0.03396/12.48, allocations: 6.719 MB / 4.004 GB, free: 5.586 MB / 2.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1201/12.6, allocations: 29.82 MB / 4.033 GB, free: 9.473 MB / 2.232 GB Notification: Performance of NFScalarize.scalarize: time 0.03705/12.64, allocations: 16.48 MB / 4.049 GB, free: 9.219 MB / 2.248 GB Notification: Performance of NFVerifyModel.verify: time 0.09312/12.73, allocations: 34.36 MB / 4.083 GB, free: 6.957 MB / 2.279 GB Notification: Performance of NFConvertDAE.convert: time 3.732/16.46, allocations: 105.5 MB / 4.186 GB, free: 421.4 MB / 2.326 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/16.46, allocations: 0 / 4.186 GB, free: 421.4 MB / 2.326 GB Notification: Performance of FrontEnd: time 6.241e-06/16.46, allocations: 3.609 kB / 4.186 GB, free: 421.4 MB / 2.326 GB Notification: Performance of Transformations before backend: time 0.005274/16.47, allocations: 0.75 kB / 4.186 GB, free: 421.4 MB / 2.326 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8753 * Number of variables: 8753 Notification: Performance of Generate backend data structure: time 0.3127/16.78, allocations: 64.22 MB / 4.248 GB, free: 396.5 MB / 2.326 GB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/16.78, allocations: 9.938 kB / 4.248 GB, free: 396.5 MB / 2.326 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1037/16.89, allocations: 14.81 MB / 4.263 GB, free: 393.2 MB / 2.326 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.192/17.08, allocations: 54.75 MB / 4.316 GB, free: 384.6 MB / 2.326 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.007216/17.09, allocations: 2.736 MB / 4.319 GB, free: 384.5 MB / 2.326 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02663/17.11, allocations: 3.544 MB / 4.322 GB, free: 384.5 MB / 2.326 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2069/17.32, allocations: 44.64 MB / 4.366 GB, free: 377.4 MB / 2.326 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003118/17.32, allocations: 107.8 kB / 4.366 GB, free: 377.4 MB / 2.326 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02298/17.35, allocations: 1.442 MB / 4.368 GB, free: 377.4 MB / 2.326 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001668/17.35, allocations: 0.8766 MB / 4.368 GB, free: 377.4 MB / 2.326 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1559/17.5, allocations: 37.86 MB / 4.405 GB, free: 376.8 MB / 2.326 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.464/17.97, allocations: 220.4 MB / 4.621 GB, free: 229.9 MB / 2.326 GB Notification: Performance of preOpt comSubExp (simulation): time 0.132/18.1, allocations: 38.18 MB / 4.658 GB, free: 192.3 MB / 2.326 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03835/18.14, allocations: 13.24 MB / 4.671 GB, free: 179 MB / 2.326 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1609/18.3, allocations: 65.27 MB / 4.735 GB, free: 109 MB / 2.326 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05164/18.35, allocations: 14.92 MB / 4.749 GB, free: 93.91 MB / 2.326 GB Notification: Performance of pre-optimization done (n=1787): time 4.667e-05/18.35, allocations: 1.781 kB / 4.749 GB, free: 93.91 MB / 2.326 GB Notification: Performance of matching and sorting (n=1787): time 0.2564/18.61, allocations: 57.61 MB / 4.805 GB, free: 35.84 MB / 2.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003969/18.61, allocations: 1.186 MB / 4.807 GB, free: 34.42 MB / 2.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1508/18.76, allocations: 44.78 MB / 4.85 GB, free: 6.008 MB / 2.342 GB Notification: Performance of collectPreVariables (initialization): time 0.009527/18.77, allocations: 497.9 kB / 4.851 GB, free: 5.52 MB / 2.342 GB Notification: Performance of collectInitialEqns (initialization): time 0.05242/18.82, allocations: 26.29 MB / 4.876 GB, free: 11.25 MB / 2.373 GB Notification: Performance of collectInitialBindings (initialization): time 0.01622/18.84, allocations: 6.09 MB / 4.882 GB, free: 5.215 MB / 2.373 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03881/18.88, allocations: 5.415 MB / 4.888 GB, free: 15.81 MB / 2.389 GB Notification: Performance of setup shared object (initialization): time 0.0001961/18.88, allocations: 301.1 kB / 4.888 GB, free: 15.51 MB / 2.389 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04729/18.92, allocations: 12.79 MB / 4.9 GB, free: 2.699 MB / 2.389 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06449/18.99, allocations: 23.51 MB / 4.923 GB, free: 6.641 MB / 2.42 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1/19.09, allocations: 33.81 MB / 4.956 GB, free: 2.254 MB / 2.451 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005296/19.09, allocations: 72 kB / 4.957 GB, free: 2.184 MB / 2.451 GB Notification: Performance of matching and sorting (n=3189) (initialization): time 0.844/19.93, allocations: 42.26 MB / 4.998 GB, free: 1.497 GB / 2.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006381/19.93, allocations: 114.1 kB / 4.998 GB, free: 1.497 GB / 2.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009492/19.93, allocations: 256.2 kB / 4.998 GB, free: 1.497 GB / 2.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02668/19.96, allocations: 6.974 MB / 5.005 GB, free: 1.497 GB / 2.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03404/19.99, allocations: 6.209 MB / 5.011 GB, free: 1.497 GB / 2.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03446/20.03, allocations: 21.33 MB / 5.032 GB, free: 1.485 GB / 2.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05945/20.09, allocations: 4.443 MB / 5.036 GB, free: 1.485 GB / 2.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00998/20.1, allocations: 1.366 MB / 5.038 GB, free: 1.485 GB / 2.467 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.07168/20.17, allocations: 21.27 MB / 5.058 GB, free: 1.484 GB / 2.467 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.05206/20.22, allocations: 23.02 MB / 5.081 GB, free: 1.472 GB / 2.467 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.08547/20.31, allocations: 32.82 MB / 5.113 GB, free: 1.463 GB / 2.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0006092/20.31, allocations: 72.91 kB / 5.113 GB, free: 1.463 GB / 2.467 GB Notification: Performance of matching and sorting (n=3189) (initialization_lambda0): time 0.1558/20.46, allocations: 41.31 MB / 5.153 GB, free: 1.46 GB / 2.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007596/20.47, allocations: 115.8 kB / 5.153 GB, free: 1.46 GB / 2.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008904/20.47, allocations: 260.7 kB / 5.154 GB, free: 1.46 GB / 2.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02348/20.49, allocations: 6.977 MB / 5.16 GB, free: 1.459 GB / 2.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02957/20.52, allocations: 6.155 MB / 5.166 GB, free: 1.458 GB / 2.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0302/20.55, allocations: 21.33 MB / 5.187 GB, free: 1.443 GB / 2.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05838/20.61, allocations: 3.718 MB / 5.191 GB, free: 1.442 GB / 2.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009855/20.62, allocations: 1.336 MB / 5.192 GB, free: 1.442 GB / 2.467 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1166 * Number of states: 0 () * Number of discrete variables: 53 ($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,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 (2901): * Single equations (assignments): 2853 * Array equations: 24 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 24 systems {(1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.02049/20.64, allocations: 1.951 MB / 5.194 GB, free: 1.441 GB / 2.467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02665/20.67, allocations: 4.643 MB / 5.199 GB, free: 1.439 GB / 2.467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1831/20.85, allocations: 49.46 MB / 5.247 GB, free: 1.422 GB / 2.467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006379/20.85, allocations: 242.1 kB / 5.247 GB, free: 1.422 GB / 2.467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001629/20.85, allocations: 11.47 kB / 5.247 GB, free: 1.422 GB / 2.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1289/20.98, allocations: 30.55 MB / 5.277 GB, free: 1.413 GB / 2.467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.29/21.27, allocations: 86.53 MB / 5.362 GB, free: 1.36 GB / 2.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003591/21.27, allocations: 36.25 kB / 5.362 GB, free: 1.36 GB / 2.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02173/21.29, allocations: 3.89 MB / 5.365 GB, free: 1.357 GB / 2.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02266/21.31, allocations: 6.677 MB / 5.372 GB, free: 1.352 GB / 2.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006955/21.32, allocations: 0.5529 MB / 5.372 GB, free: 1.351 GB / 2.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03087/21.35, allocations: 21.13 MB / 5.393 GB, free: 1.331 GB / 2.467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.292e-05/21.35, allocations: 55.61 kB / 5.393 GB, free: 1.331 GB / 2.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1736/21.52, allocations: 57.22 MB / 5.449 GB, free: 1.282 GB / 2.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03348/21.56, allocations: 8.798 MB / 5.458 GB, free: 1.275 GB / 2.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02639/21.58, allocations: 402.8 kB / 5.458 GB, free: 1.274 GB / 2.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04767/21.63, allocations: 2.248 MB / 5.46 GB, free: 1.273 GB / 2.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005305/21.64, allocations: 1.262 MB / 5.461 GB, free: 1.271 GB / 2.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.007029/21.64, allocations: 0.9094 MB / 5.462 GB, free: 1.27 GB / 2.467 GB Notification: Performance of sorting global known variables: time 0.08343/21.73, allocations: 30.51 MB / 5.492 GB, free: 1.241 GB / 2.467 GB Notification: Performance of sort global known variables: time 5.91e-07/21.73, allocations: 0 / 5.492 GB, free: 1.241 GB / 2.467 GB Notification: Performance of remove unused functions: time 0.1106/21.84, allocations: 23.56 MB / 5.515 GB, free: 1.219 GB / 2.467 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 129 * Number of states: 5 (EEleHea.y,EEleCoo.y,ETheHea.y,ETheHotWat.y,ETheCoo.y) * Number of discrete variables: 28 ($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) * Number of discrete states: 18 (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,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 (1737): * Single equations (assignments): 1575 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 120 * When equations: 18 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 24 systems {(1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02505/21.86, allocations: 9.164 MB / 5.524 GB, free: 1.211 GB / 2.467 GB Notification: Performance of simCode: created initialization part: time 0.1395/22, allocations: 48.52 MB / 5.571 GB, free: 1.164 GB / 2.467 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-05/22, allocations: 26.58 kB / 5.571 GB, free: 1.164 GB / 2.467 GB Notification: Performance of simCode: created simulation system equations: time 0.04593/22.05, allocations: 14.55 MB / 5.586 GB, free: 1.15 GB / 2.467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.151/22.2, allocations: 23.75 MB / 5.609 GB, free: 1.128 GB / 2.467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2606/22.46, allocations: 89.66 MB / 5.696 GB, free: 1.04 GB / 2.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.06064/22.52, allocations: 20.8 MB / 5.717 GB, free: 1.019 GB / 2.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02544/22.55, allocations: 3.592 MB / 5.72 GB, free: 1.016 GB / 2.467 GB Notification: Performance of SimCode: time 2.184e-06/22.55, allocations: 7.938 kB / 5.72 GB, free: 1.016 GB / 2.467 GB Notification: Performance of Templates: time 10.75/33.3, allocations: 7.015 GB / 12.74 GB, free: 206.9 MB / 2.467 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase.makefile make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase.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.HeatingCoolingHotWater3ClustersBaseCaseCalcHelperMain.o OMCppBuildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCaseCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCaseCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCaseFunctions.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.HeatingCoolingHotWater3ClustersBaseCaseCalcHelperMain.o] Error 1