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.TestWaterPumpDCMotor.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.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.264/2.264, allocations: 234.9 MB / 250.5 MB, free: 9.695 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.0004391, allocations: 11.98 kB / 314.4 MB, free: 9.641 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3519, allocations: 54.86 MB / 369.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor): time 0.06344/0.4154, allocations: 39.34 MB / 408.6 MB, free: 5.332 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03777/0.4532, allocations: 18.71 MB / 427.3 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001915/0.4552, allocations: 51.69 kB / 427.4 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002948/0.4582, allocations: 0.6414 MB / 428 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01967/0.4779, allocations: 4.437 MB / 432.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0136/0.4915, allocations: 3.032 MB / 435.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004612/0.4961, allocations: 1.832 MB / 437.3 MB, free: 8.559 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/0.498, allocations: 0.8832 MB / 438.2 MB, free: 7.652 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002553/0.5005, allocations: 0.9419 MB / 439.2 MB, free: 6.707 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01716/0.5177, allocations: 6.584 MB / 445.7 MB, free: 120 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000396/0.5182, allocations: 76 kB / 445.8 MB, free: 44 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02135/0.5395, allocations: 7.605 MB / 453.4 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005321/0.5401, allocations: 270.9 kB / 453.7 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006212/0.5407, allocations: 340.9 kB / 454 MB, free: 7.824 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.5521, allocations: 4.525 MB / 458.5 MB, free: 3.289 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5522, allocations: 0 / 458.5 MB, free: 3.289 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.5522, allocations: 0 / 458.5 MB, free: 3.289 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.332e-05/0.5522, allocations: 0 / 458.5 MB, free: 3.289 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.007736/0.56, allocations: 2.171 MB / 460.7 MB, free: 1.062 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/0.5601, allocations: 12.03 kB / 460.7 MB, free: 1.051 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000454/0.5605, allocations: 190.3 kB / 460.9 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003447/0.564, allocations: 409.7 kB / 461.3 MB, free: 464 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/0.5665, allocations: 0.891 MB / 462.2 MB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.5667, allocations: 102.6 kB / 462.3 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002879/0.567, allocations: 128 kB / 462.4 MB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005667/0.5726, allocations: 1.66 MB / 464.1 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-05/0.5727, allocations: 15.91 kB / 464.1 MB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001904/0.5729, allocations: 52 kB / 464.2 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.45e-05/0.573, allocations: 46.31 kB / 464.2 MB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005398/0.5784, allocations: 1.355 MB / 465.6 MB, free: 12.05 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.01359/0.5921, allocations: 7.63 MB / 473.2 MB, free: 3.852 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004035/0.5961, allocations: 0.9224 MB / 474.1 MB, free: 2.918 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06456/0.6607, allocations: 18.61 MB / 492.7 MB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/0.6608, allocations: 43.12 kB / 492.8 MB, free: 14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=68): time 6.442e-06/0.6608, allocations: 0 / 492.8 MB, free: 14 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.06244/0.7233, allocations: 6.441 MB / 499.2 MB, free: 7.414 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.5684/1.292, allocations: 48.44 MB / 0.5348 GB, free: 93.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/1.293, allocations: 0.9023 MB / 0.5357 GB, free: 92.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001734/1.293, allocations: 41.7 kB / 0.5357 GB, free: 92.13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004324/1.294, allocations: 0.7155 MB / 0.5364 GB, free: 91.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/1.294, allocations: 318.7 kB / 0.5367 GB, free: 91.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/1.294, allocations: 31.94 kB / 0.5368 GB, free: 91.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.988e-05/1.294, allocations: 366.8 kB / 0.5371 GB, free: 90.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/1.296, allocations: 479.7 kB / 0.5376 GB, free: 90.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/1.298, allocations: 0.9683 MB / 0.5385 GB, free: 89.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001979/1.3, allocations: 0.6135 MB / 0.5391 GB, free: 88.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/1.3, allocations: 4 kB / 0.5391 GB, free: 88.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.005337/1.305, allocations: 1.725 MB / 0.5408 GB, free: 86.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002688/1.306, allocations: 0.5613 MB / 0.5413 GB, free: 86.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/1.306, allocations: 20 kB / 0.5414 GB, free: 86.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01252/1.318, allocations: 1.185 MB / 0.5425 GB, free: 84.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002274/1.32, allocations: 299.5 kB / 0.5428 GB, free: 84.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005099/1.326, allocations: 1.76 MB / 0.5445 GB, free: 82.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/1.328, allocations: 119.8 kB / 0.5446 GB, free: 82.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000254/1.329, allocations: 75.97 kB / 0.5447 GB, free: 82.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/1.329, allocations: 4 kB / 0.5447 GB, free: 82.56 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009547/1.338, allocations: 1.811 MB / 0.5465 GB, free: 80.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.993e-05/1.338, allocations: 19.94 kB / 0.5465 GB, free: 80.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007099/1.346, allocations: 0.7324 MB / 0.5472 GB, free: 80 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002434/1.348, allocations: 303.5 kB / 0.5475 GB, free: 79.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004524/1.353, allocations: 1.703 MB / 0.5492 GB, free: 77.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002197/1.355, allocations: 111.8 kB / 0.5493 GB, free: 77.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002094/1.355, allocations: 75.98 kB / 0.5493 GB, free: 77.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * 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 (144): * Single equations (assignments): 142 * 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.001192/1.356, allocations: 423.6 kB / 0.5498 GB, free: 77.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004026/1.357, allocations: 118.5 kB / 0.5499 GB, free: 77.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/1.371, allocations: 3.896 MB / 0.5537 GB, free: 73.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.018e-05/1.371, allocations: 39.94 kB / 0.5537 GB, free: 73.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/1.371, allocations: 0 / 0.5537 GB, free: 73.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.27e-05/1.371, allocations: 7.922 kB / 0.5537 GB, free: 73.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01732/1.388, allocations: 5.947 MB / 0.5595 GB, free: 67.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/1.388, allocations: 0 / 0.5595 GB, free: 67.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/1.39, allocations: 151.8 kB / 0.5597 GB, free: 67.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008847/1.399, allocations: 1.736 MB / 0.5614 GB, free: 65.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001666/1.399, allocations: 27.98 kB / 0.5614 GB, free: 65.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004717/1.404, allocations: 2.463 MB / 0.5638 GB, free: 62.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.08939/1.493, allocations: 25.31 MB / 0.5885 GB, free: 36.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01015/1.503, allocations: 3.89 MB / 0.5923 GB, free: 32.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008189/1.504, allocations: 394.3 kB / 0.5927 GB, free: 32.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002882/1.504, allocations: 24 kB / 0.5927 GB, free: 32.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/1.506, allocations: 87.92 kB / 0.5928 GB, free: 32.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/1.506, allocations: 72.84 kB / 0.5929 GB, free: 32.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.903e-05/1.506, allocations: 43.91 kB / 0.5929 GB, free: 32.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001193/1.507, allocations: 0.6705 MB / 0.5936 GB, free: 31.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.507, allocations: 4 kB / 0.5936 GB, free: 31.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01434/1.522, allocations: 3.931 MB / 0.5974 GB, free: 27.85 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 ($STATESET1.x,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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 (74): * Single equations (assignments): 66 * 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,3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.04016/1.562, allocations: 6.789 MB / 0.604 GB, free: 21.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007821/1.57, allocations: 2.435 MB / 0.6064 GB, free: 18.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.57, allocations: 0 / 0.6064 GB, free: 18.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003299/1.573, allocations: 1.135 MB / 0.6075 GB, free: 17.72 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003255/1.576, allocations: 391.1 kB / 0.6079 GB, free: 17.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/1.594, allocations: 7.293 MB / 0.615 GB, free: 9.691 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009336/1.595, allocations: 1.427 MB / 0.6164 GB, free: 8.234 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/1.596, allocations: 0.7063 MB / 0.6171 GB, free: 7.527 MB / 426.7 MB Notification: Performance of SimCode: time 9.41e-07/1.596, allocations: 0 / 0.6171 GB, free: 7.527 MB / 426.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_TestWaterPumpDCMotorCalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorAlgLoopMain.cpp:15: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorAlgloop439.cpp:121:85: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = (_system->_Valve_P_relativeFlowCoefficient_ * ((__HOM_LAMBDA_ * (tmp1120 * _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_TestWaterPumpDCMotorAlgloop439.cpp:121:146: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = (_system->_Valve_P_relativeFlowCoefficient_ * ((__HOM_LAMBDA_ * (tmp1120 * _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_TestWaterPumpDCMotorAlgloop439.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_TestWaterPumpDCMotorAlgloop439.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_TestWaterPumpDCMotorAlgloop439.cpp:151: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_TestWaterPumpDCMotorAlgloop439.cpp:151: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_)); ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorAlgloop439.cpp:152:176: error: use of undeclared identifier '__HOM_LAMBDA_' _res[1] = (((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_TestWaterPumpDCMotorAlgloop439.cpp:152:22: error: use of undeclared identifier '__HOM_LAMBDA_' _res[1] = (((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_)); ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorAlgLoopMain.cpp:21: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorAlgloop165.cpp:128:39: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = ((__HOM_LAMBDA_ * (((_system->_Valve_P_relativeFlowCoefficient_ * tmp1152) + (_system->_$DER_P_Valve_P_relativeFlowCoefficient_ * tmp1153)) * _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_TestWaterPumpDCMotorAlgloop165.cpp:128:213: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_m_flow_ = ((__HOM_LAMBDA_ * (((_system->_Valve_P_relativeFlowCoefficient_ * tmp1152) + (_system->_$DER_P_Valve_P_relativeFlowCoefficient_ * tmp1153)) * _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_TestWaterPumpDCMotorAlgloop165.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_TestWaterPumpDCMotorAlgloop165.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_TestWaterPumpDCMotorAlgloop165.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(tmp1160,_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_TestWaterPumpDCMotorAlgloop165.cpp:157: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(tmp1160,_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_TestWaterPumpDCMotorAlgloop165.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_TestWaterPumpDCMotorAlgloop165.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_TestWaterPumpDCMotorCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorFunctions.cpp:14001:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp924, tmp925); ^~~~~~~~~~~~~~~~~~~~~~~~ /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_TestWaterPumpDCMotorCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorFMU.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_TestWaterPumpDCMotorCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorCalcHelperMain.o] Error 1