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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002226/0.002226, allocations: 217.1 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.462/3.462, allocations: 0.5107 GB / 0.8166 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0023/0.0023, allocations: 73 kB / 1.187 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.4009, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004287/0.4052, allocations: 2.059 MB / 1.367 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003607/0.4088, allocations: 1.751 MB / 1.368 GB, free: 9.75 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.409, allocations: 4 kB / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008677/0.4099, allocations: 198.8 kB / 1.369 GB, free: 9.551 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.4101, allocations: 71.42 kB / 1.369 GB, free: 9.48 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.4115, allocations: 426.8 kB / 1.369 GB, free: 9.07 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006986/0.4122, allocations: 418.7 kB / 1.369 GB, free: 8.66 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.4123, allocations: 20.53 kB / 1.369 GB, free: 8.637 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003229/0.4126, allocations: 159.6 kB / 1.37 GB, free: 8.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/0.4129, allocations: 147.5 kB / 1.37 GB, free: 8.336 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.4131, allocations: 28 kB / 1.37 GB, free: 8.309 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005851/0.4136, allocations: 259.6 kB / 1.37 GB, free: 8.055 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.4138, allocations: 119.6 kB / 1.37 GB, free: 7.938 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.4141, allocations: 131.4 kB / 1.37 GB, free: 7.809 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009249/0.415, allocations: 0.5995 MB / 1.371 GB, free: 7.207 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.415, allocations: 0 / 1.371 GB, free: 7.207 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.733e-06/0.415, allocations: 0 / 1.371 GB, free: 7.207 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.551e-05/0.415, allocations: 4 kB / 1.371 GB, free: 7.203 MB / 1.061 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.001616/0.4166, allocations: 0.6383 MB / 1.371 GB, free: 6.527 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.4167, allocations: 12.03 kB / 1.371 GB, free: 6.516 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/0.4187, allocations: 176.5 kB / 1.372 GB, free: 6.344 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006023/0.4193, allocations: 312.8 kB / 1.372 GB, free: 6.016 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.4195, allocations: 127.3 kB / 1.372 GB, free: 5.867 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/0.4195, allocations: 12.38 kB / 1.372 GB, free: 5.855 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.4206, allocations: 461.2 kB / 1.372 GB, free: 5.398 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.4206, allocations: 0 / 1.372 GB, free: 5.398 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.4207, allocations: 11.94 kB / 1.373 GB, free: 5.387 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4207, allocations: 0 / 1.373 GB, free: 5.387 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.4224, allocations: 0.6011 MB / 1.373 GB, free: 4.785 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.4245, allocations: 0.9408 MB / 1.374 GB, free: 3.812 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005017/0.4295, allocations: 0.865 MB / 1.375 GB, free: 2.938 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008045/0.4303, allocations: 316.6 kB / 1.375 GB, free: 2.625 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.4303, allocations: 4 kB / 1.375 GB, free: 2.621 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001091/0.4314, allocations: 455 kB / 1.376 GB, free: 2.164 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.324e-06/0.4314, allocations: 0 / 1.376 GB, free: 2.164 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002764/0.4342, allocations: 0.9616 MB / 1.377 GB, free: 1.195 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.4342, allocations: 51.41 kB / 1.377 GB, free: 1.133 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006023/0.4348, allocations: 433.6 kB / 1.377 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.788e-05/0.4349, allocations: 33.7 kB / 1.377 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.4351, allocations: 164.1 kB / 1.377 GB, free: 0.4961 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.847e-05/0.4351, allocations: 51.59 kB / 1.377 GB, free: 456 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.4353, allocations: 57.66 kB / 1.377 GB, free: 392 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.4355, allocations: 346.8 kB / 1.378 GB, free: 36 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009842/0.4364, allocations: 434.2 kB / 1.378 GB, free: 15.6 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009482/0.4374, allocations: 417.4 kB / 1.378 GB, free: 15.19 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.4391, allocations: 0.6293 MB / 1.379 GB, free: 14.55 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.4391, allocations: 0 / 1.379 GB, free: 14.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002261/0.4413, allocations: 0.9628 MB / 1.38 GB, free: 13.57 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.25e-05/0.4414, allocations: 41.69 kB / 1.38 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.4414, allocations: 0 / 1.38 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.4414, allocations: 0 / 1.38 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005135/0.4419, allocations: 71.91 kB / 1.38 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.442, allocations: 0 / 1.38 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004485/0.4424, allocations: 39.89 kB / 1.38 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.615e-05/0.4425, allocations: 19.98 kB / 1.38 GB, free: 13.39 MB / 1.076 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.0003042/0.4428, allocations: 194.8 kB / 1.38 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.563e-05/0.4429, allocations: 35.77 kB / 1.38 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.622e-05/0.4429, allocations: 35.41 kB / 1.38 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4429, allocations: 4 kB / 1.38 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.443, allocations: 0 / 1.38 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.443, allocations: 3.984 kB / 1.38 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000595/0.4436, allocations: 456.6 kB / 1.381 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4436, allocations: 0 / 1.381 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004934/0.4441, allocations: 75.84 kB / 1.381 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4441, allocations: 0 / 1.381 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.4441, allocations: 7.984 kB / 1.381 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4441, allocations: 0 / 1.381 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.4441, allocations: 4 kB / 1.381 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.4459, allocations: 0.682 MB / 1.382 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/0.4461, allocations: 91.67 kB / 1.382 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.713e-05/0.4462, allocations: 11.94 kB / 1.382 GB, free: 11.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004832/0.4467, allocations: 51.94 kB / 1.382 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.242e-05/0.4468, allocations: 15.97 kB / 1.382 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.4468, allocations: 15.92 kB / 1.382 GB, free: 11.68 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004083/0.4472, allocations: 315.1 kB / 1.382 GB, free: 11.37 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4472, allocations: 0 / 1.382 GB, free: 11.37 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004089/0.4476, allocations: 87.92 kB / 1.382 GB, free: 11.28 MB / 1.076 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.0002968/0.4479, allocations: 127.1 kB / 1.382 GB, free: 11.14 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001999/0.4499, allocations: 0.8052 MB / 1.383 GB, free: 10.32 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4499, allocations: 3.938 kB / 1.383 GB, free: 10.32 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008753/0.4508, allocations: 331.8 kB / 1.383 GB, free: 9.992 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.4513, allocations: 77.31 kB / 1.383 GB, free: 9.918 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.4533, allocations: 0.8683 MB / 1.384 GB, free: 9.012 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.4535, allocations: 202.1 kB / 1.385 GB, free: 8.797 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.4537, allocations: 43.39 kB / 1.385 GB, free: 8.754 MB / 1.076 GB Notification: Performance of SimCode: time 8.31e-07/0.4537, allocations: 0 / 1.385 GB, free: 8.754 MB / 1.076 GB Notification: Performance of Templates: time 0.01182/0.4656, allocations: 6.412 MB / 1.391 GB, free: 2.391 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile [Timeout 300] 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 -DOMC_BUILD -DUSE_THREAD -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:450: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), tmp39); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:450: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), tmp39); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:450: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), tmp39); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _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:456: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_, tmp42); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:456: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_, tmp42); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:456: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_, tmp42); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:462: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), tmp45); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:462: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), tmp45); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:462: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), tmp45); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _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:468: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_, tmp48); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:468: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_, tmp48); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:468: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_, tmp48); ^ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:453:7: warning: expression result unused [-Wunused-value] tmp41; ^~~~~ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:459:7: warning: expression result unused [-Wunused-value] tmp44; ^~~~~ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:465:7: warning: expression result unused [-Wunused-value] tmp47; ^~~~~ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:471:7: warning: expression result unused [-Wunused-value] tmp50; ^~~~~ ./OMCppBuildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSourceInitialize.cpp:500: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:519: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:497: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:497: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:537: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:537: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 [Calling os._exit(0), Time elapsed: 9.072840585839003] Failed to read output from testmodel.py, exit status != 0: 0.4747485560365021 0.49060655500000006 0.072306812 Calling exit ...