Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.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.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008243/0.0008244, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009401/0.0009402, allocations: 178.5 kB / 16.92 MB, free: 6.652 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.531/1.531, allocations: 223.3 MB / 241 MB, free: 5.238 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.794/2.794, allocations: 437.8 MB / 0.7128 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003919, allocations: 12 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.691/0.6914, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004536/0.696, allocations: 2.566 MB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004318/0.7004, allocations: 2.182 MB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003941/0.7009, allocations: 0 / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.7021, allocations: 260.6 kB / 1.029 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003859/0.7025, allocations: 71.45 kB / 1.029 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.7039, allocations: 428.4 kB / 1.029 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007689/0.7047, allocations: 498.5 kB / 1.03 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.7049, allocations: 48.66 kB / 1.03 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003813/0.7053, allocations: 183.4 kB / 1.03 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000418/0.7057, allocations: 207.3 kB / 1.03 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.7059, allocations: 24 kB / 1.03 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000525/0.7064, allocations: 223.7 kB / 1.03 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002295/0.7066, allocations: 143.6 kB / 1.03 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003277/0.707, allocations: 228.6 kB / 1.031 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007509/0.7077, allocations: 0.5689 MB / 1.031 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7077, allocations: 0 / 1.031 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.324e-06/0.7078, allocations: 4 kB / 1.031 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.007e-05/0.7078, allocations: 0 / 1.031 GB, free: 8.238 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001558/0.7093, allocations: 0.7701 MB / 1.032 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.7094, allocations: 11.98 kB / 1.032 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/0.7117, allocations: 240.2 kB / 1.032 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007116/0.7125, allocations: 433.9 kB / 1.033 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.7126, allocations: 79.94 kB / 1.033 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.13e-05/0.7127, allocations: 12.38 kB / 1.033 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.7141, allocations: 0.5648 MB / 1.033 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.7142, allocations: 0 / 1.033 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/0.7142, allocations: 7.984 kB / 1.033 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.7142, allocations: 4 kB / 1.033 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/0.7164, allocations: 0.8119 MB / 1.034 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002559/0.719, allocations: 1.277 MB / 1.035 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005581/0.7246, allocations: 1.088 MB / 1.036 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/0.7257, allocations: 428.9 kB / 1.037 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/0.7257, allocations: 8 kB / 1.037 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001372/0.7271, allocations: 0.5641 MB / 1.037 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 3.667e-06/0.7271, allocations: 0 / 1.037 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0035/0.7306, allocations: 1.266 MB / 1.038 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.7307, allocations: 51.41 kB / 1.039 GB, free: 444 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007759/0.7315, allocations: 0.5213 MB / 1.039 GB, free: 15.91 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-05/0.7316, allocations: 33.7 kB / 1.039 GB, free: 15.87 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.7318, allocations: 204.4 kB / 1.039 GB, free: 15.66 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.7319, allocations: 67.11 kB / 1.039 GB, free: 15.59 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.388e-05/0.732, allocations: 25.7 kB / 1.039 GB, free: 15.56 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.7322, allocations: 354.8 kB / 1.04 GB, free: 15.21 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.7334, allocations: 492.5 kB / 1.04 GB, free: 14.72 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.7346, allocations: 0.5208 MB / 1.041 GB, free: 14.2 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002105/0.7367, allocations: 0.8072 MB / 1.041 GB, free: 13.38 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.7367, allocations: 4 kB / 1.041 GB, free: 13.38 MB / 0.795 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002616/0.7393, allocations: 1.129 MB / 1.043 GB, free: 12.23 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.777e-05/0.7394, allocations: 49.69 kB / 1.043 GB, free: 12.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.7394, allocations: 3.938 kB / 1.043 GB, free: 12.18 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.7395, allocations: 3.938 kB / 1.043 GB, free: 12.17 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006499/0.7401, allocations: 103.9 kB / 1.043 GB, free: 12.07 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.7401, allocations: 0 / 1.043 GB, free: 12.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005947/0.7407, allocations: 75.83 kB / 1.043 GB, free: 12 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.614e-05/0.7408, allocations: 15.98 kB / 1.043 GB, free: 11.98 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003523/0.7412, allocations: 217.7 kB / 1.043 GB, free: 11.76 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.7413, allocations: 47.44 kB / 1.043 GB, free: 11.71 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.7414, allocations: 59.83 kB / 1.043 GB, free: 11.66 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.7414, allocations: 11.94 kB / 1.043 GB, free: 11.64 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.7415, allocations: 0 / 1.043 GB, free: 11.64 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.7415, allocations: 0 / 1.043 GB, free: 11.64 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007722/0.7422, allocations: 0.6415 MB / 1.044 GB, free: 10.95 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.7423, allocations: 0 / 1.044 GB, free: 10.95 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006313/0.7429, allocations: 107.8 kB / 1.044 GB, free: 10.85 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.7429, allocations: 0 / 1.044 GB, free: 10.85 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.743, allocations: 19.92 kB / 1.044 GB, free: 10.83 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.743, allocations: 3.984 kB / 1.044 GB, free: 10.82 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.743, allocations: 0 / 1.044 GB, free: 10.82 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/0.7453, allocations: 0.8789 MB / 1.045 GB, free: 9.926 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002693/0.7456, allocations: 188.4 kB / 1.045 GB, free: 9.723 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.855e-05/0.7457, allocations: 19.92 kB / 1.045 GB, free: 9.703 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006237/0.7463, allocations: 79.92 kB / 1.045 GB, free: 9.625 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.394e-05/0.7464, allocations: 19.97 kB / 1.045 GB, free: 9.605 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/0.7465, allocations: 15.97 kB / 1.045 GB, free: 9.59 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004944/0.747, allocations: 391.1 kB / 1.045 GB, free: 9.207 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.747, allocations: 3.938 kB / 1.045 GB, free: 9.203 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004681/0.7474, allocations: 96 kB / 1.046 GB, free: 9.109 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003281/0.7478, allocations: 139.2 kB / 1.046 GB, free: 8.961 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002445/0.7502, allocations: 0.9932 MB / 1.047 GB, free: 7.957 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.7502, allocations: 0 / 1.047 GB, free: 7.957 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.7514, allocations: 451.6 kB / 1.047 GB, free: 7.516 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005736/0.752, allocations: 87.5 kB / 1.047 GB, free: 7.434 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.7546, allocations: 1.225 MB / 1.048 GB, free: 6.18 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.755, allocations: 0.8583 MB / 1.049 GB, free: 5.297 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.7553, allocations: 43.39 kB / 1.049 GB, free: 5.258 MB / 0.795 GB Notification: Performance of SimCode: time 5.21e-07/0.7553, allocations: 0 / 1.049 GB, free: 5.258 MB / 0.795 GB Notification: Performance of Templates: time 0.01285/0.7681, allocations: 7.599 MB / 1.057 GB, free: 13.71 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledCalcHelperMain.o OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledCalcHelperMain.cpp:29: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledInitialize.cpp:557:106: error: use of undeclared identifier 'cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(cooCap_P_staiSta__P_perCur_P_capFunT_, (cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp52); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledInitialize.cpp:557:163: error: use of undeclared identifier 'cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(cooCap_P_staiSta__P_perCur_P_capFunT_, (cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp52); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledInitialize.cpp:557:66: error: use of undeclared identifier 'cooCap_P_staiSta__P_perCur_P_capFunT_'; did you mean '_cooCap_P_sta1_P_perCur_P_capFunT_'? _functions->Buildings_Utilities_Math_Functions_biquadratic(cooCap_P_staiSta__P_perCur_P_capFunT_, (cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp52); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _cooCap_P_sta1_P_perCur_P_capFunT_ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.h:222:36: note: '_cooCap_P_sta1_P_perCur_P_capFunT_' declared here StatArrayDim1 _cooCap_P_sta1_P_perCur_P_capFunT_; ^ In file included from OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledCalcHelperMain.cpp:29: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledInitialize.cpp:563:69: error: use of undeclared identifier 'cooCap_P_staiSta__P_perCur_P_capFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, cooCap_P_staiSta__P_perCur_P_capFunFF_, cooCap_P_staiSta__P_perCur_P_ffMin_, cooCap_P_staiSta__P_perCur_P_ffMax_, tmp55); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledInitialize.cpp:563:109: error: use of undeclared identifier 'cooCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, cooCap_P_staiSta__P_perCur_P_capFunFF_, cooCap_P_staiSta__P_perCur_P_ffMin_, cooCap_P_staiSta__P_perCur_P_ffMax_, tmp55); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledInitialize.cpp:563:146: error: use of undeclared identifier 'cooCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, cooCap_P_staiSta__P_perCur_P_capFunFF_, cooCap_P_staiSta__P_perCur_P_ffMin_, cooCap_P_staiSta__P_perCur_P_ffMax_, tmp55); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledInitialize.cpp:569:106: error: use of undeclared identifier 'cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(cooCap_P_staiSta__P_perCur_P_EIRFunT_, (cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp58); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledInitialize.cpp:569:163: error: use of undeclared identifier 'cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_' _functions->Buildings_Utilities_Math_Functions_biquadratic(cooCap_P_staiSta__P_perCur_P_EIRFunT_, (cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp58); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledInitialize.cpp:569:66: error: use of undeclared identifier 'cooCap_P_staiSta__P_perCur_P_EIRFunT_'; did you mean '_cooCap_P_sta1_P_perCur_P_EIRFunT_'? _functions->Buildings_Utilities_Math_Functions_biquadratic(cooCap_P_staiSta__P_perCur_P_EIRFunT_, (cooCap_P_staiSta__P_nomVal_P_TEvaIn_nominal_ - 273.15), (cooCap_P_staiSta__P_nomVal_P_TConIn_nominal_ - 273.15), tmp58); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _cooCap_P_sta1_P_perCur_P_EIRFunT_ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.h:215:36: note: '_cooCap_P_sta1_P_perCur_P_EIRFunT_' declared here StatArrayDim1 _cooCap_P_sta1_P_perCur_P_EIRFunT_; ^ In file included from OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledCalcHelperMain.cpp:29: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledInitialize.cpp:575:69: error: use of undeclared identifier 'cooCap_P_staiSta__P_perCur_P_EIRFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, cooCap_P_staiSta__P_perCur_P_EIRFunFF_, cooCap_P_staiSta__P_perCur_P_ffMin_, cooCap_P_staiSta__P_perCur_P_ffMax_, tmp61); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledInitialize.cpp:575:109: error: use of undeclared identifier 'cooCap_P_staiSta__P_perCur_P_ffMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, cooCap_P_staiSta__P_perCur_P_EIRFunFF_, cooCap_P_staiSta__P_perCur_P_ffMin_, cooCap_P_staiSta__P_perCur_P_ffMax_, tmp61); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledInitialize.cpp:575:146: error: use of undeclared identifier 'cooCap_P_staiSta__P_perCur_P_ffMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, cooCap_P_staiSta__P_perCur_P_EIRFunFF_, cooCap_P_staiSta__P_perCur_P_ffMin_, cooCap_P_staiSta__P_perCur_P_ffMax_, tmp61); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledInitialize.cpp:560:7: warning: expression result unused [-Wunused-value] tmp54; ^~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledInitialize.cpp:566:7: warning: expression result unused [-Wunused-value] tmp57; ^~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledInitialize.cpp:572:7: warning: expression result unused [-Wunused-value] tmp60; ^~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledInitialize.cpp:578:7: warning: expression result unused [-Wunused-value] tmp63; ^~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledInitialize.cpp:607:104: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition2_, ((_cooCap_P_stage_ == 1) && _discrete_events->pre(_cooCap_P_checkBoundsTCon_)(_cooCap_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.BaseClasses.Examples.CoolingCapacityWaterCooledCalcHelperMain.cpp:29: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledInitialize.cpp:626:104: error: no matching function for call to object of type 'WrapArray' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition1_, ((_cooCap_P_stage_ == 1) && _discrete_events->pre(_cooCap_P_checkBoundsTEva_)(_cooCap_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.BaseClasses.Examples.CoolingCapacityWaterCooledCalcHelperMain.cpp:29: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledInitialize.cpp:660:69: error: use of undeclared identifier 'cooCap_P_staiSta__P_perCur_P_capFunFFCon_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, cooCap_P_staiSta__P_perCur_P_capFunFFCon_, cooCap_P_staiSta__P_perCur_P_ffConMin_, cooCap_P_staiSta__P_perCur_P_ffConMax_, tmp70); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledInitialize.cpp:660:112: error: use of undeclared identifier 'cooCap_P_staiSta__P_perCur_P_ffConMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, cooCap_P_staiSta__P_perCur_P_capFunFFCon_, cooCap_P_staiSta__P_perCur_P_ffConMin_, cooCap_P_staiSta__P_perCur_P_ffConMax_, tmp70); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledInitialize.cpp:660:152: error: use of undeclared identifier 'cooCap_P_staiSta__P_perCur_P_ffConMax_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, cooCap_P_staiSta__P_perCur_P_capFunFFCon_, cooCap_P_staiSta__P_perCur_P_ffConMin_, cooCap_P_staiSta__P_perCur_P_ffConMax_, tmp70); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledInitialize.cpp:666:69: error: use of undeclared identifier 'cooCap_P_staiSta__P_perCur_P_EIRFunFF_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, cooCap_P_staiSta__P_perCur_P_EIRFunFF_, cooCap_P_staiSta__P_perCur_P_ffConMin_, cooCap_P_staiSta__P_perCur_P_ffConMax_, tmp73); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledInitialize.cpp:666:109: error: use of undeclared identifier 'cooCap_P_staiSta__P_perCur_P_ffConMin_' _functions->Buildings_Fluid_Utilities_extendedPolynomial(1.0, cooCap_P_staiSta__P_perCur_P_EIRFunFF_, cooCap_P_staiSta__P_perCur_P_ffConMin_, cooCap_P_staiSta__P_perCur_P_ffConMax_, tmp73); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 4 warnings and 20 errors generated. make: *** [: OMCppBuildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooledCalcHelperMain.o] Error 1