Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.DataCenterRenewables.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.Examples.ChillerPlant.DataCenterRenewables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.DataCenterRenewables") translateModel(Buildings.Examples.ChillerPlant.DataCenterRenewables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.DataCenterRenewables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 106.6 kB / 15.99 MB, free: 6.359 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.001203/0.001204, allocations: 193.8 kB / 16.91 MB, free: 6.195 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.394/1.394, allocations: 205.1 MB / 222.8 MB, free: 4.723 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.666/1.666, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.001405/0.001405, allocations: 65.03 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2579, allocations: 114.6 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterRenewables): time 1.052/1.31, allocations: 478.4 MB / 1.251 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.8154/2.126, allocations: 79.46 MB / 1.328 GB, free: 28.33 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01824/2.144, allocations: 366 kB / 1.329 GB, free: 28.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01916/2.163, allocations: 5.497 MB / 1.334 GB, free: 28.26 MB / 0.9981 GB [/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.04486/2.208, allocations: 13.5 MB / 1.347 GB, free: 27.66 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Chillers/BaseClasses/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.Chillers.BaseClasses.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0288/2.237, allocations: 10.48 MB / 1.357 GB, free: 27.36 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.05771/2.295, allocations: 40 MB / 1.396 GB, free: 27.24 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05217/2.347, allocations: 25.78 MB / 1.422 GB, free: 22.34 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03912/2.386, allocations: 15.4 MB / 1.437 GB, free: 16.79 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02429/2.41, allocations: 12.28 MB / 1.449 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.008056/2.419, allocations: 2.133 MB / 1.451 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02904/2.448, allocations: 10.7 MB / 1.461 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.01087/2.459, allocations: 5.348 MB / 1.466 GB, free: 9.859 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.02738/2.486, allocations: 9.914 MB / 1.476 GB, free: 88 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.04322/2.529, allocations: 27.08 MB / 1.503 GB, free: 5.785 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/2.529, allocations: 0 / 1.503 GB, free: 5.785 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.523e-06/2.529, allocations: 4 kB / 1.503 GB, free: 5.781 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.001108/2.53, allocations: 0 / 1.503 GB, free: 5.781 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.05627/2.587, allocations: 17.99 MB / 1.52 GB, free: 3.859 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/2.587, allocations: 8.031 kB / 1.52 GB, free: 3.852 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02994/2.617, allocations: 4.367 MB / 1.524 GB, free: 15.47 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03545/2.652, allocations: 15.13 MB / 1.539 GB, free: 0.7461 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002237/2.654, allocations: 1.085 MB / 1.54 GB, free: 15.66 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004842/2.659, allocations: 1.111 MB / 1.541 GB, free: 14.56 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04838/2.708, allocations: 15.33 MB / 1.556 GB, free: 14.86 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005611/2.708, allocations: 23.78 kB / 1.556 GB, free: 14.84 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003596/2.712, allocations: 454.9 kB / 1.557 GB, free: 14.41 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005869/2.713, allocations: 0.4926 MB / 1.557 GB, free: 13.91 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03987/2.752, allocations: 14.44 MB / 1.571 GB, free: 15.45 MB / 1.123 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.1263/2.879, allocations: 65.92 MB / 1.636 GB, free: 10.78 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02818/2.907, allocations: 12.22 MB / 1.648 GB, free: 14.39 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01282/2.92, allocations: 5.544 MB / 1.653 GB, free: 8.832 MB / 1.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 evalFunc (simulation): time 0.05165/2.972, allocations: 21.21 MB / 1.674 GB, free: 2.848 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01462/2.986, allocations: 5.565 MB / 1.679 GB, free: 13.23 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009125/2.995, allocations: 1.321 MB / 1.68 GB, free: 11.91 MB / 1.232 GB Notification: Performance of pre-optimization done (n=729): time 4.032e-05/2.995, allocations: 0 / 1.68 GB, free: 11.91 MB / 1.232 GB Notification: Performance of matching and sorting (n=821): time 0.2484/3.244, allocations: 54.38 MB / 1.734 GB, free: 5.336 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002332/3.244, allocations: 329.7 kB / 1.734 GB, free: 4.957 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02692/3.271, allocations: 10.96 MB / 1.745 GB, free: 10.04 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.002784/3.274, allocations: 221.7 kB / 1.745 GB, free: 9.816 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.009181/3.283, allocations: 6.33 MB / 1.751 GB, free: 3.484 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.005211/3.288, allocations: 2.736 MB / 1.754 GB, free: 0.7734 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.7538/4.042, allocations: 2.058 MB / 1.756 GB, free: 0.6271 GB / 1.295 GB Notification: Performance of setup shared object (initialization): time 4.421e-05/4.042, allocations: 301.1 kB / 1.756 GB, free: 0.6268 GB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01883/4.061, allocations: 6.683 MB / 1.762 GB, free: 0.6267 GB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02186/4.083, allocations: 9.286 MB / 1.772 GB, free: 0.6226 GB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0415/4.124, allocations: 15.23 MB / 1.786 GB, free: 0.6154 GB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001447/4.125, allocations: 15.94 kB / 1.786 GB, free: 0.6154 GB / 1.295 GB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.05362/4.178, allocations: 17.59 MB / 1.804 GB, free: 0.6097 GB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/4.178, allocations: 27.31 kB / 1.804 GB, free: 0.6097 GB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001149/4.179, allocations: 62.12 kB / 1.804 GB, free: 0.6097 GB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003397/4.182, allocations: 0.8503 MB / 1.805 GB, free: 0.6095 GB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01527/4.197, allocations: 2.756 MB / 1.807 GB, free: 0.6093 GB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008475/4.206, allocations: 11.51 MB / 1.818 GB, free: 0.5992 GB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01853/4.224, allocations: 1.648 MB / 1.82 GB, free: 0.599 GB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002755/4.227, allocations: 489.6 kB / 1.821 GB, free: 0.5989 GB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02597/4.253, allocations: 10.34 MB / 1.831 GB, free: 0.5949 GB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01978/4.273, allocations: 9.183 MB / 1.84 GB, free: 0.5898 GB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03454/4.308, allocations: 14.99 MB / 1.854 GB, free: 0.578 GB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.667e-05/4.308, allocations: 19.17 kB / 1.854 GB, free: 0.578 GB / 1.295 GB Notification: Performance of matching and sorting (n=1247) (initialization_lambda0): time 0.04823/4.356, allocations: 17.27 MB / 1.871 GB, free: 0.5617 GB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 6.918e-05/4.356, allocations: 32 kB / 1.871 GB, free: 0.5616 GB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.698e-05/4.356, allocations: 52 kB / 1.871 GB, free: 0.5616 GB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00278/4.359, allocations: 0.7855 MB / 1.872 GB, free: 0.5608 GB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01473/4.374, allocations: 2.716 MB / 1.875 GB, free: 0.5581 GB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009561/4.383, allocations: 13.33 MB / 1.888 GB, free: 0.5443 GB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01769/4.401, allocations: 1.642 MB / 1.889 GB, free: 0.5428 GB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002774/4.404, allocations: 479.7 kB / 1.89 GB, free: 0.5423 GB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * Number of states: 0 () * Number of discrete variables: 106 ($PRE.dataCenterContinuousTimeControl.wseCon.T1.enableFire,$PRE.dataCenterContinuousTimeControl.wseCon.T2.enableFire,$PRE.con.multiSwitch1.u[1],$PRE.con.multiSwitch1.u[2],$PRE.con.t1.enableFire,$PRE.con.t2.enableFire,$PRE.con.t3.enableFire,$PRE.con.t4.enableFire,con.stateGraphRoot.resume,con.stateGraphRoot.suspend,dataCenterContinuousTimeControl.wseCon.stateGraphRoot.resume,dataCenterContinuousTimeControl.wseCon.stateGraphRoot.suspend,dataCenterContinuousTimeControl.weaData.conTim.canRepeatWeatherFile,dataCenterContinuousTimeControl.weaData.conTimMin.canRepeatWeatherFile,con.t4.enableFire,con.t4.condition,con.t3.enableFire,con.t3.condition,con.discharge.active,con.discharge.oldActive,$PRE.con.discharge.oldActive,con.discharge.newActive,$PRE.con.discharge.newActive,con.discharge.localActive,$PRE.con.discharge.localActive,con.charge.active,con.charge.oldActive,$PRE.con.charge.oldActive,con.charge.newActive,$PRE.con.charge.newActive,con.charge.localActive,$PRE.con.charge.localActive,con.t2.t_start,$PRE.con.t2.t_start,con.t2.fire,con.t2.enableFire,con.t2.condition,con.t1.t_start,$PRE.con.t1.t_start,con.t1.fire,con.t1.enableFire,con.t1.condition,con.alternative.split[2].available,con.stateGraphRoot.activeSteps,con.off.oldActive,$PRE.con.off.oldActive,con.off.newActive,$PRE.con.off.newActive,con.off.outPort[1].reset,con.off.inPort[1].set,con.off.localActive,$PRE.con.off.localActive,con.off.active,con.multiSwitch1.firstActiveIndex,con.multiSwitch1.u[2],con.multiSwitch1.u[1],con.greaterThreshold.y,con.not1.y,con.lessThreshold.y,bat.cha.overCharged,$PRE.bat.cha.overCharged,bat.cha.underCharged,$PRE.bat.cha.underCharged,dataCenterContinuousTimeControl.or1.y,dataCenterContinuousTimeControl.or1.u1,dataCenterContinuousTimeControl.weaData.conTim.tNext,$PRE.dataCenterContinuousTimeControl.weaData.conTim.tNext,dataCenterContinuousTimeControl.weaData.conTimMin.tNext,$PRE.dataCenterContinuousTimeControl.weaData.conTimMin.tNext,dataCenterContinuousTimeControl.chiSwi.hysteresis.y,$PRE.dataCenterContinuousTimeControl.chiSwi.hysteresis.y,dataCenterContinuousTimeControl.wseCon.stateGraphRoot.activeSteps,dataCenterContinuousTimeControl.wseCon.T2.t_start,$PRE.dataCenterContinuousTimeControl.wseCon.T2.t_start,dataCenterContinuousTimeControl.wseCon.T2.fire,dataCenterContinuousTimeControl.wseCon.T2.enableFire,dataCenterContinuousTimeControl.wseCon.T2.condition,dataCenterContinuousTimeControl.wseCon.on.oldActive,$PRE.dataCenterContinuousTimeControl.wseCon.on.oldActive,dataCenterContinuousTimeControl.wseCon.on.newActive,$PRE.dataCenterContinuousTimeControl.wseCon.on.newActive,dataCenterContinuousTimeControl.wseCon.on.localActive,$PRE.dataCenterContinuousTimeControl.wseCon.on.localActive,dataCenterContinuousTimeControl.wseCon.on.active,dataCenterContinuousTimeControl.wseCon.T1.t_start,$PRE.dataCenterContinuousTimeControl.wseCon.T1.t_start,dataCenterContinuousTimeControl.wseCon.T1.fire,dataCenterContinuousTimeControl.wseCon.T1.enableFire,dataCenterContinuousTimeControl.wseCon.T1.condition,dataCenterContinuousTimeControl.wseCon.off.active,dataCenterContinuousTimeControl.wseCon.off.oldActive,$PRE.dataCenterContinuousTimeControl.wseCon.off.oldActive,dataCenterContinuousTimeControl.wseCon.off.newActive,$PRE.dataCenterContinuousTimeControl.wseCon.off.newActive,dataCenterContinuousTimeControl.wseCon.off.localActive,$PRE.dataCenterContinuousTimeControl.wseCon.off.localActive,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,dataCenterContinuousTimeControl.triAndRes.conPID.I.trigger_internal,dataCenterContinuousTimeControl.EIT.local_reset,dataCenterContinuousTimeControl.EHVAC.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1200): * Single equations (assignments): 1181 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,7,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(3,9), (1,2), (2,9), (1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.005244/4.409, allocations: 0.8361 MB / 1.891 GB, free: 0.5415 GB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004991/4.414, allocations: 1.182 MB / 1.892 GB, free: 0.541 GB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04975/4.464, allocations: 16.42 MB / 1.908 GB, free: 0.525 GB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001091/4.464, allocations: 95.98 kB / 1.908 GB, free: 0.5249 GB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-05/4.464, allocations: 4.594 kB / 1.908 GB, free: 0.5249 GB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03765/4.502, allocations: 13.48 MB / 1.921 GB, free: 0.5117 GB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07943/4.581, allocations: 37.84 MB / 1.958 GB, free: 485.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.939e-05/4.581, allocations: 3.938 kB / 1.958 GB, free: 485.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01353/4.595, allocations: 2.275 MB / 1.96 GB, free: 482.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002239/4.597, allocations: 0.6534 MB / 1.961 GB, free: 482.3 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002009/4.599, allocations: 259.8 kB / 1.961 GB, free: 482 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006499/4.606, allocations: 10.82 MB / 1.972 GB, free: 470.5 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/4.606, allocations: 11.88 kB / 1.972 GB, free: 470.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06187/4.667, allocations: 23.98 MB / 1.995 GB, free: 446.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008985/4.676, allocations: 2.817 MB / 1.998 GB, free: 443.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004707/4.681, allocations: 184 kB / 1.998 GB, free: 443.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01522/4.696, allocations: 1.374 MB / 1.999 GB, free: 442.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002206/4.699, allocations: 0.5841 MB / 2 GB, free: 441.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002128/4.701, allocations: 351.7 kB / 2 GB, free: 441.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.01448/4.715, allocations: 7.45 MB / 2.007 GB, free: 434 MB / 1.295 GB Notification: Performance of sort global known variables: time 4.71e-07/4.715, allocations: 0 / 2.007 GB, free: 434 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.02767/4.743, allocations: 6.151 MB / 2.013 GB, free: 428 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 37 (dataCenterContinuousTimeControl.cooCoi.ele[1].vol1.dynBal.U,dataCenterContinuousTimeControl.cooCoi.ele[1].vol2.dynBal.U,dataCenterContinuousTimeControl.cooCoi.ele[1].vol2.dynBal.mXi[1],dataCenterContinuousTimeControl.cooCoi.ele[1].mas.T,dataCenterContinuousTimeControl.cooCoi.ele[2].vol1.dynBal.U,dataCenterContinuousTimeControl.cooCoi.ele[2].vol2.dynBal.U,dataCenterContinuousTimeControl.cooCoi.ele[2].vol2.dynBal.mXi[1],dataCenterContinuousTimeControl.cooCoi.ele[2].mas.T,dataCenterContinuousTimeControl.cooCoi.ele[3].vol1.dynBal.U,dataCenterContinuousTimeControl.cooCoi.ele[3].vol2.dynBal.U,dataCenterContinuousTimeControl.cooCoi.ele[3].vol2.dynBal.mXi[1],dataCenterContinuousTimeControl.cooCoi.ele[3].mas.T,dataCenterContinuousTimeControl.cooCoi.ele[4].vol1.dynBal.U,dataCenterContinuousTimeControl.cooCoi.ele[4].vol2.dynBal.U,dataCenterContinuousTimeControl.cooCoi.ele[4].vol2.dynBal.m,dataCenterContinuousTimeControl.cooCoi.ele[4].vol2.dynBal.mXi[1],dataCenterContinuousTimeControl.cooCoi.ele[4].mas.T,dataCenterContinuousTimeControl.roo.rooVol.dynBal.U,dataCenterContinuousTimeControl.roo.rooVol.dynBal.m,dataCenterContinuousTimeControl.roo.rooVol.dynBal.mXi[1],dataCenterContinuousTimeControl.pumCHW.vol.dynBal.U,dataCenterContinuousTimeControl.expVesCHW.m,dataCenterContinuousTimeControl.expVesCHW.H,dataCenterContinuousTimeControl.cooTow.vol.dynBal.U,dataCenterContinuousTimeControl.pumCW.vol.dynBal.U,dataCenterContinuousTimeControl.expVesChi.m,dataCenterContinuousTimeControl.expVesChi.H,dataCenterContinuousTimeControl.chi.vol1.dynBal.U,dataCenterContinuousTimeControl.chi.vol2.dynBal.U,dataCenterContinuousTimeControl.TAirSup.T,dataCenterContinuousTimeControl.TCHWEntChi.T,dataCenterContinuousTimeControl.TCWLeaTow.T,dataCenterContinuousTimeControl.TCHWLeaCoi.T,dataCenterContinuousTimeControl.EHVAC.y,dataCenterContinuousTimeControl.EIT.y,dataCenterContinuousTimeControl.triAndRes.conPID.I.y,bat.cha.SOC) * Number of discrete variables: 73 (dataCenterContinuousTimeControl.wseCon.T1.enableFire,con.t2.enableFire,con.t1.enableFire,dataCenterContinuousTimeControl.wseCon.T2.enableFire,con.discharge.active,con.discharge.localActive,con.charge.active,con.charge.localActive,con.off.localActive,dataCenterContinuousTimeControl.wseCon.on.localActive,dataCenterContinuousTimeControl.wseCon.off.localActive,$cse39,$cse40,$cse41,$cse42,$cse43,$cse44,$cse91,$cse92,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,dataCenterContinuousTimeControl.wseCon.off.newActive,dataCenterContinuousTimeControl.wseCon.off.oldActive,dataCenterContinuousTimeControl.wseCon.off.active,dataCenterContinuousTimeControl.wseCon.T1.condition,dataCenterContinuousTimeControl.wseCon.T1.fire,dataCenterContinuousTimeControl.wseCon.T1.t_start,dataCenterContinuousTimeControl.wseCon.on.active,dataCenterContinuousTimeControl.wseCon.on.newActive,dataCenterContinuousTimeControl.wseCon.on.oldActive,dataCenterContinuousTimeControl.wseCon.T2.condition,dataCenterContinuousTimeControl.wseCon.T2.fire,dataCenterContinuousTimeControl.wseCon.T2.t_start,dataCenterContinuousTimeControl.wseCon.stateGraphRoot.activeSteps,dataCenterContinuousTimeControl.chiSwi.hysteresis.y,dataCenterContinuousTimeControl.weaData.conTimMin.tNext,dataCenterContinuousTimeControl.weaData.conTim.tNext,dataCenterContinuousTimeControl.or1.u1,dataCenterContinuousTimeControl.or1.y,bat.cha.underCharged,bat.cha.overCharged,con.lessThreshold.y,con.not1.y,con.greaterThreshold.y,con.multiSwitch1.u[1],con.multiSwitch1.u[2],con.multiSwitch1.firstActiveIndex,con.off.active,con.off.inPort[1].set,con.off.outPort[1].reset,con.off.newActive,con.off.oldActive,con.stateGraphRoot.activeSteps,con.alternative.split[2].available,con.t1.condition,con.t1.fire,con.t1.t_start,con.t2.condition,con.t2.fire,con.t2.t_start,con.charge.newActive,con.charge.oldActive,con.discharge.newActive,con.discharge.oldActive,con.t3.condition,con.t3.enableFire,con.t4.condition,con.t4.enableFire) * Number of discrete states: 10 (dataCenterContinuousTimeControl.weaData.conTim.tNext,dataCenterContinuousTimeControl.weaData.conTimMin.tNext,dataCenterContinuousTimeControl.wseCon.off.newActive,dataCenterContinuousTimeControl.wseCon.on.newActive,dataCenterContinuousTimeControl.chiSwi.hysteresis.y,bat.cha.underCharged,bat.cha.overCharged,con.off.newActive,con.charge.newActive,con.discharge.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (868): * Single equations (assignments): 830 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,2), (1,3), (1,2), (3,13), (1,2), (2,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006413/4.75, allocations: 2.114 MB / 2.016 GB, free: 426.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.1616/4.911, allocations: 44.01 MB / 2.059 GB, free: 382.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-05/4.911, allocations: 6.562 kB / 2.059 GB, free: 382.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01949/4.931, allocations: 8.05 MB / 2.066 GB, free: 374.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0325/4.963, allocations: 6.632 MB / 2.073 GB, free: 368.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06806/5.031, allocations: 36.88 MB / 2.109 GB, free: 331.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01469/5.046, allocations: 7.739 MB / 2.116 GB, free: 323.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00824/5.054, allocations: 1.19 MB / 2.118 GB, free: 322.5 MB / 1.295 GB Notification: Performance of SimCode: time 1.202e-06/5.054, allocations: 0 / 2.118 GB, free: 322.5 MB / 1.295 GB Notification: Performance of Templates: time 2.153/7.207, allocations: 1.081 GB / 3.198 GB, free: 0.5147 GB / 1.295 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.DataCenterRenewables.makefile make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.DataCenterRenewables.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.Examples.ChillerPlant.DataCenterRenewablesCalcHelperMain.o OMCppBuildings_8_Buildings.Examples.ChillerPlant.DataCenterRenewablesCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Examples.ChillerPlant.DataCenterRenewablesCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Examples.ChillerPlant.DataCenterRenewablesFunctions.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); ^ ~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppBuildings_8_Buildings.Examples.ChillerPlant.DataCenterRenewablesCalcHelperMain.cpp:29: ./OMCppBuildings_8_Buildings.Examples.ChillerPlant.DataCenterRenewablesInitialize.cpp:14526:3: warning: expression result unused [-Wunused-value] tmp495; ^~~~~~ 1 warning and 1 error generated. make: *** [: OMCppBuildings_8_Buildings.Examples.ChillerPlant.DataCenterRenewablesCalcHelperMain.o] Error 1