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.378/1.378, allocations: 252 MB / 267.6 MB, free: 10.92 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.0009797/0.0009796, allocations: 171 kB / 327.3 MB, free: 2.227 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.621/1.621, allocations: 205.4 MB / 0.5783 GB, free: 20.26 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.0007991/0.0007992, allocations: 93.88 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003315, allocations: 10.83 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1828, allocations: 106.3 MB / 0.9008 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase): time 5.1/5.283, allocations: 1.802 GB / 2.703 GB, free: 3.598 MB / 1.307 GB Notification: Performance of NFInst.instExpressions: time 1.953/7.236, allocations: 0.5242 GB / 3.227 GB, free: 4.77 MB / 1.448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.09282/7.329, allocations: 2.022 MB / 3.229 GB, free: 2.734 MB / 1.448 GB Notification: Performance of NFTyping.typeComponents: time 0.07511/7.404, allocations: 19.02 MB / 3.248 GB, free: 0.9414 MB / 1.464 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.2093/7.614, allocations: 57.72 MB / 3.304 GB, free: 1.082 MB / 1.51 GB Notification: Performance of NFTyping.typeClassSections: time 0.1164/7.73, allocations: 30.89 MB / 3.334 GB, free: 3.348 MB / 1.542 GB Notification: Performance of NFFlatten.flatten: time 1.772/9.502, allocations: 374.9 MB / 3.7 GB, free: 8.844 MB / 1.635 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1413/9.643, allocations: 40.95 MB / 3.74 GB, free: 10.45 MB / 1.667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1286/9.772, allocations: 46.16 MB / 3.785 GB, free: 14.59 MB / 1.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.08605/9.858, allocations: 36.71 MB / 3.821 GB, free: 1.445 MB / 1.714 GB Notification: Performance of NFPackage.collectConstants: time 0.02409/9.882, allocations: 1.992 MB / 3.823 GB, free: 15.45 MB / 1.729 GB Notification: Performance of NFFlatten.collectFunctions: time 0.08309/9.966, allocations: 15.1 MB / 3.838 GB, free: 4.012 MB / 1.729 GB Notification: Performance of NFScalarize.scalarize: time 0.02933/9.995, allocations: 10.85 MB / 3.848 GB, free: 11.91 MB / 1.745 GB Notification: Performance of NFVerifyModel.verify: time 0.03651/10.03, allocations: 12.44 MB / 3.861 GB, free: 4.75 MB / 1.745 GB Notification: Performance of NFConvertDAE.convert: time 0.1355/10.17, allocations: 80.43 MB / 3.939 GB, free: 3.152 MB / 1.807 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/10.17, allocations: 6.375 kB / 3.939 GB, free: 3.148 MB / 1.807 GB Notification: Performance of FrontEnd: time 2.805e-06/10.17, allocations: 0 / 3.939 GB, free: 3.148 MB / 1.807 GB Notification: Performance of Transformations before backend: time 0.00445/10.17, allocations: 0 / 3.939 GB, free: 3.148 MB / 1.807 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.1537/10.33, allocations: 52.76 MB / 3.991 GB, free: 3.309 MB / 1.854 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/10.33, allocations: 12.03 kB / 3.991 GB, free: 3.297 MB / 1.854 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08852/10.41, allocations: 16.76 MB / 4.007 GB, free: 2.559 MB / 1.87 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1496/10.56, allocations: 52.88 MB / 4.059 GB, free: 2.336 MB / 1.901 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01802/10.58, allocations: 5.822 MB / 4.064 GB, free: 13.68 MB / 1.917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01595/10.6, allocations: 3.543 MB / 4.068 GB, free: 11.27 MB / 1.917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7141/11.31, allocations: 44.55 MB / 4.111 GB, free: 1.157 GB / 1.932 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001641/11.31, allocations: 85.58 kB / 4.111 GB, free: 1.157 GB / 1.932 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0132/11.33, allocations: 1.418 MB / 4.113 GB, free: 1.157 GB / 1.932 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009513/11.33, allocations: 0.8669 MB / 4.114 GB, free: 1.157 GB / 1.932 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1317/11.46, allocations: 39.62 MB / 4.152 GB, free: 1.155 GB / 1.932 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.3695/11.83, allocations: 211.6 MB / 4.359 GB, free: 0.9937 GB / 1.932 GB Notification: Performance of preOpt comSubExp (simulation): time 0.135/11.96, allocations: 42.64 MB / 4.401 GB, free: 0.9761 GB / 1.932 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03497/12, allocations: 14.23 MB / 4.414 GB, free: 0.9697 GB / 1.932 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1279/12.13, allocations: 65.22 MB / 4.478 GB, free: 0.9123 GB / 1.932 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04371/12.17, allocations: 15.89 MB / 4.494 GB, free: 0.8978 GB / 1.932 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02444/12.2, allocations: 2.808 MB / 4.496 GB, free: 0.8952 GB / 1.932 GB Notification: Performance of pre-optimization done (n=1811): time 7.377e-05/12.2, allocations: 1.969 kB / 4.496 GB, free: 0.8952 GB / 1.932 GB Notification: Performance of matching and sorting (n=1811): time 0.2241/12.42, allocations: 64.83 MB / 4.56 GB, free: 0.8319 GB / 1.932 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003284/12.42, allocations: 1.191 MB / 4.561 GB, free: 0.8305 GB / 1.932 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09497/12.51, allocations: 43.12 MB / 4.603 GB, free: 0.7887 GB / 1.932 GB Notification: Performance of collectPreVariables (initialization): time 0.006501/12.52, allocations: 499.6 kB / 4.603 GB, free: 0.7883 GB / 1.932 GB Notification: Performance of collectInitialEqns (initialization): time 0.02873/12.55, allocations: 26.83 MB / 4.63 GB, free: 0.7618 GB / 1.932 GB Notification: Performance of collectInitialBindings (initialization): time 0.009228/12.56, allocations: 6.148 MB / 4.636 GB, free: 0.7558 GB / 1.932 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004364/12.56, allocations: 471.4 kB / 4.636 GB, free: 0.7554 GB / 1.932 GB Notification: Performance of setup shared object (initialization): time 5.664e-05/12.56, allocations: 309.1 kB / 4.636 GB, free: 0.7551 GB / 1.932 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03496/12.6, allocations: 12.86 MB / 4.649 GB, free: 0.7425 GB / 1.932 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04332/12.64, allocations: 22.98 MB / 4.671 GB, free: 0.7159 GB / 1.932 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03931/12.68, allocations: 14.87 MB / 4.686 GB, free: 0.7013 GB / 1.932 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003437/12.68, allocations: 64 kB / 4.686 GB, free: 0.7013 GB / 1.932 GB Notification: Performance of matching and sorting (n=3045) (initialization): time 0.1417/12.82, allocations: 44.09 MB / 4.729 GB, free: 0.6581 GB / 1.932 GB Notification: Performance of prepare postOptimizeDAE: time 0.003625/12.83, allocations: 7.156 MB / 4.736 GB, free: 0.6479 GB / 1.932 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003411/12.83, allocations: 228 kB / 4.736 GB, free: 0.6477 GB / 1.932 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02282/12.85, allocations: 7.621 MB / 4.744 GB, free: 0.6402 GB / 1.932 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02862/12.88, allocations: 6.26 MB / 4.75 GB, free: 0.6341 GB / 1.932 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0294/12.91, allocations: 22.28 MB / 4.772 GB, free: 0.6118 GB / 1.932 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05032/12.96, allocations: 4.194 MB / 4.776 GB, free: 0.6077 GB / 1.932 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007119/12.97, allocations: 1.301 MB / 4.777 GB, free: 0.6065 GB / 1.932 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/12.97, allocations: 4.781 kB / 4.777 GB, free: 0.6065 GB / 1.932 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1248/13.09, allocations: 39.71 MB / 4.816 GB, free: 0.5676 GB / 1.932 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006509/13.09, allocations: 228.2 kB / 4.816 GB, free: 0.5674 GB / 1.932 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02234/13.11, allocations: 7.636 MB / 4.823 GB, free: 0.5599 GB / 1.932 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05084/13.17, allocations: 6.202 MB / 4.829 GB, free: 0.5538 GB / 1.932 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05442/13.22, allocations: 22.3 MB / 4.851 GB, free: 0.5314 GB / 1.932 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.081/13.3, allocations: 4.179 MB / 4.855 GB, free: 0.5274 GB / 1.932 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009013/13.31, allocations: 1.275 MB / 4.857 GB, free: 0.5261 GB / 1.932 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 (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 24 {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.05327/13.36, allocations: 10.3 MB / 4.867 GB, free: 0.5161 GB / 1.932 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02117/13.38, allocations: 4.61 MB / 4.871 GB, free: 0.5115 GB / 1.932 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.248/13.63, allocations: 52.57 MB / 4.922 GB, free: 471.6 MB / 1.932 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006827/13.63, allocations: 243.9 kB / 4.923 GB, free: 471.3 MB / 1.932 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001059/13.63, allocations: 8 kB / 4.923 GB, free: 471.3 MB / 1.932 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1959/13.83, allocations: 33.32 MB / 4.955 GB, free: 437.9 MB / 1.932 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.3255/14.15, allocations: 92.05 MB / 5.045 GB, free: 345.5 MB / 1.932 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001731/14.15, allocations: 32.03 kB / 5.045 GB, free: 345.4 MB / 1.932 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01992/14.17, allocations: 4.236 MB / 5.049 GB, free: 341.2 MB / 1.932 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02195/14.2, allocations: 7.375 MB / 5.056 GB, free: 333.8 MB / 1.932 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00386/14.2, allocations: 0.5543 MB / 5.057 GB, free: 333.2 MB / 1.932 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02853/14.23, allocations: 22.04 MB / 5.079 GB, free: 310.7 MB / 1.932 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-05/14.23, allocations: 55.86 kB / 5.079 GB, free: 310.6 MB / 1.932 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1517/14.38, allocations: 61.59 MB / 5.139 GB, free: 248.4 MB / 1.932 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02494/14.41, allocations: 8.908 MB / 5.147 GB, free: 239.4 MB / 1.932 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01371/14.42, allocations: 384 kB / 5.148 GB, free: 239 MB / 1.932 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04061/14.46, allocations: 3.97 MB / 5.152 GB, free: 235 MB / 1.932 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003517/14.46, allocations: 1.266 MB / 5.153 GB, free: 233.8 MB / 1.932 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003673/14.47, allocations: 0.9016 MB / 5.154 GB, free: 232.9 MB / 1.932 GB Notification: Performance of sorting global known variables: time 0.0567/14.52, allocations: 29.25 MB / 5.182 GB, free: 203.9 MB / 1.932 GB Notification: Performance of sort global known variables: time 7.52e-07/14.52, allocations: 0 / 5.182 GB, free: 203.9 MB / 1.932 GB Notification: Performance of remove unused functions: time 0.08315/14.61, allocations: 22.86 MB / 5.205 GB, free: 181.4 MB / 1.932 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 (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 24 {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.01817/14.63, allocations: 9.552 MB / 5.214 GB, free: 172.3 MB / 1.932 GB Notification: Performance of simCode: created initialization part: time 0.1251/14.75, allocations: 49.59 MB / 5.262 GB, free: 122.8 MB / 1.932 GB Notification: Performance of simCode: created event and clocks part: time 5.526e-05/14.75, allocations: 22.2 kB / 5.262 GB, free: 122.8 MB / 1.932 GB Notification: Performance of simCode: created simulation system equations: time 0.04443/14.8, allocations: 15.4 MB / 5.278 GB, free: 107.4 MB / 1.932 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1722/14.97, allocations: 23.21 MB / 5.3 GB, free: 84.38 MB / 1.932 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.509/16.48, allocations: 106.6 MB / 5.404 GB, free: 1.06 GB / 1.932 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.06087/16.54, allocations: 20.8 MB / 5.425 GB, free: 1.058 GB / 1.932 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02346/16.56, allocations: 3.565 MB / 5.428 GB, free: 1.058 GB / 1.932 GB Notification: Performance of SimCode: time 2.043e-06/16.56, allocations: 0 / 5.428 GB, free: 1.058 GB / 1.932 GB Notification: Performance of Templates: time 12.02/28.58, allocations: 6.994 GB / 12.42 GB, free: 1.017 GB / 1.933 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++ -Winvalid-pch -O0 -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/c/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