Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.141/2.141, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006013/0.0006015, allocations: 12 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3564, allocations: 48.7 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump): time 0.1053/0.4617, allocations: 60.79 MB / 392.1 MB, free: 1.578 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04919/0.511, allocations: 22.98 MB / 415.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0025/0.5136, allocations: 55.5 kB / 415.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004081/0.5177, allocations: 0.836 MB / 415.9 MB, free: 9.66 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02247/0.5402, allocations: 5.041 MB / 421 MB, free: 4.605 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01935/0.5596, allocations: 4.415 MB / 425.4 MB, free: 188 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005642/0.5653, allocations: 2.253 MB / 427.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00197/0.5673, allocations: 0.7522 MB / 428.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004013/0.5714, allocations: 1.156 MB / 429.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03222/0.6036, allocations: 11.52 MB / 441.1 MB, free: 468 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005634/0.6043, allocations: 64 kB / 441.2 MB, free: 404 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0402/0.6445, allocations: 13.45 MB / 454.6 MB, free: 2.934 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009166/0.6455, allocations: 306.9 kB / 454.9 MB, free: 2.633 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008413/0.6463, allocations: 328.9 kB / 455.2 MB, free: 2.305 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01282/0.6592, allocations: 4.51 MB / 459.7 MB, free: 13.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.6593, allocations: 3.938 kB / 459.7 MB, free: 13.78 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.6593, allocations: 0 / 459.7 MB, free: 13.78 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.417e-05/0.6594, allocations: 0 / 459.7 MB, free: 13.78 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.009254/0.6686, allocations: 2.337 MB / 462.1 MB, free: 11.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.6687, allocations: 12.03 kB / 462.1 MB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005869/0.6693, allocations: 177.2 kB / 462.3 MB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00638/0.6757, allocations: 0.5796 MB / 462.8 MB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002721/0.6785, allocations: 0.9234 MB / 463.8 MB, free: 9.648 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/0.6787, allocations: 98.28 kB / 463.9 MB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003327/0.679, allocations: 108 kB / 464 MB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008448/0.6875, allocations: 2.003 MB / 466 MB, free: 7.301 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.992e-05/0.6876, allocations: 3.938 kB / 466 MB, free: 7.297 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002489/0.6879, allocations: 55.98 kB / 466 MB, free: 7.242 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.125e-05/0.688, allocations: 46 kB / 466.1 MB, free: 7.195 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009583/0.6976, allocations: 1.893 MB / 468 MB, free: 5.293 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.2916/0.9892, allocations: 9.528 MB / 477.5 MB, free: 116.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008544/0.9978, allocations: 1.671 MB / 479.2 MB, free: 116.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06718/1.065, allocations: 21.74 MB / 0.4892 GB, free: 99.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/1.065, allocations: 47.5 kB / 0.4892 GB, free: 99.78 MB / 394.7 MB Notification: Performance of pre-optimization done (n=94): time 3.988e-06/1.065, allocations: 0 / 0.4892 GB, free: 99.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=134): time 0.08301/1.148, allocations: 9.713 MB / 0.4987 GB, free: 94.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/1.148, allocations: 171.5 kB / 0.4989 GB, free: 93.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/1.15, allocations: 0.8506 MB / 0.4997 GB, free: 92.99 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003643/1.15, allocations: 53.7 kB / 0.4997 GB, free: 92.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004004/1.151, allocations: 0.613 MB / 0.5003 GB, free: 92.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005373/1.151, allocations: 449.9 kB / 0.5008 GB, free: 91.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/1.151, allocations: 36 kB / 0.5008 GB, free: 91.85 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/1.152, allocations: 366.8 kB / 0.5012 GB, free: 91.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00377/1.155, allocations: 0.8744 MB / 0.502 GB, free: 90.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004064/1.159, allocations: 1.293 MB / 0.5033 GB, free: 89.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004261/1.164, allocations: 0.9862 MB / 0.5042 GB, free: 88.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/1.164, allocations: 4 kB / 0.5042 GB, free: 88.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01087/1.175, allocations: 2.681 MB / 0.5069 GB, free: 85.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002438/1.175, allocations: 444.4 kB / 0.5073 GB, free: 84.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/1.175, allocations: 12 kB / 0.5073 GB, free: 84.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01215/1.187, allocations: 1.528 MB / 0.5088 GB, free: 83.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003371/1.191, allocations: 423.4 kB / 0.5092 GB, free: 82.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008545/1.199, allocations: 3.391 MB / 0.5125 GB, free: 79.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003272/1.203, allocations: 223.7 kB / 0.5127 GB, free: 79.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003714/1.203, allocations: 99.89 kB / 0.5128 GB, free: 79.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/1.203, allocations: 7.984 kB / 0.5128 GB, free: 79.09 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01531/1.218, allocations: 2.422 MB / 0.5152 GB, free: 76.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/1.218, allocations: 16.03 kB / 0.5152 GB, free: 76.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004276/1.223, allocations: 0.6853 MB / 0.5159 GB, free: 75.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005198/1.228, allocations: 0.5266 MB / 0.5164 GB, free: 75.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004303/1.232, allocations: 1.791 MB / 0.5181 GB, free: 73.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002831/1.235, allocations: 219.7 kB / 0.5183 GB, free: 73.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003528/1.236, allocations: 95.95 kB / 0.5184 GB, free: 73.29 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 (source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.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 (148): * Single equations (assignments): 144 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,3 11,1 7,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.001125/1.237, allocations: 420.4 kB / 0.5188 GB, free: 72.87 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004869/1.237, allocations: 134.4 kB / 0.519 GB, free: 72.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01719/1.254, allocations: 7.449 MB / 0.5262 GB, free: 65.24 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001/1.255, allocations: 79.97 kB / 0.5263 GB, free: 65.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/1.255, allocations: 3.938 kB / 0.5263 GB, free: 65.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-05/1.255, allocations: 7.969 kB / 0.5263 GB, free: 65.15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02237/1.277, allocations: 10.09 MB / 0.5362 GB, free: 55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.987e-05/1.277, allocations: 0 / 0.5362 GB, free: 55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002566/1.28, allocations: 315.7 kB / 0.5365 GB, free: 54.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01141/1.291, allocations: 2.502 MB / 0.5389 GB, free: 52.19 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003248/1.291, allocations: 47.92 kB / 0.539 GB, free: 52.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008801/1.3, allocations: 4.55 MB / 0.5434 GB, free: 47.49 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.3, allocations: 0 / 0.5434 GB, free: 47.49 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/1.313, allocations: 5.041 MB / 0.5483 GB, free: 42.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/1.315, allocations: 0.5516 MB / 0.5489 GB, free: 41.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004683/1.315, allocations: 32 kB / 0.5489 GB, free: 41.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002859/1.318, allocations: 227.2 kB / 0.5491 GB, free: 41.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004975/1.319, allocations: 137 kB / 0.5492 GB, free: 41.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002052/1.319, allocations: 55.97 kB / 0.5493 GB, free: 41.39 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001218/1.32, allocations: 0.6582 MB / 0.5499 GB, free: 40.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.72e-07/1.32, allocations: 4 kB / 0.5499 GB, free: 40.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007043/1.327, allocations: 1.852 MB / 0.5518 GB, free: 38.99 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 46 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.region3boundary,$cse21.region3boundary,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 7,3 16,1 7,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.02173/1.349, allocations: 6.698 MB / 0.5583 GB, free: 32.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01768/1.367, allocations: 4.367 MB / 0.5626 GB, free: 28.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/1.367, allocations: 0 / 0.5626 GB, free: 28.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007375/1.374, allocations: 2.34 MB / 0.5648 GB, free: 25.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005191/1.379, allocations: 0.5574 MB / 0.5654 GB, free: 25.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/1.396, allocations: 7.656 MB / 0.5729 GB, free: 17.44 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/1.397, allocations: 1.635 MB / 0.5745 GB, free: 15.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001605/1.399, allocations: 0.8468 MB / 0.5753 GB, free: 14.92 MB / 394.7 MB Notification: Performance of SimCode: time 1.633e-06/1.399, allocations: 0 / 0.5753 GB, free: 14.92 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_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpCalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgLoopMain.cpp:15: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgloop490.cpp:119:40: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump1_P_m_flow_ = ((__HOM_LAMBDA_ * (((_system->_valve1_P_relativeFlowCoefficient_ * tmp680) + (_system->_$DER_P_valve1_P_relativeFlowCoefficient_ * _system->_$cse26_)) * _system->_valve1_P_Av_)) + ((1.0 - __HOM_LAMBDA_) * (((_system->_valve1_P_relativeFlowCoefficient_ * _system->_$DER_P_valve1_P_dp_) + (_system->_$DER_P_valve1_P_relativeFlowCoefficient_ * _system->_valve1_P_dp_)) * division(_system->_valve1_P_m_flow_nominal_,_system->_valve1_P_dp_nominal_,!_system->_initial,"valve1.dp_nominal")))); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgloop490.cpp:119:226: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump1_P_m_flow_ = ((__HOM_LAMBDA_ * (((_system->_valve1_P_relativeFlowCoefficient_ * tmp680) + (_system->_$DER_P_valve1_P_relativeFlowCoefficient_ * _system->_$cse26_)) * _system->_valve1_P_Av_)) + ((1.0 - __HOM_LAMBDA_) * (((_system->_valve1_P_relativeFlowCoefficient_ * _system->_$DER_P_valve1_P_dp_) + (_system->_$DER_P_valve1_P_relativeFlowCoefficient_ * _system->_valve1_P_dp_)) * division(_system->_valve1_P_m_flow_nominal_,_system->_valve1_P_dp_nominal_,!_system->_initial,"valve1.dp_nominal")))); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgloop490.cpp:141:40: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump1_P_V_flow_ = ((__HOM_LAMBDA_ * division(((_system->_$DER_P_pump1_P_m_flow_ * _system->_pump1_P_rho_) - (_system->_pump1_P_m_flow_ * _system->_$DER_P_pump1_P_rho_)),std::pow(_system->_pump1_P_rho_, 2.0),!_system->_initial,"pump1.rho ^ 2.0")) + ((1.0 - __HOM_LAMBDA_) * division(_system->_$DER_P_pump1_P_m_flow_,_system->_pump1_P_rho_nominal_,!_system->_initial,"pump1.rho_nominal"))); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgloop490.cpp:141:276: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump1_P_V_flow_ = ((__HOM_LAMBDA_ * division(((_system->_$DER_P_pump1_P_m_flow_ * _system->_pump1_P_rho_) - (_system->_pump1_P_m_flow_ * _system->_$DER_P_pump1_P_rho_)),std::pow(_system->_pump1_P_rho_, 2.0),!_system->_initial,"pump1.rho ^ 2.0")) + ((1.0 - __HOM_LAMBDA_) * division(_system->_$DER_P_pump1_P_m_flow_,_system->_pump1_P_rho_nominal_,!_system->_initial,"pump1.rho_nominal"))); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgloop490.cpp:145:184: error: use of undeclared identifier '__HOM_LAMBDA_' _res[0] = (((1.0 - __HOM_LAMBDA_) * (_system->_$DER_P_pump1_P_dp_pump_ * division(_system->_pump1_P_V_flow_single_init_,_system->_pump1_P_eta_,!_system->_initial,"pump1.eta"))) + ((__HOM_LAMBDA_ * division(((_system->_pump1_P_dp_pump_ * _system->_$DER_P_pump1_P_V_flow_single_) + (_system->_$DER_P_pump1_P_dp_pump_ * _system->_pump1_P_V_flow_single_)),_system->_pump1_P_eta_,!_system->_initial,"pump1.eta")) - _system->_$DER_P_pump1_P_W_single_)); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgloop490.cpp:145:22: error: use of undeclared identifier '__HOM_LAMBDA_' _res[0] = (((1.0 - __HOM_LAMBDA_) * (_system->_$DER_P_pump1_P_dp_pump_ * division(_system->_pump1_P_V_flow_single_init_,_system->_pump1_P_eta_,!_system->_initial,"pump1.eta"))) + ((__HOM_LAMBDA_ * division(((_system->_pump1_P_dp_pump_ * _system->_$DER_P_pump1_P_V_flow_single_) + (_system->_$DER_P_pump1_P_dp_pump_ * _system->_pump1_P_V_flow_single_)),_system->_pump1_P_eta_,!_system->_initial,"pump1.eta")) - _system->_$DER_P_pump1_P_W_single_)); ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgLoopMain.cpp:21: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgloop543.cpp:115: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_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgloop543.cpp:115: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_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgloop543.cpp:119:180: error: use of undeclared identifier '__HOM_LAMBDA_' _res[0] = (((1.0 - __HOM_LAMBDA_) * (_system->_$DER_P_pump_P_dp_pump_ * division(_system->_pump_P_V_flow_single_init_,_system->_pump_P_eta_,!_system->_initial,"pump.eta"))) + ((__HOM_LAMBDA_ * division(((_system->_pump_P_dp_pump_ * _system->_$DER_P_pump_P_V_flow_single_) + (_system->_$DER_P_pump_P_dp_pump_ * _system->_pump_P_V_flow_single_)),_system->_pump_P_eta_,!_system->_initial,"pump.eta")) - _system->_$DER_P_pump_P_W_single_)); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgloop543.cpp:119:22: error: use of undeclared identifier '__HOM_LAMBDA_' _res[0] = (((1.0 - __HOM_LAMBDA_) * (_system->_$DER_P_pump_P_dp_pump_ * division(_system->_pump_P_V_flow_single_init_,_system->_pump_P_eta_,!_system->_initial,"pump.eta"))) + ((__HOM_LAMBDA_ * division(((_system->_pump_P_dp_pump_ * _system->_$DER_P_pump_P_V_flow_single_) + (_system->_$DER_P_pump_P_dp_pump_ * _system->_pump_P_V_flow_single_)),_system->_pump_P_eta_,!_system->_initial,"pump.eta")) - _system->_$DER_P_pump_P_W_single_)); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgloop543.cpp:151:316: error: use of undeclared identifier '__HOM_LAMBDA_' _res[1] = (((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"))) + ((__HOM_LAMBDA_ * (((_system->_valve_P_relativeFlowCoefficient_ * tmp713) + (_system->_$DER_P_valve_P_relativeFlowCoefficient_ * _system->_$cse15_)) * _system->_valve_P_Av_)) - _system->_$DER_P_pump_P_m_flow_)); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgloop543.cpp:151:22: error: use of undeclared identifier '__HOM_LAMBDA_' _res[1] = (((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"))) + ((__HOM_LAMBDA_ * (((_system->_valve_P_relativeFlowCoefficient_ * tmp713) + (_system->_$DER_P_valve_P_relativeFlowCoefficient_ * _system->_$cse15_)) * _system->_valve_P_Av_)) - _system->_$DER_P_pump_P_m_flow_)); ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgLoopMain.cpp:27: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgloop152.cpp:118:40: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump1_P_m_flow_ = ((__HOM_LAMBDA_ * (((_system->_valve1_P_relativeFlowCoefficient_ * tmp738) + (_system->_$DER_P_valve1_P_relativeFlowCoefficient_ * tmp739)) * _system->_valve1_P_Av_)) + ((1.0 - __HOM_LAMBDA_) * (((_system->_valve1_P_relativeFlowCoefficient_ * _system->_$DER_P_valve1_P_dp_) + (_system->_$DER_P_valve1_P_relativeFlowCoefficient_ * _system->_valve1_P_dp_)) * division(_system->_valve1_P_m_flow_nominal_,_system->_valve1_P_dp_nominal_,!_system->_initial,"valve1.dp_nominal")))); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgloop152.cpp:118:215: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump1_P_m_flow_ = ((__HOM_LAMBDA_ * (((_system->_valve1_P_relativeFlowCoefficient_ * tmp738) + (_system->_$DER_P_valve1_P_relativeFlowCoefficient_ * tmp739)) * _system->_valve1_P_Av_)) + ((1.0 - __HOM_LAMBDA_) * (((_system->_valve1_P_relativeFlowCoefficient_ * _system->_$DER_P_valve1_P_dp_) + (_system->_$DER_P_valve1_P_relativeFlowCoefficient_ * _system->_valve1_P_dp_)) * division(_system->_valve1_P_m_flow_nominal_,_system->_valve1_P_dp_nominal_,!_system->_initial,"valve1.dp_nominal")))); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgloop152.cpp:143:40: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump1_P_V_flow_ = ((__HOM_LAMBDA_ * division(((_system->_$DER_P_pump1_P_m_flow_ * _system->_pump1_P_rho_) - (_system->_pump1_P_m_flow_ * _system->_$DER_P_pump1_P_rho_)),std::pow(_system->_pump1_P_rho_, 2.0),!_system->_initial,"pump1.rho ^ 2.0")) + ((1.0 - __HOM_LAMBDA_) * division(_system->_$DER_P_pump1_P_m_flow_,_system->_pump1_P_rho_nominal_,!_system->_initial,"pump1.rho_nominal"))); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgloop152.cpp:143:276: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump1_P_V_flow_ = ((__HOM_LAMBDA_ * division(((_system->_$DER_P_pump1_P_m_flow_ * _system->_pump1_P_rho_) - (_system->_pump1_P_m_flow_ * _system->_$DER_P_pump1_P_rho_)),std::pow(_system->_pump1_P_rho_, 2.0),!_system->_initial,"pump1.rho ^ 2.0")) + ((1.0 - __HOM_LAMBDA_) * division(_system->_$DER_P_pump1_P_m_flow_,_system->_pump1_P_rho_nominal_,!_system->_initial,"pump1.rho_nominal"))); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgloop152.cpp:147:297: error: use of undeclared identifier '__HOM_LAMBDA_' _res[0] = (((1.0 - __HOM_LAMBDA_) * (((_system->_$DER_P_pump1_P_dp_pump_ * _system->_pump1_P_eta_) - (_system->_pump1_P_dp_pump_ * _system->_$DER_P_pump1_P_eta_)) * division(_system->_pump1_P_V_flow_single_init_,std::pow(_system->_pump1_P_eta_, 2.0),!_system->_initial,"pump1.eta ^ 2.0"))) + ((__HOM_LAMBDA_ * division(((((_system->_pump1_P_dp_pump_ * _system->_$DER_P_pump1_P_V_flow_single_) + (_system->_$DER_P_pump1_P_dp_pump_ * _system->_pump1_P_V_flow_single_)) * _system->_pump1_P_eta_) - (_system->_pump1_P_dp_pump_ * (_system->_pump1_P_V_flow_single_ * _system->_$DER_P_pump1_P_eta_))),std::pow(_system->_pump1_P_eta_, 2.0),!_system->_initial,"pump1.eta ^ 2.0")) - _system->_$DER_P_pump1_P_W_single_)); ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgloop152.cpp:147:22: error: use of undeclared identifier '__HOM_LAMBDA_' _res[0] = (((1.0 - __HOM_LAMBDA_) * (((_system->_$DER_P_pump1_P_dp_pump_ * _system->_pump1_P_eta_) - (_system->_pump1_P_dp_pump_ * _system->_$DER_P_pump1_P_eta_)) * division(_system->_pump1_P_V_flow_single_init_,std::pow(_system->_pump1_P_eta_, 2.0),!_system->_initial,"pump1.eta ^ 2.0"))) + ((__HOM_LAMBDA_ * division(((((_system->_pump1_P_dp_pump_ * _system->_$DER_P_pump1_P_V_flow_single_) + (_system->_$DER_P_pump1_P_dp_pump_ * _system->_pump1_P_V_flow_single_)) * _system->_pump1_P_eta_) - (_system->_pump1_P_dp_pump_ * (_system->_pump1_P_V_flow_single_ * _system->_$DER_P_pump1_P_eta_))),std::pow(_system->_pump1_P_eta_, 2.0),!_system->_initial,"pump1.eta ^ 2.0")) - _system->_$DER_P_pump1_P_W_single_)); ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgLoopMain.cpp:33: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgloop190.cpp:116: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"))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. : recipe for target 'OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpCalcHelperMain.o] Error 1