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.TestWaterPumpDCMotorHeatTransfer.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.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.28/2.28, allocations: 234.9 MB / 250.4 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004367/0.0004368, allocations: 8 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3322, allocations: 54.86 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer): time 0.06302/0.3953, allocations: 39.42 MB / 408.7 MB, free: 3.211 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03736/0.4327, allocations: 18.74 MB / 427.4 MB, free: 444 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.4347, allocations: 51.69 kB / 427.5 MB, free: 392 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003041/0.4378, allocations: 0.6377 MB / 428.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01832/0.4561, allocations: 4.445 MB / 432.6 MB, free: 11.28 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01254/0.4687, allocations: 3.032 MB / 435.6 MB, free: 8.246 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004557/0.4733, allocations: 1.863 MB / 437.5 MB, free: 6.379 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/0.4751, allocations: 0.8966 MB / 438.4 MB, free: 5.461 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002568/0.4777, allocations: 0.9536 MB / 439.3 MB, free: 4.504 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01704/0.4948, allocations: 6.603 MB / 445.9 MB, free: 13.89 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004101/0.4952, allocations: 76 kB / 446 MB, free: 13.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02184/0.5171, allocations: 7.691 MB / 453.7 MB, free: 6.121 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000586/0.5177, allocations: 278.9 kB / 453.9 MB, free: 5.848 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007143/0.5184, allocations: 340.9 kB / 454.3 MB, free: 5.508 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.5301, allocations: 4.564 MB / 458.8 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.5301, allocations: 4 kB / 458.8 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5301, allocations: 3.938 kB / 458.9 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.974e-05/0.5302, allocations: 0 / 458.9 MB, free: 0.9258 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.00758/0.5378, allocations: 2.187 MB / 461 MB, free: 14.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.5378, allocations: 8.031 kB / 461 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004085/0.5382, allocations: 198.5 kB / 461.2 MB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003359/0.5416, allocations: 409.6 kB / 461.6 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002429/0.5441, allocations: 0.8988 MB / 462.5 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.5442, allocations: 106.7 kB / 462.6 MB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002991/0.5445, allocations: 135.9 kB / 462.8 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005577/0.5501, allocations: 1.685 MB / 464.5 MB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.706e-05/0.5502, allocations: 3.938 kB / 464.5 MB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002006/0.5504, allocations: 60 kB / 464.5 MB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.763e-05/0.5505, allocations: 46.36 kB / 464.6 MB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005626/0.5562, allocations: 1.375 MB / 465.9 MB, free: 9.609 MB / 394.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.01357/0.5698, allocations: 7.596 MB / 473.5 MB, free: 1.457 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003812/0.5736, allocations: 0.881 MB / 474.4 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3672/0.9408, allocations: 18.63 MB / 493 MB, free: 81.15 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.9409, allocations: 43.84 kB / 493.1 MB, free: 81.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=71): time 3.276e-06/0.941, allocations: 0 / 493.1 MB, free: 81.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=93): time 0.05196/0.9929, allocations: 5.882 MB / 499 MB, free: 77.85 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2382/1.231, allocations: 47.91 MB / 0.5341 GB, free: 29.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/1.233, allocations: 0.9026 MB / 0.535 GB, free: 28.28 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001774/1.233, allocations: 42.25 kB / 0.535 GB, free: 28.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004273/1.233, allocations: 0.7164 MB / 0.5357 GB, free: 27.51 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003104/1.234, allocations: 335.4 kB / 0.536 GB, free: 27.19 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/1.234, allocations: 24 kB / 0.536 GB, free: 27.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.755e-05/1.234, allocations: 362.8 kB / 0.5364 GB, free: 26.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/1.235, allocations: 483.8 kB / 0.5368 GB, free: 26.33 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/1.237, allocations: 0.9714 MB / 0.5378 GB, free: 25.13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/1.239, allocations: 0.6158 MB / 0.5384 GB, free: 24.51 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.968e-06/1.239, allocations: 4 kB / 0.5384 GB, free: 24.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.004931/1.244, allocations: 1.71 MB / 0.5401 GB, free: 22.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002551/1.244, allocations: 0.555 MB / 0.5406 GB, free: 22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/1.244, allocations: 16 kB / 0.5406 GB, free: 21.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008627/1.253, allocations: 1.078 MB / 0.5417 GB, free: 20.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/1.255, allocations: 307.5 kB / 0.542 GB, free: 20.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/1.258, allocations: 1.62 MB / 0.5436 GB, free: 18.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/1.26, allocations: 129.8 kB / 0.5437 GB, free: 18.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/1.26, allocations: 91.92 kB / 0.5438 GB, free: 18.72 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.737e-06/1.26, allocations: 4 kB / 0.5438 GB, free: 18.72 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006478/1.266, allocations: 1.852 MB / 0.5456 GB, free: 16.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/1.266, allocations: 16 kB / 0.5456 GB, free: 16.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004876/1.271, allocations: 0.6895 MB / 0.5463 GB, free: 16.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002271/1.274, allocations: 303.5 kB / 0.5466 GB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003507/1.277, allocations: 1.585 MB / 0.5481 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/1.279, allocations: 131.8 kB / 0.5482 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002224/1.28, allocations: 79.97 kB / 0.5483 GB, free: 14.02 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (149): * Single equations (assignments): 145 * Array equations: 2 * 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 8,2 9} Notification: Performance of prepare postOptimizeDAE: time 0.001166/1.281, allocations: 417.4 kB / 0.5487 GB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003839/1.281, allocations: 122.5 kB / 0.5488 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/1.291, allocations: 3.711 MB / 0.5524 GB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009167/1.301, allocations: 3.185 MB / 0.5556 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.301, allocations: 0 / 0.5556 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/1.301, allocations: 3.984 kB / 0.5556 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01639/1.317, allocations: 6.016 MB / 0.5614 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/1.317, allocations: 4 kB / 0.5614 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00164/1.319, allocations: 191.7 kB / 0.5616 GB, free: 308 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01069/1.329, allocations: 1.579 MB / 0.5632 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001687/1.33, allocations: 27.98 kB / 0.5632 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006703/1.336, allocations: 2.419 MB / 0.5655 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1/1.436, allocations: 24.77 MB / 0.5897 GB, free: 2.742 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00939/1.446, allocations: 3.884 MB / 0.5935 GB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009359/1.447, allocations: 402.3 kB / 0.5939 GB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000297/1.447, allocations: 20 kB / 0.5939 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/1.449, allocations: 99.81 kB / 0.594 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/1.449, allocations: 72.89 kB / 0.5941 GB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/1.449, allocations: 39.97 kB / 0.5941 GB, free: 14.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001378/1.45, allocations: 0.6509 MB / 0.5948 GB, free: 13.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.45, allocations: 0 / 0.5948 GB, free: 13.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01571/1.466, allocations: 3.965 MB / 0.5986 GB, free: 9.754 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],motor.inertiaRotor.phi,motor.la.i) * Number of discrete variables: 21 ($cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.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 (82): * Single equations (assignments): 74 * 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 6,3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.03971/1.506, allocations: 6.752 MB / 0.6052 GB, free: 3.203 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008392/1.514, allocations: 2.476 MB / 0.6077 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.514, allocations: 0 / 0.6077 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003554/1.518, allocations: 1.176 MB / 0.6088 GB, free: 15.56 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003296/1.521, allocations: 398.4 kB / 0.6092 GB, free: 15.18 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02082/1.542, allocations: 7.375 MB / 0.6164 GB, free: 7.453 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001405/1.544, allocations: 1.439 MB / 0.6178 GB, free: 5.98 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001582/1.545, allocations: 0.718 MB / 0.6185 GB, free: 5.262 MB / 458.7 MB Notification: Performance of SimCode: time 9.92e-07/1.545, allocations: 0 / 0.6185 GB, free: 5.262 MB / 458.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_TestWaterPumpDCMotorHeatTransferCalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransferCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransferCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransferAlgLoopMain.cpp:15: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransferAlgloop447.cpp:119:85: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = (_system->_Valve_P_relativeFlowCoefficient_ * ((__HOM_LAMBDA_ * (tmp1123 * _system->_Valve_P_Av_)) + ((1.0 - __HOM_LAMBDA_) * (_system->_$DER_P_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_TestWaterPumpDCMotorHeatTransferAlgloop447.cpp:119:146: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = (_system->_Valve_P_relativeFlowCoefficient_ * ((__HOM_LAMBDA_ * (tmp1123 * _system->_Valve_P_Av_)) + ((1.0 - __HOM_LAMBDA_) * (_system->_$DER_P_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_TestWaterPumpDCMotorHeatTransferAlgloop447.cpp:124: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_TestWaterPumpDCMotorHeatTransferAlgloop447.cpp:124: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_TestWaterPumpDCMotorHeatTransferAlgloop447.cpp:127:574: 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_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->_$cse15_ * 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_TestWaterPumpDCMotorHeatTransferAlgloop447.cpp:127: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_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->_$cse15_ * 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_TestWaterPumpDCMotorHeatTransferCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransferAlgLoopMain.cpp:21: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransferAlgloop165.cpp:126:39: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = ((__HOM_LAMBDA_ * (((_system->_Valve_P_relativeFlowCoefficient_ * tmp1150) + (_system->_$DER_P_Valve_P_relativeFlowCoefficient_ * tmp1151)) * _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_TestWaterPumpDCMotorHeatTransferAlgloop165.cpp:126:213: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = ((__HOM_LAMBDA_ * (((_system->_Valve_P_relativeFlowCoefficient_ * tmp1150) + (_system->_$DER_P_Valve_P_relativeFlowCoefficient_ * tmp1151)) * _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_TestWaterPumpDCMotorHeatTransferAlgloop165.cpp:127: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_TestWaterPumpDCMotorHeatTransferAlgloop165.cpp:127: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_TestWaterPumpDCMotorHeatTransferAlgloop165.cpp:134: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(tmp1154,_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_TestWaterPumpDCMotorHeatTransferAlgloop165.cpp:134:283: 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(tmp1154,_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_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransferCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransferFunctions.cpp:14020:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp927, tmp928); ^~~~~~~~~~~~~~~~~~~~~~~~ /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_TestWaterPumpDCMotorHeatTransferCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransferFMU.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 13 errors generated. : recipe for target 'OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransferCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransferCalcHelperMain.o] Error 1