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.TestWaterPumpVariableSpeed.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.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.991/1.991, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007278/0.0007279, allocations: 12 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3928, allocations: 48.71 MB / 331.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed): time 0.05811/0.4509, allocations: 34.98 MB / 366.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.04062/0.4916, allocations: 17.21 MB / 383.5 MB, free: 10.21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001485/0.4932, allocations: 27.75 kB / 383.5 MB, free: 10.19 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002728/0.4959, allocations: 430 kB / 383.9 MB, free: 9.766 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02433/0.5203, allocations: 4.036 MB / 388 MB, free: 5.719 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01738/0.5377, allocations: 2.899 MB / 390.9 MB, free: 2.809 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003791/0.5415, allocations: 1.103 MB / 392 MB, free: 1.703 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.5429, allocations: 365.5 kB / 392.3 MB, free: 1.328 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002922/0.5458, allocations: 0.6345 MB / 393 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02045/0.5663, allocations: 6.203 MB / 399.2 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002951/0.5667, allocations: 28 kB / 399.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02288/0.5896, allocations: 7.421 MB / 406.6 MB, free: 3.027 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000425/0.5901, allocations: 147.5 kB / 406.7 MB, free: 2.883 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003734/0.5905, allocations: 173.3 kB / 406.9 MB, free: 2.707 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.6009, allocations: 3.508 MB / 410.4 MB, free: 15.19 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.601, allocations: 4 kB / 410.4 MB, free: 15.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.601, allocations: 0 / 410.4 MB, free: 15.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.048e-05/0.601, allocations: 0 / 410.4 MB, free: 15.19 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.006237/0.6073, allocations: 1.528 MB / 412 MB, free: 13.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.6074, allocations: 12.03 kB / 412 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000266/0.6076, allocations: 102.5 kB / 412.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003216/0.6109, allocations: 294.8 kB / 412.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.6124, allocations: 0.5316 MB / 412.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-05/0.6125, allocations: 49.27 kB / 412.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.6127, allocations: 60 kB / 413 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004247/0.6169, allocations: 1.002 MB / 414 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/0.617, allocations: 4 kB / 414 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.6172, allocations: 24 kB / 414 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.116e-05/0.6172, allocations: 21 kB / 414 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004714/0.622, allocations: 0.9482 MB / 415 MB, free: 10.46 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.008891/0.6309, allocations: 4.648 MB / 419.6 MB, free: 5.395 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004206/0.6352, allocations: 0.8044 MB / 420.4 MB, free: 4.582 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0679/0.7031, allocations: 18.58 MB / 439 MB, free: 15.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.488e-05/0.7032, allocations: 38.88 kB / 439.1 MB, free: 15.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 3.006e-06/0.7033, allocations: 0 / 439.1 MB, free: 15.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.05396/0.7572, allocations: 4.562 MB / 443.6 MB, free: 11.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.7574, allocations: 123.3 kB / 443.7 MB, free: 10.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009013/0.7583, allocations: 478.7 kB / 444.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000169/0.7585, allocations: 41.64 kB / 444.3 MB, free: 10.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003408/0.7588, allocations: 382.2 kB / 444.6 MB, free: 9.988 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000315/0.7592, allocations: 220.8 kB / 444.8 MB, free: 9.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.204e-05/0.7593, allocations: 16 kB / 444.9 MB, free: 9.754 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.7594, allocations: 338.8 kB / 445.2 MB, free: 9.414 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/0.7614, allocations: 421.7 kB / 445.6 MB, free: 9.004 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002203/0.7637, allocations: 0.6423 MB / 446.2 MB, free: 8.262 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002251/0.7659, allocations: 478 kB / 446.7 MB, free: 7.797 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.766, allocations: 0 / 446.7 MB, free: 7.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005791/0.7718, allocations: 1.339 MB / 448.1 MB, free: 6.441 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002645/0.7721, allocations: 285.7 kB / 448.3 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.7721, allocations: 11.94 kB / 448.3 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009758/0.7819, allocations: 1.055 MB / 449.4 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.7833, allocations: 187.8 kB / 449.6 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004585/0.7879, allocations: 1.753 MB / 451.3 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/0.7897, allocations: 104 kB / 451.4 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/0.7899, allocations: 55.92 kB / 451.5 MB, free: 2.852 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.7899, allocations: 4 kB / 451.5 MB, free: 2.848 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006096/0.796, allocations: 1.291 MB / 452.8 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.7961, allocations: 8.906 kB / 452.8 MB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005146/0.8012, allocations: 0.6534 MB / 453.4 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.8026, allocations: 195.7 kB / 453.6 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004304/0.807, allocations: 1.679 MB / 455.3 MB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.8085, allocations: 107.9 kB / 455.4 MB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/0.8087, allocations: 43.98 kB / 455.5 MB, free: 14.8 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (71): * Single equations (assignments): 69 * 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.0007894/0.8095, allocations: 308.8 kB / 455.8 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/0.8098, allocations: 71.11 kB / 455.8 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/0.821, allocations: 3.676 MB / 459.5 MB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.219e-05/0.8211, allocations: 35.95 kB / 459.5 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.8211, allocations: 0 / 459.5 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.568e-05/0.8212, allocations: 7.938 kB / 459.6 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/0.8337, allocations: 4.968 MB / 464.5 MB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.8338, allocations: 0 / 464.5 MB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009689/0.8348, allocations: 135.9 kB / 464.7 MB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008939/0.8437, allocations: 1.703 MB / 466.4 MB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001635/0.8439, allocations: 19.98 kB / 466.4 MB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005501/0.8494, allocations: 2.412 MB / 468.8 MB, free: 1.316 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/0.8495, allocations: 3.953 kB / 468.8 MB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007122/0.8566, allocations: 2.478 MB / 471.3 MB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007717/0.8575, allocations: 323 kB / 471.6 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/0.8577, allocations: 15.98 kB / 471.6 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/0.859, allocations: 115.8 kB / 471.7 MB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002146/0.8592, allocations: 64.55 kB / 471.8 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-05/0.8594, allocations: 27.98 kB / 471.8 MB, free: 14.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008268/0.8602, allocations: 415 kB / 472.2 MB, free: 13.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8602, allocations: 4 kB / 472.2 MB, free: 13.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005897/0.8661, allocations: 1.429 MB / 473.6 MB, free: 12.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.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 (49): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 8,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01628/0.8825, allocations: 4.174 MB / 477.8 MB, free: 8.203 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009199/0.8917, allocations: 2.058 MB / 479.9 MB, free: 6.152 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.136e-06/0.8918, allocations: 0 / 479.9 MB, free: 6.152 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003844/0.8956, allocations: 1.054 MB / 480.9 MB, free: 5.094 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002781/0.8984, allocations: 289.7 kB / 481.2 MB, free: 4.809 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.9094, allocations: 4.11 MB / 485.3 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2786/1.188, allocations: 1.131 MB / 486.5 MB, free: 135.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000835/1.189, allocations: 405.7 kB / 486.8 MB, free: 135.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/1.189, allocations: 0 / 486.8 MB, free: 135.7 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_TestWaterPumpVariableSpeedCalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeedCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeedCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeedAlgLoopMain.cpp:15: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeedAlgloop272.cpp:121:39: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = ((__HOM_LAMBDA_ * (((_system->_Valve_P_relativeFlowCoefficient_ * tmp470) + (_system->_$DER_P_Valve_P_relativeFlowCoefficient_ * _system->_$cse11_)) * _system->_Valve_P_Av_)) + ((1.0 - __HOM_LAMBDA_) * (((_system->_Valve_P_relativeFlowCoefficient_ * _system->_$DER_P_Valve_P_dp_) + (_system->_$DER_P_Valve_P_relativeFlowCoefficient_ * _system->_Valve_P_dp_)) * division(_system->_Valve_P_m_flow_nominal_,_system->_Valve_P_dp_nominal_,!_system->_initial,"Valve.dp_nominal")))); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeedAlgloop272.cpp:121:222: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = ((__HOM_LAMBDA_ * (((_system->_Valve_P_relativeFlowCoefficient_ * tmp470) + (_system->_$DER_P_Valve_P_relativeFlowCoefficient_ * _system->_$cse11_)) * _system->_Valve_P_Av_)) + ((1.0 - __HOM_LAMBDA_) * (((_system->_Valve_P_relativeFlowCoefficient_ * _system->_$DER_P_Valve_P_dp_) + (_system->_$DER_P_Valve_P_relativeFlowCoefficient_ * _system->_Valve_P_dp_)) * division(_system->_Valve_P_m_flow_nominal_,_system->_Valve_P_dp_nominal_,!_system->_initial,"Valve.dp_nominal")))); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeedAlgloop272.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_TestWaterPumpVariableSpeedAlgloop272.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_TestWaterPumpVariableSpeedAlgloop272.cpp:151:176: error: use of undeclared identifier '__HOM_LAMBDA_' _res[0] = (((1.0 - __HOM_LAMBDA_) * (_system->_$DER_P_Valve_P_dp_ * 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_Valve_P_dp_ * _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_TestWaterPumpVariableSpeedAlgloop272.cpp:151:22: error: use of undeclared identifier '__HOM_LAMBDA_' _res[0] = (((1.0 - __HOM_LAMBDA_) * (_system->_$DER_P_Valve_P_dp_ * 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_Valve_P_dp_ * _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_TestWaterPumpVariableSpeedAlgloop272.cpp:152:574: 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_N_nominal_ * _system->_pump_P_V_flow_single_init_),!_system->_initial,"pump.N_nominal * pump.V_flow_single_init"))) + (_system->_$DER_P_pump_P_N_ * division((100.0 + (_system->_pump_P_delta_head_init_ * division(_system->_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")))) + ((2.0 * (__HOM_LAMBDA_ * (_system->_pump_P_N_ * (_system->_$DER_P_pump_P_N_ * (_system->_$cse10_ * std::pow(division(1.0,_system->_pump_P_N_nominal_,!_system->_initial,"pump.N_nominal"), 2.0)))))) - _system->_$DER_P_pump_P_head_)); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeedAlgloop272.cpp:152: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_N_nominal_ * _system->_pump_P_V_flow_single_init_),!_system->_initial,"pump.N_nominal * pump.V_flow_single_init"))) + (_system->_$DER_P_pump_P_N_ * division((100.0 + (_system->_pump_P_delta_head_init_ * division(_system->_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")))) + ((2.0 * (__HOM_LAMBDA_ * (_system->_pump_P_N_ * (_system->_$DER_P_pump_P_N_ * (_system->_$cse10_ * std::pow(division(1.0,_system->_pump_P_N_nominal_,!_system->_initial,"pump.N_nominal"), 2.0)))))) - _system->_$DER_P_pump_P_head_)); ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeedCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeedAlgLoopMain.cpp:21: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeedAlgloop97.cpp:128:39: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = ((__HOM_LAMBDA_ * (((_system->_Valve_P_relativeFlowCoefficient_ * tmp502) + (_system->_$DER_P_Valve_P_relativeFlowCoefficient_ * tmp503)) * _system->_Valve_P_Av_)) + ((1.0 - __HOM_LAMBDA_) * (((_system->_Valve_P_relativeFlowCoefficient_ * _system->_$DER_P_Valve_P_dp_) + (_system->_$DER_P_Valve_P_relativeFlowCoefficient_ * _system->_Valve_P_dp_)) * division(_system->_Valve_P_m_flow_nominal_,_system->_Valve_P_dp_nominal_,!_system->_initial,"Valve.dp_nominal")))); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeedAlgloop97.cpp:128:211: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = ((__HOM_LAMBDA_ * (((_system->_Valve_P_relativeFlowCoefficient_ * tmp502) + (_system->_$DER_P_Valve_P_relativeFlowCoefficient_ * tmp503)) * _system->_Valve_P_Av_)) + ((1.0 - __HOM_LAMBDA_) * (((_system->_Valve_P_relativeFlowCoefficient_ * _system->_$DER_P_Valve_P_dp_) + (_system->_$DER_P_Valve_P_relativeFlowCoefficient_ * _system->_Valve_P_dp_)) * division(_system->_Valve_P_m_flow_nominal_,_system->_Valve_P_dp_nominal_,!_system->_initial,"Valve.dp_nominal")))); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeedAlgloop97.cpp:150: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_TestWaterPumpVariableSpeedAlgloop97.cpp:150: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_TestWaterPumpVariableSpeedAlgloop97.cpp:157:44: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_head_ = ((2.0 * (__HOM_LAMBDA_ * (_system->_pump_P_N_ * division((_system->_$DER_P_pump_P_N_ * division(tmp510,_system->_pump_P_N_nominal_,!_system->_initial,"pump.N_nominal")),_system->_pump_P_N_nominal_,!_system->_initial,"pump.N_nominal")))) + ((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")) + (_system->_$DER_P_pump_P_N_ * division((100.0 + (_system->_pump_P_delta_head_init_ * division(_system->_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_TestWaterPumpVariableSpeedAlgloop97.cpp:157:282: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_head_ = ((2.0 * (__HOM_LAMBDA_ * (_system->_pump_P_N_ * division((_system->_$DER_P_pump_P_N_ * division(tmp510,_system->_pump_P_N_nominal_,!_system->_initial,"pump.N_nominal")),_system->_pump_P_N_nominal_,!_system->_initial,"pump.N_nominal")))) + ((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")) + (_system->_$DER_P_pump_P_N_ * division((100.0 + (_system->_pump_P_delta_head_init_ * division(_system->_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_TestWaterPumpVariableSpeedAlgloop97.cpp:161: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_TestWaterPumpVariableSpeedAlgloop97.cpp:161: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_TestWaterPumpVariableSpeedCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeedFunctions.cpp:6557: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_TestWaterPumpVariableSpeedCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeedFMU.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 17 errors generated. : recipe for target 'OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeedCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeedCalcHelperMain.o] Error 1