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.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.044/2.044, allocations: 209.3 MB / 224.8 MB, free: 288 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005923/0.0005926, allocations: 16 kB / 282.6 MB, free: 9.539 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3889, allocations: 48.71 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV): time 0.07576/0.4647, allocations: 35.04 MB / 366.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03797/0.5028, allocations: 17.26 MB / 383.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.5042, allocations: 27.75 kB / 383.6 MB, free: 10.08 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002227/0.5065, allocations: 430 kB / 384 MB, free: 9.656 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01898/0.5255, allocations: 4.04 MB / 388.1 MB, free: 5.605 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01324/0.5388, allocations: 2.919 MB / 391 MB, free: 2.676 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002949/0.5418, allocations: 1.11 MB / 392.1 MB, free: 1.566 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009169/0.5427, allocations: 385.4 kB / 392.5 MB, free: 1.172 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002151/0.5449, allocations: 0.6463 MB / 393.1 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01757/0.5625, allocations: 6.21 MB / 399.3 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002706/0.5628, allocations: 32 kB / 399.4 MB, free: 10.28 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02299/0.5858, allocations: 7.429 MB / 406.8 MB, free: 2.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004369/0.5863, allocations: 147.5 kB / 406.9 MB, free: 2.695 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003953/0.5867, allocations: 185.2 kB / 407.1 MB, free: 2.508 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.5978, allocations: 3.529 MB / 410.6 MB, free: 14.97 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.5978, allocations: 0 / 410.6 MB, free: 14.97 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.5978, allocations: 0 / 410.6 MB, free: 14.97 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.5979, allocations: 0 / 410.6 MB, free: 14.97 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.006213/0.6041, allocations: 1.547 MB / 412.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.6042, allocations: 8.031 kB / 412.2 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002561/0.6044, allocations: 102.5 kB / 412.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003268/0.6077, allocations: 302.8 kB / 412.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.6092, allocations: 0.5277 MB / 413.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.924e-05/0.6093, allocations: 61.25 kB / 413.2 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.6094, allocations: 56 kB / 413.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003994/0.6135, allocations: 1.011 MB / 414.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.6135, allocations: 4 kB / 414.3 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.6137, allocations: 24 kB / 414.3 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.306e-05/0.6137, allocations: 29.25 kB / 414.3 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004413/0.6182, allocations: 0.9261 MB / 415.2 MB, free: 10.23 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.009228/0.6274, allocations: 4.863 MB / 420.1 MB, free: 4.934 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004498/0.632, allocations: 0.8518 MB / 420.9 MB, free: 4.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07463/0.7067, allocations: 21.58 MB / 442.5 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.519e-05/0.7068, allocations: 38.94 kB / 442.6 MB, free: 11.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 2.665e-06/0.7068, allocations: 0 / 442.6 MB, free: 11.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=68): time 0.05223/0.759, allocations: 4.589 MB / 447.2 MB, free: 7.094 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.934e-05/0.7592, allocations: 111.4 kB / 447.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.7602, allocations: 0.5066 MB / 447.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001396/0.7603, allocations: 37.7 kB / 447.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003522/0.7607, allocations: 386.1 kB / 448.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/0.761, allocations: 232.7 kB / 448.4 MB, free: 5.793 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.404e-05/0.7611, allocations: 16 kB / 448.4 MB, free: 5.777 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.7613, allocations: 342.8 kB / 448.8 MB, free: 5.434 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002118/0.7634, allocations: 493.7 kB / 449.2 MB, free: 4.949 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002323/0.7658, allocations: 0.6914 MB / 449.9 MB, free: 4.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002313/0.7681, allocations: 0.5263 MB / 450.5 MB, free: 3.637 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.7681, allocations: 4 kB / 450.5 MB, free: 3.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.006531/0.7747, allocations: 1.533 MB / 452 MB, free: 2.086 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002433/0.775, allocations: 271 kB / 452.3 MB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.775, allocations: 11.97 kB / 452.3 MB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01666/0.7917, allocations: 1.636 MB / 453.9 MB, free: 76 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.793, allocations: 171.8 kB / 454.1 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005752/0.7988, allocations: 1.974 MB / 456.1 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.8006, allocations: 135.8 kB / 456.2 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/0.8008, allocations: 47.97 kB / 456.2 MB, free: 13.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.8008, allocations: 4 kB / 456.2 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006687/0.8075, allocations: 1.473 MB / 457.7 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.8076, allocations: 4 kB / 457.7 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008311/0.8159, allocations: 0.9387 MB / 458.7 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.8173, allocations: 175.8 kB / 458.8 MB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00485/0.8221, allocations: 1.842 MB / 460.7 MB, free: 9.203 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.8237, allocations: 108 kB / 460.8 MB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.8239, allocations: 47.97 kB / 460.8 MB, free: 9.051 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 (70): * Single equations (assignments): 68 * 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 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0007232/0.8246, allocations: 300.9 kB / 461.1 MB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002701/0.8249, allocations: 79.09 kB / 461.2 MB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/0.8356, allocations: 4.098 MB / 465.3 MB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-05/0.8358, allocations: 43.94 kB / 465.3 MB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.8358, allocations: 3.984 kB / 465.3 MB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-05/0.8358, allocations: 3.984 kB / 465.3 MB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/0.8497, allocations: 5.555 MB / 470.9 MB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.8498, allocations: 0 / 470.9 MB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007587/0.8505, allocations: 111.8 kB / 471 MB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01583/0.8664, allocations: 2.277 MB / 473.3 MB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000169/0.8666, allocations: 23.98 kB / 473.3 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006275/0.8729, allocations: 2.662 MB / 476 MB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.873, allocations: 0 / 476 MB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008548/0.8815, allocations: 2.915 MB / 478.9 MB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000852/0.8824, allocations: 358.7 kB / 479.2 MB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/0.8827, allocations: 16 kB / 479.2 MB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/0.8841, allocations: 111.8 kB / 479.4 MB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002555/0.8843, allocations: 68.89 kB / 479.4 MB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/0.8845, allocations: 27.98 kB / 479.4 MB, free: 6.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009064/0.8854, allocations: 439 kB / 479.9 MB, free: 5.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.8854, allocations: 0 / 479.9 MB, free: 5.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005927/0.8914, allocations: 1.456 MB / 481.3 MB, free: 4.203 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,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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 13,2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.3075/1.199, allocations: 4.576 MB / 485.9 MB, free: 137.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009488/1.208, allocations: 2.349 MB / 488.3 MB, free: 137.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.208, allocations: 4.5 kB / 488.3 MB, free: 137.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003581/1.212, allocations: 1.219 MB / 489.5 MB, free: 136.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00295/1.215, allocations: 306.6 kB / 489.8 MB, free: 136.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/1.226, allocations: 4.523 MB / 494.3 MB, free: 134.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007759/1.227, allocations: 1.194 MB / 495.5 MB, free: 133.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007614/1.228, allocations: 444.1 kB / 495.9 MB, free: 133.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.322e-06/1.228, allocations: 0 / 495.9 MB, free: 133.2 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_TestWaterPumpDefaultCVCalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCVCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCVCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCVAlgLoopMain.cpp:15: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCVAlgloop289.cpp:148:60: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = (_system->_$cse14_ * ((__HOM_LAMBDA_ * (_system->_Valve_P_Av_ * ((_system->_Valve_P_Y_ * tmp477) + (_system->_$DER_P_Valve_P_Y_ * _system->_$cse15_)))) + ((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_TestWaterPumpDefaultCVAlgloop289.cpp:148:199: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = (_system->_$cse14_ * ((__HOM_LAMBDA_ * (_system->_Valve_P_Av_ * ((_system->_Valve_P_Y_ * tmp477) + (_system->_$DER_P_Valve_P_Y_ * _system->_$cse15_)))) + ((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_TestWaterPumpDefaultCVAlgloop289.cpp:170: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_TestWaterPumpDefaultCVAlgloop289.cpp:170: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_TestWaterPumpDefaultCVAlgloop289.cpp:174: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_TestWaterPumpDefaultCVAlgloop289.cpp:175: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_TestWaterPumpDefaultCVAlgloop289.cpp:175: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_TestWaterPumpDefaultCVCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCVAlgLoopMain.cpp:21: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCVAlgloop95.cpp:151:49: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = (tmp504 * ((__HOM_LAMBDA_ * (_system->_Valve_P_Av_ * ((_system->_Valve_P_Y_ * tmp513) + (_system->_$DER_P_Valve_P_Y_ * tmp514)))) + ((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_TestWaterPumpDefaultCVAlgloop95.cpp:151:177: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = (tmp504 * ((__HOM_LAMBDA_ * (_system->_Valve_P_Av_ * ((_system->_Valve_P_Y_ * tmp513) + (_system->_$DER_P_Valve_P_Y_ * tmp514)))) + ((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_TestWaterPumpDefaultCVAlgloop95.cpp:173: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_TestWaterPumpDefaultCVAlgloop95.cpp:173: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_TestWaterPumpDefaultCVAlgloop95.cpp:176: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_TestWaterPumpDefaultCVAlgloop95.cpp:180: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_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCVAlgloop95.cpp:180: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_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCVCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCVFunctions.cpp:6576:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp326, tmp327); ^~~~~~~~~~~~~~~~~~~~~~~~ /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_TestWaterPumpDefaultCVCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCVFMU.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_TestWaterPumpDefaultCVCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCVCalcHelperMain.o] Error 1