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.TestControlledPump.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.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.165/2.165, allocations: 234.9 MB / 250.5 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004301/0.0004301, allocations: 8 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3517, allocations: 54.86 MB / 369.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump): time 0.1024/0.4542, allocations: 61.26 MB / 430.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04762/0.5018, allocations: 23.2 MB / 453.7 MB, free: 6.074 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/0.504, allocations: 55.5 kB / 453.8 MB, free: 6.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00384/0.5079, allocations: 0.8322 MB / 454.6 MB, free: 5.184 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02164/0.5296, allocations: 5.115 MB / 459.7 MB, free: 56 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01844/0.5481, allocations: 4.453 MB / 464.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005461/0.5536, allocations: 2.268 MB / 466.5 MB, free: 9.32 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001738/0.5554, allocations: 0.7637 MB / 467.2 MB, free: 8.535 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003615/0.559, allocations: 1.168 MB / 468.4 MB, free: 7.363 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.357/0.9161, allocations: 11.64 MB / 480 MB, free: 16.16 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004643/0.9166, allocations: 63.75 kB / 480.1 MB, free: 16.16 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03501/0.9516, allocations: 13.67 MB / 493.8 MB, free: 16.07 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006949/0.9524, allocations: 302.8 kB / 494.1 MB, free: 16.07 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006116/0.953, allocations: 321.4 kB / 494.4 MB, free: 16.04 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.9643, allocations: 4.594 MB / 499 MB, free: 15.78 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.9644, allocations: 4 kB / 499 MB, free: 15.78 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.9644, allocations: 0 / 499 MB, free: 15.78 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.764e-05/0.9645, allocations: 0 / 499 MB, free: 15.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.00897/0.9734, allocations: 2.384 MB / 0.4896 GB, free: 14.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.9735, allocations: 9.25 kB / 0.4896 GB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005449/0.9741, allocations: 177.6 kB / 0.4898 GB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006188/0.9803, allocations: 0.6104 MB / 0.4904 GB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002386/0.9827, allocations: 0.9142 MB / 0.4913 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.9829, allocations: 93.78 kB / 0.4914 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002536/0.9831, allocations: 112.6 kB / 0.4915 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007438/0.9906, allocations: 2.005 MB / 0.4934 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.612e-05/0.9907, allocations: 6.531 kB / 0.4934 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002125/0.9909, allocations: 53.97 kB / 0.4935 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.997e-05/0.991, allocations: 45.58 kB / 0.4935 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008347/0.9993, allocations: 1.89 MB / 0.4954 GB, free: 13.7 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.01387/1.013, allocations: 9.526 MB / 0.5047 GB, free: 5.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007771/1.021, allocations: 1.668 MB / 0.5063 GB, free: 4.043 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07099/1.092, allocations: 21.81 MB / 0.5276 GB, free: 12.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.261e-05/1.092, allocations: 46.27 kB / 0.5277 GB, free: 12.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=94): time 3.978e-06/1.092, allocations: 0 / 0.5277 GB, free: 12.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=134): time 0.08526/1.178, allocations: 9.725 MB / 0.5371 GB, free: 3.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/1.178, allocations: 167.5 kB / 0.5373 GB, free: 3.281 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/1.179, allocations: 0.8567 MB / 0.5381 GB, free: 2.609 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003358/1.18, allocations: 50.2 kB / 0.5382 GB, free: 2.574 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005115/1.18, allocations: 0.621 MB / 0.5388 GB, free: 2.117 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006042/1.181, allocations: 458.9 kB / 0.5392 GB, free: 1.734 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/1.181, allocations: 27.25 kB / 0.5393 GB, free: 1.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/1.181, allocations: 361.9 kB / 0.5396 GB, free: 1.391 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003886/1.185, allocations: 0.8758 MB / 0.5405 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004353/1.19, allocations: 1.292 MB / 0.5417 GB, free: 15.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004516/1.194, allocations: 0.9805 MB / 0.5427 GB, free: 14.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-05/1.194, allocations: 7.953 kB / 0.5427 GB, free: 14.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.0116/1.206, allocations: 2.681 MB / 0.5453 GB, free: 13.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003537/1.206, allocations: 436.5 kB / 0.5457 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/1.206, allocations: 12 kB / 0.5457 GB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0126/1.219, allocations: 1.542 MB / 0.5472 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003569/1.222, allocations: 415.5 kB / 0.5476 GB, free: 10.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009282/1.232, allocations: 3.393 MB / 0.551 GB, free: 7.723 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003385/1.235, allocations: 227.5 kB / 0.5512 GB, free: 7.527 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004104/1.236, allocations: 99.69 kB / 0.5513 GB, free: 7.445 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/1.236, allocations: 4 kB / 0.5513 GB, free: 7.441 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01055/1.246, allocations: 2.429 MB / 0.5536 GB, free: 5.762 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.554e-05/1.246, allocations: 12 kB / 0.5537 GB, free: 5.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004326/1.251, allocations: 0.6799 MB / 0.5543 GB, free: 5.195 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005483/1.256, allocations: 0.5346 MB / 0.5548 GB, free: 4.699 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004688/1.261, allocations: 1.78 MB / 0.5566 GB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002881/1.264, allocations: 232.4 kB / 0.5568 GB, free: 2.941 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000293/1.264, allocations: 90.2 kB / 0.5569 GB, free: 2.867 MB / 442.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.001144/1.265, allocations: 413.8 kB / 0.5573 GB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004888/1.266, allocations: 133.3 kB / 0.5574 GB, free: 2.453 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0188/1.285, allocations: 7.443 MB / 0.5647 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001169/1.285, allocations: 80 kB / 0.5647 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/1.285, allocations: 0 / 0.5647 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.981e-05/1.285, allocations: 7.969 kB / 0.5648 GB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02435/1.309, allocations: 10.09 MB / 0.5746 GB, free: 7.047 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/1.309, allocations: 4 kB / 0.5746 GB, free: 7.043 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002657/1.312, allocations: 318.2 kB / 0.5749 GB, free: 6.754 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01177/1.324, allocations: 2.496 MB / 0.5774 GB, free: 4.609 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003259/1.324, allocations: 42.78 kB / 0.5774 GB, free: 4.586 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009686/1.334, allocations: 4.549 MB / 0.5818 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.334, allocations: 3.281 kB / 0.5818 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01352/1.347, allocations: 5.042 MB / 0.5868 GB, free: 13.47 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/1.349, allocations: 0.5466 MB / 0.5873 GB, free: 13.01 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003993/1.349, allocations: 32.2 kB / 0.5873 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00265/1.352, allocations: 231.7 kB / 0.5876 GB, free: 12.79 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004495/1.352, allocations: 132 kB / 0.5877 GB, free: 12.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001981/1.353, allocations: 55.47 kB / 0.5877 GB, free: 12.63 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001317/1.354, allocations: 0.6598 MB / 0.5884 GB, free: 12.13 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.354, allocations: 0 / 0.5884 GB, free: 12.13 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00795/1.362, allocations: 1.862 MB / 0.5902 GB, free: 10.4 MB / 474.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.02314/1.385, allocations: 6.714 MB / 0.5967 GB, free: 5.344 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01853/1.404, allocations: 4.387 MB / 0.601 GB, free: 1.637 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/1.404, allocations: 0 / 0.601 GB, free: 1.637 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008043/1.412, allocations: 2.332 MB / 0.6033 GB, free: 15.33 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005391/1.417, allocations: 0.5577 MB / 0.6039 GB, free: 14.78 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01914/1.437, allocations: 7.668 MB / 0.6113 GB, free: 6.984 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001657/1.438, allocations: 1.631 MB / 0.6129 GB, free: 5.316 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001897/1.44, allocations: 0.8507 MB / 0.6138 GB, free: 4.465 MB / 490.7 MB Notification: Performance of SimCode: time 1.172e-06/1.44, allocations: 0 / 0.6138 GB, free: 4.465 MB / 490.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_TestControlledPumpCalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgLoopMain.cpp:15: ./OMCppModelicaTest_3_2_2_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_ * tmp678) + (_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_2_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_ * tmp678) + (_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_2_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_2_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_2_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_2_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_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgLoopMain.cpp:21: ./OMCppModelicaTest_3_2_2_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_2_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_2_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_2_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_2_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_ * tmp711) + (_system->_$DER_P_valve_P_relativeFlowCoefficient_ * _system->_$cse15_)) * _system->_valve_P_Av_)) - _system->_$DER_P_pump_P_m_flow_)); ^ ./OMCppModelicaTest_3_2_2_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_ * tmp711) + (_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_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgLoopMain.cpp:27: ./OMCppModelicaTest_3_2_2_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_ * tmp736) + (_system->_$DER_P_valve1_P_relativeFlowCoefficient_ * tmp737)) * _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_2_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_ * tmp736) + (_system->_$DER_P_valve1_P_relativeFlowCoefficient_ * tmp737)) * _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_2_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_2_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_2_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_2_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_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpAlgLoopMain.cpp:33: ./OMCppModelicaTest_3_2_2_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_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPumpCalcHelperMain.o] Error 1