Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.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.DataCenterContinuousTimeControl,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterContinuousTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterContinuousTimeControl",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.875/2.875, allocations: 287.3 MB / 302.3 MB, free: 8.281 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.001474/0.001474, allocations: 178.8 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.174/2.174, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001107/0.001107, allocations: 97.94 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005366/0.0005367, allocations: 11.16 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2438, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl): time 1.361/1.605, allocations: 392.3 MB / 1.361 GB, free: 0.8359 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 1.139/2.744, allocations: 65.5 MB / 1.425 GB, free: 45.92 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01672/2.76, allocations: 296.6 kB / 1.426 GB, free: 45.92 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.02379/2.784, allocations: 4.507 MB / 1.43 GB, free: 45.89 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.05705/2.841, allocations: 12.12 MB / 1.442 GB, free: 45.73 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.04356/2.885, allocations: 9.727 MB / 1.451 GB, free: 45.43 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.07132/2.956, allocations: 19.12 MB / 1.47 GB, free: 45.4 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03125/2.988, allocations: 10.47 MB / 1.48 GB, free: 44.07 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03411/3.022, allocations: 9.413 MB / 1.489 GB, free: 44.05 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02064/3.043, allocations: 6.749 MB / 1.496 GB, free: 44.02 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.005919/3.048, allocations: 0.5294 MB / 1.497 GB, free: 44.02 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03114/3.08, allocations: 5.33 MB / 1.502 GB, free: 44.01 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.009926/3.09, allocations: 2.964 MB / 1.505 GB, free: 44.01 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.01028/3.1, allocations: 2.865 MB / 1.507 GB, free: 43.98 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.03704/3.137, allocations: 18.77 MB / 1.526 GB, free: 34.56 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/3.137, allocations: 0 / 1.526 GB, free: 34.56 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.977e-06/3.137, allocations: 3.312 kB / 1.526 GB, free: 34.56 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008645/3.138, allocations: 0 / 1.526 GB, free: 34.56 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.05146/3.19, allocations: 12.96 MB / 1.538 GB, free: 27.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/3.19, allocations: 10.38 kB / 1.538 GB, free: 27.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0061/3.196, allocations: 1.162 MB / 1.54 GB, free: 26.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0361/3.232, allocations: 3.629 MB / 1.543 GB, free: 25.39 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03976/3.272, allocations: 10.98 MB / 1.554 GB, free: 21.63 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003465/3.275, allocations: 1.391 MB / 1.555 GB, free: 20.95 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005242/3.28, allocations: 0.9261 MB / 1.556 GB, free: 20.94 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04838/3.329, allocations: 12.02 MB / 1.568 GB, free: 12.71 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004577/3.329, allocations: 24.7 kB / 1.568 GB, free: 12.69 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003687/3.333, allocations: 365.6 kB / 1.568 GB, free: 12.61 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004623/3.334, allocations: 366.3 kB / 1.569 GB, free: 12.26 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04643/3.38, allocations: 11.31 MB / 1.58 GB, free: 4.477 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.1471/3.527, allocations: 52.58 MB / 1.631 GB, free: 9.395 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03567/3.563, allocations: 9.904 MB / 1.641 GB, free: 2.297 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.06047/3.623, allocations: 17 MB / 1.657 GB, free: 5.395 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01888/3.642, allocations: 4.5 MB / 1.662 GB, free: 2.133 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01452/3.657, allocations: 1.555 MB / 1.663 GB, free: 0.7031 MB / 1.01 GB Notification: Performance of pre-optimization done (n=610): time 4.089e-05/3.657, allocations: 0 / 1.663 GB, free: 0.7031 MB / 1.01 GB Notification: Performance of matching and sorting (n=656): time 0.1348/3.792, allocations: 25.38 MB / 1.688 GB, free: 14.04 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002234/3.792, allocations: 274.8 kB / 1.688 GB, free: 13.71 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02924/3.821, allocations: 9.991 MB / 1.698 GB, free: 6.574 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.002348/3.824, allocations: 188.1 kB / 1.698 GB, free: 6.492 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.009459/3.833, allocations: 5.472 MB / 1.703 GB, free: 3.695 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.005014/3.838, allocations: 2.238 MB / 1.706 GB, free: 1.777 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001599/3.84, allocations: 150.9 kB / 1.706 GB, free: 1.75 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0008635/3.841, allocations: 0.5996 MB / 1.706 GB, free: 1.266 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02143/3.862, allocations: 3.893 MB / 1.71 GB, free: 14.66 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02207/3.885, allocations: 6 MB / 1.716 GB, free: 9.422 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01918/3.904, allocations: 4.668 MB / 1.721 GB, free: 6.492 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001053/3.904, allocations: 14.81 kB / 1.721 GB, free: 6.48 MB / 1.057 GB Notification: Performance of matching and sorting (n=983) (initialization): time 0.0582/3.962, allocations: 13.01 MB / 1.733 GB, free: 13.34 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.01025/3.972, allocations: 22.94 MB / 1.756 GB, free: 5.965 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002364/3.973, allocations: 40 kB / 1.756 GB, free: 5.926 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0336/4.006, allocations: 5.587 MB / 1.761 GB, free: 1.203 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01289/4.019, allocations: 1.413 MB / 1.763 GB, free: 15.92 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03698/4.056, allocations: 12.13 MB / 1.774 GB, free: 6.02 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02255/4.079, allocations: 1.208 MB / 1.776 GB, free: 4.938 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002829/4.082, allocations: 376.1 kB / 1.776 GB, free: 4.629 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/4.082, allocations: 6.5 kB / 1.776 GB, free: 4.625 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05469/4.137, allocations: 11.58 MB / 1.787 GB, free: 12.58 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001891/4.137, allocations: 44.03 kB / 1.787 GB, free: 12.54 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02985/4.167, allocations: 4.81 MB / 1.792 GB, free: 7.719 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01271/4.179, allocations: 1.425 MB / 1.793 GB, free: 6.379 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03478/4.214, allocations: 12.97 MB / 1.806 GB, free: 8.984 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02033/4.235, allocations: 1.155 MB / 1.807 GB, free: 7.832 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002538/4.237, allocations: 359.8 kB / 1.808 GB, free: 7.48 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.DataCenterContinuousTimeControl.chi.vol2.dynBal.Medium.specificInternalEnergy(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.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: 177 * Number of states: 0 () * Number of discrete variables: 44 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,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.conPID.I.trigger_internal,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 (739): * Single equations (assignments): 724 * 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,8 57,1 2,3 14,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01303/4.25, allocations: 3.409 MB / 1.811 GB, free: 4.137 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004441/4.255, allocations: 1.046 MB / 1.812 GB, free: 3.078 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04369/4.299, allocations: 10.64 MB / 1.822 GB, free: 8.43 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001099/4.299, allocations: 77.19 kB / 1.822 GB, free: 8.355 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/4.299, allocations: 0 / 1.822 GB, free: 8.355 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03502/4.334, allocations: 8.375 MB / 1.831 GB, free: 15.91 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.08418/4.418, allocations: 21.96 MB / 1.852 GB, free: 9.961 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.864e-05/4.418, allocations: 4 kB / 1.852 GB, free: 9.957 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01897/4.437, allocations: 1.673 MB / 1.854 GB, free: 8.352 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003347/4.44, allocations: 0.4937 MB / 1.854 GB, free: 7.848 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00207/4.443, allocations: 219.8 kB / 1.854 GB, free: 7.633 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007881/4.45, allocations: 6.108 MB / 1.86 GB, free: 1.242 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/4.451, allocations: 0 / 1.86 GB, free: 1.242 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7707/5.221, allocations: 14.73 MB / 1.875 GB, free: 0.5207 GB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01071/5.232, allocations: 2.319 MB / 1.877 GB, free: 0.5199 GB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005299/5.237, allocations: 160.7 kB / 1.877 GB, free: 0.5198 GB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01932/5.257, allocations: 0.9844 MB / 1.878 GB, free: 0.5197 GB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002469/5.259, allocations: 446.3 kB / 1.879 GB, free: 0.5197 GB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001904/5.261, allocations: 280.6 kB / 1.879 GB, free: 0.5196 GB / 1.182 GB Notification: Performance of sorting global known variables: time 0.02225/5.284, allocations: 6.787 MB / 1.885 GB, free: 0.5174 GB / 1.182 GB Notification: Performance of sort global known variables: time 5.51e-07/5.284, allocations: 0 / 1.885 GB, free: 0.5174 GB / 1.182 GB Notification: Performance of remove unused functions: time 0.03356/5.317, allocations: 5.395 MB / 1.891 GB, free: 0.5169 GB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 39 (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,triAndRes.conPID.I.y) * Number of discrete variables: 28 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.localActive,wseCon.off.localActive,$cse68,$cse69,$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) * Number of discrete states: 5 (wseCon.off.newActive,wseCon.on.newActive,weaData.conTim.tNext,weaData.conTimMin.tNext,chiSwi.hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (695): * Single equations (assignments): 664 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * When equations: 6 * 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.08093/5.398, allocations: 17.15 MB / 1.907 GB, free: 0.5112 GB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.08762/5.486, allocations: 16.14 MB / 1.923 GB, free: 0.506 GB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.542e-05/5.486, allocations: 6.469 kB / 1.923 GB, free: 0.506 GB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.02353/5.509, allocations: 4.793 MB / 1.928 GB, free: 0.5045 GB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06511/5.575, allocations: 5.642 MB / 1.933 GB, free: 0.5034 GB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1101/5.685, allocations: 65.64 MB / 1.998 GB, free: 460.5 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01481/5.7, allocations: 7.099 MB / 2.004 GB, free: 453.4 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.0273/5.727, allocations: 3.585 MB / 2.008 GB, free: 449.8 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0165/5.744, allocations: 5.685 MB / 2.013 GB, free: 444.1 MB / 1.182 GB Notification: Performance of SimCode: time 1.202e-06/5.744, allocations: 0 / 2.013 GB, free: 444.1 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7933/6.537, allocations: 347.8 MB / 2.353 GB, free: 97.15 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/6.537, allocations: 271.4 kB / 2.353 GB, free: 96.8 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_DataCenterContinuousTimeControl_08bnd_part0.o Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterContinuousTimeControl_08bnd_part0.c In file included from Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterContinuousTimeControl_08bnd_part0.c:1: In file included from ./Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterContinuousTimeControl_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_DataCenterContinuousTimeControl_08bnd_part0.c:7274: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_DataCenterContinuousTimeControl_08bnd_part0.c:7302: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_DataCenterContinuousTimeControl_08bnd_part0.c:7386: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_DataCenterContinuousTimeControl_08bnd_part0.c:7414: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_DataCenterContinuousTimeControl_08bnd_part0.c:7836: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_DataCenterContinuousTimeControl_08bnd_part0.c:7864: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_DataCenterContinuousTimeControl_08bnd_part0.c:7934: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_DataCenterContinuousTimeControl_08bnd_part0.c:7962: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_DataCenterContinuousTimeControl_08bnd_part0.c:8384: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_DataCenterContinuousTimeControl_08bnd_part0.c:8412: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_DataCenterContinuousTimeControl_08bnd_part0.c:8482: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_DataCenterContinuousTimeControl_08bnd_part0.c:8510: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_DataCenterContinuousTimeControl_08bnd_part0.c:8890: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_DataCenterContinuousTimeControl_08bnd_part0.c:8977: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_DataCenterContinuousTimeControl_08bnd_part0.c:9021: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_DataCenterContinuousTimeControl_08bnd_part0.c:9049: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_DataCenterContinuousTimeControl_08bnd_part0.c:9150: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_DataCenterContinuousTimeControl_08bnd_part0.c:9194: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_DataCenterContinuousTimeControl_08bnd_part0.o' failed make: *** [Buildings_8_0_0_Buildings_Examples_ChillerPlant_DataCenterContinuousTimeControl_08bnd_part0.o] Error 1