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.TestWaterPumpRecirculation.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.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.062/2.062, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004627/0.0004629, allocations: 12 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4506/0.4511, allocations: 48.7 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation): time 0.03497/0.4861, allocations: 18.05 MB / 349.3 MB, free: 9.281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02376/0.51, allocations: 7.453 MB / 356.8 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/0.5118, allocations: 37.38 kB / 356.8 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002777/0.5146, allocations: 380.7 kB / 357.2 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01155/0.5263, allocations: 0.9697 MB / 358.2 MB, free: 2.453 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01662/0.543, allocations: 1.887 MB / 360.1 MB, free: 1.168 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004164/0.5472, allocations: 1.116 MB / 361.2 MB, free: 464 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002006/0.5492, allocations: 0.5193 MB / 361.7 MB, free: 40 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002827/0.5521, allocations: 0.6036 MB / 362.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003778/0.556, allocations: 0.9469 MB / 363.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004375/0.5564, allocations: 40 kB / 363.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00324/0.5597, allocations: 0.5733 MB / 363.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000628/0.5604, allocations: 179.4 kB / 364 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005658/0.561, allocations: 173.3 kB / 364.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003614/0.5646, allocations: 0.9909 MB / 365.2 MB, free: 12.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5647, allocations: 0 / 365.2 MB, free: 12.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.5647, allocations: 4 kB / 365.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.233e-05/0.5647, allocations: 0 / 365.2 MB, free: 12.52 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.005368/0.5701, allocations: 1.071 MB / 366.3 MB, free: 11.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/0.5702, allocations: 11.97 kB / 366.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003737/0.5706, allocations: 102.5 kB / 366.4 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008236/0.5714, allocations: 98.95 kB / 366.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002127/0.5736, allocations: 0.557 MB / 367 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-05/0.5737, allocations: 37.31 kB / 367.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/0.574, allocations: 52 kB / 367.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003741/0.5778, allocations: 0.8156 MB / 367.9 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.985e-05/0.5779, allocations: 0 / 367.9 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001821/0.5781, allocations: 24 kB / 368 MB, free: 9.613 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.356e-05/0.5782, allocations: 25 kB / 368 MB, free: 9.586 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004328/0.5825, allocations: 0.7883 MB / 368.8 MB, free: 8.801 MB / 298.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.01244/0.595, allocations: 3.657 MB / 372.4 MB, free: 4.902 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002774/0.5978, allocations: 476 kB / 372.9 MB, free: 4.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008127/0.5987, allocations: 0.5665 MB / 373.5 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.678e-05/0.5988, allocations: 38.94 kB / 373.5 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001661/0.6004, allocations: 119.4 kB / 373.6 MB, free: 3.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=45): time 6.663e-06/0.6005, allocations: 8 kB / 373.6 MB, free: 3.562 MB / 298.7 MB Notification: Performance of matching and sorting (n=69): time 0.1281/0.7286, allocations: 8.084 MB / 381.7 MB, free: 11.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.7288, allocations: 111.4 kB / 381.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.7302, allocations: 0.5587 MB / 382.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003113/0.7305, allocations: 37.7 kB / 382.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004872/0.7311, allocations: 406.2 kB / 382.8 MB, free: 10.17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004971/0.7316, allocations: 240.4 kB / 383 MB, free: 9.934 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.7318, allocations: 23.94 kB / 383.1 MB, free: 9.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002399/0.732, allocations: 338.8 kB / 383.4 MB, free: 9.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003868/0.7359, allocations: 0.5094 MB / 383.9 MB, free: 9.062 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004166/0.7401, allocations: 0.7706 MB / 384.7 MB, free: 8.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003962/0.7442, allocations: 0.5809 MB / 385.3 MB, free: 7.598 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.187e-05/0.7443, allocations: 0 / 385.3 MB, free: 7.598 MB / 314.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.009897/0.7542, allocations: 1.564 MB / 386.8 MB, free: 6.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003653/0.7546, allocations: 308.6 kB / 387.1 MB, free: 5.613 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.7546, allocations: 8 kB / 387.1 MB, free: 5.605 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02998/0.7846, allocations: 1.573 MB / 388.7 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003477/0.7882, allocations: 279.6 kB / 389 MB, free: 3.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00511/0.7934, allocations: 1.627 MB / 390.6 MB, free: 2.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003821/0.7972, allocations: 131.9 kB / 390.7 MB, free: 1.941 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004408/0.7977, allocations: 67.92 kB / 390.8 MB, free: 1.875 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.7978, allocations: 4 kB / 390.8 MB, free: 1.871 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01049/0.8083, allocations: 1.493 MB / 392.3 MB, free: 380 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/0.8084, allocations: 8 kB / 392.3 MB, free: 372 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00494/0.8133, allocations: 437.3 kB / 392.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003847/0.8173, allocations: 299.5 kB / 393 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007263/0.8246, allocations: 2.707 MB / 395.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003337/0.828, allocations: 135.9 kB / 395.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004375/0.8285, allocations: 63.92 kB / 395.9 MB, free: 12.56 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 77 * 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 {1 10,3 14} Notification: Performance of prepare postOptimizeDAE: time 0.001029/0.8295, allocations: 304.8 kB / 396.2 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004457/0.83, allocations: 83.06 kB / 396.3 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01249/0.8425, allocations: 1.846 MB / 398.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-05/0.8426, allocations: 15.94 kB / 398.2 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.8426, allocations: 4 kB / 398.2 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.852e-05/0.8427, allocations: 7.922 kB / 398.2 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01879/0.8615, allocations: 2.918 MB / 401.1 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.329e-05/0.8616, allocations: 0 / 401.1 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002629/0.8642, allocations: 203.7 kB / 401.3 MB, free: 7.086 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0181/0.8824, allocations: 1.294 MB / 402.6 MB, free: 5.785 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002859/0.8827, allocations: 27.97 kB / 402.6 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004261/0.887, allocations: 1.577 MB / 404.2 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.887, allocations: 0 / 404.2 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01524/0.9023, allocations: 2.24 MB / 406.4 MB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/0.9035, allocations: 275.8 kB / 406.7 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003802/0.9039, allocations: 19.94 kB / 406.7 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00344/0.9074, allocations: 127.9 kB / 406.8 MB, free: 1.434 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003733/0.9078, allocations: 60.91 kB / 406.9 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002468/0.9081, allocations: 39.97 kB / 406.9 MB, free: 1.336 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001146/0.9092, allocations: 383.1 kB / 407.3 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.01e-07/0.9093, allocations: 4 kB / 407.3 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004492/0.9138, allocations: 0.5624 MB / 407.9 MB, free: 408 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {1 6,3 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.019/0.9328, allocations: 3.061 MB / 410.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0157/0.9486, allocations: 2.187 MB / 413.1 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/0.9487, allocations: 0 / 413.1 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00486/0.9535, allocations: 0.692 MB / 413.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004116/0.9577, allocations: 298.6 kB / 414.1 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.9687, allocations: 2.756 MB / 416.9 MB, free: 7.219 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.9699, allocations: 1.004 MB / 417.9 MB, free: 6.184 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/0.9714, allocations: 323.2 kB / 418.2 MB, free: 5.867 MB / 346.7 MB Notification: Performance of SimCode: time 1.463e-06/0.9714, allocations: 0 / 418.2 MB, free: 5.867 MB / 346.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_TestWaterPumpRecirculationCalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculationCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculationCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculationAlgLoopMain.cpp:15: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculationAlgloop310.cpp:97:37: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_V2_P_m_flow_ = ((__HOM_LAMBDA_ * (((_system->_V2_P_relativeFlowCoefficient_ * tmp345) + (_system->_$DER_P_V2_P_relativeFlowCoefficient_ * _system->_$cse10_)) * _system->_V2_P_Av_)) + ((1.0 - __HOM_LAMBDA_) * (((_system->_V2_P_relativeFlowCoefficient_ * _system->_$DER_P_V2_P_dp_) + (_system->_$DER_P_V2_P_relativeFlowCoefficient_ * _system->_V2_P_dp_)) * division(_system->_V2_P_m_flow_nominal_,_system->_V2_P_dp_nominal_,!_system->_initial,"V2.dp_nominal")))); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculationAlgloop310.cpp:97:211: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_V2_P_m_flow_ = ((__HOM_LAMBDA_ * (((_system->_V2_P_relativeFlowCoefficient_ * tmp345) + (_system->_$DER_P_V2_P_relativeFlowCoefficient_ * _system->_$cse10_)) * _system->_V2_P_Av_)) + ((1.0 - __HOM_LAMBDA_) * (((_system->_V2_P_relativeFlowCoefficient_ * _system->_$DER_P_V2_P_dp_) + (_system->_$DER_P_V2_P_relativeFlowCoefficient_ * _system->_V2_P_dp_)) * division(_system->_V2_P_m_flow_nominal_,_system->_V2_P_dp_nominal_,!_system->_initial,"V2.dp_nominal")))); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculationAlgloop310.cpp:116:37: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_V1_P_m_flow_ = ((__HOM_LAMBDA_ * (((_system->_V1_P_relativeFlowCoefficient_ * tmp350) + (_system->_$DER_P_V1_P_relativeFlowCoefficient_ * _system->_$cse4_)) * _system->_V1_P_Av_)) + ((1.0 - __HOM_LAMBDA_) * (((_system->_V1_P_relativeFlowCoefficient_ * _system->_$DER_P_V2_P_dp_) + (_system->_$DER_P_V1_P_relativeFlowCoefficient_ * _system->_V1_P_dp_)) * division(_system->_V1_P_m_flow_nominal_,_system->_V1_P_dp_nominal_,!_system->_initial,"V1.dp_nominal")))); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculationAlgloop310.cpp:116:210: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_V1_P_m_flow_ = ((__HOM_LAMBDA_ * (((_system->_V1_P_relativeFlowCoefficient_ * tmp350) + (_system->_$DER_P_V1_P_relativeFlowCoefficient_ * _system->_$cse4_)) * _system->_V1_P_Av_)) + ((1.0 - __HOM_LAMBDA_) * (((_system->_V1_P_relativeFlowCoefficient_ * _system->_$DER_P_V2_P_dp_) + (_system->_$DER_P_V1_P_relativeFlowCoefficient_ * _system->_V1_P_dp_)) * division(_system->_V1_P_m_flow_nominal_,_system->_V1_P_dp_nominal_,!_system->_initial,"V1.dp_nominal")))); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculationAlgloop310.cpp:118:63: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_V_flow_ = ((0.001004433569776996 * (__HOM_LAMBDA_ * _system->_$DER_P_pump_P_m_flow_)) + ((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_TestWaterPumpRecirculationAlgloop310.cpp:118:123: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_V_flow_ = ((0.001004433569776996 * (__HOM_LAMBDA_ * _system->_$DER_P_pump_P_m_flow_)) + ((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_TestWaterPumpRecirculationAlgloop310.cpp:120: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(_system->_$cse3_,_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_TestWaterPumpRecirculationAlgloop310.cpp:120:292: 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(_system->_$cse3_,_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"))))); ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculationCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculationAlgLoopMain.cpp:21: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculationAlgloop87.cpp:114:37: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_V2_P_m_flow_ = ((__HOM_LAMBDA_ * (((_system->_V2_P_relativeFlowCoefficient_ * tmp370) + (_system->_$DER_P_V2_P_relativeFlowCoefficient_ * tmp375)) * _system->_V2_P_Av_)) + ((1.0 - __HOM_LAMBDA_) * (((_system->_V2_P_relativeFlowCoefficient_ * _system->_$DER_P_V2_P_dp_) + (_system->_$DER_P_V2_P_relativeFlowCoefficient_ * _system->_V2_P_dp_)) * division(_system->_V2_P_m_flow_nominal_,_system->_V2_P_dp_nominal_,!_system->_initial,"V2.dp_nominal")))); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculationAlgloop87.cpp:114:200: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_V2_P_m_flow_ = ((__HOM_LAMBDA_ * (((_system->_V2_P_relativeFlowCoefficient_ * tmp370) + (_system->_$DER_P_V2_P_relativeFlowCoefficient_ * tmp375)) * _system->_V2_P_Av_)) + ((1.0 - __HOM_LAMBDA_) * (((_system->_V2_P_relativeFlowCoefficient_ * _system->_$DER_P_V2_P_dp_) + (_system->_$DER_P_V2_P_relativeFlowCoefficient_ * _system->_V2_P_dp_)) * division(_system->_V2_P_m_flow_nominal_,_system->_V2_P_dp_nominal_,!_system->_initial,"V2.dp_nominal")))); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculationAlgloop87.cpp:139:37: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_V1_P_m_flow_ = ((__HOM_LAMBDA_ * (((_system->_V1_P_relativeFlowCoefficient_ * tmp380) + (_system->_$DER_P_V1_P_relativeFlowCoefficient_ * tmp385)) * _system->_V1_P_Av_)) + ((1.0 - __HOM_LAMBDA_) * (((_system->_V1_P_relativeFlowCoefficient_ * _system->_$DER_P_V1_P_dp_) + (_system->_$DER_P_V1_P_relativeFlowCoefficient_ * _system->_V1_P_dp_)) * division(_system->_V1_P_m_flow_nominal_,_system->_V1_P_dp_nominal_,!_system->_initial,"V1.dp_nominal")))); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculationAlgloop87.cpp:139:200: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_V1_P_m_flow_ = ((__HOM_LAMBDA_ * (((_system->_V1_P_relativeFlowCoefficient_ * tmp380) + (_system->_$DER_P_V1_P_relativeFlowCoefficient_ * tmp385)) * _system->_V1_P_Av_)) + ((1.0 - __HOM_LAMBDA_) * (((_system->_V1_P_relativeFlowCoefficient_ * _system->_$DER_P_V1_P_dp_) + (_system->_$DER_P_V1_P_relativeFlowCoefficient_ * _system->_V1_P_dp_)) * division(_system->_V1_P_m_flow_nominal_,_system->_V1_P_dp_nominal_,!_system->_initial,"V1.dp_nominal")))); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculationAlgloop87.cpp:142:63: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_V_flow_ = ((0.001004433569776996 * (__HOM_LAMBDA_ * _system->_$DER_P_pump_P_m_flow_)) + ((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_TestWaterPumpRecirculationAlgloop87.cpp:142:123: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_V_flow_ = ((0.001004433569776996 * (__HOM_LAMBDA_ * _system->_$DER_P_pump_P_m_flow_)) + ((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_TestWaterPumpRecirculationAlgloop87.cpp:149: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(tmp388,_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_TestWaterPumpRecirculationAlgloop87.cpp:149: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(tmp388,_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"))))); ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculationCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculationFunctions.cpp:1160:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp175, tmp176); ^~~~~~~~~~~~~~~~~~~~~~~~ /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_TestWaterPumpRecirculationCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculationFMU.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_TestWaterPumpRecirculationCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculationCalcHelperMain.o] Error 1