Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase") translateModel(Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.406/1.406, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001304/0.001304, allocations: 180.5 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205 MB / 0.5766 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 93.8 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.000368, allocations: 8.188 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2591, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase): time 7.114/7.373, allocations: 1.936 GB / 2.833 GB, free: 47.92 MB / 1.37 GB Notification: Performance of NFInst.instExpressions: time 2.94/10.31, allocations: 0.5601 GB / 3.393 GB, free: 0.7383 MB / 1.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1645/10.48, allocations: 2.123 MB / 3.395 GB, free: 0.7383 MB / 1.573 GB Notification: Performance of NFTyping.typeComponents: time 0.1401/10.62, allocations: 23.91 MB / 3.418 GB, free: 0.6992 MB / 1.573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Experimental/DistrictHeatingCooling/SubStations/VaporCompression/BaseClasses/getPeakLoad.mo:2:1-88:16:writable] Warning: Pure function ‘Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.getPeakLoad‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.3408/10.96, allocations: 70.75 MB / 3.487 GB, free: 15.07 MB / 1.589 GB Notification: Performance of NFTyping.typeClassSections: time 0.1794/11.14, allocations: 44.78 MB / 3.531 GB, free: 13.88 MB / 1.589 GB Notification: Performance of NFFlatten.flatten: time 5.247/16.39, allocations: 413 MB / 3.934 GB, free: 10.06 MB / 1.87 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1331/16.52, allocations: 45.61 MB / 3.979 GB, free: 13.11 MB / 1.917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1562/16.68, allocations: 49.62 MB / 4.027 GB, free: 13.59 MB / 1.964 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1079/16.78, allocations: 39.07 MB / 4.066 GB, free: 9.504 MB / 1.995 GB Notification: Performance of NFPackage.collectConstants: time 0.02652/16.81, allocations: 1.984 MB / 4.067 GB, free: 7.52 MB / 1.995 GB Notification: Performance of NFFlatten.collectFunctions: time 0.09563/16.91, allocations: 22.01 MB / 4.089 GB, free: 3.047 MB / 2.01 GB Notification: Performance of NFScalarize.scalarize: time 0.03046/16.94, allocations: 11.39 MB / 4.1 GB, free: 7.855 MB / 2.026 GB Notification: Performance of NFVerifyModel.verify: time 3.554/20.49, allocations: 28.5 MB / 4.128 GB, free: 286.6 MB / 2.026 GB Notification: Performance of NFConvertDAE.convert: time 0.1748/20.67, allocations: 82.06 MB / 4.208 GB, free: 283.5 MB / 2.026 GB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/20.67, allocations: 2.125 kB / 4.208 GB, free: 283.5 MB / 2.026 GB Notification: Performance of FrontEnd: time 4.057e-06/20.67, allocations: 0 / 4.208 GB, free: 283.5 MB / 2.026 GB Notification: Performance of Transformations before backend: time 0.005547/20.67, allocations: 0 / 4.208 GB, free: 283.5 MB / 2.026 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.2213/20.89, allocations: 52.16 MB / 4.259 GB, free: 260.1 MB / 2.026 GB Notification: Performance of prepare preOptimizeDAE: time 6.396e-05/20.89, allocations: 7.812 kB / 4.259 GB, free: 260.1 MB / 2.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09111/20.98, allocations: 16.76 MB / 4.275 GB, free: 256.3 MB / 2.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1725/21.16, allocations: 54.67 MB / 4.329 GB, free: 247.5 MB / 2.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.03052/21.19, allocations: 5.824 MB / 4.334 GB, free: 246.3 MB / 2.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02411/21.21, allocations: 3.538 MB / 4.338 GB, free: 246.3 MB / 2.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.244/21.45, allocations: 44.84 MB / 4.382 GB, free: 233 MB / 2.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002371/21.46, allocations: 79.94 kB / 4.382 GB, free: 233 MB / 2.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.019/21.48, allocations: 1.428 MB / 4.383 GB, free: 233 MB / 2.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001076/21.48, allocations: 0.8622 MB / 4.384 GB, free: 233 MB / 2.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1489/21.63, allocations: 39.89 MB / 4.423 GB, free: 226.7 MB / 2.026 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.4868/22.11, allocations: 211.7 MB / 4.63 GB, free: 85.15 MB / 2.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1403/22.25, allocations: 42.77 MB / 4.671 GB, free: 42.97 MB / 2.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04202/22.3, allocations: 14.28 MB / 4.685 GB, free: 28.66 MB / 2.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1786/22.47, allocations: 65.23 MB / 4.749 GB, free: 6.711 MB / 2.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05826/22.53, allocations: 15.95 MB / 4.765 GB, free: 6.637 MB / 2.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0398/22.57, allocations: 2.813 MB / 4.767 GB, free: 3.805 MB / 2.089 GB Notification: Performance of pre-optimization done (n=1811): time 0.0001631/22.57, allocations: 0 / 4.767 GB, free: 3.805 MB / 2.089 GB Notification: Performance of matching and sorting (n=1811): time 0.2864/22.86, allocations: 65.08 MB / 4.831 GB, free: 2.273 MB / 2.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007572/22.86, allocations: 1.19 MB / 4.832 GB, free: 0.8477 MB / 2.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.327/25.19, allocations: 43.54 MB / 4.875 GB, free: 0.5143 GB / 2.167 GB Notification: Performance of collectPreVariables (initialization): time 0.009674/25.2, allocations: 0.4888 MB / 4.875 GB, free: 0.5143 GB / 2.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.05373/25.25, allocations: 26.83 MB / 4.901 GB, free: 0.5128 GB / 2.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.01563/25.27, allocations: 6.149 MB / 4.907 GB, free: 0.5105 GB / 2.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01165/25.28, allocations: 1.901 MB / 4.909 GB, free: 0.5105 GB / 2.167 GB Notification: Performance of setup shared object (initialization): time 7.842e-05/25.28, allocations: 301.7 kB / 4.909 GB, free: 0.5102 GB / 2.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04463/25.32, allocations: 13.41 MB / 4.923 GB, free: 0.5101 GB / 2.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05661/25.38, allocations: 23.54 MB / 4.946 GB, free: 0.499 GB / 2.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09237/25.47, allocations: 34.48 MB / 4.979 GB, free: 0.4905 GB / 2.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006546/25.47, allocations: 65.25 kB / 4.979 GB, free: 0.4905 GB / 2.167 GB Notification: Performance of matching and sorting (n=3045) (initialization): time 0.1725/25.65, allocations: 44.82 MB / 5.023 GB, free: 498.3 MB / 2.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.008/25.65, allocations: 7.152 MB / 5.03 GB, free: 489.3 MB / 2.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001163/25.65, allocations: 232.5 kB / 5.03 GB, free: 489.3 MB / 2.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02743/25.68, allocations: 7.603 MB / 5.038 GB, free: 488.7 MB / 2.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03314/25.71, allocations: 6.259 MB / 5.044 GB, free: 488.6 MB / 2.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03528/25.75, allocations: 22.32 MB / 5.066 GB, free: 474.7 MB / 2.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06898/25.82, allocations: 4.192 MB / 5.07 GB, free: 471.9 MB / 2.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01238/25.83, allocations: 1.301 MB / 5.071 GB, free: 471 MB / 2.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/25.83, allocations: 4 kB / 5.071 GB, free: 471 MB / 2.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1587/25.99, allocations: 39.55 MB / 5.11 GB, free: 446.2 MB / 2.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001524/25.99, allocations: 229.2 kB / 5.11 GB, free: 446 MB / 2.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02641/26.02, allocations: 7.602 MB / 5.117 GB, free: 439.7 MB / 2.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03219/26.05, allocations: 6.209 MB / 5.123 GB, free: 434 MB / 2.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03573/26.09, allocations: 22.32 MB / 5.145 GB, free: 414.2 MB / 2.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07217/26.16, allocations: 4.18 MB / 5.149 GB, free: 410.5 MB / 2.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01096/26.17, allocations: 1.27 MB / 5.15 GB, free: 409.4 MB / 2.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1046 * 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,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,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 (2757): * Single equations (assignments): 2709 * 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.0585/26.23, allocations: 10.31 MB / 5.16 GB, free: 404.8 MB / 2.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03094/26.26, allocations: 4.603 MB / 5.165 GB, free: 400.1 MB / 2.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1984/26.46, allocations: 52.63 MB / 5.216 GB, free: 348.2 MB / 2.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007733/26.46, allocations: 239.9 kB / 5.217 GB, free: 348 MB / 2.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001719/26.46, allocations: 11.98 kB / 5.217 GB, free: 347.9 MB / 2.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1262/26.59, allocations: 33.45 MB / 5.249 GB, free: 314.5 MB / 2.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3339/26.92, allocations: 92.21 MB / 5.339 GB, free: 222.3 MB / 2.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004032/26.92, allocations: 28 kB / 5.339 GB, free: 222.3 MB / 2.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02323/26.94, allocations: 4.236 MB / 5.343 GB, free: 218.2 MB / 2.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02386/26.97, allocations: 7.377 MB / 5.351 GB, free: 210.9 MB / 2.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006647/26.97, allocations: 0.5548 MB / 5.351 GB, free: 210.3 MB / 2.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03166/27.01, allocations: 22.09 MB / 5.373 GB, free: 187.7 MB / 2.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-05/27.01, allocations: 44.66 kB / 5.373 GB, free: 187.7 MB / 2.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1984/27.2, allocations: 61.8 MB / 5.433 GB, free: 125.4 MB / 2.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04323/27.25, allocations: 8.484 MB / 5.441 GB, free: 116.8 MB / 2.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02838/27.28, allocations: 395.8 kB / 5.442 GB, free: 116.4 MB / 2.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06474/27.34, allocations: 3.962 MB / 5.446 GB, free: 112.5 MB / 2.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006784/27.35, allocations: 1.266 MB / 5.447 GB, free: 111.2 MB / 2.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006601/27.35, allocations: 0.9055 MB / 5.448 GB, free: 110.3 MB / 2.167 GB Notification: Performance of sorting global known variables: time 0.08834/27.44, allocations: 29.67 MB / 5.477 GB, free: 80.91 MB / 2.167 GB Notification: Performance of sort global known variables: time 2.605e-06/27.44, allocations: 0 / 5.477 GB, free: 80.91 MB / 2.167 GB Notification: Performance of remove unused functions: time 0.1318/27.57, allocations: 22.91 MB / 5.499 GB, free: 58.37 MB / 2.167 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 (1761): * Single equations (assignments): 1599 * 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.02973/27.6, allocations: 9.881 MB / 5.509 GB, free: 49.57 MB / 2.167 GB Notification: Performance of simCode: created initialization part: time 0.1529/27.76, allocations: 50.27 MB / 5.558 GB, free: 0.9961 MB / 2.167 GB Notification: Performance of simCode: created event and clocks part: time 7.029e-05/27.76, allocations: 22.2 kB / 5.558 GB, free: 0.9688 MB / 2.167 GB Notification: Performance of simCode: created simulation system equations: time 0.05359/27.81, allocations: 15.46 MB / 5.573 GB, free: 1.941 MB / 2.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.6635/28.47, allocations: 23.11 MB / 5.596 GB, free: 11.14 MB / 2.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.736/30.21, allocations: 111.1 MB / 5.704 GB, free: 1.258 GB / 2.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.07745/30.29, allocations: 20.79 MB / 5.724 GB, free: 1.256 GB / 2.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02862/30.32, allocations: 3.561 MB / 5.728 GB, free: 1.256 GB / 2.229 GB Notification: Performance of SimCode: time 2.345e-06/30.32, allocations: 4.469 kB / 5.728 GB, free: 1.256 GB / 2.229 GB Notification: Performance of Templates: time 14.2/44.52, allocations: 6.993 GB / 12.72 GB, free: 1.222 GB / 2.23 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase.makefile clang++ -std=c++14 -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCaseCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCaseCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCaseCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCaseFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/getTimeSpan.c:23:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'void *' char *result = malloc(len1 + len2 + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCaseCalcHelperMain.o] Error 1