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.TestWaterPumpNPSH.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.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.22/2.22, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004269/0.0004271, allocations: 16 kB / 314.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3669, allocations: 54.87 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH): time 0.05699/0.424, allocations: 35.25 MB / 404.5 MB, free: 7.387 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03546/0.4595, allocations: 17.81 MB / 422.3 MB, free: 5.535 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009805/0.4605, allocations: 27.75 kB / 422.4 MB, free: 5.508 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.4623, allocations: 434 kB / 422.8 MB, free: 5.082 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01678/0.4791, allocations: 4.157 MB / 427 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01191/0.491, allocations: 2.917 MB / 429.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002622/0.4936, allocations: 1.118 MB / 431 MB, free: 12.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007606/0.4944, allocations: 378.1 kB / 431.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/0.4962, allocations: 0.6424 MB / 432 MB, free: 11.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01647/0.5127, allocations: 6.281 MB / 438.3 MB, free: 5.559 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002146/0.5129, allocations: 32 kB / 438.3 MB, free: 5.527 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02137/0.5343, allocations: 7.593 MB / 445.9 MB, free: 13.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003349/0.5347, allocations: 151.4 kB / 446.1 MB, free: 13.78 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003406/0.5351, allocations: 177.3 kB / 446.2 MB, free: 13.6 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009789/0.5449, allocations: 3.582 MB / 449.8 MB, free: 10.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5449, allocations: 0 / 449.8 MB, free: 10.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.545, allocations: 0 / 449.8 MB, free: 10.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.545, allocations: 0 / 449.8 MB, free: 10.01 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.005502/0.5505, allocations: 1.556 MB / 451.4 MB, free: 8.402 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.5506, allocations: 8.031 kB / 451.4 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001925/0.5508, allocations: 106.4 kB / 451.5 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003248/0.554, allocations: 338.7 kB / 451.8 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.5552, allocations: 0.5277 MB / 452.3 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.158e-05/0.5553, allocations: 53.28 kB / 452.4 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.5555, allocations: 60 kB / 452.4 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003726/0.5592, allocations: 0.9991 MB / 453.4 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.5593, allocations: 4 kB / 453.4 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.5594, allocations: 24 kB / 453.5 MB, free: 6.188 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.876e-05/0.5594, allocations: 21.31 kB / 453.5 MB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004103/0.5636, allocations: 0.9299 MB / 454.4 MB, free: 5.23 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.008128/0.5717, allocations: 4.93 MB / 459.4 MB, free: 15.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003844/0.5756, allocations: 0.7926 MB / 460.1 MB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3935/0.9691, allocations: 21.9 MB / 482 MB, free: 88.62 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.016e-05/0.9692, allocations: 42.22 kB / 482.1 MB, free: 88.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 4.128e-06/0.9692, allocations: 0.7188 kB / 482.1 MB, free: 88.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=63): time 0.07605/1.045, allocations: 4.135 MB / 486.2 MB, free: 87.74 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/1.045, allocations: 114.9 kB / 486.3 MB, free: 87.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008317/1.046, allocations: 0.4886 MB / 486.8 MB, free: 87.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001506/1.046, allocations: 41.67 kB / 486.9 MB, free: 87.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000242/1.047, allocations: 385.7 kB / 487.2 MB, free: 87 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000256/1.047, allocations: 209.8 kB / 487.4 MB, free: 86.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8e-05/1.047, allocations: 15.94 kB / 487.5 MB, free: 86.83 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.443e-05/1.047, allocations: 344 kB / 487.8 MB, free: 86.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/1.049, allocations: 403.6 kB / 488.2 MB, free: 86.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/1.05, allocations: 0.6053 MB / 488.8 MB, free: 85.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/1.052, allocations: 469.5 kB / 489.2 MB, free: 85.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/1.052, allocations: 3.875 kB / 489.3 MB, free: 85.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004678/1.057, allocations: 1.272 MB / 490.5 MB, free: 84.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001596/1.057, allocations: 279.9 kB / 490.8 MB, free: 84.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/1.057, allocations: 11.83 kB / 490.8 MB, free: 84.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008694/1.066, allocations: 1.015 MB / 491.8 MB, free: 84.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/1.067, allocations: 173 kB / 492 MB, free: 84.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003899/1.071, allocations: 1.737 MB / 493.7 MB, free: 82.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/1.072, allocations: 110.5 kB / 493.8 MB, free: 82.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/1.072, allocations: 42.92 kB / 493.9 MB, free: 82.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/1.073, allocations: 3.844 kB / 493.9 MB, free: 82.7 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004964/1.077, allocations: 1.255 MB / 495.1 MB, free: 81.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/1.078, allocations: 7.984 kB / 495.1 MB, free: 81.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004371/1.082, allocations: 0.6262 MB / 495.8 MB, free: 81.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/1.083, allocations: 167.8 kB / 495.9 MB, free: 81.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00294/1.086, allocations: 1.656 MB / 497.6 MB, free: 79.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/1.087, allocations: 103.9 kB / 497.7 MB, free: 79.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/1.087, allocations: 39.98 kB / 497.7 MB, free: 79.32 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.0005917/1.088, allocations: 294.1 kB / 498 MB, free: 79.03 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/1.088, allocations: 75.19 kB / 498.1 MB, free: 78.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007858/1.096, allocations: 3.892 MB / 0.4902 GB, free: 75.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.594e-05/1.096, allocations: 47.62 kB / 0.4903 GB, free: 74.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/1.096, allocations: 3.938 kB / 0.4903 GB, free: 74.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/1.096, allocations: 7.922 kB / 0.4903 GB, free: 74.95 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009518/1.106, allocations: 5.218 MB / 0.4954 GB, free: 69.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/1.106, allocations: 7.953 kB / 0.4954 GB, free: 69.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007481/1.107, allocations: 111.9 kB / 0.4955 GB, free: 69.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007807/1.114, allocations: 1.714 MB / 0.4972 GB, free: 67.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001434/1.115, allocations: 16 kB / 0.4972 GB, free: 67.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004462/1.119, allocations: 2.439 MB / 0.4996 GB, free: 65.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.119, allocations: 4.062 kB / 0.4996 GB, free: 65.29 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005896/1.125, allocations: 2.645 MB / 0.5021 GB, free: 62.58 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007047/1.126, allocations: 354.7 kB / 0.5025 GB, free: 62.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/1.126, allocations: 12 kB / 0.5025 GB, free: 62.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/1.127, allocations: 99.75 kB / 0.5026 GB, free: 62.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/1.127, allocations: 60.56 kB / 0.5027 GB, free: 62.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/1.128, allocations: 27.98 kB / 0.5027 GB, free: 62.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006816/1.128, allocations: 439 kB / 0.5031 GB, free: 61.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.128, allocations: 0 / 0.5031 GB, free: 61.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004963/1.133, allocations: 1.451 MB / 0.5045 GB, free: 60.25 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,$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.01365/1.147, allocations: 4.334 MB / 0.5087 GB, free: 56.08 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007081/1.154, allocations: 2.08 MB / 0.5108 GB, free: 54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.154, allocations: 4.188 kB / 0.5108 GB, free: 53.99 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002738/1.157, allocations: 1.152 MB / 0.5119 GB, free: 52.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/1.159, allocations: 308.3 kB / 0.5122 GB, free: 52.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008419/1.168, allocations: 4.441 MB / 0.5165 GB, free: 48.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/1.168, allocations: 1.186 MB / 0.5177 GB, free: 46.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006787/1.169, allocations: 447.2 kB / 0.5181 GB, free: 46.36 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/1.169, allocations: 0 / 0.5181 GB, free: 46.36 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_TestWaterPumpNPSHCalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHAlgLoopMain.cpp:15: ./OMCppModelicaTest_3_2_2_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_ * tmp476)) + ((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_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_ * tmp476)) + ((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_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_2_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_2_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_2_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_2_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_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHAlgLoopMain.cpp:21: ./OMCppModelicaTest_3_2_2_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_ * tmp506)) + ((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_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_ * tmp506)) + ((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_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_2_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_2_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_2_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_2_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_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHFunctions.cpp:6614:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp328, tmp329); ^~~~~~~~~~~~~~~~~~~~~~~~ /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_TestWaterPumpNPSHCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_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_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSHCalcHelperMain.o] Error 1