Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulSpeDX.eva.vol.T|mulSpeDX.sta_a1.T|mulSpeDX.sta_a2.T|mulSpeDX.sta_b2.T|mulSpeDX.sta_a1.X.1.|mulSpeDX.eva.vol.X_w|mulSpeDX.eva.dxCoi.mWat_flow|mulSpeDX.stage|mulSpeDX.P|mulSpeDX.eva.dxCoi.Q_flow|mulSpeDX.watCooCon.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStage") translateModel(Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulSpeDX.eva.vol.T|mulSpeDX.sta_a1.T|mulSpeDX.sta_a2.T|mulSpeDX.sta_b2.T|mulSpeDX.sta_a1.X.1.|mulSpeDX.eva.vol.X_w|mulSpeDX.eva.dxCoi.mWat_flow|mulSpeDX.stage|mulSpeDX.P|mulSpeDX.eva.dxCoi.Q_flow|mulSpeDX.watCooCon.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007327/0.007327, allocations: 101.5 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 188.4 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.777/2.777, allocations: 437 MB / 0.7106 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 71.91 kB / 0.8692 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7316/0.7332, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStage): time 1.012/1.746, allocations: 303.4 MB / 1.314 GB, free: 22.24 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03954/1.785, allocations: 29.2 MB / 1.342 GB, free: 21.57 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007656/1.793, allocations: 71.62 kB / 1.342 GB, free: 21.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006923/1.8, allocations: 1.639 MB / 1.344 GB, free: 21.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01378/1.814, allocations: 3.399 MB / 1.347 GB, free: 21.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01182/1.826, allocations: 3.894 MB / 1.351 GB, free: 21.2 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0162/1.842, allocations: 12.12 MB / 1.363 GB, free: 19.06 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006432/1.848, allocations: 3.429 MB / 1.366 GB, free: 17.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01132/1.86, allocations: 3.629 MB / 1.37 GB, free: 16.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009032/1.869, allocations: 3.645 MB / 1.373 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003037/1.872, allocations: 460.1 kB / 1.374 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01503/1.887, allocations: 4.632 MB / 1.378 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.006597/1.893, allocations: 2.72 MB / 1.381 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01504/1.908, allocations: 4.329 MB / 1.385 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02141/1.93, allocations: 19.06 MB / 1.404 GB, free: 10.59 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.93, allocations: 0 / 1.404 GB, free: 10.59 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.073e-06/1.93, allocations: 0 / 1.404 GB, free: 10.59 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0005073/1.93, allocations: 0 / 1.404 GB, free: 10.59 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 505 * Number of variables: 505 Notification: Performance of Generate backend data structure: time 0.03663/1.967, allocations: 10.05 MB / 1.413 GB, free: 420 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/1.967, allocations: 8.031 kB / 1.413 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04163/2.009, allocations: 4.462 MB / 1.418 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02303/2.032, allocations: 9.266 MB / 1.427 GB, free: 2.816 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001838/2.034, allocations: 0.6329 MB / 1.427 GB, free: 2.141 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001612/2.035, allocations: 220 kB / 1.428 GB, free: 1.926 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02332/2.059, allocations: 8.323 MB / 1.436 GB, free: 9.57 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-05/2.059, allocations: 4 kB / 1.436 GB, free: 9.566 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001273/2.06, allocations: 91.92 kB / 1.436 GB, free: 9.477 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.577e-05/2.06, allocations: 71.91 kB / 1.436 GB, free: 9.406 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03162/2.092, allocations: 11.5 MB / 1.447 GB, free: 13.91 MB / 1.061 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.07562/2.168, allocations: 33.37 MB / 1.48 GB, free: 12.37 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03183/2.199, allocations: 9.347 MB / 1.489 GB, free: 3 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01465/2.214, allocations: 5.236 MB / 1.494 GB, free: 13.76 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001504/2.216, allocations: 1.352 MB / 1.495 GB, free: 12.13 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01815/2.234, allocations: 6.812 MB / 1.502 GB, free: 5.309 MB / 1.107 GB Notification: Performance of pre-optimization done (n=220): time 6.753e-06/2.234, allocations: 3.938 kB / 1.502 GB, free: 5.305 MB / 1.107 GB Notification: Performance of matching and sorting (n=220): time 0.07784/2.312, allocations: 18.3 MB / 1.52 GB, free: 2.945 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001552/2.312, allocations: 144.8 kB / 1.52 GB, free: 2.781 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03789/2.35, allocations: 14.05 MB / 1.534 GB, free: 4.758 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.001669/2.351, allocations: 125.7 kB / 1.534 GB, free: 4.629 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.006927/2.358, allocations: 3.27 MB / 1.537 GB, free: 1.352 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001908/2.36, allocations: 0.6962 MB / 1.538 GB, free: 0.668 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004203/2.365, allocations: 0.6483 MB / 1.538 GB, free: 12 kB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001259/2.365, allocations: 305.1 kB / 1.539 GB, free: 15.71 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01557/2.38, allocations: 6.335 MB / 1.545 GB, free: 9.363 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01656/2.397, allocations: 6.772 MB / 1.551 GB, free: 2.5 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3904/2.787, allocations: 147.4 MB / 1.695 GB, free: 14.77 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.799e-05/2.787, allocations: 8 kB / 1.695 GB, free: 14.77 MB / 1.311 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.06271/2.85, allocations: 15.09 MB / 1.71 GB, free: 15.61 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002115/2.85, allocations: 141 kB / 1.71 GB, free: 15.46 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/2.85, allocations: 4 kB / 1.71 GB, free: 15.45 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007482/2.858, allocations: 1.687 MB / 1.712 GB, free: 13.75 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008012/2.866, allocations: 0.965 MB / 1.713 GB, free: 12.8 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01948/2.885, allocations: 13.71 MB / 1.726 GB, free: 14.28 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01228/2.898, allocations: 0.8548 MB / 1.727 GB, free: 13.43 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001514/2.899, allocations: 171.7 kB / 1.727 GB, free: 13.27 MB / 1.342 GB Warning: Assuming fixed start value for the following 1 variables: mulSpeDX.eva.watVapEva.off:DISCRETE(fixed = true protected = true final = true ) "Signal, true when component is off" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02535/2.925, allocations: 9.604 MB / 1.737 GB, free: 3.648 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01684/2.942, allocations: 6.749 MB / 1.743 GB, free: 12.81 MB / 1.357 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.9854/3.927, allocations: 147.1 MB / 1.887 GB, free: 463.9 MB / 1.357 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-05/3.927, allocations: 3.562 kB / 1.887 GB, free: 463.9 MB / 1.357 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.05354/3.981, allocations: 14.88 MB / 1.901 GB, free: 449.5 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001469/3.981, allocations: 144.8 kB / 1.901 GB, free: 449.3 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/3.981, allocations: 4 kB / 1.901 GB, free: 449.3 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004892/3.986, allocations: 1.493 MB / 1.903 GB, free: 447.8 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00713/3.993, allocations: 0.9632 MB / 1.904 GB, free: 446.8 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/4.003, allocations: 11.95 MB / 1.916 GB, free: 434.1 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01075/4.014, allocations: 0.8074 MB / 1.916 GB, free: 433.4 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/4.015, allocations: 171.8 kB / 1.917 GB, free: 433.2 MB / 1.357 GB Warning: Assuming fixed start value for the following 1 variables: mulSpeDX.eva.watVapEva.off:DISCRETE(fixed = true protected = true final = true ) "Signal, true when component is off" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 60 (mulSpeDX.eva.i_x,$PRE.speRat.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mulSpeDX.eva.watVapEva.off,$PRE.mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[4],$PRE.mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[3],$PRE.mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[2],$PRE.mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],$PRE.mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[4],$PRE.mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[3],$PRE.mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[2],$PRE.mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],$PRE.mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[4],$PRE.mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[3],$PRE.mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[2],$PRE.mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],$PRE.mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[4],$PRE.mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[3],$PRE.mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[2],$PRE.mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],speRat.combiTimeTable.nextTimeEventScaled,$PRE.speRat.combiTimeTable.nextTimeEventScaled,speRat.combiTimeTable.nextTimeEvent,mulSpeDX.eva.watVapEva.off,mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[4],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[3],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[2],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[4],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[3],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[2],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],mulSpeDX.eva.dxCoi.dryCoi.coiCap.stage,mulSpeDX.eva.dxCoi.wetCoi.shr.on,mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[4],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[3],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[2],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[4],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[3],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[2],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],mulSpeDX.eva.dxCoi.wetCoi.coiCap.stage,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (263): * Single equations (assignments): 252 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 8 systems {(7,3), (1,1), (1,2), (1,2), (1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002717/4.018, allocations: 372.6 kB / 1.917 GB, free: 432.8 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004728/4.022, allocations: 0.7494 MB / 1.918 GB, free: 432.3 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04996/4.072, allocations: 12.93 MB / 1.93 GB, free: 419.3 MB / 1.357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.277e-05/4.073, allocations: 23.94 kB / 1.93 GB, free: 419.3 MB / 1.357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/4.073, allocations: 4 kB / 1.93 GB, free: 419.3 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.752e-05/4.073, allocations: 11.95 kB / 1.93 GB, free: 419.3 MB / 1.357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07499/4.148, allocations: 26.85 MB / 1.956 GB, free: 392.5 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.954e-05/4.148, allocations: 4 kB / 1.956 GB, free: 392.5 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006724/4.154, allocations: 0.8503 MB / 1.957 GB, free: 391.6 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002159/4.157, allocations: 0.6893 MB / 1.958 GB, free: 390.9 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001102/4.158, allocations: 119.8 kB / 1.958 GB, free: 390.8 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004086/4.162, allocations: 3.343 MB / 1.961 GB, free: 387.3 MB / 1.357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/4.162, allocations: 7.938 kB / 1.961 GB, free: 387.3 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06524/4.227, allocations: 19.99 MB / 1.981 GB, free: 367.2 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008098/4.235, allocations: 2.71 MB / 1.984 GB, free: 364.5 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004637/4.24, allocations: 187.9 kB / 1.984 GB, free: 364.3 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01189/4.252, allocations: 0.7052 MB / 1.984 GB, free: 363.6 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001086/4.253, allocations: 237.7 kB / 1.985 GB, free: 363.4 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001219/4.254, allocations: 147.8 kB / 1.985 GB, free: 363.2 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.02141/4.276, allocations: 10.06 MB / 1.995 GB, free: 353.2 MB / 1.357 GB Notification: Performance of sort global known variables: time 9.02e-07/4.276, allocations: 8 kB / 1.995 GB, free: 353.2 MB / 1.357 GB Notification: Performance of remove unused functions: time 0.01431/4.29, allocations: 2.604 MB / 1.997 GB, free: 350.7 MB / 1.357 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (mulSpeDX.eva.watVapEva.m) * Number of discrete variables: 40 ($whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulSpeDX.eva.dxCoi.wetCoi.coiCap.stage,mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[2],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[3],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[4],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[2],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[3],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[4],mulSpeDX.eva.dxCoi.wetCoi.shr.on,mulSpeDX.eva.dxCoi.dryCoi.coiCap.stage,mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[2],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[3],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[4],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[2],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[3],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[4],mulSpeDX.eva.watVapEva.off,speRat.combiTimeTable.nextTimeEvent,speRat.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 9 (speRat.combiTimeTable.nextTimeEvent,speRat.combiTimeTable.nextTimeEventScaled,mulSpeDX.eva.dxCoi.wetCoi.coiCap.stage,mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTCon[mulSpeDX.eva.dxCoi.wetCoi.coiCap.stage],mulSpeDX.eva.dxCoi.wetCoi.coiCap.checkBoundsTEva[mulSpeDX.eva.dxCoi.wetCoi.coiCap.stage],mulSpeDX.eva.dxCoi.dryCoi.coiCap.stage,mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTCon[mulSpeDX.eva.dxCoi.dryCoi.coiCap.stage],mulSpeDX.eva.dxCoi.dryCoi.coiCap.checkBoundsTEva[mulSpeDX.eva.dxCoi.dryCoi.coiCap.stage],mulSpeDX.eva.watVapEva.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 18 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(7,3), (1,1), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003048/4.293, allocations: 0.986 MB / 1.998 GB, free: 349.9 MB / 1.357 GB Notification: Performance of simCode: created initialization part: time 0.04569/4.339, allocations: 21.45 MB / 2.019 GB, free: 328.2 MB / 1.357 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/4.339, allocations: 4.562 kB / 2.019 GB, free: 328.2 MB / 1.357 GB Notification: Performance of simCode: created simulation system equations: time 0.01364/4.352, allocations: 5.671 MB / 2.025 GB, free: 322.6 MB / 1.357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01551/4.368, allocations: 2.437 MB / 2.027 GB, free: 320.2 MB / 1.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05417/4.422, allocations: 22.57 MB / 2.049 GB, free: 297.6 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006393/4.429, allocations: 5.311 MB / 2.054 GB, free: 292.2 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005095/4.434, allocations: 0.62 MB / 2.055 GB, free: 291.6 MB / 1.357 GB Notification: Performance of SimCode: time 1.593e-06/4.434, allocations: 0 / 2.055 GB, free: 291.6 MB / 1.357 GB Notification: Performance of Templates: time 1.086/5.519, allocations: 431.3 MB / 2.476 GB, free: 449.1 MB / 1.357 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStage.makefile make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStage.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.o OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:3780:14: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_wetCoi_P_appDewPt_P_uacpmulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_stage__P_UAcp_' tmp382 = mulSpeDX_P_eva_P_dxCoi_P_wetCoi_P_appDewPt_P_uacpmulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_stage__P_UAcp_; ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4543:140: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunT_, (mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp425); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4543:231: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunT_, (mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp425); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4543:66: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunT_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunT_, (mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp425); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4549:69: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunFF_, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp428); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4549:143: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunFF_, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp428); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4549:214: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_capFunFF_, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp428); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4555:140: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunT_, (mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp431); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4555:231: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunT_, (mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp431); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4555:66: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunT_' _functions->Buildings_Utilities_Math_Functions_biquadratic(mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunT_, (mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp431); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4561:69: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunFF_, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp434); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4561:143: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunFF_, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp434); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4561:214: error: use of undeclared identifier 'mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_EIRFunFF_, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMin_, mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_staiSta__P_perCur_P_ffMax_, tmp434); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4546:7: warning: expression result unused [-Wunused-value] tmp427; ^~~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4552:7: warning: expression result unused [-Wunused-value] tmp430; ^~~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4558:7: warning: expression result unused [-Wunused-value] tmp433; ^~~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4564:7: warning: expression result unused [-Wunused-value] tmp436; ^~~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4643:138: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition9_, ((_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 1) && _discrete_events->pre(_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTEva_)(_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_stage_)), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4652:138: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition7_, ((_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 2) && _discrete_events->pre(_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTEva_)(_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_stage_)), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4661:138: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition5_, ((_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 3) && _discrete_events->pre(_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTEva_)(_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_stage_)), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4670:138: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition3_, ((_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 4) && _discrete_events->pre(_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTEva_)(_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_stage_)), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4699:138: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition8_, ((_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 1) && _discrete_events->pre(_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTCon_)(_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_stage_)), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ In file included from OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.cpp:29: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageInitialize.cpp:4708:138: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition6_, ((_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_stage_ == 2) && _discrete_events->pre(_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_checkBoundsTCon_)(_mulSpeDX_P_eva_P_dxCoi_P_dryCoi_P_coiCap_P_stage_)), false); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:704:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:695:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 4 warnings and 20 errors generated. make: *** [: OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStageCalcHelperMain.o] Error 1