Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.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.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.469/1.469, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001199/0.001199, allocations: 186.1 kB / 326.5 MB, free: 2.676 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.686/1.686, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0007842/0.0007842, allocations: 97.09 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003769, allocations: 6.5 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2453, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl): time 1.14/1.386, allocations: 471.5 MB / 1.357 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.9051/2.291, allocations: 74.43 MB / 1.43 GB, free: 27.91 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02283/2.314, allocations: 319.7 kB / 1.43 GB, free: 27.91 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.02347/2.337, allocations: 4.229 MB / 1.434 GB, free: 27.89 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.05262/2.39, allocations: 12.35 MB / 1.446 GB, free: 27.52 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.02823/2.418, allocations: 8.372 MB / 1.455 GB, free: 27.26 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.07373/2.492, allocations: 44.49 MB / 1.498 GB, free: 27.18 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03075/2.523, allocations: 11.41 MB / 1.509 GB, free: 24.06 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03497/2.558, allocations: 10.89 MB / 1.52 GB, free: 22.57 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02733/2.585, allocations: 9.888 MB / 1.529 GB, free: 19.36 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.00696/2.592, allocations: 0.5264 MB / 1.53 GB, free: 19.36 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03221/2.624, allocations: 8.718 MB / 1.538 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.009376/2.634, allocations: 3.243 MB / 1.542 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.02245/2.656, allocations: 6.883 MB / 1.548 GB, free: 6.871 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.03573/2.692, allocations: 19.47 MB / 1.567 GB, free: 6.273 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/2.692, allocations: 0 / 1.567 GB, free: 6.273 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.845e-06/2.692, allocations: 3.938 kB / 1.567 GB, free: 6.27 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.00104/2.693, allocations: 0 / 1.567 GB, free: 6.27 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2243 * Number of variables: 2243 Notification: Performance of Generate backend data structure: time 0.04203/2.735, allocations: 12.86 MB / 1.58 GB, free: 10.42 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/2.735, allocations: 12.03 kB / 1.58 GB, free: 10.41 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02475/2.76, allocations: 3.596 MB / 1.583 GB, free: 6.887 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03515/2.795, allocations: 11.72 MB / 1.595 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002402/2.798, allocations: 0.9569 MB / 1.596 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005329/2.803, allocations: 0.92 MB / 1.597 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04339/2.846, allocations: 12.14 MB / 1.609 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002598/2.847, allocations: 27.77 kB / 1.609 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002153/2.849, allocations: 365.7 kB / 1.609 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004029/2.849, allocations: 364.7 kB / 1.609 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03478/2.884, allocations: 11.36 MB / 1.62 GB, free: 2.348 MB / 0.9792 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.1183/3.002, allocations: 51.71 MB / 1.671 GB, free: 12.12 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02546/3.028, allocations: 9.84 MB / 1.68 GB, free: 2.09 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01157/3.039, allocations: 4.427 MB / 1.685 GB, free: 13.64 MB / 1.057 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.04703/3.087, allocations: 16.3 MB / 1.701 GB, free: 12.66 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01266/3.099, allocations: 4.473 MB / 1.705 GB, free: 8.105 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01056/3.11, allocations: 1.562 MB / 1.707 GB, free: 6.551 MB / 1.073 GB Notification: Performance of pre-optimization done (n=599): time 4.508e-05/3.11, allocations: 0 / 1.707 GB, free: 6.551 MB / 1.073 GB Notification: Performance of matching and sorting (n=603): time 0.08036/3.19, allocations: 23.48 MB / 1.73 GB, free: 14.71 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002516/3.191, allocations: 325.7 kB / 1.73 GB, free: 14.33 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02688/3.218, allocations: 9.925 MB / 1.74 GB, free: 4.453 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.002155/3.22, allocations: 177.5 kB / 1.74 GB, free: 4.277 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.009168/3.229, allocations: 5.493 MB / 1.745 GB, free: 14.79 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.00436/3.233, allocations: 2.044 MB / 1.747 GB, free: 12.77 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004022/3.237, allocations: 0.6428 MB / 1.748 GB, free: 12.12 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0001776/3.238, allocations: 305.1 kB / 1.748 GB, free: 11.82 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01324/3.251, allocations: 3.715 MB / 1.752 GB, free: 8.098 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01442/3.265, allocations: 5.874 MB / 1.757 GB, free: 1.422 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02457/3.29, allocations: 9.204 MB / 1.766 GB, free: 7.578 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.333e-05/3.29, allocations: 12 kB / 1.766 GB, free: 7.566 MB / 1.135 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.03936/3.329, allocations: 11.05 MB / 1.777 GB, free: 12.45 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001504/3.331, allocations: 1.408 MB / 1.779 GB, free: 10.44 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000147/3.331, allocations: 48 kB / 1.779 GB, free: 10.39 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003626/3.335, allocations: 0.6927 MB / 1.779 GB, free: 9.688 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01026/3.345, allocations: 1.823 MB / 1.781 GB, free: 7.863 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008337/3.353, allocations: 6.901 MB / 1.788 GB, free: 0.5703 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01553/3.369, allocations: 1.162 MB / 1.789 GB, free: 15.41 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002493/3.372, allocations: 363.8 kB / 1.789 GB, free: 15.06 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/3.372, allocations: 4 kB / 1.789 GB, free: 15.05 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03368/3.405, allocations: 9.677 MB / 1.799 GB, free: 5.32 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002585/3.406, allocations: 48.25 kB / 1.799 GB, free: 5.273 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00301/3.409, allocations: 0.6169 MB / 1.799 GB, free: 4.641 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009517/3.418, allocations: 1.767 MB / 1.801 GB, free: 2.871 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5489/3.967, allocations: 8.38 MB / 1.809 GB, free: 0.5537 GB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01309/3.98, allocations: 1.109 MB / 1.81 GB, free: 0.5537 GB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001927/3.982, allocations: 355.2 kB / 1.811 GB, free: 0.5537 GB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 194 * Number of states: 0 () * Number of discrete variables: 61 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,triAndRes.firstTrigger,$PRE.triAndRes.firstTrigger,triAndRes.sampleTrigger,$whenCondition7,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.sam.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.sampleTrigger,$whenCondition5,triAndRes.uniDel1.sampleTrigger,$whenCondition6,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,weaData.conTim.canRepeatWeatherFile,weaData.conTimMin.canRepeatWeatherFile,triAndRes.uniDel1.y,$PRE.triAndRes.uniDel1.y,triAndRes.sam.y,triAndRes.incY.y,or1.y,or1.u1,weaData.conTim.tNext,$PRE.weaData.conTim.tNext,weaData.conTimMin.tNext,$PRE.weaData.conTimMin.tNext,chiSwi.hysteresis.y,$PRE.chiSwi.hysteresis.y,wseCon.stateGraphRoot.activeSteps,wseCon.T2.t_start,$PRE.wseCon.T2.t_start,wseCon.T2.fire,wseCon.T2.enableFire,wseCon.T2.condition,wseCon.on.oldActive,$PRE.wseCon.on.oldActive,wseCon.on.newActive,$PRE.wseCon.on.newActive,wseCon.on.localActive,$PRE.wseCon.on.localActive,wseCon.on.active,wseCon.T1.t_start,$PRE.wseCon.T1.t_start,wseCon.T1.fire,wseCon.T1.enableFire,wseCon.T1.condition,wseCon.off.active,wseCon.off.oldActive,$PRE.wseCon.off.oldActive,wseCon.off.newActive,$PRE.wseCon.off.newActive,wseCon.off.localActive,$PRE.wseCon.off.localActive,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,EIT.local_reset,EHVAC.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (906): * Single equations (assignments): 891 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,9), (1,2), (2,9), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.009238/3.992, allocations: 3.337 MB / 1.814 GB, free: 0.5534 GB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003983/3.996, allocations: 1.051 MB / 1.815 GB, free: 0.5534 GB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02722/4.023, allocations: 9.894 MB / 1.825 GB, free: 0.553 GB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.537e-05/4.023, allocations: 73.56 kB / 1.825 GB, free: 0.553 GB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/4.023, allocations: 0 / 1.825 GB, free: 0.553 GB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01837/4.041, allocations: 7.747 MB / 1.832 GB, free: 0.5512 GB / 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.05199/4.093, allocations: 20.21 MB / 1.852 GB, free: 0.5435 GB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.648e-05/4.093, allocations: 0 / 1.852 GB, free: 0.5435 GB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007206/4.101, allocations: 1.445 MB / 1.853 GB, free: 0.5434 GB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001978/4.103, allocations: 0.5097 MB / 1.854 GB, free: 0.5433 GB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00149/4.104, allocations: 180.1 kB / 1.854 GB, free: 0.5432 GB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005057/4.109, allocations: 6.214 MB / 1.86 GB, free: 0.5379 GB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/4.109, allocations: 240 / 1.86 GB, free: 0.5379 GB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03685/4.146, allocations: 13.9 MB / 1.874 GB, free: 0.5331 GB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008291/4.154, allocations: 2.039 MB / 1.876 GB, free: 0.5323 GB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003848/4.158, allocations: 132.9 kB / 1.876 GB, free: 0.5322 GB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01152/4.17, allocations: 0.977 MB / 1.877 GB, free: 0.5319 GB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001598/4.171, allocations: 421 kB / 1.877 GB, free: 0.5317 GB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001527/4.173, allocations: 252.8 kB / 1.877 GB, free: 0.5316 GB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0166/4.19, allocations: 6.745 MB / 1.884 GB, free: 0.5282 GB / 1.167 GB Notification: Performance of sort global known variables: time 7.11e-07/4.19, allocations: 3.312 kB / 1.884 GB, free: 0.5282 GB / 1.167 GB Notification: Performance of remove unused functions: time 0.02733/4.217, allocations: 5.344 MB / 1.889 GB, free: 0.5242 GB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 35 (cooCoi.ele[1].vol1.dynBal.U,cooCoi.ele[1].vol2.dynBal.U,cooCoi.ele[1].vol2.dynBal.mXi[1],cooCoi.ele[1].mas.T,cooCoi.ele[2].vol1.dynBal.U,cooCoi.ele[2].vol2.dynBal.U,cooCoi.ele[2].vol2.dynBal.mXi[1],cooCoi.ele[2].mas.T,cooCoi.ele[3].vol1.dynBal.U,cooCoi.ele[3].vol2.dynBal.U,cooCoi.ele[3].vol2.dynBal.mXi[1],cooCoi.ele[3].mas.T,cooCoi.ele[4].vol1.dynBal.U,cooCoi.ele[4].vol2.dynBal.U,cooCoi.ele[4].vol2.dynBal.m,cooCoi.ele[4].vol2.dynBal.mXi[1],cooCoi.ele[4].mas.T,roo.rooVol.dynBal.U,roo.rooVol.dynBal.m,roo.rooVol.dynBal.mXi[1],pumCHW.vol.dynBal.U,expVesCHW.m,expVesCHW.H,cooTow.vol.dynBal.U,pumCW.vol.dynBal.U,expVesChi.m,expVesChi.H,chi.vol1.dynBal.U,chi.vol2.dynBal.U,TAirSup.T,TCHWEntChi.T,TCWLeaTow.T,TCHWLeaCoi.T,EHVAC.y,EIT.y) * Number of discrete variables: 40 (wseCon.T1.enableFire,wseCon.T2.enableFire,triAndRes.uniDel1.sampleTrigger,triAndRes.sam.sampleTrigger,wseCon.on.localActive,wseCon.off.localActive,$cse68,$cse69,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,wseCon.off.newActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.active,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.fire,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps,chiSwi.hysteresis.y,weaData.conTimMin.tNext,weaData.conTim.tNext,or1.u1,or1.y,triAndRes.incY.y,triAndRes.sam.firstTrigger,triAndRes.sam.y,triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.y,triAndRes.sampleTrigger,$whenCondition7,triAndRes.firstTrigger) * Number of discrete states: 6 (wseCon.off.newActive,wseCon.on.newActive,weaData.conTim.tNext,weaData.conTimMin.tNext,triAndRes.uniDel1.u,chiSwi.hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (641): * Single equations (assignments): 607 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,13), (1,2), (2,9), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006135/4.223, allocations: 1.913 MB / 1.891 GB, free: 0.5229 GB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.03894/4.262, allocations: 14.8 MB / 1.906 GB, free: 0.5085 GB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.67e-05/4.262, allocations: 5.875 kB / 1.906 GB, free: 0.5085 GB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.01029/4.272, allocations: 4.519 MB / 1.91 GB, free: 0.5041 GB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03927/4.312, allocations: 5.852 MB / 1.916 GB, free: 0.4987 GB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05636/4.368, allocations: 29.17 MB / 1.944 GB, free: 481.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007985/4.376, allocations: 6.664 MB / 1.951 GB, free: 474.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004603/4.381, allocations: 0.9638 MB / 1.952 GB, free: 473.9 MB / 1.167 GB Notification: Performance of SimCode: time 8.21e-07/4.381, allocations: 0 / 1.952 GB, free: 473.9 MB / 1.167 GB Notification: Performance of Templates: time 1.09/5.471, allocations: 0.587 GB / 2.539 GB, free: 458.5 MB / 1.167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.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.DataCenterDiscreteTimeControlCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControlCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControlCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControlFunctions.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.DataCenterDiscreteTimeControlCalcHelperMain.cpp:29: ./OMCppBuildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControlInitialize.cpp:10995:3: warning: expression result unused [-Wunused-value] tmp372; ^~~~~~ 1 warning and 1 error generated. make: *** [: OMCppBuildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControlCalcHelperMain.o] Error 1