Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.275/2.275, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006025/0.0006027, allocations: 15.98 kB / 314.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3374, allocations: 54.87 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault): time 0.05824/0.3957, allocations: 35.21 MB / 404.5 MB, free: 7.414 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03469/0.4304, allocations: 17.31 MB / 421.8 MB, free: 6.066 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.4315, allocations: 31.69 kB / 421.8 MB, free: 6.035 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001835/0.4334, allocations: 434 kB / 422.3 MB, free: 5.609 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01683/0.4502, allocations: 4.083 MB / 426.3 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01197/0.4622, allocations: 2.92 MB / 429.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002661/0.4649, allocations: 1.11 MB / 430.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000873/0.4658, allocations: 361.4 kB / 430.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001993/0.4678, allocations: 0.6385 MB / 431.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01711/0.485, allocations: 6.257 MB / 437.6 MB, free: 6.207 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000229/0.4852, allocations: 32 kB / 437.7 MB, free: 6.176 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02151/0.5068, allocations: 7.55 MB / 445.2 MB, free: 14.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003402/0.5071, allocations: 139.5 kB / 445.3 MB, free: 14.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003395/0.5075, allocations: 181.3 kB / 445.5 MB, free: 14.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009559/0.5171, allocations: 3.547 MB / 449.1 MB, free: 10.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5171, allocations: 0 / 449.1 MB, free: 10.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.5171, allocations: 0 / 449.1 MB, free: 10.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.5172, allocations: 0 / 449.1 MB, free: 10.74 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00556/0.5227, allocations: 1.528 MB / 450.6 MB, free: 9.164 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.5228, allocations: 12.03 kB / 450.6 MB, free: 9.152 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002096/0.523, allocations: 106.5 kB / 450.7 MB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00317/0.5262, allocations: 314.7 kB / 451 MB, free: 8.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.5276, allocations: 0.5199 MB / 451.5 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.031e-05/0.5277, allocations: 49.31 kB / 451.6 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.5279, allocations: 56 kB / 451.6 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003802/0.5317, allocations: 0.9983 MB / 452.6 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.5317, allocations: 0 / 452.6 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.5318, allocations: 28 kB / 452.7 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.932e-05/0.5319, allocations: 21 kB / 452.7 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004093/0.536, allocations: 0.913 MB / 453.6 MB, free: 6.043 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008883/0.5449, allocations: 4.812 MB / 458.4 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003587/0.5485, allocations: 0.7089 MB / 459.1 MB, free: 68 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3852/0.9337, allocations: 21.63 MB / 480.7 MB, free: 90.28 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/0.9338, allocations: 39.88 kB / 480.8 MB, free: 90.24 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 2.705e-06/0.9338, allocations: 0 / 480.8 MB, free: 90.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=60): time 0.04777/0.9816, allocations: 4.259 MB / 485 MB, free: 89.35 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.9817, allocations: 117.3 kB / 485.2 MB, free: 89.22 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008165/0.9825, allocations: 499.2 kB / 485.6 MB, free: 88.99 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.9827, allocations: 37.67 kB / 485.7 MB, free: 88.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.9829, allocations: 384.1 kB / 486.1 MB, free: 88.62 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/0.9831, allocations: 204.3 kB / 486.3 MB, free: 88.47 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.52e-05/0.9832, allocations: 12 kB / 486.3 MB, free: 88.46 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.181e-05/0.9833, allocations: 338.6 kB / 486.6 MB, free: 88.13 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/0.9848, allocations: 401.7 kB / 487 MB, free: 87.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/0.9864, allocations: 0.6036 MB / 487.6 MB, free: 87.47 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.9881, allocations: 452.8 kB / 488 MB, free: 87.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.9882, allocations: 0 / 488 MB, free: 87.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004537/0.9927, allocations: 1.262 MB / 489.3 MB, free: 86.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.9929, allocations: 274.4 kB / 489.6 MB, free: 86.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.9929, allocations: 7.875 kB / 489.6 MB, free: 86.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008582/1.001, allocations: 1.02 MB / 490.6 MB, free: 85.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/1.003, allocations: 161.9 kB / 490.8 MB, free: 85.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003635/1.006, allocations: 1.746 MB / 492.5 MB, free: 84.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/1.008, allocations: 96.61 kB / 492.6 MB, free: 84.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/1.008, allocations: 45.62 kB / 492.6 MB, free: 84.33 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/1.008, allocations: 3.75 kB / 492.6 MB, free: 84.33 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004715/1.013, allocations: 1.226 MB / 493.9 MB, free: 83.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/1.013, allocations: 8.562 kB / 493.9 MB, free: 83.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004321/1.017, allocations: 0.625 MB / 494.5 MB, free: 83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/1.018, allocations: 167.8 kB / 494.7 MB, free: 82.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003105/1.021, allocations: 1.655 MB / 496.3 MB, free: 81.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/1.022, allocations: 99.83 kB / 496.4 MB, free: 81.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/1.023, allocations: 43.98 kB / 496.5 MB, free: 80.98 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.000618/1.023, allocations: 304.9 kB / 496.8 MB, free: 80.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/1.023, allocations: 67.25 kB / 496.8 MB, free: 80.61 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007635/1.031, allocations: 3.843 MB / 0.4889 GB, free: 76.71 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-05/1.031, allocations: 43.94 kB / 0.489 GB, free: 76.67 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/1.031, allocations: 0 / 0.489 GB, free: 76.67 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/1.031, allocations: 11.94 kB / 0.489 GB, free: 76.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009326/1.041, allocations: 5.159 MB / 0.494 GB, free: 71.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/1.041, allocations: 4 kB / 0.494 GB, free: 71.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006797/1.041, allocations: 107.9 kB / 0.4941 GB, free: 71.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007609/1.049, allocations: 1.677 MB / 0.4958 GB, free: 69.61 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/1.049, allocations: 19.98 kB / 0.4958 GB, free: 69.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004044/1.053, allocations: 2.421 MB / 0.4982 GB, free: 67.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.053, allocations: 4.031 kB / 0.4982 GB, free: 67.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005534/1.059, allocations: 2.614 MB / 0.5007 GB, free: 64.44 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005971/1.059, allocations: 350.7 kB / 0.501 GB, free: 64.08 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/1.06, allocations: 12 kB / 0.5011 GB, free: 64.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/1.061, allocations: 91.81 kB / 0.5011 GB, free: 63.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/1.061, allocations: 64.5 kB / 0.5012 GB, free: 63.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.498e-05/1.061, allocations: 31.98 kB / 0.5012 GB, free: 63.88 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006718/1.062, allocations: 439 kB / 0.5017 GB, free: 63.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.062, allocations: 0 / 0.5017 GB, free: 63.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004701/1.066, allocations: 1.437 MB / 0.5031 GB, free: 62.12 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01346/1.08, allocations: 4.297 MB / 0.5073 GB, free: 57.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007484/1.087, allocations: 2.049 MB / 0.5093 GB, free: 55.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.087, allocations: 0 / 0.5093 GB, free: 55.94 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002838/1.09, allocations: 1.129 MB / 0.5104 GB, free: 54.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/1.093, allocations: 309.2 kB / 0.5107 GB, free: 54.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008818/1.102, allocations: 4.4 MB / 0.5149 GB, free: 50.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006251/1.102, allocations: 1.174 MB / 0.5161 GB, free: 48.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007026/1.103, allocations: 423.3 kB / 0.5165 GB, free: 48.41 MB / 394.7 MB Notification: Performance of SimCode: time 1.243e-06/1.103, allocations: 0 / 0.5165 GB, free: 48.41 MB / 394.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgLoopMain.cpp:15: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgloop254.cpp:126:85: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = (_system->_Valve_P_relativeFlowCoefficient_ * ((__HOM_LAMBDA_ * (_system->_Valve_P_Av_ * tmp468)) + ((1.0 - __HOM_LAMBDA_) * (_system->_Valve_P_m_flow_nominal_ * division(_system->_$DER_P_Valve_P_dp_,_system->_Valve_P_dp_nominal_,!_system->_initial,"Valve.dp_nominal"))))); ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgloop254.cpp:126:145: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = (_system->_Valve_P_relativeFlowCoefficient_ * ((__HOM_LAMBDA_ * (_system->_Valve_P_Av_ * tmp468)) + ((1.0 - __HOM_LAMBDA_) * (_system->_Valve_P_m_flow_nominal_ * division(_system->_$DER_P_Valve_P_dp_,_system->_Valve_P_dp_nominal_,!_system->_initial,"Valve.dp_nominal"))))); ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgloop254.cpp:148:39: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_V_flow_ = ((__HOM_LAMBDA_ * division(((_system->_$DER_P_pump_P_m_flow_ * _system->_pump_P_rho_) - (_system->_pump_P_m_flow_ * _system->_$DER_P_pump_P_rho_)),std::pow(_system->_pump_P_rho_, 2.0),!_system->_initial,"pump.rho ^ 2.0")) + ((1.0 - __HOM_LAMBDA_) * division(_system->_$DER_P_pump_P_m_flow_,_system->_pump_P_rho_nominal_,!_system->_initial,"pump.rho_nominal"))); ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgloop254.cpp:148:269: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_V_flow_ = ((__HOM_LAMBDA_ * division(((_system->_$DER_P_pump_P_m_flow_ * _system->_pump_P_rho_) - (_system->_pump_P_m_flow_ * _system->_$DER_P_pump_P_rho_)),std::pow(_system->_pump_P_rho_, 2.0),!_system->_initial,"pump.rho ^ 2.0")) + ((1.0 - __HOM_LAMBDA_) * division(_system->_$DER_P_pump_P_m_flow_,_system->_pump_P_rho_nominal_,!_system->_initial,"pump.rho_nominal"))); ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgloop254.cpp:152:180: error: use of undeclared identifier '__HOM_LAMBDA_' _res[0] = (((1.0 - __HOM_LAMBDA_) * (_system->_$DER_P_pump_P_dp_pump_ * division(_system->_pump_P_V_flow_single_init_,_system->_pump_P_eta_,!_system->_initial,"pump.eta"))) + ((__HOM_LAMBDA_ * division(((_system->_pump_P_dp_pump_ * _system->_$DER_P_pump_P_V_flow_single_) + (_system->_$DER_P_pump_P_dp_pump_ * _system->_pump_P_V_flow_single_)),_system->_pump_P_eta_,!_system->_initial,"pump.eta")) - _system->_$DER_P_pump_P_W_single_)); ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgloop254.cpp:152:22: error: use of undeclared identifier '__HOM_LAMBDA_' _res[0] = (((1.0 - __HOM_LAMBDA_) * (_system->_$DER_P_pump_P_dp_pump_ * division(_system->_pump_P_V_flow_single_init_,_system->_pump_P_eta_,!_system->_initial,"pump.eta"))) + ((__HOM_LAMBDA_ * division(((_system->_pump_P_dp_pump_ * _system->_$DER_P_pump_P_V_flow_single_) + (_system->_$DER_P_pump_P_dp_pump_ * _system->_pump_P_V_flow_single_)),_system->_pump_P_eta_,!_system->_initial,"pump.eta")) - _system->_$DER_P_pump_P_W_single_)); ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgloop254.cpp:153:22: error: use of undeclared identifier '__HOM_LAMBDA_' _res[1] = (((1.0 - __HOM_LAMBDA_) * (_system->_pump_P_N_ * (_system->_pump_P_delta_head_init_ * division(_system->_$DER_P_pump_P_V_flow_single_,(_system->_pump_P_V_flow_single_init_ * _system->_pump_P_N_nominal_),!_system->_initial,"pump.V_flow_single_init * pump.N_nominal")))) - _system->_$DER_P_pump_P_head_); ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgLoopMain.cpp:21: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgloop83.cpp:125:85: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = (_system->_Valve_P_relativeFlowCoefficient_ * ((__HOM_LAMBDA_ * (_system->_Valve_P_Av_ * tmp498)) + ((1.0 - __HOM_LAMBDA_) * (_system->_Valve_P_m_flow_nominal_ * division(_system->_$DER_P_Valve_P_dp_,_system->_Valve_P_dp_nominal_,!_system->_initial,"Valve.dp_nominal"))))); ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgloop83.cpp:125:145: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = (_system->_Valve_P_relativeFlowCoefficient_ * ((__HOM_LAMBDA_ * (_system->_Valve_P_Av_ * tmp498)) + ((1.0 - __HOM_LAMBDA_) * (_system->_Valve_P_m_flow_nominal_ * division(_system->_$DER_P_Valve_P_dp_,_system->_Valve_P_dp_nominal_,!_system->_initial,"Valve.dp_nominal"))))); ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgloop83.cpp:147:39: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_V_flow_ = ((__HOM_LAMBDA_ * division(((_system->_$DER_P_pump_P_m_flow_ * _system->_pump_P_rho_) - (_system->_pump_P_m_flow_ * _system->_$DER_P_pump_P_rho_)),std::pow(_system->_pump_P_rho_, 2.0),!_system->_initial,"pump.rho ^ 2.0")) + ((1.0 - __HOM_LAMBDA_) * division(_system->_$DER_P_pump_P_m_flow_,_system->_pump_P_rho_nominal_,!_system->_initial,"pump.rho_nominal"))); ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgloop83.cpp:147:269: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_V_flow_ = ((__HOM_LAMBDA_ * division(((_system->_$DER_P_pump_P_m_flow_ * _system->_pump_P_rho_) - (_system->_pump_P_m_flow_ * _system->_$DER_P_pump_P_rho_)),std::pow(_system->_pump_P_rho_, 2.0),!_system->_initial,"pump.rho ^ 2.0")) + ((1.0 - __HOM_LAMBDA_) * division(_system->_$DER_P_pump_P_m_flow_,_system->_pump_P_rho_nominal_,!_system->_initial,"pump.rho_nominal"))); ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgloop83.cpp:150:43: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_head_ = ((1.0 - __HOM_LAMBDA_) * (_system->_pump_P_N_ * division((_system->_pump_P_delta_head_init_ * division(_system->_$DER_P_pump_P_V_flow_single_,_system->_pump_P_V_flow_single_init_,!_system->_initial,"pump.V_flow_single_init")),_system->_pump_P_N_nominal_,!_system->_initial,"pump.N_nominal"))); ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgloop83.cpp:154:290: error: use of undeclared identifier '__HOM_LAMBDA_' _res[1] = (((1.0 - __HOM_LAMBDA_) * (((_system->_$DER_P_pump_P_dp_pump_ * _system->_pump_P_eta_) - (_system->_pump_P_dp_pump_ * _system->_$DER_P_pump_P_eta_)) * division(_system->_pump_P_V_flow_single_init_,std::pow(_system->_pump_P_eta_, 2.0),!_system->_initial,"pump.eta ^ 2.0"))) + ((__HOM_LAMBDA_ * division(((((_system->_pump_P_dp_pump_ * _system->_$DER_P_pump_P_V_flow_single_) + (_system->_$DER_P_pump_P_dp_pump_ * _system->_pump_P_V_flow_single_)) * _system->_pump_P_eta_) - (_system->_pump_P_dp_pump_ * (_system->_pump_P_V_flow_single_ * _system->_$DER_P_pump_P_eta_))),std::pow(_system->_pump_P_eta_, 2.0),!_system->_initial,"pump.eta ^ 2.0")) - _system->_$DER_P_pump_P_W_single_)); ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgloop83.cpp:154:22: error: use of undeclared identifier '__HOM_LAMBDA_' _res[1] = (((1.0 - __HOM_LAMBDA_) * (((_system->_$DER_P_pump_P_dp_pump_ * _system->_pump_P_eta_) - (_system->_pump_P_dp_pump_ * _system->_$DER_P_pump_P_eta_)) * division(_system->_pump_P_V_flow_single_init_,std::pow(_system->_pump_P_eta_, 2.0),!_system->_initial,"pump.eta ^ 2.0"))) + ((__HOM_LAMBDA_ * division(((((_system->_pump_P_dp_pump_ * _system->_$DER_P_pump_P_V_flow_single_) + (_system->_$DER_P_pump_P_dp_pump_ * _system->_pump_P_V_flow_single_)) * _system->_pump_P_eta_) - (_system->_pump_P_dp_pump_ * (_system->_pump_P_V_flow_single_ * _system->_$DER_P_pump_P_eta_))),std::pow(_system->_pump_P_eta_, 2.0),!_system->_initial,"pump.eta ^ 2.0")) - _system->_$DER_P_pump_P_W_single_)); ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultFunctions.cpp:6587:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp324, tmp325); ^~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/ArrayOperations.h:91:6: note: candidate function not viable: no known conversion from 'double' to 'const BaseArray' for 1st argument void add_array_scalar(const BaseArray& inputArray, T b, BaseArray& outputArray); ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultFMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 15 errors generated. : recipe for target 'OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCalcHelperMain.o] Error 1