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.TestWaterPumpDefault.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.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.024/2.024, allocations: 209.2 MB / 224.8 MB, free: 0.5352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004447, allocations: 12 kB / 282.6 MB, free: 9.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3748, allocations: 48.71 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault): time 0.05813/0.4329, allocations: 34.95 MB / 366.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03587/0.4689, allocations: 17.2 MB / 383.4 MB, free: 10.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.4701, allocations: 27.75 kB / 383.5 MB, free: 10.22 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001999/0.4722, allocations: 434 kB / 383.9 MB, free: 9.793 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01864/0.4908, allocations: 4.036 MB / 387.9 MB, free: 5.746 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0128/0.5037, allocations: 2.891 MB / 390.8 MB, free: 2.844 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00293/0.5066, allocations: 1.091 MB / 391.9 MB, free: 1.75 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009815/0.5076, allocations: 365.4 kB / 392.3 MB, free: 1.375 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002343/0.51, allocations: 0.6345 MB / 392.9 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02344/0.5335, allocations: 6.183 MB / 399.1 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002955/0.5338, allocations: 32 kB / 399.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03096/0.5648, allocations: 7.429 MB / 406.5 MB, free: 3.082 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005182/0.5654, allocations: 143.4 kB / 406.7 MB, free: 2.941 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005377/0.566, allocations: 173.3 kB / 406.9 MB, free: 2.766 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01362/0.5796, allocations: 3.496 MB / 410.3 MB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.5797, allocations: 0 / 410.3 MB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.5797, allocations: 4 kB / 410.4 MB, free: 15.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.5797, allocations: 0 / 410.4 MB, free: 15.26 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.007698/0.5875, allocations: 1.5 MB / 411.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.761e-05/0.5876, allocations: 16.03 kB / 411.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003433/0.5879, allocations: 102.5 kB / 412 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00471/0.5926, allocations: 286.8 kB / 412.2 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002023/0.5947, allocations: 0.5354 MB / 412.8 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.5949, allocations: 53.27 kB / 412.8 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.595, allocations: 56 kB / 412.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004117/0.5992, allocations: 0.9867 MB / 413.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/0.5993, allocations: 0 / 413.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.5994, allocations: 24 kB / 413.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.934e-05/0.5995, allocations: 25 kB / 413.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004434/0.6039, allocations: 0.9092 MB / 414.8 MB, free: 10.61 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.009144/0.6131, allocations: 4.823 MB / 419.7 MB, free: 5.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003732/0.6169, allocations: 0.698 MB / 420.4 MB, free: 4.633 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07237/0.6893, allocations: 21.58 MB / 441.9 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.825e-05/0.6894, allocations: 38.56 kB / 442 MB, free: 12.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 3.666e-06/0.6894, allocations: 0 / 442 MB, free: 12.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.04919/0.7386, allocations: 4.268 MB / 446.2 MB, free: 7.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.847e-05/0.7387, allocations: 107.4 kB / 446.3 MB, free: 7.852 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009864/0.7397, allocations: 494.8 kB / 446.8 MB, free: 7.359 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.7399, allocations: 37.7 kB / 446.9 MB, free: 7.316 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003516/0.7403, allocations: 386.2 kB / 447.2 MB, free: 6.934 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003228/0.7406, allocations: 209 kB / 447.4 MB, free: 6.727 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.136e-05/0.7407, allocations: 12 kB / 447.5 MB, free: 6.715 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.7409, allocations: 338.8 kB / 447.8 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001849/0.7428, allocations: 401.8 kB / 448.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002157/0.745, allocations: 0.5976 MB / 448.8 MB, free: 5.289 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002125/0.7472, allocations: 457.9 kB / 449.2 MB, free: 4.844 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/0.7473, allocations: 4 kB / 449.2 MB, free: 4.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.005755/0.753, allocations: 1.257 MB / 450.5 MB, free: 3.566 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002879/0.7534, allocations: 282.9 kB / 450.8 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.7534, allocations: 4 kB / 450.8 MB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00925/0.7627, allocations: 1.028 MB / 451.8 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.7639, allocations: 159.8 kB / 452 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004388/0.7683, allocations: 1.729 MB / 453.7 MB, free: 232 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.7699, allocations: 107.8 kB / 453.8 MB, free: 124 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.7701, allocations: 43.97 kB / 453.8 MB, free: 80 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.7702, allocations: 7.125 kB / 453.8 MB, free: 76 kB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005329/0.7755, allocations: 1.225 MB / 455.1 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/0.7756, allocations: 11.98 kB / 455.1 MB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004615/0.7802, allocations: 0.6266 MB / 455.7 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.7814, allocations: 167.8 kB / 455.9 MB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003649/0.785, allocations: 1.659 MB / 457.5 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.7863, allocations: 103.9 kB / 457.6 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.7864, allocations: 35.98 kB / 457.7 MB, free: 12.18 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0006491/0.7871, allocations: 300.9 kB / 458 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.7873, allocations: 63.25 kB / 458 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009535/0.7968, allocations: 3.852 MB / 461.9 MB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.957e-05/0.797, allocations: 47.94 kB / 461.9 MB, free: 7.859 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.797, allocations: 7.891 kB / 461.9 MB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.797, allocations: 3.984 kB / 461.9 MB, free: 7.848 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/0.8087, allocations: 5.161 MB / 467.1 MB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.8088, allocations: 0 / 467.1 MB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007545/0.8095, allocations: 107.9 kB / 467.2 MB, free: 2.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008501/0.818, allocations: 1.68 MB / 468.9 MB, free: 0.7852 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/0.8182, allocations: 19.98 kB / 468.9 MB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005249/0.8235, allocations: 2.417 MB / 471.3 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.8235, allocations: 0 / 471.3 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006947/0.8305, allocations: 2.625 MB / 473.9 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008334/0.8314, allocations: 346.7 kB / 474.3 MB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/0.8316, allocations: 16 kB / 474.3 MB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.8329, allocations: 103.8 kB / 474.4 MB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002398/0.8332, allocations: 56.5 kB / 474.4 MB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.8333, allocations: 35.94 kB / 474.5 MB, free: 11.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009032/0.8342, allocations: 431 kB / 474.9 MB, free: 10.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.8342, allocations: 4 kB / 474.9 MB, free: 10.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005673/0.8399, allocations: 1.421 MB / 476.3 MB, free: 9.191 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,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01538/0.8553, allocations: 4.289 MB / 480.6 MB, free: 4.828 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007948/0.8633, allocations: 2.042 MB / 482.7 MB, free: 2.777 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.8634, allocations: 0.5625 kB / 482.7 MB, free: 2.777 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00328/0.8667, allocations: 1.129 MB / 483.8 MB, free: 1.645 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002735/0.8695, allocations: 297.7 kB / 484.1 MB, free: 1.355 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2838/1.153, allocations: 4.384 MB / 488.5 MB, free: 135.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009316/1.154, allocations: 1.173 MB / 489.6 MB, free: 134.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008284/1.155, allocations: 428.9 kB / 490.1 MB, free: 134.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.603e-06/1.155, allocations: 1.156 kB / 490.1 MB, free: 134.8 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_TestWaterPumpDefaultCalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgLoopMain.cpp:15: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgloop254.cpp:126:85: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = (_system->_Valve_P_relativeFlowCoefficient_ * ((__HOM_LAMBDA_ * (_system->_Valve_P_Av_ * tmp470)) + ((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_TestWaterPumpDefaultAlgloop254.cpp:126:145: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = (_system->_Valve_P_relativeFlowCoefficient_ * ((__HOM_LAMBDA_ * (_system->_Valve_P_Av_ * tmp470)) + ((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_TestWaterPumpDefaultAlgloop254.cpp:148:39: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_V_flow_ = ((__HOM_LAMBDA_ * division(((_system->_$DER_P_pump_P_m_flow_ * _system->_pump_P_rho_) - (_system->_pump_P_m_flow_ * _system->_$DER_P_pump_P_rho_)),std::pow(_system->_pump_P_rho_, 2.0),!_system->_initial,"pump.rho ^ 2.0")) + ((1.0 - __HOM_LAMBDA_) * division(_system->_$DER_P_pump_P_m_flow_,_system->_pump_P_rho_nominal_,!_system->_initial,"pump.rho_nominal"))); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgloop254.cpp:148:269: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_V_flow_ = ((__HOM_LAMBDA_ * division(((_system->_$DER_P_pump_P_m_flow_ * _system->_pump_P_rho_) - (_system->_pump_P_m_flow_ * _system->_$DER_P_pump_P_rho_)),std::pow(_system->_pump_P_rho_, 2.0),!_system->_initial,"pump.rho ^ 2.0")) + ((1.0 - __HOM_LAMBDA_) * division(_system->_$DER_P_pump_P_m_flow_,_system->_pump_P_rho_nominal_,!_system->_initial,"pump.rho_nominal"))); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgloop254.cpp:152:180: error: use of undeclared identifier '__HOM_LAMBDA_' _res[0] = (((1.0 - __HOM_LAMBDA_) * (_system->_$DER_P_pump_P_dp_pump_ * division(_system->_pump_P_V_flow_single_init_,_system->_pump_P_eta_,!_system->_initial,"pump.eta"))) + ((__HOM_LAMBDA_ * division(((_system->_pump_P_dp_pump_ * _system->_$DER_P_pump_P_V_flow_single_) + (_system->_$DER_P_pump_P_dp_pump_ * _system->_pump_P_V_flow_single_)),_system->_pump_P_eta_,!_system->_initial,"pump.eta")) - _system->_$DER_P_pump_P_W_single_)); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgloop254.cpp:152:22: error: use of undeclared identifier '__HOM_LAMBDA_' _res[0] = (((1.0 - __HOM_LAMBDA_) * (_system->_$DER_P_pump_P_dp_pump_ * division(_system->_pump_P_V_flow_single_init_,_system->_pump_P_eta_,!_system->_initial,"pump.eta"))) + ((__HOM_LAMBDA_ * division(((_system->_pump_P_dp_pump_ * _system->_$DER_P_pump_P_V_flow_single_) + (_system->_$DER_P_pump_P_dp_pump_ * _system->_pump_P_V_flow_single_)),_system->_pump_P_eta_,!_system->_initial,"pump.eta")) - _system->_$DER_P_pump_P_W_single_)); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgloop254.cpp:153:22: error: use of undeclared identifier '__HOM_LAMBDA_' _res[1] = (((1.0 - __HOM_LAMBDA_) * (_system->_pump_P_N_ * (_system->_pump_P_delta_head_init_ * division(_system->_$DER_P_pump_P_V_flow_single_,(_system->_pump_P_V_flow_single_init_ * _system->_pump_P_N_nominal_),!_system->_initial,"pump.V_flow_single_init * pump.N_nominal")))) - _system->_$DER_P_pump_P_head_); ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgLoopMain.cpp:21: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgloop83.cpp:125:85: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = (_system->_Valve_P_relativeFlowCoefficient_ * ((__HOM_LAMBDA_ * (_system->_Valve_P_Av_ * tmp500)) + ((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_TestWaterPumpDefaultAlgloop83.cpp:125:145: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = (_system->_Valve_P_relativeFlowCoefficient_ * ((__HOM_LAMBDA_ * (_system->_Valve_P_Av_ * tmp500)) + ((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_TestWaterPumpDefaultAlgloop83.cpp:147:39: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_V_flow_ = ((__HOM_LAMBDA_ * division(((_system->_$DER_P_pump_P_m_flow_ * _system->_pump_P_rho_) - (_system->_pump_P_m_flow_ * _system->_$DER_P_pump_P_rho_)),std::pow(_system->_pump_P_rho_, 2.0),!_system->_initial,"pump.rho ^ 2.0")) + ((1.0 - __HOM_LAMBDA_) * division(_system->_$DER_P_pump_P_m_flow_,_system->_pump_P_rho_nominal_,!_system->_initial,"pump.rho_nominal"))); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgloop83.cpp:147:269: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_V_flow_ = ((__HOM_LAMBDA_ * division(((_system->_$DER_P_pump_P_m_flow_ * _system->_pump_P_rho_) - (_system->_pump_P_m_flow_ * _system->_$DER_P_pump_P_rho_)),std::pow(_system->_pump_P_rho_, 2.0),!_system->_initial,"pump.rho ^ 2.0")) + ((1.0 - __HOM_LAMBDA_) * division(_system->_$DER_P_pump_P_m_flow_,_system->_pump_P_rho_nominal_,!_system->_initial,"pump.rho_nominal"))); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgloop83.cpp:150:43: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_head_ = ((1.0 - __HOM_LAMBDA_) * (_system->_pump_P_N_ * division((_system->_pump_P_delta_head_init_ * division(_system->_$DER_P_pump_P_V_flow_single_,_system->_pump_P_V_flow_single_init_,!_system->_initial,"pump.V_flow_single_init")),_system->_pump_P_N_nominal_,!_system->_initial,"pump.N_nominal"))); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgloop83.cpp:154:290: error: use of undeclared identifier '__HOM_LAMBDA_' _res[1] = (((1.0 - __HOM_LAMBDA_) * (((_system->_$DER_P_pump_P_dp_pump_ * _system->_pump_P_eta_) - (_system->_pump_P_dp_pump_ * _system->_$DER_P_pump_P_eta_)) * division(_system->_pump_P_V_flow_single_init_,std::pow(_system->_pump_P_eta_, 2.0),!_system->_initial,"pump.eta ^ 2.0"))) + ((__HOM_LAMBDA_ * division(((((_system->_pump_P_dp_pump_ * _system->_$DER_P_pump_P_V_flow_single_) + (_system->_$DER_P_pump_P_dp_pump_ * _system->_pump_P_V_flow_single_)) * _system->_pump_P_eta_) - (_system->_pump_P_dp_pump_ * (_system->_pump_P_V_flow_single_ * _system->_$DER_P_pump_P_eta_))),std::pow(_system->_pump_P_eta_, 2.0),!_system->_initial,"pump.eta ^ 2.0")) - _system->_$DER_P_pump_P_W_single_)); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultAlgloop83.cpp:154:22: error: use of undeclared identifier '__HOM_LAMBDA_' _res[1] = (((1.0 - __HOM_LAMBDA_) * (((_system->_$DER_P_pump_P_dp_pump_ * _system->_pump_P_eta_) - (_system->_pump_P_dp_pump_ * _system->_$DER_P_pump_P_eta_)) * division(_system->_pump_P_V_flow_single_init_,std::pow(_system->_pump_P_eta_, 2.0),!_system->_initial,"pump.eta ^ 2.0"))) + ((__HOM_LAMBDA_ * division(((((_system->_pump_P_dp_pump_ * _system->_$DER_P_pump_P_V_flow_single_) + (_system->_$DER_P_pump_P_dp_pump_ * _system->_pump_P_V_flow_single_)) * _system->_pump_P_eta_) - (_system->_pump_P_dp_pump_ * (_system->_pump_P_V_flow_single_ * _system->_$DER_P_pump_P_eta_))),std::pow(_system->_pump_P_eta_, 2.0),!_system->_initial,"pump.eta ^ 2.0")) - _system->_$DER_P_pump_P_W_single_)); ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultFunctions.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_TestWaterPumpDefaultCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultFMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 15 errors generated. : recipe for target 'OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCalcHelperMain.o] Error 1