Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.065/2.065, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004528/0.0004529, allocations: 20 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3559, allocations: 48.7 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH): time 0.06188/0.4178, allocations: 35 MB / 366.3 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0376/0.4555, allocations: 17.7 MB / 384 MB, free: 9.711 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/0.457, allocations: 27.75 kB / 384 MB, free: 9.684 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002243/0.4593, allocations: 434 kB / 384.4 MB, free: 9.258 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01912/0.4784, allocations: 4.106 MB / 388.5 MB, free: 5.141 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01307/0.4915, allocations: 2.891 MB / 391.4 MB, free: 2.238 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003063/0.4946, allocations: 1.102 MB / 392.5 MB, free: 1.133 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.4959, allocations: 377.4 kB / 392.9 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002383/0.4983, allocations: 0.6346 MB / 393.5 MB, free: 112 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01749/0.5159, allocations: 6.203 MB / 399.7 MB, free: 9.902 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002549/0.5162, allocations: 28 kB / 399.8 MB, free: 9.875 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02229/0.5385, allocations: 7.476 MB / 407.2 MB, free: 2.391 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003866/0.539, allocations: 143.5 kB / 407.4 MB, free: 2.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004091/0.5394, allocations: 177.3 kB / 407.6 MB, free: 2.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01015/0.5495, allocations: 3.539 MB / 411.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5496, allocations: 3.938 kB / 411.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5496, allocations: 0 / 411.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.5496, allocations: 0 / 411.1 MB, free: 14.52 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.005675/0.5553, allocations: 1.528 MB / 412.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.5554, allocations: 12.03 kB / 412.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002416/0.5557, allocations: 98.52 kB / 412.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003368/0.559, allocations: 314.8 kB / 413 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.5606, allocations: 0.5316 MB / 413.6 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-05/0.5607, allocations: 53.27 kB / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.5609, allocations: 56 kB / 413.7 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004005/0.5649, allocations: 1.015 MB / 414.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.565, allocations: 0 / 414.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.5651, allocations: 24 kB / 414.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.308e-05/0.5652, allocations: 21.31 kB / 414.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004386/0.5696, allocations: 0.926 MB / 415.7 MB, free: 9.789 MB / 346.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.008773/0.5784, allocations: 4.934 MB / 420.6 MB, free: 4.395 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004041/0.5825, allocations: 0.7887 MB / 421.4 MB, free: 3.598 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07529/0.6578, allocations: 21.84 MB / 443.2 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.616e-05/0.6579, allocations: 34.94 kB / 443.3 MB, free: 11.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 2.926e-06/0.658, allocations: 4 kB / 443.3 MB, free: 11.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.04897/0.7069, allocations: 4.146 MB / 447.4 MB, free: 6.785 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.7071, allocations: 107.4 kB / 447.5 MB, free: 6.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.7081, allocations: 494.8 kB / 448 MB, free: 6.168 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001596/0.7083, allocations: 37.7 kB / 448 MB, free: 6.125 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.7087, allocations: 394.1 kB / 448.4 MB, free: 5.734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/0.709, allocations: 208.9 kB / 448.6 MB, free: 5.527 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.96e-05/0.7091, allocations: 16 kB / 448.6 MB, free: 5.512 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.7093, allocations: 342.8 kB / 449 MB, free: 5.168 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/0.711, allocations: 401.8 kB / 449.4 MB, free: 4.773 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002037/0.7131, allocations: 0.6133 MB / 450 MB, free: 4.062 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00197/0.7151, allocations: 458 kB / 450.4 MB, free: 3.617 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.7152, allocations: 4 kB / 450.4 MB, free: 3.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.005416/0.7206, allocations: 1.277 MB / 451.7 MB, free: 2.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002666/0.7209, allocations: 286 kB / 452 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.7209, allocations: 8 kB / 452 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009436/0.7304, allocations: 1.02 MB / 453 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.7316, allocations: 167.8 kB / 453.2 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004595/0.7363, allocations: 1.742 MB / 454.9 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.7378, allocations: 107.8 kB / 455 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/0.738, allocations: 43.97 kB / 455.1 MB, free: 14.81 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.7381, allocations: 4 kB / 455.1 MB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005651/0.7437, allocations: 1.252 MB / 456.3 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.7438, allocations: 4 kB / 456.3 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004772/0.7486, allocations: 0.6267 MB / 457 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.7498, allocations: 171.8 kB / 457.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003594/0.7535, allocations: 1.659 MB / 458.8 MB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.7548, allocations: 99.89 kB / 458.9 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/0.755, allocations: 43.98 kB / 458.9 MB, free: 10.89 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 (69): * Single equations (assignments): 67 * 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.0007119/0.7557, allocations: 308.8 kB / 459.2 MB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/0.756, allocations: 63.25 kB / 459.3 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009806/0.7658, allocations: 3.892 MB / 463.2 MB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-05/0.7659, allocations: 47.92 kB / 463.2 MB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/0.7659, allocations: 0 / 463.2 MB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-05/0.766, allocations: 7.938 kB / 463.2 MB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/0.7785, allocations: 5.228 MB / 468.5 MB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.7785, allocations: 0 / 468.5 MB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008466/0.7794, allocations: 115.9 kB / 468.6 MB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008693/0.7881, allocations: 1.723 MB / 470.3 MB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001628/0.7883, allocations: 19.98 kB / 470.3 MB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005129/0.7934, allocations: 2.416 MB / 472.7 MB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.7935, allocations: 0 / 472.7 MB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007023/0.8005, allocations: 2.653 MB / 475.4 MB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007894/0.8014, allocations: 346.7 kB / 475.7 MB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002138/0.8016, allocations: 23.92 kB / 475.8 MB, free: 9.738 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.8029, allocations: 103.8 kB / 475.9 MB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/0.8031, allocations: 64.55 kB / 475.9 MB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.8033, allocations: 31.92 kB / 475.9 MB, free: 9.543 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008698/0.8041, allocations: 427 kB / 476.4 MB, free: 9.125 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8042, allocations: 4 kB / 476.4 MB, free: 9.121 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005687/0.8099, allocations: 1.449 MB / 477.8 MB, free: 7.672 MB / 410.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,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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 (51): * Single equations (assignments): 40 * 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.01583/0.8257, allocations: 4.323 MB / 482.1 MB, free: 3.281 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008323/0.8341, allocations: 2.082 MB / 484.2 MB, free: 1.191 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.8342, allocations: 0.5625 kB / 484.2 MB, free: 1.191 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003384/0.8376, allocations: 1.152 MB / 485.4 MB, free: 36 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2634/1.101, allocations: 292.3 kB / 485.7 MB, free: 137.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/1.112, allocations: 4.439 MB / 490.1 MB, free: 135.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000981/1.113, allocations: 1.185 MB / 491.3 MB, free: 134.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008669/1.114, allocations: 436.3 kB / 491.7 MB, free: 134.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.483e-06/1.114, allocations: 3.281 kB / 491.7 MB, free: 134.1 MB / 410.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_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHCalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHAlgLoopMain.cpp:15: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHAlgloop265.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_ * tmp478)) + ((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_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHAlgloop265.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_ * tmp478)) + ((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_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHAlgloop265.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_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHAlgloop265.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_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHAlgloop265.cpp:152:22: error: use of undeclared identifier '__HOM_LAMBDA_' _res[0] = (((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_); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHAlgloop265.cpp:153:180: error: use of undeclared identifier '__HOM_LAMBDA_' _res[1] = (((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_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHAlgloop265.cpp:153:22: error: use of undeclared identifier '__HOM_LAMBDA_' _res[1] = (((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_)); ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHAlgLoopMain.cpp:21: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHAlgloop86.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_ * tmp508)) + ((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_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHAlgloop86.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_ * tmp508)) + ((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_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHAlgloop86.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_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHAlgloop86.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_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHAlgloop86.cpp:149: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_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHAlgloop86.cpp:153:290: error: use of undeclared identifier '__HOM_LAMBDA_' _res[0] = (((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_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHAlgloop86.cpp:153:22: error: use of undeclared identifier '__HOM_LAMBDA_' _res[0] = (((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_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHFunctions.cpp:6584:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp330, tmp331); ^~~~~~~~~~~~~~~~~~~~~~~~ /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_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHFMU.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_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHCalcHelperMain.o] Error 1