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.TestWaterPumpVariableSpeed.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.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.291/2.291, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004218/0.0004223, allocations: 12 kB / 314.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3414, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed): time 0.05995/0.4014, allocations: 35.23 MB / 404.5 MB, free: 7.379 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03535/0.4368, allocations: 17.31 MB / 421.8 MB, free: 6.027 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.438, allocations: 31.75 kB / 421.9 MB, free: 5.996 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002127/0.4402, allocations: 426 kB / 422.3 MB, free: 5.578 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01754/0.4578, allocations: 4.087 MB / 426.4 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01459/0.4724, allocations: 2.925 MB / 429.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003493/0.4759, allocations: 1.115 MB / 430.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.4771, allocations: 381.4 kB / 430.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005283/0.4824, allocations: 0.6385 MB / 431.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04785/0.5303, allocations: 6.277 MB / 437.7 MB, free: 6.125 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003059/0.5307, allocations: 28 kB / 437.7 MB, free: 6.098 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0288/0.5595, allocations: 7.55 MB / 445.3 MB, free: 14.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003636/0.5599, allocations: 147.5 kB / 445.4 MB, free: 14.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003619/0.5603, allocations: 177.3 kB / 445.6 MB, free: 14.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.5709, allocations: 3.551 MB / 449.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5709, allocations: 0 / 449.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.571, allocations: 4 kB / 449.1 MB, free: 10.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.903e-05/0.571, allocations: 0 / 449.1 MB, free: 10.65 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.005903/0.5769, allocations: 1.555 MB / 450.7 MB, free: 9.047 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.577, allocations: 8.031 kB / 450.7 MB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002868/0.5773, allocations: 102.5 kB / 450.8 MB, free: 8.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003173/0.5805, allocations: 306.8 kB / 451.1 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.5819, allocations: 0.5277 MB / 451.6 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.659e-05/0.582, allocations: 57.31 kB / 451.7 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.5821, allocations: 52 kB / 451.7 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0043/0.5865, allocations: 1.006 MB / 452.7 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.5865, allocations: 0 / 452.7 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.5867, allocations: 27.98 kB / 452.8 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.411e-05/0.5868, allocations: 21 kB / 452.8 MB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004833/0.5916, allocations: 0.9443 MB / 453.7 MB, free: 5.891 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.008062/0.5997, allocations: 4.667 MB / 458.4 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004023/0.6038, allocations: 0.7966 MB / 459.2 MB, free: 4 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3859/0.9897, allocations: 18.6 MB / 477.8 MB, free: 90.76 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/0.9898, allocations: 41.31 kB / 477.8 MB, free: 90.72 MB / 394.7 MB Notification: Performance of pre-optimization done (n=45): time 3.927e-06/0.9899, allocations: 0.875 kB / 477.8 MB, free: 90.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=65): time 0.053/1.043, allocations: 4.578 MB / 482.4 MB, free: 89.97 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/1.043, allocations: 116.7 kB / 482.5 MB, free: 89.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007773/1.044, allocations: 484.4 kB / 483 MB, free: 89.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001353/1.044, allocations: 36.17 kB / 483 MB, free: 89.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/1.044, allocations: 391.1 kB / 483.4 MB, free: 89.24 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/1.044, allocations: 215.7 kB / 483.6 MB, free: 89.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.09e-05/1.044, allocations: 17.84 kB / 483.7 MB, free: 89.06 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.869e-05/1.045, allocations: 338.1 kB / 484 MB, free: 88.74 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/1.046, allocations: 420.8 kB / 484.4 MB, free: 88.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001868/1.048, allocations: 0.6411 MB / 485 MB, free: 88.22 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/1.05, allocations: 480.3 kB / 485.5 MB, free: 88.06 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/1.05, allocations: 6.219 kB / 485.5 MB, free: 88.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005362/1.056, allocations: 1.333 MB / 486.8 MB, free: 87.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000149/1.056, allocations: 288 kB / 487.1 MB, free: 87.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/1.056, allocations: 7.781 kB / 487.1 MB, free: 87.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0091/1.065, allocations: 1.048 MB / 488.2 MB, free: 87.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/1.066, allocations: 189.6 kB / 488.4 MB, free: 87.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003744/1.07, allocations: 1.749 MB / 490.1 MB, free: 85.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/1.072, allocations: 114.2 kB / 490.2 MB, free: 85.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/1.072, allocations: 55.31 kB / 490.3 MB, free: 85.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/1.072, allocations: 7.922 kB / 490.3 MB, free: 85.63 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005318/1.077, allocations: 1.295 MB / 491.6 MB, free: 85.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.077, allocations: 3.906 kB / 491.6 MB, free: 85.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004762/1.082, allocations: 0.6427 MB / 492.2 MB, free: 84.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/1.083, allocations: 189.5 kB / 492.4 MB, free: 84.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003575/1.087, allocations: 1.686 MB / 494.1 MB, free: 83.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/1.088, allocations: 111.3 kB / 494.2 MB, free: 83.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/1.088, allocations: 47.44 kB / 494.3 MB, free: 83.22 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.0005826/1.089, allocations: 301 kB / 494.5 MB, free: 82.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/1.089, allocations: 71.67 kB / 494.6 MB, free: 82.92 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009013/1.098, allocations: 3.673 MB / 498.3 MB, free: 79.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-05/1.098, allocations: 35.94 kB / 498.3 MB, free: 79.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/1.098, allocations: 0 / 498.3 MB, free: 79.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/1.098, allocations: 3.984 kB / 498.3 MB, free: 79.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/1.108, allocations: 4.951 MB / 0.4915 GB, free: 74.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/1.108, allocations: 0 / 0.4915 GB, free: 74.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008825/1.109, allocations: 135.8 kB / 0.4916 GB, free: 74.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008008/1.117, allocations: 1.706 MB / 0.4933 GB, free: 72.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/1.117, allocations: 27.98 kB / 0.4933 GB, free: 72.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004419/1.122, allocations: 2.413 MB / 0.4957 GB, free: 69.97 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.122, allocations: 0 / 0.4957 GB, free: 69.97 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005971/1.128, allocations: 2.482 MB / 0.4981 GB, free: 67.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005656/1.129, allocations: 322.9 kB / 0.4984 GB, free: 67.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/1.129, allocations: 16 kB / 0.4984 GB, free: 67.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/1.13, allocations: 107.8 kB / 0.4985 GB, free: 67 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/1.13, allocations: 68.5 kB / 0.4986 GB, free: 66.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.939e-05/1.13, allocations: 31.98 kB / 0.4986 GB, free: 66.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000607/1.131, allocations: 415 kB / 0.499 GB, free: 66.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.131, allocations: 0 / 0.499 GB, free: 66.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004865/1.136, allocations: 1.443 MB / 0.5004 GB, free: 65.16 MB / 394.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.01402/1.15, allocations: 4.187 MB / 0.5045 GB, free: 61.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007928/1.158, allocations: 2.05 MB / 0.5065 GB, free: 59.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.158, allocations: 0 / 0.5065 GB, free: 59.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003262/1.161, allocations: 1.057 MB / 0.5075 GB, free: 58.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/1.164, allocations: 290.9 kB / 0.5078 GB, free: 57.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008493/1.172, allocations: 4.115 MB / 0.5118 GB, free: 53.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005678/1.173, allocations: 1.135 MB / 0.5129 GB, free: 52.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006916/1.174, allocations: 403.3 kB / 0.5133 GB, free: 52.04 MB / 394.7 MB Notification: Performance of SimCode: time 1.372e-06/1.174, allocations: 0 / 0.5133 GB, free: 52.04 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_TestWaterPumpVariableSpeedCalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeedCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeedCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeedAlgLoopMain.cpp:15: ./OMCppModelicaTest_3_2_2_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_ * tmp468) + (_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_2_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_ * tmp468) + (_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_2_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_2_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_2_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_2_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_2_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_2_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_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeedCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeedAlgLoopMain.cpp:21: ./OMCppModelicaTest_3_2_2_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_ * tmp500) + (_system->_$DER_P_Valve_P_relativeFlowCoefficient_ * tmp501)) * _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_2_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_ * tmp500) + (_system->_$DER_P_Valve_P_relativeFlowCoefficient_ * tmp501)) * _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_2_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_2_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_2_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(tmp508,_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_2_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(tmp508,_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_2_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_2_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_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeedCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeedFunctions.cpp:6587: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_TestWaterPumpVariableSpeedCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_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_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeedCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeedCalcHelperMain.o] Error 1