Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.876/1.876, allocations: 288.2 MB / 303.2 MB, free: 8.109 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.001248/0.001248, allocations: 183.8 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.922/1.922, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.001076/0.001076, allocations: 103.5 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004785, allocations: 15.22 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2712, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl): time 1.131/1.403, allocations: 392 MB / 1.362 GB, free: 20 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.1277/1.53, allocations: 65.41 MB / 1.426 GB, free: 14.5 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01877/1.549, allocations: 289.9 kB / 1.426 GB, free: 14.21 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.02166/1.571, allocations: 4.502 MB / 1.431 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.8749/2.446, allocations: 12.06 MB / 1.443 GB, free: 48.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.03927/2.485, allocations: 9.658 MB / 1.452 GB, free: 48.27 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.05244/2.538, allocations: 19.04 MB / 1.471 GB, free: 48.22 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02767/2.565, allocations: 10.42 MB / 1.481 GB, free: 46.9 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03181/2.597, allocations: 9.385 MB / 1.49 GB, free: 46.88 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02196/2.619, allocations: 6.743 MB / 1.497 GB, free: 46.84 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.007328/2.627, allocations: 0.5247 MB / 1.497 GB, free: 46.84 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02898/2.656, allocations: 5.331 MB / 1.502 GB, free: 46.84 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.009938/2.666, allocations: 2.959 MB / 1.505 GB, free: 46.84 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.01321/2.679, allocations: 2.851 MB / 1.508 GB, free: 46.81 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.03699/2.716, allocations: 18.68 MB / 1.526 GB, free: 44.1 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/2.716, allocations: 0 / 1.526 GB, free: 44.1 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.911e-06/2.716, allocations: 0 / 1.526 GB, free: 44.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001013/2.717, allocations: 3.125 kB / 1.526 GB, free: 44.1 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: 2233 * Number of variables: 2233 Notification: Performance of Generate backend data structure: time 0.04482/2.762, allocations: 12.94 MB / 1.539 GB, free: 36.74 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.795e-05/2.762, allocations: 10.97 kB / 1.539 GB, free: 36.74 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006449/2.768, allocations: 1.158 MB / 1.54 GB, free: 36.44 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02375/2.792, allocations: 3.625 MB / 1.544 GB, free: 34.93 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03505/2.827, allocations: 10.89 MB / 1.554 GB, free: 31.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003111/2.83, allocations: 1.387 MB / 1.556 GB, free: 30.53 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006303/2.837, allocations: 0.9225 MB / 1.556 GB, free: 30.52 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04766/2.884, allocations: 11.99 MB / 1.568 GB, free: 27.04 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007794/2.885, allocations: 26.77 kB / 1.568 GB, free: 27.03 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004757/2.89, allocations: 364.7 kB / 1.568 GB, free: 27.03 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004671/2.891, allocations: 369.7 kB / 1.569 GB, free: 26.7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03362/2.924, allocations: 11.29 MB / 1.58 GB, free: 18.92 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.1093/3.033, allocations: 52.27 MB / 1.631 GB, free: 8.066 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02351/3.057, allocations: 9.957 MB / 1.641 GB, free: 0.8945 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.05039/3.107, allocations: 17.11 MB / 1.657 GB, free: 3.895 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01616/3.124, allocations: 4.527 MB / 1.662 GB, free: 0.6094 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01238/3.136, allocations: 1.581 MB / 1.663 GB, free: 15.17 MB / 1.026 GB Notification: Performance of pre-optimization done (n=615): time 4.801e-05/3.136, allocations: 0 / 1.663 GB, free: 15.17 MB / 1.026 GB Notification: Performance of matching and sorting (n=661): time 0.1021/3.238, allocations: 27.15 MB / 1.69 GB, free: 10.72 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000319/3.239, allocations: 337.3 kB / 1.69 GB, free: 10.33 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02852/3.267, allocations: 9.913 MB / 1.7 GB, free: 3.242 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.002731/3.27, allocations: 193.7 kB / 1.7 GB, free: 3.16 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0096/3.28, allocations: 5.438 MB / 1.705 GB, free: 396 kB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.005164/3.285, allocations: 2.235 MB / 1.708 GB, free: 14.48 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002357/3.287, allocations: 150.1 kB / 1.708 GB, free: 14.45 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.001163/3.289, allocations: 0.6066 MB / 1.708 GB, free: 13.96 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01186/3.3, allocations: 3.899 MB / 1.712 GB, free: 11.34 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0143/3.315, allocations: 6.03 MB / 1.718 GB, free: 6.059 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01286/3.328, allocations: 4.679 MB / 1.723 GB, free: 3.121 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.441e-05/3.328, allocations: 12 kB / 1.723 GB, free: 3.109 MB / 1.057 GB Notification: Performance of matching and sorting (n=987) (initialization): time 0.05779/3.386, allocations: 14.03 MB / 1.736 GB, free: 8.969 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.01/3.396, allocations: 23.12 MB / 1.759 GB, free: 1.332 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000195/3.396, allocations: 40 kB / 1.759 GB, free: 1.293 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01963/3.416, allocations: 5.487 MB / 1.764 GB, free: 12.67 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007409/3.423, allocations: 1.413 MB / 1.766 GB, free: 11.39 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02295/3.446, allocations: 12.15 MB / 1.777 GB, free: 1.488 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01468/3.461, allocations: 1.216 MB / 1.779 GB, free: 416 kB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002485/3.463, allocations: 375.2 kB / 1.779 GB, free: 100 kB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/3.463, allocations: 11.95 kB / 1.779 GB, free: 88 kB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03442/3.498, allocations: 11.57 MB / 1.79 GB, free: 8.41 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001996/3.498, allocations: 40 kB / 1.79 GB, free: 8.371 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01637/3.514, allocations: 4.838 MB / 1.795 GB, free: 4.309 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007205/3.522, allocations: 1.406 MB / 1.796 GB, free: 3.031 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02243/3.544, allocations: 12.99 MB / 1.809 GB, free: 8.164 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01401/3.558, allocations: 1.151 MB / 1.81 GB, free: 7.141 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002206/3.56, allocations: 365.1 kB / 1.811 GB, free: 6.848 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.01155/3.572, allocations: 3.391 MB / 1.814 GB, free: 4.871 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004847/3.577, allocations: 1.05 MB / 1.815 GB, free: 3.809 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03415/3.611, allocations: 10.65 MB / 1.825 GB, free: 12.46 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001631/3.611, allocations: 77.98 kB / 1.825 GB, free: 12.39 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.354e-05/3.611, allocations: 0.875 kB / 1.825 GB, free: 12.39 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0241/3.635, allocations: 8.372 MB / 1.834 GB, free: 4.312 MB / 1.151 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.06143/3.697, allocations: 22.17 MB / 1.855 GB, free: 14.17 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.557e-05/3.697, allocations: 4.859 kB / 1.855 GB, free: 14.16 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009678/3.707, allocations: 1.665 MB / 1.857 GB, free: 12.56 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002043/3.709, allocations: 0.5037 MB / 1.857 GB, free: 12.05 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001664/3.71, allocations: 215.8 kB / 1.858 GB, free: 11.84 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005134/3.716, allocations: 6.108 MB / 1.864 GB, free: 5.445 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/3.716, allocations: 0 / 1.864 GB, free: 5.445 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6483/4.364, allocations: 14.93 MB / 1.878 GB, free: 0.5153 GB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01043/4.374, allocations: 2.311 MB / 1.88 GB, free: 0.5152 GB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005202/4.38, allocations: 170 kB / 1.881 GB, free: 0.5152 GB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01364/4.393, allocations: 0.9986 MB / 1.881 GB, free: 0.5152 GB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002475/4.396, allocations: 458.2 kB / 1.882 GB, free: 0.5152 GB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001555/4.397, allocations: 281.4 kB / 1.882 GB, free: 0.5152 GB / 1.182 GB Notification: Performance of sorting global known variables: time 0.02187/4.419, allocations: 6.74 MB / 1.889 GB, free: 0.5133 GB / 1.182 GB Notification: Performance of sort global known variables: time 1.292e-06/4.419, allocations: 0 / 1.889 GB, free: 0.5133 GB / 1.182 GB Notification: Performance of remove unused functions: time 0.03234/4.452, allocations: 5.39 MB / 1.894 GB, free: 0.5129 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.04747/4.499, allocations: 17.37 MB / 1.911 GB, free: 0.507 GB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.04499/4.544, allocations: 16.15 MB / 1.927 GB, free: 0.5018 GB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.041e-05/4.544, allocations: 7.281 kB / 1.927 GB, free: 0.5018 GB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.01341/4.558, allocations: 4.834 MB / 1.931 GB, free: 0.5003 GB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03736/4.595, allocations: 5.611 MB / 1.937 GB, free: 0.4991 GB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09778/4.693, allocations: 65.51 MB / 2.001 GB, free: 460 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009944/4.703, allocations: 7.073 MB / 2.008 GB, free: 454.9 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.01734/4.72, allocations: 3.547 MB / 2.011 GB, free: 452.2 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01448/4.735, allocations: 5.67 MB / 2.017 GB, free: 446.5 MB / 1.182 GB Notification: Performance of SimCode: time 1.613e-06/4.735, allocations: 4 kB / 2.017 GB, free: 446.5 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6253/5.36, allocations: 347 MB / 2.356 GB, free: 100.6 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001508/5.36, allocations: 277.4 kB / 2.356 GB, free: 100.3 MB / 1.182 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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.1-maint.8.0.x/Resources/C-Sources" -c -o Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.o Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.c In file included from Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.c:1: In file included from ./Buildings_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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. make: *** [: Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl_08bnd_part0.o] Error 1