Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.66/2.66, allocations: 287.3 MB / 302.3 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001518/0.001518, allocations: 177.3 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.229/2.229, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 91.55 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006485/0.000649, allocations: 11.16 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2424, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl): time 1.426/1.668, allocations: 392 MB / 1.361 GB, free: 1.129 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 1.12/2.788, allocations: 65.42 MB / 1.425 GB, free: 45.93 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01656/2.805, allocations: 293.5 kB / 1.425 GB, free: 45.93 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.02357/2.828, allocations: 4.502 MB / 1.43 GB, free: 45.9 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.05947/2.888, allocations: 12.09 MB / 1.441 GB, free: 45.74 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.04599/2.934, allocations: 9.671 MB / 1.451 GB, free: 45.44 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.06214/2.996, allocations: 19.04 MB / 1.469 GB, free: 45.41 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03349/3.03, allocations: 10.42 MB / 1.48 GB, free: 44.09 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03562/3.065, allocations: 9.385 MB / 1.489 GB, free: 44.07 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0237/3.089, allocations: 6.741 MB / 1.495 GB, free: 44.04 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.006616/3.096, allocations: 0.5269 MB / 1.496 GB, free: 44.04 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03908/3.135, allocations: 5.323 MB / 1.501 GB, free: 44.03 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.01221/3.147, allocations: 2.97 MB / 1.504 GB, free: 44.03 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.01338/3.161, allocations: 2.844 MB / 1.507 GB, free: 44 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.04455/3.205, allocations: 18.68 MB / 1.525 GB, free: 34.76 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/3.205, allocations: 0 / 1.525 GB, free: 34.76 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.347e-06/3.205, allocations: 0 / 1.525 GB, free: 34.76 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009101/3.206, allocations: 0 / 1.525 GB, free: 34.76 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2233 * Number of variables: 2233 Notification: Performance of Generate backend data structure: time 0.05339/3.26, allocations: 12.94 MB / 1.538 GB, free: 27.39 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/3.26, allocations: 10.97 kB / 1.538 GB, free: 27.39 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005924/3.266, allocations: 1.163 MB / 1.539 GB, free: 27.09 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03692/3.303, allocations: 3.62 MB / 1.542 GB, free: 25.59 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04056/3.343, allocations: 10.89 MB / 1.553 GB, free: 21.86 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003492/3.347, allocations: 1.38 MB / 1.554 GB, free: 21.19 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005319/3.352, allocations: 0.9275 MB / 1.555 GB, free: 21.17 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05073/3.403, allocations: 12 MB / 1.567 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006684/3.404, allocations: 14 kB / 1.567 GB, free: 13.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00417/3.408, allocations: 363.4 kB / 1.567 GB, free: 13.12 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004971/3.408, allocations: 376.6 kB / 1.568 GB, free: 12.76 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04702/3.455, allocations: 11.29 MB / 1.579 GB, free: 4.98 MB / 0.948 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.1494/3.605, allocations: 52.26 MB / 1.63 GB, free: 10.13 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03922/3.644, allocations: 9.968 MB / 1.639 GB, free: 2.957 MB / 0.9948 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.06479/3.709, allocations: 17.11 MB / 1.656 GB, free: 5.953 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02056/3.73, allocations: 4.532 MB / 1.661 GB, free: 2.664 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0148/3.745, allocations: 1.576 MB / 1.662 GB, free: 1.227 MB / 1.01 GB Notification: Performance of pre-optimization done (n=615): time 3.748e-05/3.745, allocations: 0 / 1.662 GB, free: 1.227 MB / 1.01 GB Notification: Performance of matching and sorting (n=661): time 0.1539/3.899, allocations: 27.14 MB / 1.689 GB, free: 12.79 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003012/3.899, allocations: 340.5 kB / 1.689 GB, free: 12.4 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03296/3.932, allocations: 9.913 MB / 1.699 GB, free: 5.309 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.00253/3.934, allocations: 187.5 kB / 1.699 GB, free: 5.23 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.01042/3.945, allocations: 5.444 MB / 1.704 GB, free: 2.449 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.005319/3.95, allocations: 2.229 MB / 1.706 GB, free: 0.5391 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002251/3.953, allocations: 155 kB / 1.706 GB, free: 0.5078 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.001033/3.954, allocations: 0.6046 MB / 1.707 GB, free: 20 kB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01828/3.972, allocations: 3.904 MB / 1.711 GB, free: 13.4 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02191/3.994, allocations: 6.033 MB / 1.717 GB, free: 8.117 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02058/4.015, allocations: 4.673 MB / 1.721 GB, free: 5.18 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.571e-05/4.015, allocations: 13.2 kB / 1.721 GB, free: 5.168 MB / 1.057 GB Notification: Performance of matching and sorting (n=987) (initialization): time 0.1012/4.116, allocations: 14.03 MB / 1.735 GB, free: 11.03 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.01148/4.128, allocations: 23.12 MB / 1.758 GB, free: 3.387 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002178/4.128, allocations: 40 kB / 1.758 GB, free: 3.348 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03542/4.163, allocations: 5.493 MB / 1.763 GB, free: 14.72 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01331/4.177, allocations: 1.407 MB / 1.764 GB, free: 13.45 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04694/4.224, allocations: 12.14 MB / 1.776 GB, free: 3.547 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02368/4.247, allocations: 1.232 MB / 1.777 GB, free: 2.445 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002903/4.25, allocations: 374.3 kB / 1.778 GB, free: 2.141 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/4.25, allocations: 7.094 kB / 1.778 GB, free: 2.137 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0554/4.306, allocations: 11.57 MB / 1.789 GB, free: 10.46 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002095/4.306, allocations: 44.06 kB / 1.789 GB, free: 10.42 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03093/4.337, allocations: 4.846 MB / 1.794 GB, free: 5.582 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01305/4.35, allocations: 1.409 MB / 1.795 GB, free: 4.258 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0419/4.392, allocations: 12.97 MB / 1.808 GB, free: 6.867 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02157/4.414, allocations: 1.16 MB / 1.809 GB, free: 5.711 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002724/4.417, allocations: 355.8 kB / 1.809 GB, free: 5.363 MB / 1.135 GB Warning: Assuming fixed start value for the following 3 variables: chi.vol2.dynBal.U:VARIABLE(start = chi.vol2.dynBal.fluidVolume * chi.vol2.dynBal.rho_start * Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.chi.vol2.dynBal.Medium.specificInternalEnergy(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.chi.vol2.dynBal.Medium.setState_pTX(chi.vol2.dynBal.p_start, chi.vol2.dynBal.T_start, {})) + (chi.vol2.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true final = true ) "Internal energy of fluid" type: Real cooCoi.ele[4].mas.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))) start = 288.15 unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.always protected = true ) "Temperature of element" type: Real [4] cooCoi.ele[4].vol2.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = cooCoi.ele[4].vol2.V * 1.2 unit = "kg" fixed = true stateSelect=StateSelect.prefer protected = true final = true ) "Mass of fluid" type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 179 * Number of states: 0 () * Number of discrete variables: 59 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,$PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition7,triAndRes.sampleTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$whenCondition5,triAndRes.sam.sampleTrigger,$whenCondition6,triAndRes.uniDel1.sampleTrigger,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.on.active,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps,$PRE.chiSwi.hysteresis.y,chiSwi.hysteresis.y,$PRE.weaData.conTimMin.tNext,weaData.conTimMin.tNext,$PRE.weaData.conTim.tNext,weaData.conTim.tNext,or1.u1,or1.y,triAndRes.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y,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 (743): * Single equations (assignments): 728 * 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: 5 * 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: 0 * Non-linear torn systems: 5 {17 133,7 58,1 2,3 14,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01456/4.431, allocations: 3.414 MB / 1.813 GB, free: 2.027 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005615/4.437, allocations: 1.042 MB / 1.814 GB, free: 0.9727 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05888/4.496, allocations: 10.63 MB / 1.824 GB, free: 6.309 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001582/4.496, allocations: 83.94 kB / 1.824 GB, free: 6.227 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.088e-05/4.496, allocations: 0 / 1.824 GB, free: 6.227 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04111/4.537, allocations: 8.366 MB / 1.832 GB, free: 13.78 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.09209/4.629, allocations: 22.17 MB / 1.854 GB, free: 7.629 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.344e-05/4.629, allocations: 3.984 kB / 1.854 GB, free: 7.625 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02078/4.65, allocations: 1.663 MB / 1.856 GB, free: 6.023 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004887/4.655, allocations: 0.5058 MB / 1.856 GB, free: 5.516 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002655/4.658, allocations: 219.8 kB / 1.856 GB, free: 5.301 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7279/5.386, allocations: 6.105 MB / 1.862 GB, free: 0.5208 GB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/5.386, allocations: 3.984 kB / 1.862 GB, free: 0.5208 GB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06451/5.45, allocations: 14.93 MB / 1.877 GB, free: 0.5191 GB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01062/5.461, allocations: 2.309 MB / 1.879 GB, free: 0.5184 GB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005334/5.467, allocations: 166.4 kB / 1.879 GB, free: 0.5183 GB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01957/5.486, allocations: 1.002 MB / 1.88 GB, free: 0.5182 GB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002441/5.489, allocations: 462.2 kB / 1.881 GB, free: 0.5181 GB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002292/5.491, allocations: 280.3 kB / 1.881 GB, free: 0.5181 GB / 1.182 GB Notification: Performance of sorting global known variables: time 0.02351/5.515, allocations: 6.737 MB / 1.888 GB, free: 0.5158 GB / 1.182 GB Notification: Performance of sort global known variables: time 9.01e-07/5.515, allocations: 0 / 1.888 GB, free: 0.5158 GB / 1.182 GB Notification: Performance of remove unused functions: time 0.03612/5.551, allocations: 5.399 MB / 1.893 GB, free: 0.5154 GB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 38 (cooCoi.ele[1].vol1.dynBal.U,cooCoi.ele[1].vol2.dynBal.medium.Xi[1],cooCoi.ele[1].vol2.dynBal.medium.T,cooCoi.ele[1].vol2.dynBal.m,cooCoi.ele[1].mas.T,cooCoi.ele[2].vol1.dynBal.U,cooCoi.ele[2].vol2.dynBal.medium.Xi[1],cooCoi.ele[2].vol2.dynBal.medium.T,cooCoi.ele[2].vol2.dynBal.m,cooCoi.ele[2].mas.T,cooCoi.ele[3].vol1.dynBal.U,cooCoi.ele[3].vol2.dynBal.medium.Xi[1],cooCoi.ele[3].vol2.dynBal.medium.T,cooCoi.ele[3].vol2.dynBal.m,cooCoi.ele[3].mas.T,cooCoi.ele[4].vol1.dynBal.U,cooCoi.ele[4].vol2.dynBal.medium.Xi[1],cooCoi.ele[4].vol2.dynBal.medium.T,cooCoi.ele[4].vol2.dynBal.m,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 (700): * Single equations (assignments): 664 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 13,1 2,3 14,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.07186/5.623, allocations: 17.37 MB / 1.91 GB, free: 0.5095 GB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.06675/5.689, allocations: 16.16 MB / 1.926 GB, free: 0.5043 GB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.846e-05/5.69, allocations: 6.469 kB / 1.926 GB, free: 0.5043 GB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.01906/5.709, allocations: 4.818 MB / 1.93 GB, free: 0.5027 GB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04737/5.756, allocations: 5.623 MB / 1.936 GB, free: 0.5016 GB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1097/5.866, allocations: 65.49 MB / 2 GB, free: 457.9 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0151/5.881, allocations: 7.074 MB / 2.007 GB, free: 450.7 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.02716/5.908, allocations: 3.545 MB / 2.01 GB, free: 447.2 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01611/5.924, allocations: 5.666 MB / 2.016 GB, free: 441.5 MB / 1.182 GB Notification: Performance of SimCode: time 1.883e-06/5.924, allocations: 0 / 2.016 GB, free: 441.5 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.789/6.713, allocations: 347 MB / 2.355 GB, free: 95.39 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002761/6.714, allocations: 273.1 kB / 2.355 GB, free: 95.04 MB / 1.182 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.o Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.c In file included from Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.c:1: In file included from ./Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.c:7246:93: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[392] /* cooCoi.ele[4].preDro2.k PARAM */ = (_OMC_LIT69?DIVISION_SIM(data->simulationInfo->realParameter[400] /* cooCoi.ele[4].preDro2.m_flow_nominal_pos PARAM */,27.3313007374329,"27.3313007374329",equationIndexes):0.0); ~~~~~~~~~~^ Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.c:7274:108: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[408] /* cooCoi.ele[4].preDro2.m_flow_turbulent PARAM */ = (_OMC_LIT69?(0.1) * (data->simulationInfo->realParameter[400] /* cooCoi.ele[4].preDro2.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.c:7358:93: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[335] /* cooCoi.ele[4].preDro1.k PARAM */ = (_OMC_LIT79?DIVISION_SIM(data->simulationInfo->realParameter[343] /* cooCoi.ele[4].preDro1.m_flow_nominal_pos PARAM */,0.0,"0.0",equationIndexes):0.0); ~~~~~~~~~~^ Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.c:7386:108: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[351] /* cooCoi.ele[4].preDro1.m_flow_turbulent PARAM */ = (_OMC_LIT79?(0.1) * (data->simulationInfo->realParameter[343] /* cooCoi.ele[4].preDro1.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.c:7808:93: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[391] /* cooCoi.ele[3].preDro2.k PARAM */ = (_OMC_LIT69?DIVISION_SIM(data->simulationInfo->realParameter[399] /* cooCoi.ele[3].preDro2.m_flow_nominal_pos PARAM */,0.0,"0.0",equationIndexes):0.0); ~~~~~~~~~~^ Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.c:7836:108: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[407] /* cooCoi.ele[3].preDro2.m_flow_turbulent PARAM */ = (_OMC_LIT69?(0.1) * (data->simulationInfo->realParameter[399] /* cooCoi.ele[3].preDro2.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.c:7906:93: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[334] /* cooCoi.ele[3].preDro1.k PARAM */ = (_OMC_LIT79?DIVISION_SIM(data->simulationInfo->realParameter[342] /* cooCoi.ele[3].preDro1.m_flow_nominal_pos PARAM */,0.0,"0.0",equationIndexes):0.0); ~~~~~~~~~~^ Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.c:7934:108: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[350] /* cooCoi.ele[3].preDro1.m_flow_turbulent PARAM */ = (_OMC_LIT79?(0.1) * (data->simulationInfo->realParameter[342] /* cooCoi.ele[3].preDro1.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.c:8356:93: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[390] /* cooCoi.ele[2].preDro2.k PARAM */ = (_OMC_LIT69?DIVISION_SIM(data->simulationInfo->realParameter[398] /* cooCoi.ele[2].preDro2.m_flow_nominal_pos PARAM */,0.0,"0.0",equationIndexes):0.0); ~~~~~~~~~~^ Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.c:8384:108: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[406] /* cooCoi.ele[2].preDro2.m_flow_turbulent PARAM */ = (_OMC_LIT69?(0.1) * (data->simulationInfo->realParameter[398] /* cooCoi.ele[2].preDro2.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.c:8454:93: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[333] /* cooCoi.ele[2].preDro1.k PARAM */ = (_OMC_LIT79?DIVISION_SIM(data->simulationInfo->realParameter[341] /* cooCoi.ele[2].preDro1.m_flow_nominal_pos PARAM */,0.0,"0.0",equationIndexes):0.0); ~~~~~~~~~~^ Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.c:8482:108: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[349] /* cooCoi.ele[2].preDro1.m_flow_turbulent PARAM */ = (_OMC_LIT79?(0.1) * (data->simulationInfo->realParameter[341] /* cooCoi.ele[2].preDro1.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.c:8862:103: error: assigning to 'modelica_boolean' (aka 'signed char') from incompatible type 'const boolean_array' (aka 'const struct base_array_s') data->simulationInfo->booleanParameter[125] /* cooCoi.ele[1].preDro2.computeFlowResistance PARAM */ = _OMC_LIT69; ^ ~~~~~~~~~~ Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.c:8949:29: error: operand of type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required tmp31 = (modelica_boolean)_OMC_LIT69; ^~~~~~~~~~ Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.c:8993:108: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[405] /* cooCoi.ele[1].preDro2.m_flow_turbulent PARAM */ = (_OMC_LIT69?(0.1) * (data->simulationInfo->realParameter[397] /* cooCoi.ele[1].preDro2.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.c:9021:103: error: assigning to 'modelica_boolean' (aka 'signed char') from incompatible type 'const boolean_array' (aka 'const struct base_array_s') data->simulationInfo->booleanParameter[105] /* cooCoi.ele[1].preDro1.computeFlowResistance PARAM */ = _OMC_LIT79; ^ ~~~~~~~~~~ Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.c:9122:29: error: operand of type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required tmp34 = (modelica_boolean)_OMC_LIT79; ^~~~~~~~~~ Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.c:9166:108: error: used type 'boolean_array' (aka 'struct base_array_s') where arithmetic or pointer type is required data->simulationInfo->realParameter[348] /* cooCoi.ele[1].preDro1.m_flow_turbulent PARAM */ = (_OMC_LIT79?(0.1) * (data->simulationInfo->realParameter[340] /* cooCoi.ele[1].preDro1.m_flow_nominal_pos PARAM */):0.0); ~~~~~~~~~~^ 2 warnings and 18 errors generated. : recipe for target 'Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.o' failed make: *** [Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.o] Error 1