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.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.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.001117/0.001117, allocations: 100.1 kB / 15.88 MB, free: 12 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.001139/0.001139, allocations: 200.8 kB / 16.79 MB, free: 6.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.407/1.407, 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.666/2.666, allocations: 437 MB / 0.7106 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 59.91 kB / 0.8692 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.749/0.7509, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003573/0.7545, allocations: 2.205 MB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002734/0.7573, allocations: 1.843 MB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.7575, allocations: 4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007416/0.7583, allocations: 208.9 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.7584, allocations: 63.47 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009877/0.7594, allocations: 386.4 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004885/0.7599, allocations: 382.8 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.7601, allocations: 44.31 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.7603, allocations: 143.5 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.7605, allocations: 159.4 kB / 1.023 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.559e-05/0.7606, allocations: 16 kB / 1.023 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003989/0.761, allocations: 219.7 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.7612, allocations: 111.7 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.7614, allocations: 155.2 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005231/0.7619, allocations: 459 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.7619, allocations: 4 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.386e-06/0.762, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.762, allocations: 3.938 kB / 1.023 GB, free: 12.4 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001287/0.7633, allocations: 0.6984 MB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.7633, allocations: 8.031 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/0.7653, allocations: 168.3 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005387/0.7659, allocations: 366.2 kB / 1.025 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.766, allocations: 79.95 kB / 1.025 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.7661, allocations: 8.375 kB / 1.025 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.7671, allocations: 439 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.7671, allocations: 4 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.854e-05/0.7672, allocations: 4 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.7672, allocations: 0 / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.7688, allocations: 0.5893 MB / 1.026 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.7706, allocations: 1.043 MB / 1.027 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005001/0.7756, allocations: 0.8417 MB / 1.028 GB, free: 8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007378/0.7764, allocations: 308.7 kB / 1.028 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.7764, allocations: 0 / 1.028 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009871/0.7774, allocations: 448.9 kB / 1.028 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.866e-06/0.7774, allocations: 0 / 1.028 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002407/0.7798, allocations: 0.9187 MB / 1.029 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.7799, allocations: 55.41 kB / 1.029 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005196/0.7804, allocations: 437.6 kB / 1.03 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.683e-05/0.7805, allocations: 29.7 kB / 1.03 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.7807, allocations: 176 kB / 1.03 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.387e-05/0.7808, allocations: 59.27 kB / 1.03 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.7809, allocations: 49.69 kB / 1.03 GB, free: 5.496 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.7811, allocations: 350.7 kB / 1.03 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008445/0.7819, allocations: 380.6 kB / 1.031 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000819/0.7827, allocations: 367.8 kB / 1.031 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.7842, allocations: 0.6018 MB / 1.032 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.7842, allocations: 0 / 1.032 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00189/0.7861, allocations: 0.8979 MB / 1.033 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.772e-05/0.7862, allocations: 45.69 kB / 1.033 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.7862, allocations: 0 / 1.033 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.7862, allocations: 7.938 kB / 1.033 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/0.7867, allocations: 59.92 kB / 1.033 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.7867, allocations: 0 / 1.033 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.7871, allocations: 43.95 kB / 1.033 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/0.7871, allocations: 19.91 kB / 1.033 GB, free: 2.711 MB / 0.7794 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.0002582/0.7874, allocations: 182.3 kB / 1.033 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.427e-05/0.7875, allocations: 47.39 kB / 1.033 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.921e-05/0.7876, allocations: 39.47 kB / 1.033 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.7876, allocations: 7.984 kB / 1.033 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.7876, allocations: 0 / 1.033 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.7876, allocations: 4 kB / 1.033 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007015/0.7883, allocations: 0.5477 MB / 1.033 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.7883, allocations: 0 / 1.033 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004382/0.7888, allocations: 59.92 kB / 1.034 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.7888, allocations: 0 / 1.034 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.7888, allocations: 11.98 kB / 1.034 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.7889, allocations: 4 kB / 1.034 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7889, allocations: 0 / 1.034 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.7904, allocations: 0.6653 MB / 1.034 GB, free: 1.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.7907, allocations: 164.7 kB / 1.034 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.028e-05/0.7907, allocations: 8 kB / 1.034 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/0.7912, allocations: 43.94 kB / 1.034 GB, free: 0.8398 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.232e-05/0.7913, allocations: 19.97 kB / 1.034 GB, free: 0.8203 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/0.7913, allocations: 15.98 kB / 1.034 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003753/0.7917, allocations: 319 kB / 1.035 GB, free: 0.4922 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7917, allocations: 0 / 1.035 GB, free: 0.4922 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004163/0.7921, allocations: 80.25 kB / 1.035 GB, free: 424 kB / 0.7794 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.0003125/0.7924, allocations: 139.1 kB / 1.035 GB, free: 276 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001758/0.7942, allocations: 0.7645 MB / 1.036 GB, free: 15.49 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7942, allocations: 0 / 1.036 GB, free: 15.49 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0007838/0.795, allocations: 320.6 kB / 1.036 GB, free: 15.18 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.7955, allocations: 77.45 kB / 1.036 GB, free: 15.1 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.7973, allocations: 0.9254 MB / 1.037 GB, free: 14.15 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.7977, allocations: 0.8105 MB / 1.038 GB, free: 13.31 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.7979, allocations: 39.41 kB / 1.038 GB, free: 13.27 MB / 0.795 GB Notification: Performance of SimCode: time 5.91e-07/0.7979, allocations: 7.938 kB / 1.038 GB, free: 13.27 MB / 0.795 GB Notification: Performance of Templates: time 0.01033/0.8083, allocations: 6.131 MB / 1.044 GB, free: 7.176 MB / 0.795 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++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.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:214: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:208: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:500: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:500: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:540: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:540: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