Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001358/0.001358, allocations: 108 kB / 16.41 MB, free: 6.027 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.00149/0.00149, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.502/1.502, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.531/2.531, allocations: 469.4 MB / 0.7428 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 64.11 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8576/0.8592, allocations: 159.1 MB / 1.221 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.00381/0.863, allocations: 2.137 MB / 1.223 GB, free: 188 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003331/0.8664, allocations: 1.851 MB / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.8666, allocations: 0 / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008059/0.8675, allocations: 230.5 kB / 1.225 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.8677, allocations: 67.36 kB / 1.225 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.8688, allocations: 413.6 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004835/0.8693, allocations: 418.5 kB / 1.226 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.8694, allocations: 40.38 kB / 1.226 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.8696, allocations: 163.6 kB / 1.226 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.8699, allocations: 159.4 kB / 1.226 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.043e-05/0.8699, allocations: 24 kB / 1.226 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003836/0.8703, allocations: 243.7 kB / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.8705, allocations: 111.7 kB / 1.227 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.8707, allocations: 163.2 kB / 1.227 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006197/0.8713, allocations: 0.59 MB / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.8713, allocations: 4 kB / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8713, allocations: 0 / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.8713, allocations: 0 / 1.227 GB, free: 11.75 MB / 0.9512 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.00127/0.8726, allocations: 0.7138 MB / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.8726, allocations: 11.97 kB / 1.228 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/0.8744, allocations: 160.4 kB / 1.228 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004847/0.8749, allocations: 358.3 kB / 1.228 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.875, allocations: 75.86 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.384e-05/0.875, allocations: 12.38 kB / 1.229 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.8761, allocations: 439.1 kB / 1.229 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.8761, allocations: 0 / 1.229 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.642e-05/0.8761, allocations: 4 kB / 1.229 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.8761, allocations: 7.938 kB / 1.229 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.8777, allocations: 0.5816 MB / 1.23 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/0.8796, allocations: 1.043 MB / 1.231 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005039/0.8846, allocations: 0.8533 MB / 1.231 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008468/0.8855, allocations: 304.7 kB / 1.232 GB, free: 7.039 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.8856, allocations: 0 / 1.232 GB, free: 7.039 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/0.8866, allocations: 451.1 kB / 1.232 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.953e-06/0.8866, allocations: 0 / 1.232 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.002644/0.8893, allocations: 0.921 MB / 1.233 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.8894, allocations: 55.41 kB / 1.233 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005209/0.8899, allocations: 433.6 kB / 1.234 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.322e-05/0.89, allocations: 33.7 kB / 1.234 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.8901, allocations: 175.9 kB / 1.234 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.249e-05/0.8902, allocations: 55.3 kB / 1.234 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.8904, allocations: 53.67 kB / 1.234 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.8905, allocations: 346.8 kB / 1.234 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008734/0.8914, allocations: 384.6 kB / 1.235 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008603/0.8923, allocations: 371.7 kB / 1.235 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/0.8938, allocations: 0.5899 MB / 1.235 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.8938, allocations: 3.938 kB / 1.235 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002067/0.8959, allocations: 0.9067 MB / 1.236 GB, free: 2.223 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.179e-05/0.896, allocations: 41.69 kB / 1.236 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.896, allocations: 0 / 1.236 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.896, allocations: 0 / 1.236 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004779/0.8965, allocations: 67.92 kB / 1.236 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.8965, allocations: 0 / 1.236 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004552/0.897, allocations: 39.84 kB / 1.236 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.325e-05/0.8971, allocations: 19.92 kB / 1.237 GB, free: 2.051 MB / 0.9512 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.000331/0.8974, allocations: 194.2 kB / 1.237 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.266e-05/0.8975, allocations: 31.62 kB / 1.237 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.9e-05/0.8976, allocations: 43.47 kB / 1.237 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.8976, allocations: 3.984 kB / 1.237 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.8976, allocations: 0 / 1.237 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.8976, allocations: 4 kB / 1.237 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006153/0.8982, allocations: 0.5515 MB / 1.237 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.8982, allocations: 0 / 1.237 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004707/0.8987, allocations: 63.92 kB / 1.237 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.8987, allocations: 7.938 kB / 1.237 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.8988, allocations: 3.984 kB / 1.237 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.8988, allocations: 4 kB / 1.237 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.8988, allocations: 0 / 1.237 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.9006, allocations: 0.6603 MB / 1.238 GB, free: 424 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002691/0.9008, allocations: 160.7 kB / 1.238 GB, free: 244 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.888e-05/0.9009, allocations: 8 kB / 1.238 GB, free: 236 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/0.9014, allocations: 47.94 kB / 1.238 GB, free: 188 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.66e-05/0.9015, allocations: 19.97 kB / 1.238 GB, free: 168 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.9015, allocations: 7.984 kB / 1.238 GB, free: 160 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003881/0.9019, allocations: 327 kB / 1.239 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9019, allocations: 0 / 1.239 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004036/0.9023, allocations: 88.16 kB / 1.239 GB, free: 15.75 MB / 0.9669 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.0002977/0.9026, allocations: 135.1 kB / 1.239 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001901/0.9045, allocations: 0.7606 MB / 1.24 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.9046, allocations: 0 / 1.24 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008588/0.9054, allocations: 330.7 kB / 1.24 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005095/0.906, allocations: 79.84 kB / 1.24 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.9078, allocations: 0.8487 MB / 1.241 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.9083, allocations: 0.8142 MB / 1.242 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.9085, allocations: 39.41 kB / 1.242 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of SimCode: time 7.62e-07/0.9085, allocations: 0 / 1.242 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of Templates: time 0.0098/0.9183, allocations: 6.161 MB / 1.248 GB, free: 6.547 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceCalcHelperMain.cpp:29: ./OMCppBuildings_latest_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_latest_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_latest_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_latest_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_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceCalcHelperMain.cpp:29: ./OMCppBuildings_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceCalcHelperMain.cpp:29: ./OMCppBuildings_latest_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_latest_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_latest_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_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:455:7: warning: expression result unused [-Wunused-value] tmp42; ^~~~~ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:461:7: warning: expression result unused [-Wunused-value] tmp45; ^~~~~ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:467:7: warning: expression result unused [-Wunused-value] tmp48; ^~~~~ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:473:7: warning: expression result unused [-Wunused-value] tmp51; ^~~~~ ./OMCppBuildings_latest_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_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceCalcHelperMain.cpp:29: ./OMCppBuildings_latest_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_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceCalcHelperMain.cpp:33: ./OMCppBuildings_latest_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_latest_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_latest_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_latest_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_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceCalcHelperMain.o] Error 1