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.001248/0.001247, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001316/0.001316, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.52/1.52, allocations: 205.1 MB / 222.8 MB, free: 4.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.752/1.752, allocations: 292.3 MB / 0.5492 GB, free: 13.59 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.001655/0.001655, allocations: 71.45 kB / 0.6716 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2752, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase): time 5.469/5.744, allocations: 1.931 GB / 2.715 GB, free: 14.97 MB / 1.467 GB Notification: Performance of NFInst.instExpressions: time 2.422/8.166, allocations: 0.5572 GB / 3.272 GB, free: 1.633 MB / 1.639 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1275/8.294, allocations: 2.148 MB / 3.274 GB, free: 1.633 MB / 1.639 GB Notification: Performance of NFTyping.typeComponents: time 0.09546/8.389, allocations: 25.59 MB / 3.299 GB, free: 14.67 MB / 1.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Experimental/DHC/Loads/BaseClasses/getPeakLoad.mo:2:1-99:16:writable] Warning: Pure function ‘Buildings.Experimental.DHC.Loads.BaseClasses.getPeakLoad‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.2527/8.642, allocations: 71.41 MB / 3.369 GB, free: 5.191 MB / 1.717 GB Notification: Performance of NFTyping.typeClassSections: time 0.1342/8.776, allocations: 45.28 MB / 3.413 GB, free: 12.2 MB / 1.764 GB Notification: Performance of NFFlatten.flatten: time 6.698/15.47, allocations: 394.8 MB / 3.799 GB, free: 115.1 MB / 1.967 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1615/15.64, allocations: 58.23 MB / 3.855 GB, free: 109.1 MB / 1.967 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1767/15.81, allocations: 63.13 MB / 3.917 GB, free: 104 MB / 1.967 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0888/15.9, allocations: 43.67 MB / 3.96 GB, free: 85.36 MB / 1.967 GB Notification: Performance of NFPackage.collectConstants: time 0.02885/15.93, allocations: 6.777 MB / 3.966 GB, free: 78.59 MB / 1.967 GB Notification: Performance of NFFlatten.collectFunctions: time 0.09213/16.02, allocations: 30.25 MB / 3.996 GB, free: 62.79 MB / 1.967 GB Notification: Performance of NFScalarize.scalarize: time 0.03382/16.06, allocations: 16.69 MB / 4.012 GB, free: 57.18 MB / 1.967 GB Notification: Performance of NFVerifyModel.verify: time 0.08395/16.14, allocations: 34.49 MB / 4.046 GB, free: 37.99 MB / 1.967 GB Notification: Performance of NFConvertDAE.convert: time 0.1345/16.28, allocations: 86.27 MB / 4.13 GB, free: 14.14 MB / 1.998 GB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/16.28, allocations: 0 / 4.13 GB, free: 14.14 MB / 1.998 GB Notification: Performance of FrontEnd: time 2.484e-06/16.28, allocations: 4 kB / 4.13 GB, free: 14.13 MB / 1.998 GB Notification: Performance of Transformations before backend: time 0.00347/16.28, allocations: 0 / 4.13 GB, free: 14.13 MB / 1.998 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.2155/16.49, allocations: 64.31 MB / 4.193 GB, free: 4.887 MB / 2.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/16.49, allocations: 12.03 kB / 4.193 GB, free: 4.875 MB / 2.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08587/16.58, allocations: 14.81 MB / 4.207 GB, free: 5.98 MB / 2.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1486/16.73, allocations: 54.62 MB / 4.261 GB, free: 1.355 MB / 2.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01586/16.74, allocations: 5.358 MB / 4.266 GB, free: 12 MB / 2.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01581/16.76, allocations: 3.542 MB / 4.269 GB, free: 8.465 MB / 2.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1564/16.92, allocations: 44.19 MB / 4.313 GB, free: 10.75 MB / 2.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001531/16.92, allocations: 82.06 kB / 4.313 GB, free: 10.71 MB / 2.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01578/16.93, allocations: 1.438 MB / 4.314 GB, free: 9.281 MB / 2.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009022/16.94, allocations: 0.8593 MB / 4.315 GB, free: 8.422 MB / 2.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1321/17.07, allocations: 38.5 MB / 4.353 GB, free: 2.332 MB / 2.201 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 2.037/19.1, allocations: 208.5 MB / 4.556 GB, free: 340.2 MB / 2.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1364/19.24, allocations: 39.48 MB / 4.595 GB, free: 338.5 MB / 2.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03957/19.28, allocations: 13.58 MB / 4.608 GB, free: 338.3 MB / 2.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1514/19.43, allocations: 65.28 MB / 4.672 GB, free: 310.6 MB / 2.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05221/19.48, allocations: 15.31 MB / 4.687 GB, free: 310.1 MB / 2.311 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02889/19.51, allocations: 2.527 MB / 4.689 GB, free: 310.1 MB / 2.311 GB Notification: Performance of pre-optimization done (n=1811): time 0.000137/19.51, allocations: 0 / 4.689 GB, free: 310.1 MB / 2.311 GB Notification: Performance of matching and sorting (n=1811): time 0.2483/19.76, allocations: 59.83 MB / 4.748 GB, free: 305.5 MB / 2.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003741/19.76, allocations: 1.188 MB / 4.749 GB, free: 304.3 MB / 2.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1294/19.89, allocations: 43.54 MB / 4.791 GB, free: 301.9 MB / 2.311 GB Notification: Performance of collectPreVariables (initialization): time 0.00782/19.9, allocations: 0.4922 MB / 4.792 GB, free: 301.9 MB / 2.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.04139/19.94, allocations: 26.83 MB / 4.818 GB, free: 296 MB / 2.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.01188/19.95, allocations: 6.156 MB / 4.824 GB, free: 292 MB / 2.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02896/19.98, allocations: 5.202 MB / 4.829 GB, free: 291.7 MB / 2.311 GB Notification: Performance of setup shared object (initialization): time 6.53e-05/19.98, allocations: 303.7 kB / 4.829 GB, free: 291.4 MB / 2.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03833/20.02, allocations: 12.86 MB / 4.842 GB, free: 291 MB / 2.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04758/20.07, allocations: 22.88 MB / 4.864 GB, free: 279.2 MB / 2.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07896/20.15, allocations: 33.18 MB / 4.897 GB, free: 269.8 MB / 2.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004044/20.15, allocations: 67.94 kB / 4.897 GB, free: 269.8 MB / 2.311 GB Notification: Performance of matching and sorting (n=3045) (initialization): time 0.1441/20.29, allocations: 42.56 MB / 4.938 GB, free: 236.8 MB / 2.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.000272/20.29, allocations: 104 kB / 4.938 GB, free: 236.7 MB / 2.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003899/20.29, allocations: 228 kB / 4.939 GB, free: 236.4 MB / 2.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03302/20.32, allocations: 8.793 MB / 4.947 GB, free: 227.6 MB / 2.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0277/20.35, allocations: 5.972 MB / 4.953 GB, free: 222 MB / 2.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03046/20.38, allocations: 22.04 MB / 4.975 GB, free: 199.5 MB / 2.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0511/20.43, allocations: 3.825 MB / 4.978 GB, free: 195.7 MB / 2.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007904/20.44, allocations: 1.309 MB / 4.98 GB, free: 194.4 MB / 2.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.06876/20.51, allocations: 21.32 MB / 5 GB, free: 173.1 MB / 2.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.04502/20.56, allocations: 22.38 MB / 5.022 GB, free: 146.6 MB / 2.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07661/20.63, allocations: 32.19 MB / 5.054 GB, free: 112.1 MB / 2.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0003088/20.63, allocations: 72.56 kB / 5.054 GB, free: 112 MB / 2.311 GB Notification: Performance of matching and sorting (n=3045) (initialization_lambda0): time 0.1487/20.78, allocations: 41.59 MB / 5.094 GB, free: 71.68 MB / 2.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001706/20.78, allocations: 105 kB / 5.094 GB, free: 71.58 MB / 2.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003293/20.78, allocations: 228 kB / 5.095 GB, free: 71.36 MB / 2.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03229/20.81, allocations: 8.8 MB / 5.103 GB, free: 62.54 MB / 2.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02702/20.84, allocations: 5.92 MB / 5.109 GB, free: 56.96 MB / 2.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02909/20.87, allocations: 22.04 MB / 5.131 GB, free: 34.52 MB / 2.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05285/20.92, allocations: 3.979 MB / 5.134 GB, free: 30.55 MB / 2.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008473/20.93, allocations: 1.282 MB / 5.136 GB, free: 29.27 MB / 2.311 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 (2733): * Single equations (assignments): 2685 * 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,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 prepare postOptimizeDAE: time 0.01813/20.95, allocations: 1.858 MB / 5.137 GB, free: 27.75 MB / 2.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02396/20.97, allocations: 4.61 MB / 5.142 GB, free: 23.08 MB / 2.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1593/21.13, allocations: 49.87 MB / 5.191 GB, free: 5.711 MB / 2.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006273/21.13, allocations: 247.9 kB / 5.191 GB, free: 5.469 MB / 2.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.504e-05/21.13, allocations: 8 kB / 5.191 GB, free: 5.461 MB / 2.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1146/21.25, allocations: 30.51 MB / 5.221 GB, free: 6.859 MB / 2.373 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2709/21.52, allocations: 87.14 MB / 5.306 GB, free: 20 kB / 2.451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002691/21.52, allocations: 28.05 kB / 5.306 GB, free: 15.99 MB / 2.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02196/21.54, allocations: 3.951 MB / 5.31 GB, free: 12.2 MB / 2.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02498/21.57, allocations: 7.357 MB / 5.317 GB, free: 4.789 MB / 2.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005512/21.57, allocations: 0.5582 MB / 5.317 GB, free: 4.23 MB / 2.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.725/22.3, allocations: 21.98 MB / 5.339 GB, free: 1.543 GB / 2.467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.049e-05/22.3, allocations: 49.31 kB / 5.339 GB, free: 1.543 GB / 2.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1826/22.48, allocations: 58.7 MB / 5.396 GB, free: 1.537 GB / 2.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03384/22.51, allocations: 8.527 MB / 5.405 GB, free: 1.536 GB / 2.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02449/22.54, allocations: 396.7 kB / 5.405 GB, free: 1.536 GB / 2.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04868/22.59, allocations: 3.468 MB / 5.408 GB, free: 1.536 GB / 2.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005322/22.59, allocations: 1.285 MB / 5.41 GB, free: 1.536 GB / 2.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006874/22.6, allocations: 0.9232 MB / 5.411 GB, free: 1.536 GB / 2.467 GB Notification: Performance of sorting global known variables: time 0.08446/22.68, allocations: 29.67 MB / 5.44 GB, free: 1.526 GB / 2.467 GB Notification: Performance of sort global known variables: time 1.082e-06/22.68, allocations: 0 / 5.44 GB, free: 1.526 GB / 2.467 GB Notification: Performance of remove unused functions: time 0.1134/22.8, allocations: 23.32 MB / 5.462 GB, free: 1.523 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,14), (1,14), (1,14), (1,14), (1,14), (1,14), (1,14), (1,14), (1,14), (1,14), (1,14), (1,14), (1,14), (1,14), (1,14), (1,14), (1,14), (1,14), (1,14), (1,14), (1,14), (1,14), (1,14), (1,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02488/22.82, allocations: 8.67 MB / 5.471 GB, free: 1.522 GB / 2.467 GB Notification: Performance of simCode: created initialization part: time 0.4604/23.28, allocations: 69.53 MB / 5.539 GB, free: 1.507 GB / 2.467 GB Notification: Performance of simCode: created event and clocks part: time 6.584e-05/23.28, allocations: 24.55 kB / 5.539 GB, free: 1.507 GB / 2.467 GB Notification: Performance of simCode: created simulation system equations: time 0.04438/23.33, allocations: 14.91 MB / 5.553 GB, free: 1.502 GB / 2.467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1633/23.49, allocations: 23.86 MB / 5.577 GB, free: 1.486 GB / 2.467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2536/23.74, allocations: 110 MB / 5.684 GB, free: 1.387 GB / 2.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04926/23.79, allocations: 20.83 MB / 5.704 GB, free: 1.373 GB / 2.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01708/23.81, allocations: 3.551 MB / 5.708 GB, free: 1.369 GB / 2.467 GB Notification: Performance of SimCode: time 1.433e-06/23.81, allocations: 0 / 5.708 GB, free: 1.369 GB / 2.467 GB Notification: Performance of Templates: time 10.51/34.32, allocations: 7.006 GB / 12.71 GB, free: 0.6434 GB / 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++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.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