Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewables.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.Examples.ChillerPlant.DataCenterRenewables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewables") translateModel(Buildings.Examples.ChillerPlant.DataCenterRenewables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.437/1.437, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001275/0.001275, allocations: 170.2 kB / 326.5 MB, free: 2.672 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.865/1.865, allocations: 205 MB / 0.5766 GB, free: 21 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.0009707/0.0009708, allocations: 93.95 kB / 0.6803 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003852, allocations: 9.344 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.281, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterRenewables): time 1.096/1.377, allocations: 480.3 MB / 1.366 GB, free: 7.035 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.8817/2.259, allocations: 80.81 MB / 1.445 GB, free: 29.24 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01941/2.279, allocations: 358.4 kB / 1.445 GB, free: 29.23 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.01901/2.298, allocations: 5.24 MB / 1.45 GB, free: 29.18 MB / 0.9167 GB [/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.04866/2.346, allocations: 13.49 MB / 1.463 GB, free: 28.62 MB / 0.9167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.03741/2.384, allocations: 10.35 MB / 1.473 GB, free: 28.28 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0747/2.458, allocations: 49.48 MB / 1.522 GB, free: 26.24 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05172/2.51, allocations: 18.07 MB / 1.539 GB, free: 19.97 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03843/2.549, allocations: 11.65 MB / 1.551 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03132/2.58, allocations: 10.79 MB / 1.561 GB, free: 4.648 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.007235/2.587, allocations: 0.6055 MB / 1.562 GB, free: 4.043 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03398/2.621, allocations: 9.284 MB / 1.571 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0112/2.633, allocations: 3.69 MB / 1.575 GB, free: 7.926 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.02853/2.661, allocations: 8.029 MB / 1.582 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.04861/2.71, allocations: 26.42 MB / 1.608 GB, free: 6.297 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/2.71, allocations: 4 kB / 1.608 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.779e-06/2.71, allocations: 0 / 1.608 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001313/2.711, allocations: 3.938 kB / 1.608 GB, free: 6.289 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2773 * Number of variables: 2773 Notification: Performance of Generate backend data structure: time 0.04838/2.76, allocations: 14.52 MB / 1.622 GB, free: 7.742 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/2.76, allocations: 8.031 kB / 1.622 GB, free: 7.734 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03094/2.791, allocations: 4.549 MB / 1.627 GB, free: 3.172 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03989/2.831, allocations: 15.06 MB / 1.642 GB, free: 4.305 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002449/2.833, allocations: 1.118 MB / 1.643 GB, free: 3.18 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005088/2.838, allocations: 1.124 MB / 1.644 GB, free: 2.062 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05409/2.892, allocations: 15.5 MB / 1.659 GB, free: 2.207 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000691/2.893, allocations: 21.92 kB / 1.659 GB, free: 2.188 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004627/2.898, allocations: 456 kB / 1.659 GB, free: 1.75 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006685/2.898, allocations: 0.4888 MB / 1.66 GB, free: 1.258 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04598/2.944, allocations: 14.75 MB / 1.674 GB, free: 2.48 MB / 1.026 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.1441/3.089, allocations: 66.85 MB / 1.739 GB, free: 12.9 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02995/3.119, allocations: 12.35 MB / 1.752 GB, free: 408 kB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01417/3.133, allocations: 5.66 MB / 1.757 GB, free: 10.72 MB / 1.12 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.0546/3.187, allocations: 21.54 MB / 1.778 GB, free: 4.453 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0158/3.203, allocations: 5.69 MB / 1.784 GB, free: 14.7 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01058/3.214, allocations: 1.702 MB / 1.785 GB, free: 13.01 MB / 1.151 GB Notification: Performance of pre-optimization done (n=730): time 3.854e-05/3.214, allocations: 0 / 1.785 GB, free: 13.01 MB / 1.151 GB Notification: Performance of matching and sorting (n=822): time 1.084/4.298, allocations: 55.63 MB / 1.84 GB, free: 0.5522 GB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002704/4.298, allocations: 328.2 kB / 1.84 GB, free: 0.5519 GB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02506/4.323, allocations: 11.38 MB / 1.851 GB, free: 0.548 GB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002468/4.326, allocations: 232 kB / 1.851 GB, free: 0.5478 GB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.007345/4.333, allocations: 6.294 MB / 1.857 GB, free: 0.5434 GB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004108/4.337, allocations: 2.739 MB / 1.86 GB, free: 0.5413 GB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003038/4.34, allocations: 0.8501 MB / 1.861 GB, free: 0.541 GB / 1.167 GB Notification: Performance of setup shared object (initialization): time 4.511e-05/4.341, allocations: 307.8 kB / 1.861 GB, free: 0.5407 GB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01895/4.359, allocations: 6.771 MB / 1.868 GB, free: 0.5385 GB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02162/4.381, allocations: 9.394 MB / 1.877 GB, free: 0.5335 GB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03981/4.421, allocations: 15.38 MB / 1.892 GB, free: 0.5259 GB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000113/4.421, allocations: 14.31 kB / 1.892 GB, free: 0.5259 GB / 1.167 GB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.05562/4.477, allocations: 17.83 MB / 1.909 GB, free: 0.5099 GB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009305/4.478, allocations: 1.702 MB / 1.911 GB, free: 0.5075 GB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001168/4.478, allocations: 52 kB / 1.911 GB, free: 0.5075 GB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003674/4.482, allocations: 0.8945 MB / 1.912 GB, free: 0.5066 GB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01522/4.497, allocations: 2.789 MB / 1.915 GB, free: 0.5038 GB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007973/4.505, allocations: 11.05 MB / 1.926 GB, free: 0.4924 GB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01947/4.524, allocations: 1.759 MB / 1.927 GB, free: 0.4907 GB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003035/4.527, allocations: 481.8 kB / 1.928 GB, free: 0.4902 GB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/4.527, allocations: 4 kB / 1.928 GB, free: 0.4902 GB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04841/4.576, allocations: 16.31 MB / 1.944 GB, free: 485.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001906/4.576, allocations: 52 kB / 1.944 GB, free: 485.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003088/4.579, allocations: 0.8092 MB / 1.945 GB, free: 484.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01528/4.595, allocations: 2.726 MB / 1.947 GB, free: 482 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008771/4.603, allocations: 9.862 MB / 1.957 GB, free: 471.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01969/4.623, allocations: 1.696 MB / 1.958 GB, free: 469.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003204/4.626, allocations: 471.7 kB / 1.959 GB, free: 469.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 236 * 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 (1188): * Single equations (assignments): 1169 * 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.01443/4.641, allocations: 4.378 MB / 1.963 GB, free: 465 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005756/4.647, allocations: 1.196 MB / 1.964 GB, free: 463.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05407/4.701, allocations: 16.74 MB / 1.981 GB, free: 447 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001496/4.701, allocations: 87.98 kB / 1.981 GB, free: 446.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-05/4.701, allocations: 4 kB / 1.981 GB, free: 446.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04124/4.742, allocations: 13.78 MB / 1.994 GB, free: 433 MB / 1.167 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.08666/4.829, allocations: 38.63 MB / 2.032 GB, free: 393.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.096e-05/4.829, allocations: 4 kB / 2.032 GB, free: 393.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01365/4.843, allocations: 2.325 MB / 2.034 GB, free: 391.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002466/4.845, allocations: 0.6814 MB / 2.035 GB, free: 390.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001839/4.847, allocations: 255.8 kB / 2.035 GB, free: 390.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006277/4.853, allocations: 10.37 MB / 2.045 GB, free: 379.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/4.853, allocations: 7.938 kB / 2.045 GB, free: 379.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0561/4.909, allocations: 24.32 MB / 2.069 GB, free: 354.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007688/4.917, allocations: 2.906 MB / 2.072 GB, free: 351.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00307/4.92, allocations: 195.8 kB / 2.072 GB, free: 351.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01382/4.934, allocations: 1.522 MB / 2.074 GB, free: 350 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001157/4.935, allocations: 0.588 MB / 2.074 GB, free: 349.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008513/4.936, allocations: 335.7 kB / 2.074 GB, free: 349 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01201/4.948, allocations: 7.769 MB / 2.082 GB, free: 341.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.71e-07/4.948, allocations: 3.938 kB / 2.082 GB, free: 341.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.02638/4.975, allocations: 6.239 MB / 2.088 GB, free: 335.2 MB / 1.167 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 (869): * Single equations (assignments): 831 * 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.004998/4.98, allocations: 2.145 MB / 2.09 GB, free: 333.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.05668/5.036, allocations: 25.4 MB / 2.115 GB, free: 307.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/5.036, allocations: 6.562 kB / 2.115 GB, free: 307.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.01834/5.055, allocations: 8.191 MB / 2.123 GB, free: 299.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03566/5.09, allocations: 6.471 MB / 2.129 GB, free: 293.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06165/5.152, allocations: 37.09 MB / 2.166 GB, free: 256.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008923/5.161, allocations: 7.767 MB / 2.173 GB, free: 248.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006784/5.168, allocations: 1.202 MB / 2.174 GB, free: 247.2 MB / 1.167 GB Notification: Performance of SimCode: time 8.71e-07/5.168, allocations: 4 kB / 2.174 GB, free: 247.2 MB / 1.167 GB Notification: Performance of Templates: time 2.175/7.343, allocations: 1.083 GB / 3.257 GB, free: 288.8 MB / 1.167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewables.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewables.makefile clang++ -std=c++14 -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewablesCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewablesCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewablesCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewablesFunctions.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); ^ ~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppBuildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewablesCalcHelperMain.cpp:29: ./OMCppBuildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewablesInitialize.cpp:14501:3: warning: expression result unused [-Wunused-value] tmp504; ^~~~~~ 1 warning and 1 error generated. make: *** [: OMCppBuildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterRenewablesCalcHelperMain.o] Error 1