Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.BaseClasses.Examples.CapacityAirSource,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.BaseClasses.Examples.CapacityAirSource") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,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.BaseClasses.Examples.CapacityAirSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001817/0.001817, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.485/1.485, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 437.1 MB / 0.7111 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 66.55 kB / 0.8699 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3662, allocations: 151.6 MB / 1.018 GB, free: 10.6 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004006/0.3703, allocations: 2.143 MB / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003053/0.3734, allocations: 1.854 MB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.3735, allocations: 0 / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0007707/0.3743, allocations: 227 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.3745, allocations: 63.42 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.3757, allocations: 417 kB / 1.023 GB, free: 5.883 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005415/0.3762, allocations: 414.8 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.3763, allocations: 36.38 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.3765, allocations: 147.6 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.3768, allocations: 163.4 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.208e-05/0.3768, allocations: 28 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004283/0.3773, allocations: 239.7 kB / 1.024 GB, free: 4.871 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.3775, allocations: 111.7 kB / 1.024 GB, free: 4.762 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.3777, allocations: 167.2 kB / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0007159/0.3784, allocations: 0.592 MB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3784, allocations: 4 kB / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3784, allocations: 0 / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.3784, allocations: 0 / 1.024 GB, free: 4 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001289/0.3797, allocations: 0.7022 MB / 1.025 GB, free: 3.242 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.3798, allocations: 8.625 kB / 1.025 GB, free: 3.234 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/0.3816, allocations: 164.3 kB / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005244/0.3821, allocations: 362.3 kB / 1.026 GB, free: 2.68 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.3822, allocations: 75.94 kB / 1.026 GB, free: 2.594 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.3823, allocations: 8.375 kB / 1.026 GB, free: 2.586 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.3834, allocations: 447.9 kB / 1.026 GB, free: 2.145 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3834, allocations: 0 / 1.026 GB, free: 2.145 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.78e-05/0.3835, allocations: 0 / 1.026 GB, free: 2.145 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.3835, allocations: 11.92 kB / 1.026 GB, free: 2.133 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.3853, allocations: 0.5855 MB / 1.027 GB, free: 1.547 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/0.3874, allocations: 1.035 MB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005304/0.3927, allocations: 0.8495 MB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008654/0.3936, allocations: 314 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.3936, allocations: 0 / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/0.3948, allocations: 447 kB / 1.029 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 2.264e-06/0.3948, allocations: 0 / 1.029 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002759/0.3975, allocations: 0.9167 MB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.3976, allocations: 55.41 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005764/0.3982, allocations: 445.5 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.187e-05/0.3983, allocations: 29.7 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.3985, allocations: 176 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.281e-05/0.3985, allocations: 47.34 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.3987, allocations: 53.67 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.3989, allocations: 354.7 kB / 1.031 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009483/0.3998, allocations: 376.6 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009351/0.4008, allocations: 371.7 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/0.4024, allocations: 0.6019 MB / 1.033 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4025, allocations: 3.938 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002202/0.4047, allocations: 0.9007 MB / 1.033 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.818e-05/0.4047, allocations: 41.7 kB / 1.033 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.4048, allocations: 3.984 kB / 1.033 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.4048, allocations: 0 / 1.033 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.4053, allocations: 67.92 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.4053, allocations: 3.984 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000416/0.4057, allocations: 39.89 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/0.4058, allocations: 15.92 kB / 1.034 GB, free: 10.3 MB / 0.8106 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 (17): * Single equations (assignments): 16 * 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.0002968/0.4061, allocations: 193.7 kB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.74e-05/0.4062, allocations: 35.53 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.662e-05/0.4063, allocations: 43.47 kB / 1.034 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.4063, allocations: 0 / 1.034 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.4063, allocations: 3.984 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4063, allocations: 4 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006459/0.4069, allocations: 0.5399 MB / 1.034 GB, free: 9.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.407, allocations: 0 / 1.034 GB, free: 9.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004652/0.4074, allocations: 63.91 kB / 1.034 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.4074, allocations: 7.938 kB / 1.034 GB, free: 9.359 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.4075, allocations: 7.984 kB / 1.034 GB, free: 9.352 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.4075, allocations: 4 kB / 1.034 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.4075, allocations: 0 / 1.034 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.4093, allocations: 0.6603 MB / 1.035 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/0.4095, allocations: 160.6 kB / 1.035 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.904e-05/0.4096, allocations: 15.98 kB / 1.035 GB, free: 8.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004541/0.41, allocations: 43.88 kB / 1.035 GB, free: 8.434 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/0.4101, allocations: 19.97 kB / 1.035 GB, free: 8.414 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.4102, allocations: 11.98 kB / 1.035 GB, free: 8.402 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004066/0.4106, allocations: 327 kB / 1.036 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4106, allocations: 0 / 1.036 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004008/0.411, allocations: 79.98 kB / 1.036 GB, free: 8.008 MB / 0.8106 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 (16): * Single equations (assignments): 14 * 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.0003034/0.4113, allocations: 137.5 kB / 1.036 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001974/0.4133, allocations: 0.7786 MB / 1.037 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4133, allocations: 0 / 1.037 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008984/0.4142, allocations: 327.7 kB / 1.037 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.4147, allocations: 73.45 kB / 1.037 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.4166, allocations: 0.8603 MB / 1.038 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005008/0.4171, allocations: 0.8065 MB / 1.039 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.4173, allocations: 47.39 kB / 1.039 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of SimCode: time 7.52e-07/0.4173, allocations: 0 / 1.039 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of Templates: time 0.01023/0.4276, allocations: 6.158 MB / 1.045 GB, free: 14.8 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile clang++ -std=c++17 -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.BaseClasses.Examples.CapacityAirSourceCalcHelperMain.o OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceCalcHelperMain.cpp:29: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:452: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), tmp40); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:452: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), tmp40); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:452: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), tmp40); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _cooCap_P_sta1_P_perCur_P_capFunT_ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.h:213: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.BaseClasses.Examples.CapacityAirSourceCalcHelperMain.cpp:29: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:458: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_, tmp43); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:458: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_, tmp43); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:458: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_, tmp43); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:464: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), tmp46); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:464: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), tmp46); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:464: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), tmp46); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _cooCap_P_sta1_P_perCur_P_EIRFunT_ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.h:207: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.BaseClasses.Examples.CapacityAirSourceCalcHelperMain.cpp:29: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:470: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_, tmp49); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:470: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_, tmp49); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:470: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_, tmp49); ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:455:7: warning: expression result unused [-Wunused-value] tmp42; ^~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:461:7: warning: expression result unused [-Wunused-value] tmp45; ^~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:467:7: warning: expression result unused [-Wunused-value] tmp48; ^~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:473:7: warning: expression result unused [-Wunused-value] tmp51; ^~~~~ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:502: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.BaseClasses.Examples.CapacityAirSourceCalcHelperMain.cpp:29: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:521: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.BaseClasses.Examples.CapacityAirSourceCalcHelperMain.cpp:33: ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.cpp:499:29: error: use of undeclared identifier 'cooCap_P_stacooCap_P_stage__P_perCur_P_TConInMax_' if (!(!((_TConIn_P_y_ > cooCap_P_stacooCap_P_stage__P_perCur_P_TConInMax_) || (_TConIn_P_y_ < cooCap_P_stacooCap_P_stage__P_perCur_P_TConInMin_)))) ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.cpp:499:99: error: use of undeclared identifier 'cooCap_P_stacooCap_P_stage__P_perCur_P_TConInMin_' if (!(!((_TConIn_P_y_ > cooCap_P_stacooCap_P_stage__P_perCur_P_TConInMax_) || (_TConIn_P_y_ < cooCap_P_stacooCap_P_stage__P_perCur_P_TConInMin_)))) ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.cpp:539:32: error: use of undeclared identifier 'cooCap_P_stacooCap_P_stage__P_perCur_P_TEvaInMax_' if (!(!((_TWetBulIn_P_y_ > cooCap_P_stacooCap_P_stage__P_perCur_P_TEvaInMax_) || (_TWetBulIn_P_y_ < cooCap_P_stacooCap_P_stage__P_perCur_P_TEvaInMin_)))) ^ ./OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.cpp:539:105: error: use of undeclared identifier 'cooCap_P_stacooCap_P_stage__P_perCur_P_TEvaInMin_' if (!(!((_TWetBulIn_P_y_ > cooCap_P_stacooCap_P_stage__P_perCur_P_TEvaInMax_) || (_TWetBulIn_P_y_ < cooCap_P_stacooCap_P_stage__P_perCur_P_TEvaInMin_)))) ^ 4 warnings and 18 errors generated. make: *** [: OMCppBuildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceCalcHelperMain.o] Error 1