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.001145/0.001145, allocations: 99.28 kB / 16.27 MB, free: 6 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.001087/0.001087, allocations: 191 kB / 17.2 MB, free: 5.609 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.486/1.486, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.826/1.826, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001597/0.001597, allocations: 75.86 kB / 0.6722 GB, free: 6.574 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2522, allocations: 114.5 MB / 0.784 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase): time 6.59/6.842, allocations: 1.95 GB / 2.734 GB, free: 62.03 MB / 1.514 GB Notification: Performance of NFInst.instExpressions: time 0.7804/7.622, allocations: 0.5628 GB / 3.297 GB, free: 8.656 MB / 1.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1396/7.762, allocations: 2.346 MB / 3.299 GB, free: 6.297 MB / 1.795 GB Notification: Performance of NFTyping.typeComponents: time 1.917/9.678, allocations: 29.55 MB / 3.328 GB, free: 4.32 MB / 1.795 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:1211:5-1277:25:writable] Warning: Pure function 'Modelica.Utilities.Strings.Advanced.skipLineComments' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:965:3-1021:18:writable] Warning: Pure function 'Modelica.Utilities.Strings.syntaxError' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:846:3-933:20:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanDelimiter' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:638:3-686:15:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanReal' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.scanReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Experimental/DHC/Loads/BaseClasses/getPeakLoad.mo:2:1-99:16:writable] Warning: Pure function 'Buildings.Experimental.DHC.Loads.BaseClasses.getPeakLoad' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. Notification: Performance of NFTyping.typeBindings: time 0.2923/9.971, allocations: 76.44 MB / 3.403 GB, free: 3.496 MB / 1.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.1407/10.11, allocations: 48.37 MB / 3.45 GB, free: 2.43 MB / 1.795 GB Notification: Performance of NFFlatten.flatten: time 1.76/11.87, allocations: 393.7 MB / 3.834 GB, free: 11.61 MB / 2.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1734/12.05, allocations: 58.51 MB / 3.892 GB, free: 1.738 MB / 2.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1901/12.24, allocations: 62.36 MB / 3.953 GB, free: 6.531 MB / 2.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0971/12.33, allocations: 41.99 MB / 3.994 GB, free: 15.51 MB / 2.201 GB Notification: Performance of NFPackage.collectConstants: time 0.03547/12.37, allocations: 6.73 MB / 4 GB, free: 8.781 MB / 2.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1238/12.49, allocations: 29.79 MB / 4.029 GB, free: 12.7 MB / 2.232 GB Notification: Performance of NFScalarize.scalarize: time 0.04021/12.53, allocations: 16.48 MB / 4.045 GB, free: 12.44 MB / 2.248 GB Notification: Performance of NFVerifyModel.verify: time 0.09217/12.62, allocations: 34.37 MB / 4.079 GB, free: 10.18 MB / 2.279 GB Notification: Performance of NFConvertDAE.convert: time 3.364/15.99, allocations: 104.4 MB / 4.181 GB, free: 418.9 MB / 2.326 GB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/15.99, allocations: 0.5 kB / 4.181 GB, free: 418.9 MB / 2.326 GB Notification: Performance of FrontEnd: time 2.275e-06/15.99, allocations: 0.5625 kB / 4.181 GB, free: 418.9 MB / 2.326 GB Notification: Performance of Transformations before backend: time 0.004948/15.99, allocations: 0 / 4.181 GB, free: 418.9 MB / 2.326 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8753 * Number of variables: 8753 Notification: Performance of Generate backend data structure: time 0.2962/16.29, allocations: 64.23 MB / 4.244 GB, free: 394.2 MB / 2.326 GB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/16.29, allocations: 10.28 kB / 4.244 GB, free: 394.2 MB / 2.326 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1065/16.4, allocations: 14.81 MB / 4.258 GB, free: 390.9 MB / 2.326 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2016/16.6, allocations: 52.74 MB / 4.31 GB, free: 382.6 MB / 2.326 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.02102/16.62, allocations: 5.356 MB / 4.315 GB, free: 382.3 MB / 2.326 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02709/16.65, allocations: 3.543 MB / 4.318 GB, free: 382.3 MB / 2.326 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2268/16.87, allocations: 44.88 MB / 4.362 GB, free: 375.2 MB / 2.326 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003207/16.88, allocations: 109 kB / 4.362 GB, free: 375.2 MB / 2.326 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02498/16.9, allocations: 1.445 MB / 4.364 GB, free: 375.2 MB / 2.326 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001442/16.9, allocations: 0.8667 MB / 4.364 GB, free: 375.2 MB / 2.326 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1736/17.08, allocations: 38.31 MB / 4.402 GB, free: 374.5 MB / 2.326 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5269/17.6, allocations: 222.4 MB / 4.619 GB, free: 227.4 MB / 2.326 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1363/17.74, allocations: 38.85 MB / 4.657 GB, free: 189.2 MB / 2.326 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03861/17.78, allocations: 13.46 MB / 4.67 GB, free: 175.7 MB / 2.326 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1456/17.92, allocations: 65.34 MB / 4.734 GB, free: 105.6 MB / 2.326 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05052/17.97, allocations: 15.15 MB / 4.749 GB, free: 90.3 MB / 2.326 GB Notification: Performance of pre-optimization done (n=1787): time 4.28e-05/17.97, allocations: 0 / 4.749 GB, free: 90.3 MB / 2.326 GB Notification: Performance of matching and sorting (n=1787): time 0.2555/18.23, allocations: 59.09 MB / 4.806 GB, free: 30.73 MB / 2.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004257/18.23, allocations: 1.185 MB / 4.808 GB, free: 29.3 MB / 2.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1263/18.36, allocations: 44.77 MB / 4.851 GB, free: 0.8945 MB / 2.342 GB Notification: Performance of collectPreVariables (initialization): time 0.008391/18.37, allocations: 0.49 MB / 4.852 GB, free: 412 kB / 2.342 GB Notification: Performance of collectInitialEqns (initialization): time 0.04476/18.41, allocations: 27.2 MB / 4.878 GB, free: 5.074 MB / 2.373 GB Notification: Performance of collectInitialBindings (initialization): time 0.0144/18.42, allocations: 6.092 MB / 4.884 GB, free: 15.04 MB / 2.389 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03671/18.46, allocations: 5.414 MB / 4.89 GB, free: 9.617 MB / 2.389 GB Notification: Performance of setup shared object (initialization): time 0.0001113/18.46, allocations: 305.1 kB / 4.89 GB, free: 9.316 MB / 2.389 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04437/18.51, allocations: 13.01 MB / 4.903 GB, free: 12.28 MB / 2.404 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05805/18.56, allocations: 23.76 MB / 4.926 GB, free: 15.97 MB / 2.436 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1002/18.66, allocations: 34.26 MB / 4.959 GB, free: 11.14 MB / 2.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000496/18.66, allocations: 72 kB / 4.959 GB, free: 11.07 MB / 2.467 GB Notification: Performance of matching and sorting (n=3189) (initialization): time 0.905/19.57, allocations: 42.88 MB / 5.001 GB, free: 1.51 GB / 2.483 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002602/19.57, allocations: 114.5 kB / 5.001 GB, free: 1.51 GB / 2.483 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005261/19.57, allocations: 255.4 kB / 5.002 GB, free: 1.51 GB / 2.483 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02711/19.6, allocations: 7.215 MB / 5.009 GB, free: 1.509 GB / 2.483 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0324/19.63, allocations: 6.265 MB / 5.015 GB, free: 1.509 GB / 2.483 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0344/19.66, allocations: 21.69 MB / 5.036 GB, free: 1.497 GB / 2.483 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05693/19.72, allocations: 4.619 MB / 5.04 GB, free: 1.497 GB / 2.483 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009959/19.73, allocations: 1.37 MB / 5.042 GB, free: 1.497 GB / 2.483 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.07255/19.8, allocations: 21.5 MB / 5.063 GB, free: 1.497 GB / 2.483 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.05252/19.86, allocations: 23.26 MB / 5.085 GB, free: 1.485 GB / 2.483 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.08678/19.94, allocations: 33.27 MB / 5.118 GB, free: 1.476 GB / 2.483 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0005913/19.94, allocations: 74.78 kB / 5.118 GB, free: 1.476 GB / 2.483 GB Notification: Performance of matching and sorting (n=3189) (initialization_lambda0): time 0.1575/20.1, allocations: 41.9 MB / 5.159 GB, free: 1.472 GB / 2.483 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006918/20.1, allocations: 115.5 kB / 5.159 GB, free: 1.472 GB / 2.483 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000751/20.1, allocations: 260.5 kB / 5.159 GB, free: 1.472 GB / 2.483 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02407/20.13, allocations: 7.223 MB / 5.166 GB, free: 1.471 GB / 2.483 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03048/20.16, allocations: 6.211 MB / 5.172 GB, free: 1.471 GB / 2.483 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03182/20.19, allocations: 21.69 MB / 5.194 GB, free: 1.456 GB / 2.483 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05898/20.25, allocations: 3.897 MB / 5.197 GB, free: 1.455 GB / 2.483 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008715/20.26, allocations: 1.341 MB / 5.199 GB, free: 1.455 GB / 2.483 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1166 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.ret2.loa.nextTimeEvent,$whenCondition8,$PRE.apa2.loa.nextTimeEvent,$whenCondition7,$PRE.larOff4.loa.nextTimeEvent,$whenCondition6,$PRE.larOff3.loa.nextTimeEvent,$whenCondition5,$PRE.apa1.loa.nextTimeEvent,$whenCondition4,$PRE.larOff2.loa.nextTimeEvent,$whenCondition3,$PRE.ret1.loa.nextTimeEvent,$whenCondition2,$PRE.larOff1.loa.nextTimeEvent,$whenCondition1,ETheCoo.local_reset,ETheHotWat.local_reset,ETheHea.local_reset,EEleCoo.local_reset,EEleHea.local_reset,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,ret2.loa.nextTimeEventScaled,$PRE.ret2.loa.nextTimeEventScaled,ret2.loa.nextTimeEvent,apa2.loa.nextTimeEventScaled,$PRE.apa2.loa.nextTimeEventScaled,apa2.loa.nextTimeEvent,larOff4.loa.nextTimeEventScaled,$PRE.larOff4.loa.nextTimeEventScaled,larOff4.loa.nextTimeEvent,larOff3.loa.nextTimeEventScaled,$PRE.larOff3.loa.nextTimeEventScaled,larOff3.loa.nextTimeEvent,apa1.loa.nextTimeEventScaled,$PRE.apa1.loa.nextTimeEventScaled,apa1.loa.nextTimeEvent,larOff2.loa.nextTimeEventScaled,$PRE.larOff2.loa.nextTimeEventScaled,larOff2.loa.nextTimeEvent,ret1.loa.nextTimeEventScaled,$PRE.ret1.loa.nextTimeEventScaled,ret1.loa.nextTimeEvent,larOff1.loa.nextTimeEventScaled,$PRE.larOff1.loa.nextTimeEventScaled,larOff1.loa.nextTimeEvent,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2901): * Single equations (assignments): 2853 * Array equations: 24 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 24 systems {(1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.01792/20.28, allocations: 1.951 MB / 5.201 GB, free: 1.454 GB / 2.483 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02483/20.3, allocations: 4.645 MB / 5.205 GB, free: 1.453 GB / 2.483 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1719/20.47, allocations: 50.27 MB / 5.254 GB, free: 1.437 GB / 2.483 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000542/20.47, allocations: 244.3 kB / 5.254 GB, free: 1.437 GB / 2.483 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.492e-05/20.47, allocations: 3.969 kB / 5.254 GB, free: 1.437 GB / 2.483 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1263/20.6, allocations: 31.3 MB / 5.285 GB, free: 1.428 GB / 2.483 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2806/20.88, allocations: 87.37 MB / 5.37 GB, free: 1.379 GB / 2.483 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003779/20.88, allocations: 28 kB / 5.37 GB, free: 1.379 GB / 2.483 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02242/20.9, allocations: 3.956 MB / 5.374 GB, free: 1.375 GB / 2.483 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02381/20.93, allocations: 6.911 MB / 5.381 GB, free: 1.37 GB / 2.483 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005969/20.93, allocations: 0.553 MB / 5.382 GB, free: 1.37 GB / 2.483 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03255/20.97, allocations: 21.49 MB / 5.403 GB, free: 1.35 GB / 2.483 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.66e-05/20.97, allocations: 47.75 kB / 5.403 GB, free: 1.35 GB / 2.483 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1899/21.16, allocations: 58.31 MB / 5.459 GB, free: 1.299 GB / 2.483 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03518/21.19, allocations: 8.806 MB / 5.468 GB, free: 1.291 GB / 2.483 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02274/21.21, allocations: 403 kB / 5.468 GB, free: 1.291 GB / 2.483 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04819/21.26, allocations: 2.348 MB / 5.471 GB, free: 1.289 GB / 2.483 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005649/21.27, allocations: 1.254 MB / 5.472 GB, free: 1.288 GB / 2.483 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.007427/21.27, allocations: 0.9172 MB / 5.473 GB, free: 1.287 GB / 2.483 GB Notification: Performance of sorting global known variables: time 0.08553/21.36, allocations: 30.51 MB / 5.503 GB, free: 1.257 GB / 2.483 GB Notification: Performance of sort global known variables: time 1.162e-06/21.36, allocations: 0 / 5.503 GB, free: 1.257 GB / 2.483 GB Notification: Performance of remove unused functions: time 0.1228/21.48, allocations: 23.56 MB / 5.526 GB, free: 1.235 GB / 2.483 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 129 * Number of states: 5 (EEleHea.y,EEleCoo.y,ETheHea.y,ETheHotWat.y,ETheCoo.y) * Number of discrete variables: 28 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,larOff1.loa.nextTimeEvent,larOff1.loa.nextTimeEventScaled,ret1.loa.nextTimeEvent,ret1.loa.nextTimeEventScaled,larOff2.loa.nextTimeEvent,larOff2.loa.nextTimeEventScaled,apa1.loa.nextTimeEvent,apa1.loa.nextTimeEventScaled,larOff3.loa.nextTimeEvent,larOff3.loa.nextTimeEventScaled,larOff4.loa.nextTimeEvent,larOff4.loa.nextTimeEventScaled,apa2.loa.nextTimeEvent,apa2.loa.nextTimeEventScaled,ret2.loa.nextTimeEvent,ret2.loa.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 18 (ret2.loa.nextTimeEvent,apa2.loa.nextTimeEvent,larOff4.loa.nextTimeEvent,larOff3.loa.nextTimeEvent,apa1.loa.nextTimeEvent,larOff2.loa.nextTimeEvent,ret1.loa.nextTimeEvent,larOff1.loa.nextTimeEvent,weaDat.conTim.tNext,weaDat.conTimMin.tNext,ret2.loa.nextTimeEventScaled,apa2.loa.nextTimeEventScaled,larOff4.loa.nextTimeEventScaled,larOff3.loa.nextTimeEventScaled,apa1.loa.nextTimeEventScaled,larOff2.loa.nextTimeEventScaled,ret1.loa.nextTimeEventScaled,larOff1.loa.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1737): * Single equations (assignments): 1575 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 120 * When equations: 18 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 24 systems {(1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12), (1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02696/21.51, allocations: 9.166 MB / 5.535 GB, free: 1.228 GB / 2.483 GB Notification: Performance of simCode: created initialization part: time 0.4459/21.96, allocations: 70.19 MB / 5.603 GB, free: 1.159 GB / 2.483 GB Notification: Performance of simCode: created event and clocks part: time 4.953e-05/21.96, allocations: 26.58 kB / 5.603 GB, free: 1.159 GB / 2.483 GB Notification: Performance of simCode: created simulation system equations: time 0.04533/22, allocations: 14.77 MB / 5.618 GB, free: 1.145 GB / 2.483 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1501/22.15, allocations: 23.78 MB / 5.641 GB, free: 1.122 GB / 2.483 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2463/22.4, allocations: 91.41 MB / 5.73 GB, free: 1.033 GB / 2.483 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.05599/22.45, allocations: 20.8 MB / 5.75 GB, free: 1.012 GB / 2.483 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02348/22.48, allocations: 3.603 MB / 5.754 GB, free: 1.009 GB / 2.483 GB Notification: Performance of SimCode: time 1.703e-06/22.48, allocations: 0 / 5.754 GB, free: 1.009 GB / 2.483 GB Notification: Performance of Templates: time 11.66/34.14, allocations: 7.016 GB / 12.77 GB, free: 252.5 MB / 2.483 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase.makefile make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCaseCalcHelperMain.o OMCppBuildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCaseCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCaseCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCaseFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:27:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'void *' char *result = malloc(len1 + len2 + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildings_8_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCaseCalcHelperMain.o] Error 1