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.457/1.457, allocations: 252 MB / 268 MB, free: 10.88 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.001069/0.001069, allocations: 174.2 kB / 327.6 MB, free: 2.117 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.791/1.791, allocations: 205.4 MB / 0.5786 GB, free: 20.16 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.0008019/0.0008018, allocations: 92.02 kB / 0.6832 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003259, allocations: 9.312 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2262, allocations: 106.3 MB / 0.9014 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase): time 6.489/6.715, allocations: 1.91 GB / 2.811 GB, free: 47.16 MB / 1.385 GB Notification: Performance of NFInst.instExpressions: time 0.8384/7.554, allocations: 0.5548 GB / 3.366 GB, free: 12.66 MB / 1.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.141/7.695, allocations: 2.025 MB / 3.368 GB, free: 10.62 MB / 1.573 GB Notification: Performance of NFTyping.typeComponents: time 0.1006/7.795, allocations: 23.91 MB / 3.391 GB, free: 2.59 MB / 1.589 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 2.029/9.824, allocations: 70.73 MB / 3.461 GB, free: 8.098 MB / 1.589 GB Notification: Performance of NFTyping.typeClassSections: time 0.1654/9.989, allocations: 44.79 MB / 3.504 GB, free: 7.129 MB / 1.589 GB Notification: Performance of NFFlatten.flatten: time 5.14/15.13, allocations: 412.7 MB / 3.907 GB, free: 0.8086 MB / 1.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1531/15.28, allocations: 46.16 MB / 3.952 GB, free: 7.926 MB / 1.87 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1594/15.44, allocations: 49.54 MB / 4.001 GB, free: 8.48 MB / 1.917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1024/15.54, allocations: 39.08 MB / 4.039 GB, free: 4.527 MB / 1.948 GB Notification: Performance of NFPackage.collectConstants: time 0.02909/15.57, allocations: 1.984 MB / 4.041 GB, free: 2.543 MB / 1.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1102/15.68, allocations: 21.99 MB / 4.062 GB, free: 14.08 MB / 1.979 GB Notification: Performance of NFScalarize.scalarize: time 0.03394/15.72, allocations: 11.4 MB / 4.073 GB, free: 2.945 MB / 1.979 GB Notification: Performance of NFVerifyModel.verify: time 0.08808/15.81, allocations: 28.52 MB / 4.101 GB, free: 6.512 MB / 2.01 GB Notification: Performance of NFConvertDAE.convert: time 3.302/19.11, allocations: 82.06 MB / 4.181 GB, free: 359.3 MB / 2.011 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/19.11, allocations: 2.125 kB / 4.181 GB, free: 359.3 MB / 2.011 GB Notification: Performance of FrontEnd: time 3.987e-06/19.11, allocations: 0 / 4.181 GB, free: 359.3 MB / 2.011 GB Notification: Performance of Transformations before backend: time 0.005742/19.11, allocations: 3.578 kB / 4.181 GB, free: 359.3 MB / 2.011 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.2104/19.32, allocations: 52.15 MB / 4.232 GB, free: 335.9 MB / 2.011 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/19.32, allocations: 9.844 kB / 4.232 GB, free: 335.9 MB / 2.011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0963/19.42, allocations: 16.76 MB / 4.249 GB, free: 329.1 MB / 2.011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1946/19.61, allocations: 54.67 MB / 4.302 GB, free: 309.8 MB / 2.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01977/19.63, allocations: 5.826 MB / 4.308 GB, free: 308.7 MB / 2.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02624/19.66, allocations: 3.536 MB / 4.311 GB, free: 308.7 MB / 2.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1888/19.85, allocations: 44.83 MB / 4.355 GB, free: 295.4 MB / 2.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002204/19.85, allocations: 80.75 kB / 4.355 GB, free: 295.4 MB / 2.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02006/19.87, allocations: 1.421 MB / 4.357 GB, free: 295.4 MB / 2.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008356/19.87, allocations: 0.8664 MB / 4.357 GB, free: 295.3 MB / 2.011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1366/20.01, allocations: 39.89 MB / 4.396 GB, free: 289 MB / 2.011 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.4638/20.47, allocations: 211.7 MB / 4.603 GB, free: 119.6 MB / 2.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1429/20.62, allocations: 42.77 MB / 4.645 GB, free: 77.46 MB / 2.011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04308/20.66, allocations: 14.29 MB / 4.659 GB, free: 63.14 MB / 2.011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1811/20.84, allocations: 65.22 MB / 4.722 GB, free: 9.203 MB / 2.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05993/20.9, allocations: 15.95 MB / 4.738 GB, free: 9.133 MB / 2.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04337/20.94, allocations: 2.815 MB / 4.741 GB, free: 6.297 MB / 2.042 GB Notification: Performance of pre-optimization done (n=1811): time 0.0001326/20.94, allocations: 0 / 4.741 GB, free: 6.297 MB / 2.042 GB Notification: Performance of matching and sorting (n=1811): time 0.2909/21.24, allocations: 65.08 MB / 4.804 GB, free: 4.758 MB / 2.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007546/21.24, allocations: 1.192 MB / 4.806 GB, free: 3.332 MB / 2.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.659/24.9, allocations: 43.54 MB / 4.848 GB, free: 484.1 MB / 2.136 GB Notification: Performance of collectPreVariables (initialization): time 0.01017/24.91, allocations: 0.4912 MB / 4.849 GB, free: 484.1 MB / 2.136 GB Notification: Performance of collectInitialEqns (initialization): time 0.05753/24.96, allocations: 26.83 MB / 4.875 GB, free: 482.6 MB / 2.136 GB Notification: Performance of collectInitialBindings (initialization): time 0.01649/24.98, allocations: 6.155 MB / 4.881 GB, free: 480.3 MB / 2.136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008762/24.99, allocations: 471.7 kB / 4.881 GB, free: 480.3 MB / 2.136 GB Notification: Performance of setup shared object (initialization): time 7.923e-05/24.99, allocations: 301.1 kB / 4.881 GB, free: 480 MB / 2.136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05044/25.04, allocations: 13.41 MB / 4.895 GB, free: 479.9 MB / 2.136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06332/25.1, allocations: 23.54 MB / 4.918 GB, free: 468.6 MB / 2.136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09888/25.2, allocations: 34.5 MB / 4.951 GB, free: 459.7 MB / 2.136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0008947/25.2, allocations: 64.66 kB / 4.951 GB, free: 459.7 MB / 2.136 GB Notification: Performance of matching and sorting (n=3045) (initialization): time 0.1751/25.38, allocations: 45.19 MB / 4.995 GB, free: 455.7 MB / 2.136 GB Notification: Performance of prepare postOptimizeDAE: time 0.00685/25.38, allocations: 7.157 MB / 5.002 GB, free: 446.6 MB / 2.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001132/25.39, allocations: 227.8 kB / 5.003 GB, free: 446.6 MB / 2.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02726/25.41, allocations: 7.601 MB / 5.01 GB, free: 446.1 MB / 2.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03249/25.45, allocations: 6.26 MB / 5.016 GB, free: 446 MB / 2.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03362/25.48, allocations: 22.32 MB / 5.038 GB, free: 433.1 MB / 2.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06386/25.54, allocations: 4.185 MB / 5.042 GB, free: 432.1 MB / 2.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01342/25.56, allocations: 1.302 MB / 5.043 GB, free: 431.9 MB / 2.136 GB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/25.56, allocations: 3.781 kB / 5.043 GB, free: 431.9 MB / 2.136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1573/25.71, allocations: 39.92 MB / 5.082 GB, free: 421.8 MB / 2.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001657/25.72, allocations: 233 kB / 5.083 GB, free: 421.6 MB / 2.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02533/25.74, allocations: 7.595 MB / 5.09 GB, free: 415.3 MB / 2.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03126/25.77, allocations: 6.205 MB / 5.096 GB, free: 409.6 MB / 2.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03174/25.8, allocations: 22.32 MB / 5.118 GB, free: 389.8 MB / 2.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0657/25.87, allocations: 4.186 MB / 5.122 GB, free: 386.1 MB / 2.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01176/25.88, allocations: 1.272 MB / 5.123 GB, free: 385 MB / 2.136 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 ($whenCondition8,$PRE.ret2.loa.nextTimeEvent,$whenCondition7,$PRE.apa2.loa.nextTimeEvent,$whenCondition6,$PRE.larOff4.loa.nextTimeEvent,$whenCondition5,$PRE.larOff3.loa.nextTimeEvent,$whenCondition4,$PRE.apa1.loa.nextTimeEvent,$whenCondition3,$PRE.larOff2.loa.nextTimeEvent,$whenCondition2,$PRE.ret1.loa.nextTimeEvent,$whenCondition1,$PRE.larOff1.loa.nextTimeEvent,$whenCondition10,$whenCondition9,larOff1.loa.nextTimeEvent,$PRE.larOff1.loa.nextTimeEventScaled,larOff1.loa.nextTimeEventScaled,ret1.loa.nextTimeEvent,$PRE.ret1.loa.nextTimeEventScaled,ret1.loa.nextTimeEventScaled,larOff2.loa.nextTimeEvent,$PRE.larOff2.loa.nextTimeEventScaled,larOff2.loa.nextTimeEventScaled,apa1.loa.nextTimeEvent,$PRE.apa1.loa.nextTimeEventScaled,apa1.loa.nextTimeEventScaled,larOff3.loa.nextTimeEvent,$PRE.larOff3.loa.nextTimeEventScaled,larOff3.loa.nextTimeEventScaled,larOff4.loa.nextTimeEvent,$PRE.larOff4.loa.nextTimeEventScaled,larOff4.loa.nextTimeEventScaled,apa2.loa.nextTimeEvent,$PRE.apa2.loa.nextTimeEventScaled,apa2.loa.nextTimeEventScaled,ret2.loa.nextTimeEvent,$PRE.ret2.loa.nextTimeEventScaled,ret2.loa.nextTimeEventScaled,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,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.05675/25.94, allocations: 10.31 MB / 5.133 GB, free: 380.4 MB / 2.136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0239/25.96, allocations: 4.614 MB / 5.138 GB, free: 375.8 MB / 2.136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.189/26.15, allocations: 52.62 MB / 5.189 GB, free: 331.4 MB / 2.136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006644/26.15, allocations: 244.5 kB / 5.189 GB, free: 331.2 MB / 2.136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000176/26.15, allocations: 8 kB / 5.189 GB, free: 331.2 MB / 2.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1296/26.28, allocations: 33.46 MB / 5.222 GB, free: 297.7 MB / 2.136 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.3263/26.61, allocations: 92.21 MB / 5.312 GB, free: 205.6 MB / 2.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003686/26.61, allocations: 28 kB / 5.312 GB, free: 205.5 MB / 2.136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02305/26.63, allocations: 4.231 MB / 5.316 GB, free: 201.5 MB / 2.136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02407/26.66, allocations: 7.385 MB / 5.323 GB, free: 194.1 MB / 2.136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00677/26.66, allocations: 0.5543 MB / 5.324 GB, free: 193.5 MB / 2.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03273/26.7, allocations: 22.08 MB / 5.346 GB, free: 171 MB / 2.136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-05/26.7, allocations: 46.72 kB / 5.346 GB, free: 170.9 MB / 2.136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2006/26.9, allocations: 61.8 MB / 5.406 GB, free: 108.6 MB / 2.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04663/26.94, allocations: 8.908 MB / 5.415 GB, free: 99.63 MB / 2.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02957/26.97, allocations: 380 kB / 5.415 GB, free: 99.26 MB / 2.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06151/27.03, allocations: 3.968 MB / 5.419 GB, free: 95.29 MB / 2.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007003/27.04, allocations: 1.271 MB / 5.42 GB, free: 94.04 MB / 2.136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.008536/27.05, allocations: 0.9016 MB / 5.421 GB, free: 93.14 MB / 2.136 GB Notification: Performance of sorting global known variables: time 0.1091/27.16, allocations: 29.67 MB / 5.45 GB, free: 63.73 MB / 2.136 GB Notification: Performance of sort global known variables: time 5.91e-07/27.16, allocations: 0.875 kB / 5.45 GB, free: 63.73 MB / 2.136 GB Notification: Performance of remove unused functions: time 0.1587/27.32, allocations: 22.91 MB / 5.472 GB, free: 41.18 MB / 2.136 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.03665/27.35, allocations: 9.888 MB / 5.482 GB, free: 32.38 MB / 2.136 GB Notification: Performance of simCode: created initialization part: time 0.1738/27.53, allocations: 50.27 MB / 5.531 GB, free: 15.8 MB / 2.167 GB Notification: Performance of simCode: created event and clocks part: time 6.247e-05/27.53, allocations: 22.2 kB / 5.531 GB, free: 15.78 MB / 2.167 GB Notification: Performance of simCode: created simulation system equations: time 0.05223/27.58, allocations: 15.46 MB / 5.546 GB, free: 0.7539 MB / 2.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.614/28.19, allocations: 23.11 MB / 5.569 GB, free: 9.938 MB / 2.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.011/30.21, allocations: 111.2 MB / 5.677 GB, free: 1.264 GB / 2.23 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.09089/30.3, allocations: 20.8 MB / 5.698 GB, free: 1.261 GB / 2.23 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03373/30.33, allocations: 3.558 MB / 5.701 GB, free: 1.261 GB / 2.23 GB Notification: Performance of SimCode: time 2.996e-06/30.33, allocations: 1.875 kB / 5.701 GB, free: 1.261 GB / 2.23 GB Notification: Performance of Templates: time 14.08/44.42, allocations: 6.993 GB / 12.69 GB, free: 1.224 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