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.365/1.365, allocations: 252 MB / 267.6 MB, free: 10.91 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.001148/0.001148, allocations: 183.9 kB / 327.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.4 MB / 0.5783 GB, free: 20.49 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.0009675/0.0009675, allocations: 104.2 kB / 0.6829 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003523, allocations: 8.406 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2528, allocations: 106.3 MB / 0.9008 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterRenewables): time 1.075/1.328, allocations: 444.2 MB / 1.335 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.6416/1.969, allocations: 75.46 MB / 1.408 GB, free: 36.62 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01556/1.985, allocations: 340.5 kB / 1.409 GB, free: 36.62 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.01529/2, allocations: 3.723 MB / 1.412 GB, free: 36.59 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.03718/2.038, allocations: 10.82 MB / 1.423 GB, free: 36.35 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.03036/2.068, allocations: 7.315 MB / 1.43 GB, free: 36.08 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.05819/2.126, allocations: 42.62 MB / 1.472 GB, free: 36.03 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03531/2.162, allocations: 15.24 MB / 1.486 GB, free: 33.52 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02642/2.188, allocations: 11.11 MB / 1.497 GB, free: 30.15 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02029/2.208, allocations: 10.23 MB / 1.507 GB, free: 26.23 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.005807/2.214, allocations: 0.609 MB / 1.508 GB, free: 26.23 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02265/2.237, allocations: 5.707 MB / 1.513 GB, free: 24.68 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.007448/2.244, allocations: 3.577 MB / 1.517 GB, free: 23.09 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.00875/2.253, allocations: 3.499 MB / 1.52 GB, free: 22.53 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.02849/2.282, allocations: 25.92 MB / 1.546 GB, free: 2.605 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/2.282, allocations: 0 / 1.546 GB, free: 2.605 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.114e-06/2.282, allocations: 4 kB / 1.546 GB, free: 2.602 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0008088/2.283, allocations: 0 / 1.546 GB, free: 2.602 MB / 0.9167 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.03849/2.321, allocations: 14.69 MB / 1.56 GB, free: 5.195 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/2.321, allocations: 8.031 kB / 1.56 GB, free: 5.188 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02747/2.349, allocations: 4.551 MB / 1.565 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03044/2.379, allocations: 14.63 MB / 1.579 GB, free: 7.91 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001854/2.381, allocations: 1.122 MB / 1.58 GB, free: 7.141 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003648/2.385, allocations: 1.123 MB / 1.581 GB, free: 6.379 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04185/2.426, allocations: 15.42 MB / 1.596 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004063/2.427, allocations: 29.12 kB / 1.596 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002962/2.43, allocations: 452.8 kB / 1.597 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005863/2.43, allocations: 496.3 kB / 1.597 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04052/2.471, allocations: 14.68 MB / 1.611 GB, free: 1.332 MB / 0.9636 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.1311/2.602, allocations: 66.8 MB / 1.677 GB, free: 13.62 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0285/2.631, allocations: 12.31 MB / 1.689 GB, free: 5.129 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01399/2.645, allocations: 5.634 MB / 1.694 GB, free: 1.547 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 evalFunc (simulation): time 0.0491/2.694, allocations: 21.54 MB / 1.715 GB, free: 1.004 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0153/2.709, allocations: 5.67 MB / 1.721 GB, free: 11.27 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009997/2.719, allocations: 1.702 MB / 1.722 GB, free: 9.578 MB / 1.057 GB Notification: Performance of pre-optimization done (n=730): time 3.344e-05/2.719, allocations: 0 / 1.722 GB, free: 9.578 MB / 1.057 GB Notification: Performance of matching and sorting (n=822): time 0.2361/2.955, allocations: 55.51 MB / 1.777 GB, free: 1.855 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001809/2.956, allocations: 332.3 kB / 1.777 GB, free: 1.477 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02151/2.977, allocations: 11.27 MB / 1.788 GB, free: 6.25 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.002295/2.979, allocations: 229.7 kB / 1.788 GB, free: 6.02 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.007024/2.986, allocations: 6.296 MB / 1.794 GB, free: 15.73 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.00427/2.991, allocations: 2.735 MB / 1.797 GB, free: 13.02 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00111/2.992, allocations: 199 kB / 1.797 GB, free: 12.82 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0006258/2.993, allocations: 0.6718 MB / 1.798 GB, free: 12.14 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01809/3.011, allocations: 6.675 MB / 1.804 GB, free: 5.461 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7927/3.803, allocations: 9.286 MB / 1.813 GB, free: 0.5123 GB / 1.136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02527/3.829, allocations: 7.407 MB / 1.821 GB, free: 0.5122 GB / 1.136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001444/3.829, allocations: 16.25 kB / 1.821 GB, free: 0.5122 GB / 1.136 GB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.07065/3.9, allocations: 17.61 MB / 1.838 GB, free: 0.5102 GB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001169/3.901, allocations: 1.702 MB / 1.839 GB, free: 0.5081 GB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001845/3.901, allocations: 53.78 kB / 1.839 GB, free: 0.5081 GB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00476/3.906, allocations: 0.8707 MB / 1.84 GB, free: 0.5079 GB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02095/3.927, allocations: 2.787 MB / 1.843 GB, free: 0.5077 GB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0113/3.938, allocations: 11.04 MB / 1.854 GB, free: 0.4979 GB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02813/3.966, allocations: 1.756 MB / 1.856 GB, free: 0.4978 GB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003841/3.97, allocations: 485.1 kB / 1.856 GB, free: 0.4977 GB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/3.97, allocations: 3.938 kB / 1.856 GB, free: 0.4977 GB / 1.136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05388/4.024, allocations: 16.22 MB / 1.872 GB, free: 0.4921 GB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001744/4.024, allocations: 50.19 kB / 1.872 GB, free: 0.4921 GB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003274/4.028, allocations: 0.8207 MB / 1.873 GB, free: 0.4919 GB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01679/4.044, allocations: 2.728 MB / 1.875 GB, free: 0.4916 GB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008706/4.053, allocations: 9.878 MB / 1.885 GB, free: 494.8 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01938/4.073, allocations: 1.693 MB / 1.887 GB, free: 494.5 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002668/4.075, allocations: 466.9 kB / 1.887 GB, free: 494.4 MB / 1.136 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,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.dataCenterContinuousTimeControl.wseCon.off.localActive,dataCenterContinuousTimeControl.wseCon.off.localActive,$PRE.dataCenterContinuousTimeControl.wseCon.off.newActive,dataCenterContinuousTimeControl.wseCon.off.newActive,$PRE.dataCenterContinuousTimeControl.wseCon.off.oldActive,dataCenterContinuousTimeControl.wseCon.off.oldActive,dataCenterContinuousTimeControl.wseCon.off.active,dataCenterContinuousTimeControl.wseCon.T1.condition,dataCenterContinuousTimeControl.wseCon.T1.enableFire,dataCenterContinuousTimeControl.wseCon.T1.fire,$PRE.dataCenterContinuousTimeControl.wseCon.T1.t_start,dataCenterContinuousTimeControl.wseCon.T1.t_start,dataCenterContinuousTimeControl.wseCon.on.active,$PRE.dataCenterContinuousTimeControl.wseCon.on.localActive,dataCenterContinuousTimeControl.wseCon.on.localActive,$PRE.dataCenterContinuousTimeControl.wseCon.on.newActive,dataCenterContinuousTimeControl.wseCon.on.newActive,$PRE.dataCenterContinuousTimeControl.wseCon.on.oldActive,dataCenterContinuousTimeControl.wseCon.on.oldActive,dataCenterContinuousTimeControl.wseCon.T2.condition,dataCenterContinuousTimeControl.wseCon.T2.enableFire,dataCenterContinuousTimeControl.wseCon.T2.fire,$PRE.dataCenterContinuousTimeControl.wseCon.T2.t_start,dataCenterContinuousTimeControl.wseCon.T2.t_start,dataCenterContinuousTimeControl.wseCon.stateGraphRoot.activeSteps,$PRE.dataCenterContinuousTimeControl.chiSwi.hysteresis.y,dataCenterContinuousTimeControl.chiSwi.hysteresis.y,$PRE.dataCenterContinuousTimeControl.weaData.conTimMin.tNext,dataCenterContinuousTimeControl.weaData.conTimMin.tNext,$PRE.dataCenterContinuousTimeControl.weaData.conTim.tNext,dataCenterContinuousTimeControl.weaData.conTim.tNext,dataCenterContinuousTimeControl.or1.u1,dataCenterContinuousTimeControl.or1.y,$PRE.bat.cha.underCharged,bat.cha.underCharged,$PRE.bat.cha.overCharged,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,$PRE.con.off.localActive,con.off.localActive,con.off.inPort[1].set,con.off.outPort[1].reset,$PRE.con.off.newActive,con.off.newActive,$PRE.con.off.oldActive,con.off.oldActive,con.stateGraphRoot.activeSteps,con.alternative.split[2].available,con.t1.condition,con.t1.enableFire,con.t1.fire,$PRE.con.t1.t_start,con.t1.t_start,con.t2.condition,con.t2.enableFire,con.t2.fire,$PRE.con.t2.t_start,con.t2.t_start,$PRE.con.charge.localActive,con.charge.localActive,$PRE.con.charge.newActive,con.charge.newActive,$PRE.con.charge.oldActive,con.charge.oldActive,con.charge.active,$PRE.con.discharge.localActive,con.discharge.localActive,$PRE.con.discharge.newActive,con.discharge.newActive,$PRE.con.discharge.oldActive,con.discharge.oldActive,con.discharge.active,con.t3.condition,con.t3.enableFire,con.t4.condition,con.t4.enableFire,dataCenterContinuousTimeControl.weaData.conTimMin.canRepeatWeatherFile,dataCenterContinuousTimeControl.weaData.conTim.canRepeatWeatherFile,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 (linear and non-linear blocks): 2 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 7,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 6 {3 9,1 2,2 9,1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01222/4.088, allocations: 4.382 MB / 1.891 GB, free: 492.1 MB / 1.136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00495/4.093, allocations: 1.191 MB / 1.893 GB, free: 492.1 MB / 1.136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05435/4.147, allocations: 16.71 MB / 1.909 GB, free: 480.3 MB / 1.136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001236/4.147, allocations: 92 kB / 1.909 GB, free: 480.3 MB / 1.136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/4.147, allocations: 7.984 kB / 1.909 GB, free: 480.2 MB / 1.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04153/4.189, allocations: 13.72 MB / 1.922 GB, free: 466.4 MB / 1.136 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.08871/4.277, allocations: 38.56 MB / 1.96 GB, free: 427 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.446e-05/4.278, allocations: 4 kB / 1.96 GB, free: 426.9 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01538/4.293, allocations: 2.333 MB / 1.962 GB, free: 424.6 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002769/4.296, allocations: 0.6909 MB / 1.963 GB, free: 423.9 MB / 1.136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002455/4.298, allocations: 255.8 kB / 1.963 GB, free: 423.7 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007285/4.306, allocations: 10.35 MB / 1.973 GB, free: 412.7 MB / 1.136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/4.306, allocations: 8.062 kB / 1.973 GB, free: 412.7 MB / 1.136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06675/4.372, allocations: 24.24 MB / 1.997 GB, free: 388.8 MB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01139/4.384, allocations: 3.05 MB / 2 GB, free: 385.7 MB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005786/4.39, allocations: 180 kB / 2 GB, free: 385.5 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01985/4.41, allocations: 1.531 MB / 2.002 GB, free: 384 MB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002511/4.412, allocations: 0.5841 MB / 2.002 GB, free: 383.4 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002087/4.414, allocations: 343.7 kB / 2.003 GB, free: 383.1 MB / 1.136 GB Notification: Performance of sorting global known variables: time 0.0185/4.433, allocations: 7.668 MB / 2.01 GB, free: 375.5 MB / 1.136 GB Notification: Performance of sort global known variables: time 6.52e-07/4.433, allocations: 0 / 2.01 GB, free: 375.5 MB / 1.136 GB Notification: Performance of remove unused functions: time 0.03181/4.465, allocations: 6.236 MB / 2.016 GB, free: 369.3 MB / 1.136 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 (linear and non-linear blocks): 1 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 7} * Non-linear torn systems: 6 {1 2,1 3,1 2,3 13,1 2,2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.006706/4.471, allocations: 2.091 MB / 2.018 GB, free: 367.8 MB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.08553/4.557, allocations: 25.25 MB / 2.043 GB, free: 342.5 MB / 1.136 GB Notification: Performance of simCode: created event and clocks part: time 2.209e-05/4.557, allocations: 10.56 kB / 2.043 GB, free: 342.5 MB / 1.136 GB Notification: Performance of simCode: created simulation system equations: time 0.03379/4.591, allocations: 8.14 MB / 2.051 GB, free: 334.3 MB / 1.136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05117/4.642, allocations: 6.46 MB / 2.057 GB, free: 328 MB / 1.136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.103/4.745, allocations: 36.37 MB / 2.093 GB, free: 291.5 MB / 1.136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01582/4.761, allocations: 7.773 MB / 2.1 GB, free: 283.7 MB / 1.136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01031/4.771, allocations: 1.198 MB / 2.101 GB, free: 282.5 MB / 1.136 GB Notification: Performance of SimCode: time 1.533e-06/4.771, allocations: 0 / 2.101 GB, free: 282.5 MB / 1.136 GB Notification: Performance of Templates: time 2.525/7.296, allocations: 1.083 GB / 3.185 GB, free: 255.1 MB / 1.136 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++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_maint.7.0.x_Buildings.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:15754: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