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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001164/0.001164, 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.00141/0.00141, allocations: 198.2 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.4/1.4, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.939/2.939, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002543/0.002543, allocations: 64.27 kB / 0.899 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3803, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004243/0.3846, allocations: 2.195 MB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003288/0.3879, allocations: 1.846 MB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002187/0.3882, allocations: 4 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0008769/0.3891, allocations: 219.2 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.3894, allocations: 55.48 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.3905, allocations: 378.1 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005504/0.3911, allocations: 387.8 kB / 1.058 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.3912, allocations: 36.39 kB / 1.058 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002671/0.3915, allocations: 143.5 kB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.3918, allocations: 155.4 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.128e-05/0.3919, allocations: 20 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004523/0.3923, allocations: 223.7 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.3925, allocations: 111.7 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.3927, allocations: 155.2 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005079/0.3932, allocations: 470.9 kB / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3932, allocations: 0 / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.21e-07/0.3932, allocations: 0 / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3932, allocations: 0 / 1.059 GB, free: 1.941 MB / 0.8106 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.001202/0.3945, allocations: 0.6984 MB / 1.06 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3945, allocations: 15.97 kB / 1.06 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.3962, allocations: 168.3 kB / 1.06 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/0.3967, allocations: 366.3 kB / 1.06 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.3968, allocations: 75.94 kB / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.3969, allocations: 4.375 kB / 1.06 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.3979, allocations: 441.4 kB / 1.061 GB, free: 84 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3979, allocations: 0 / 1.061 GB, free: 84 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.3979, allocations: 4 kB / 1.061 GB, free: 80 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.398, allocations: 0 / 1.061 GB, free: 80 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/0.3996, allocations: 0.5865 MB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.4016, allocations: 1.035 MB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005304/0.4069, allocations: 0.8456 MB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008505/0.4077, allocations: 316.6 kB / 1.063 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.4078, allocations: 11.92 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/0.4089, allocations: 446 kB / 1.064 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.645e-06/0.4089, allocations: 4 kB / 1.064 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002528/0.4114, allocations: 0.911 MB / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.4115, allocations: 59.39 kB / 1.065 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005648/0.4121, allocations: 441.4 kB / 1.065 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.972e-05/0.4122, allocations: 33.69 kB / 1.065 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.4123, allocations: 172 kB / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.217e-05/0.4124, allocations: 47.36 kB / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.4125, allocations: 57.67 kB / 1.065 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4127, allocations: 350.7 kB / 1.066 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00087/0.4136, allocations: 376.6 kB / 1.066 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008342/0.4144, allocations: 371.7 kB / 1.067 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.4159, allocations: 0.601 MB / 1.067 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4159, allocations: 0 / 1.067 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001977/0.4179, allocations: 0.8944 MB / 1.068 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.409e-05/0.418, allocations: 49.62 kB / 1.068 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.418, allocations: 0 / 1.068 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.418, allocations: 0 / 1.068 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000476/0.4185, allocations: 67.91 kB / 1.068 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.4185, allocations: 0 / 1.068 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004179/0.4189, allocations: 47.83 kB / 1.068 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/0.419, allocations: 15.92 kB / 1.068 GB, free: 8.242 MB / 0.8262 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.0002518/0.4192, allocations: 193.7 kB / 1.068 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.424e-05/0.4193, allocations: 35.53 kB / 1.068 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.783e-05/0.4194, allocations: 39.47 kB / 1.068 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.4194, allocations: 4 kB / 1.068 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.4194, allocations: 0 / 1.068 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4194, allocations: 3.984 kB / 1.068 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005629/0.42, allocations: 0.5363 MB / 1.069 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.42, allocations: 0 / 1.069 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004524/0.4205, allocations: 63.92 kB / 1.069 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.4205, allocations: 3.984 kB / 1.069 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.4205, allocations: 11.98 kB / 1.069 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.4205, allocations: 0 / 1.069 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4205, allocations: 0 / 1.069 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.4222, allocations: 0.6641 MB / 1.07 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.4224, allocations: 160.6 kB / 1.07 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.753e-05/0.4225, allocations: 11.98 kB / 1.07 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004557/0.4229, allocations: 43.94 kB / 1.07 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.51e-05/0.423, allocations: 19.97 kB / 1.07 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/0.4231, allocations: 15.98 kB / 1.07 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003339/0.4234, allocations: 315.1 kB / 1.07 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4234, allocations: 4 kB / 1.07 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003806/0.4238, allocations: 83.98 kB / 1.07 GB, free: 5.957 MB / 0.8262 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.0002854/0.4241, allocations: 139.1 kB / 1.07 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001788/0.4259, allocations: 0.759 MB / 1.071 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4259, allocations: 3.938 kB / 1.071 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007943/0.4267, allocations: 326.7 kB / 1.071 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004776/0.4272, allocations: 82.25 kB / 1.072 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.4291, allocations: 0.9246 MB / 1.072 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.4295, allocations: 0.8145 MB / 1.073 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.4297, allocations: 43.39 kB / 1.073 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.4297, allocations: 0 / 1.073 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of Templates: time 0.009819/0.4395, allocations: 6.138 MB / 1.079 GB, free: 12.7 MB / 0.8419 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++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_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: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_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: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_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: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_latest_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_latest_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_latest_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_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceCalcHelperMain.o] Error 1