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.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.195/2.195, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000434/0.0004341, allocations: 16 kB / 314.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3451, allocations: 54.87 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV): time 0.05575/0.4009, allocations: 35.29 MB / 404.6 MB, free: 7.336 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03414/0.4351, allocations: 17.38 MB / 422 MB, free: 5.918 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.4361, allocations: 27.75 kB / 422 MB, free: 5.891 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001743/0.4379, allocations: 426 kB / 422.4 MB, free: 5.473 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0165/0.4544, allocations: 4.094 MB / 426.5 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01203/0.4665, allocations: 2.936 MB / 429.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002692/0.4692, allocations: 1.13 MB / 430.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008242/0.47, allocations: 393.4 kB / 430.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.4718, allocations: 0.6423 MB / 431.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01643/0.4883, allocations: 6.288 MB / 437.9 MB, free: 5.957 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002421/0.4886, allocations: 32 kB / 437.9 MB, free: 5.926 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02142/0.51, allocations: 7.554 MB / 445.5 MB, free: 14.36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003747/0.5104, allocations: 155.4 kB / 445.6 MB, free: 14.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000349/0.5108, allocations: 173.3 kB / 445.8 MB, free: 14.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009715/0.5205, allocations: 3.582 MB / 449.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.5206, allocations: 0 / 449.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5206, allocations: 0 / 449.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.5206, allocations: 0 / 449.4 MB, free: 10.45 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.005639/0.5263, allocations: 1.571 MB / 450.9 MB, free: 8.824 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.5263, allocations: 8.031 kB / 450.9 MB, free: 8.816 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001816/0.5265, allocations: 98.52 kB / 451 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002994/0.5295, allocations: 326.6 kB / 451.4 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.5307, allocations: 0.5239 MB / 451.9 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.522e-05/0.5308, allocations: 57.3 kB / 451.9 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.531, allocations: 52 kB / 452 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003718/0.5347, allocations: 1.011 MB / 453 MB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.5347, allocations: 4 kB / 453 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.5349, allocations: 28 kB / 453 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.817e-05/0.5349, allocations: 25.3 kB / 453.1 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004061/0.539, allocations: 0.9377 MB / 454 MB, free: 5.652 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.008346/0.5474, allocations: 4.867 MB / 458.9 MB, free: 368 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004449/0.5518, allocations: 0.8401 MB / 459.7 MB, free: 15.51 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3856/0.9375, allocations: 21.64 MB / 481.3 MB, free: 89.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.9376, allocations: 38.84 kB / 481.4 MB, free: 89.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=47): time 4.248e-06/0.9376, allocations: 0.6094 kB / 481.4 MB, free: 89.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=68): time 0.05031/0.9879, allocations: 4.592 MB / 486 MB, free: 88.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.988, allocations: 111.3 kB / 486.1 MB, free: 88.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008366/0.9889, allocations: 0.4995 MB / 486.6 MB, free: 88.55 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.989, allocations: 37.36 kB / 486.6 MB, free: 88.51 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.9892, allocations: 391.5 kB / 487 MB, free: 88.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/0.9895, allocations: 237.4 kB / 487.2 MB, free: 87.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.033e-05/0.9896, allocations: 15.75 kB / 487.2 MB, free: 87.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.368e-05/0.9897, allocations: 350.7 kB / 487.6 MB, free: 87.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/0.9916, allocations: 484.3 kB / 488.1 MB, free: 87.37 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002022/0.9936, allocations: 0.6985 MB / 488.8 MB, free: 86.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002055/0.9957, allocations: 0.5202 MB / 489.3 MB, free: 86.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.9957, allocations: 3.906 kB / 489.3 MB, free: 86.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.005845/1.002, allocations: 1.527 MB / 490.8 MB, free: 85.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001846/1.002, allocations: 282.5 kB / 491.1 MB, free: 85.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/1.002, allocations: 7.75 kB / 491.1 MB, free: 85.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01577/1.018, allocations: 1.63 MB / 492.7 MB, free: 84.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/1.019, allocations: 174.8 kB / 492.9 MB, free: 84.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004858/1.024, allocations: 1.973 MB / 494.9 MB, free: 82.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/1.026, allocations: 116 kB / 495 MB, free: 82.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/1.026, allocations: 51.97 kB / 495 MB, free: 82.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/1.026, allocations: 6.031 kB / 495 MB, free: 82.59 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005762/1.031, allocations: 1.474 MB / 496.5 MB, free: 81.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/1.032, allocations: 11.39 kB / 496.5 MB, free: 81.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007756/1.039, allocations: 0.9322 MB / 497.5 MB, free: 80.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/1.041, allocations: 183.8 kB / 497.6 MB, free: 79.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004051/1.045, allocations: 1.843 MB / 499.5 MB, free: 78.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/1.046, allocations: 119.8 kB / 499.6 MB, free: 77.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/1.046, allocations: 47.97 kB / 499.6 MB, free: 77.93 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.000595/1.047, allocations: 297.9 kB / 499.9 MB, free: 77.63 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/1.047, allocations: 67.25 kB / 500 MB, free: 77.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009177/1.056, allocations: 4.096 MB / 0.4923 GB, free: 73.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.521e-05/1.056, allocations: 43.92 kB / 0.4923 GB, free: 73.37 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/1.056, allocations: 4 kB / 0.4923 GB, free: 73.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.925e-05/1.056, allocations: 3.984 kB / 0.4923 GB, free: 73.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/1.068, allocations: 5.544 MB / 0.4977 GB, free: 67.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/1.068, allocations: 0 / 0.4977 GB, free: 67.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006861/1.069, allocations: 107.9 kB / 0.4978 GB, free: 67.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01444/1.083, allocations: 2.279 MB / 0.5001 GB, free: 65.35 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/1.084, allocations: 23.98 kB / 0.5001 GB, free: 65.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004995/1.089, allocations: 2.658 MB / 0.5027 GB, free: 62.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.089, allocations: 0 / 0.5027 GB, free: 62.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006951/1.096, allocations: 2.924 MB / 0.5055 GB, free: 59.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005766/1.096, allocations: 350.7 kB / 0.5059 GB, free: 59.28 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002118/1.096, allocations: 16 kB / 0.5059 GB, free: 59.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/1.098, allocations: 115.8 kB / 0.506 GB, free: 59.15 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/1.098, allocations: 68.84 kB / 0.5061 GB, free: 59.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.725e-05/1.098, allocations: 31.97 kB / 0.5061 GB, free: 59.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006916/1.099, allocations: 445 kB / 0.5065 GB, free: 58.62 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.099, allocations: 0 / 0.5065 GB, free: 58.62 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004778/1.104, allocations: 1.456 MB / 0.5079 GB, free: 57.27 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,$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.01424/1.118, allocations: 4.627 MB / 0.5125 GB, free: 52.81 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008235/1.126, allocations: 2.353 MB / 0.5148 GB, free: 50.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.126, allocations: 0 / 0.5148 GB, free: 50.45 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003025/1.129, allocations: 1.213 MB / 0.5159 GB, free: 49.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002597/1.132, allocations: 308.7 kB / 0.5162 GB, free: 48.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009015/1.141, allocations: 4.503 MB / 0.5206 GB, free: 44.35 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006528/1.142, allocations: 1.19 MB / 0.5218 GB, free: 43.13 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006802/1.142, allocations: 447.3 kB / 0.5222 GB, free: 42.69 MB / 394.7 MB Notification: Performance of SimCode: time 1.292e-06/1.142, allocations: 4 kB / 0.5222 GB, free: 42.69 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_TestWaterPumpDefaultCVCalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCVCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCVCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCVAlgLoopMain.cpp:15: ./OMCppModelicaTest_3_2_2_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_ * tmp475) + (_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_2_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_ * tmp475) + (_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_2_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_2_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_2_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_2_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_2_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_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCVCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCVAlgLoopMain.cpp:21: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCVAlgloop95.cpp:151:49: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = (tmp502 * ((__HOM_LAMBDA_ * (_system->_Valve_P_Av_ * ((_system->_Valve_P_Y_ * tmp511) + (_system->_$DER_P_Valve_P_Y_ * tmp512)))) + ((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_TestWaterPumpDefaultCVAlgloop95.cpp:151:177: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = (tmp502 * ((__HOM_LAMBDA_ * (_system->_Valve_P_Av_ * ((_system->_Valve_P_Y_ * tmp511) + (_system->_$DER_P_Valve_P_Y_ * tmp512)))) + ((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_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_2_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_2_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_2_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_2_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_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCVCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCVFunctions.cpp:6606:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp324, tmp325); ^~~~~~~~~~~~~~~~~~~~~~~~ /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_TestWaterPumpDefaultCVCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_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_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCVCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCVCalcHelperMain.o] Error 1