Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.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.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.309/2.309, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009728/0.000973, allocations: 12 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3752, allocations: 54.86 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent): time 0.09664/0.4719, allocations: 60.56 MB / 429.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04304/0.515, allocations: 21.58 MB / 451.4 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002065/0.5171, allocations: 47.56 kB / 451.5 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003255/0.5204, allocations: 0.6805 MB / 452.1 MB, free: 7.668 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02148/0.542, allocations: 5.064 MB / 457.2 MB, free: 2.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01509/0.5571, allocations: 3.58 MB / 460.8 MB, free: 15 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005455/0.5626, allocations: 2.262 MB / 463 MB, free: 12.73 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002065/0.5647, allocations: 0.8626 MB / 463.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004249/0.569, allocations: 1.254 MB / 465.2 MB, free: 10.59 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3804/0.9494, allocations: 14.84 MB / 480 MB, free: 18.86 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004792/0.9499, allocations: 77.94 kB / 480.1 MB, free: 18.86 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02913/0.9791, allocations: 11.1 MB / 491.2 MB, free: 18.81 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009802/0.9801, allocations: 405.3 kB / 491.6 MB, free: 18.8 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005833/0.9807, allocations: 322 kB / 491.9 MB, free: 18.77 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.9927, allocations: 4.769 MB / 496.6 MB, free: 18.51 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.9927, allocations: 0 / 496.6 MB, free: 18.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.9928, allocations: 0 / 496.6 MB, free: 18.51 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.686e-05/0.9928, allocations: 3.188 kB / 496.6 MB, free: 18.51 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: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.0128/1.006, allocations: 2.565 MB / 499.2 MB, free: 17.33 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/1.006, allocations: 9.875 kB / 499.2 MB, free: 17.33 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005744/1.006, allocations: 175.2 kB / 499.4 MB, free: 17.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0059/1.012, allocations: 0.5893 MB / 500 MB, free: 17.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002878/1.015, allocations: 0.9789 MB / 0.4892 GB, free: 16.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/1.015, allocations: 93.83 kB / 0.4893 GB, free: 16.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003443/1.016, allocations: 103 kB / 0.4894 GB, free: 16.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008253/1.024, allocations: 2.256 MB / 0.4916 GB, free: 16.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.275e-05/1.024, allocations: 6 kB / 0.4916 GB, free: 16.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003037/1.024, allocations: 44.92 kB / 0.4917 GB, free: 16.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001644/1.025, allocations: 83.09 kB / 0.4917 GB, free: 16.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009596/1.034, allocations: 2.387 MB / 0.4941 GB, free: 16.52 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.01727/1.051, allocations: 9.019 MB / 0.5029 GB, free: 9.969 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007033/1.059, allocations: 1.786 MB / 0.5046 GB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06287/1.121, allocations: 19 MB / 0.5232 GB, free: 3.816 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.938e-05/1.122, allocations: 52 kB / 0.5232 GB, free: 3.766 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00147/1.123, allocations: 154.9 kB / 0.5234 GB, free: 3.633 MB / 410.7 MB Notification: Performance of pre-optimization done (n=109): time 3.376e-06/1.123, allocations: 0 / 0.5234 GB, free: 3.633 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pump.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=159): time 0.1946/1.318, allocations: 16.5 MB / 0.5395 GB, free: 6.102 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/1.318, allocations: 226.9 kB / 0.5397 GB, free: 5.832 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/1.32, allocations: 0.8651 MB / 0.5405 GB, free: 5.156 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006261/1.32, allocations: 56.2 kB / 0.5406 GB, free: 5.117 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005407/1.321, allocations: 0.6003 MB / 0.5412 GB, free: 4.676 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009809/1.322, allocations: 0.528 MB / 0.5417 GB, free: 4.223 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003273/1.322, allocations: 37.44 kB / 0.5417 GB, free: 4.215 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002031/1.322, allocations: 380.8 kB / 0.5421 GB, free: 3.863 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007851/1.33, allocations: 1.508 MB / 0.5436 GB, free: 2.887 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008553/1.339, allocations: 1.97 MB / 0.5455 GB, free: 1.312 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008431/1.347, allocations: 1.62 MB / 0.5471 GB, free: 332 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.008e-05/1.347, allocations: 11.19 kB / 0.5471 GB, free: 324 kB / 426.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.02594/1.373, allocations: 4.746 MB / 0.5517 GB, free: 13.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004107/1.374, allocations: 460.2 kB / 0.5522 GB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.151e-05/1.374, allocations: 18.8 kB / 0.5522 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1784/1.552, allocations: 8.125 MB / 0.5601 GB, free: 5.051 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002994/1.555, allocations: 365.1 kB / 0.5605 GB, free: 4.727 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02989/1.585, allocations: 5.167 MB / 0.5655 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006101/1.591, allocations: 233.7 kB / 0.5657 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005352/1.592, allocations: 144.7 kB / 0.5659 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/1.592, allocations: 6.031 kB / 0.5659 GB, free: 0.5 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02646/1.618, allocations: 4.584 MB / 0.5704 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-05/1.619, allocations: 12 kB / 0.5704 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02126/1.64, allocations: 3.005 MB / 0.5733 GB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003714/1.644, allocations: 434.5 kB / 0.5737 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03138/1.675, allocations: 4.452 MB / 0.5781 GB, free: 7.152 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008519/1.684, allocations: 232 kB / 0.5783 GB, free: 6.953 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009375/1.685, allocations: 132.2 kB / 0.5784 GB, free: 6.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 12 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase,orifice.state_b.phase,orifice.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 (166): * Single equations (assignments): 164 * 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 {5 21,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.002361/1.687, allocations: 495.1 kB / 0.5789 GB, free: 6.504 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009062/1.688, allocations: 137.1 kB / 0.579 GB, free: 6.371 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05075/1.739, allocations: 9.138 MB / 0.5879 GB, free: 336 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001252/1.739, allocations: 68.16 kB / 0.588 GB, free: 284 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/1.739, allocations: 3.953 kB / 0.588 GB, free: 280 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.027e-05/1.739, allocations: 7.969 kB / 0.588 GB, free: 272 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04928/1.788, allocations: 12.36 MB / 0.6001 GB, free: 4.492 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.824e-05/1.788, allocations: 4 kB / 0.6001 GB, free: 4.488 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002329/1.791, allocations: 263.8 kB / 0.6003 GB, free: 4.242 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1559/1.947, allocations: 8.468 MB / 0.6086 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005408/1.947, allocations: 59.92 kB / 0.6087 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02754/1.975, allocations: 5.745 MB / 0.6143 GB, free: 5.922 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.975, allocations: 0 / 0.6143 GB, free: 5.922 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0389/2.014, allocations: 7.218 MB / 0.6213 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002188/2.016, allocations: 0.6883 MB / 0.622 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007521/2.017, allocations: 34.98 kB / 0.622 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004993/2.022, allocations: 219.7 kB / 0.6222 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005256/2.022, allocations: 132.7 kB / 0.6224 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003353/2.023, allocations: 75.92 kB / 0.6224 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001637/2.024, allocations: 0.7632 MB / 0.6232 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.31e-07/2.024, allocations: 0 / 0.6232 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009084/2.033, allocations: 2.085 MB / 0.6252 GB, free: 10.63 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 {5 21,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.04872/2.082, allocations: 8.932 MB / 0.6339 GB, free: 1.793 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.04437/2.127, allocations: 6.643 MB / 0.6404 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/2.127, allocations: 0 / 0.6404 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01721/2.144, allocations: 2.958 MB / 0.6433 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005635/2.15, allocations: 0.5893 MB / 0.6439 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3225/2.472, allocations: 8.457 MB / 0.6521 GB, free: 209.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002023/2.474, allocations: 1.636 MB / 0.6537 GB, free: 208.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001789/2.476, allocations: 0.8073 MB / 0.6545 GB, free: 208.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/2.476, allocations: 0 / 0.6545 GB, free: 208.3 MB / 0.5105 GB 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_TestExamplesVariants_InverseParameterization_turbulentCalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentAlgLoopMain.cpp:15: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentAlgloop630.cpp:130: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_TestExamplesVariants_InverseParameterization_turbulentAlgloop630.cpp:130: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_TestExamplesVariants_InverseParameterization_turbulentAlgloop630.cpp:132:41: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_W_single_ = ((__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")) + ((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")))); ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentAlgloop630.cpp:132:272: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_W_single_ = ((__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")) + ((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")))); ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentAlgloop630.cpp:167:56: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pipe1_P_flowModel_P_m_flows_(1) = ((__HOM_LAMBDA_ * (tmp635 * _system->_pipe1_P_flowModel_P_nParallel_)) + ((1.0 - __HOM_LAMBDA_) * (_system->_pipe1_P_flowModel_P_m_flow_nominal_ * division(_system->_$DER_P_pipe1_P_flowModel_P_dps_fg_(1),_system->_pipe1_P_flowModel_P_dp_nominal_,!_system->_initial,"pipe1.flowModel.dp_nominal")))); ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentAlgloop630.cpp:167:135: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pipe1_P_flowModel_P_m_flows_(1) = ((__HOM_LAMBDA_ * (tmp635 * _system->_pipe1_P_flowModel_P_nParallel_)) + ((1.0 - __HOM_LAMBDA_) * (_system->_pipe1_P_flowModel_P_m_flow_nominal_ * division(_system->_$DER_P_pipe1_P_flowModel_P_dps_fg_(1),_system->_pipe1_P_flowModel_P_dp_nominal_,!_system->_initial,"pipe1.flowModel.dp_nominal")))); ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentAlgloop630.cpp:312:199: error: use of undeclared identifier '__HOM_LAMBDA_' _res[1] = (((1.0 - __HOM_LAMBDA_) * (_system->_orifice_P_m_flow_nominal_ * division(_system->_$DER_P_pump_P_dp_pump_,_system->_orifice_P_dp_nominal_,!_system->_initial,"orifice.dp_nominal"))) + ((__HOM_LAMBDA_ * tmp669) - _system->_$DER_P_orifice_P_m_flow_)); ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentAlgloop630.cpp:312:22: error: use of undeclared identifier '__HOM_LAMBDA_' _res[1] = (((1.0 - __HOM_LAMBDA_) * (_system->_orifice_P_m_flow_nominal_ * division(_system->_$DER_P_pump_P_dp_pump_,_system->_orifice_P_dp_nominal_,!_system->_initial,"orifice.dp_nominal"))) + ((__HOM_LAMBDA_ * tmp669) - _system->_$DER_P_orifice_P_m_flow_)); ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentAlgLoopMain.cpp:21: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentAlgloop197.cpp:133: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_TestExamplesVariants_InverseParameterization_turbulentAlgloop197.cpp:133: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_TestExamplesVariants_InverseParameterization_turbulentAlgloop197.cpp:135:41: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_W_single_ = ((__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")) + ((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")))); ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentAlgloop197.cpp:135:418: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pump_P_W_single_ = ((__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")) + ((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")))); ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentAlgloop197.cpp:177:56: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pipe1_P_flowModel_P_m_flows_(1) = ((__HOM_LAMBDA_ * (tmp717 * _system->_pipe1_P_flowModel_P_nParallel_)) + ((1.0 - __HOM_LAMBDA_) * (_system->_pipe1_P_flowModel_P_m_flow_nominal_ * division(_system->_$DER_P_pipe1_P_flowModel_P_dps_fg_(1),_system->_pipe1_P_flowModel_P_dp_nominal_,!_system->_initial,"pipe1.flowModel.dp_nominal")))); ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentAlgloop197.cpp:177:135: error: use of undeclared identifier '__HOM_LAMBDA_' _system->_$DER_P_pipe1_P_flowModel_P_m_flows_(1) = ((__HOM_LAMBDA_ * (tmp717 * _system->_pipe1_P_flowModel_P_nParallel_)) + ((1.0 - __HOM_LAMBDA_) * (_system->_pipe1_P_flowModel_P_m_flow_nominal_ * division(_system->_$DER_P_pipe1_P_flowModel_P_dps_fg_(1),_system->_pipe1_P_flowModel_P_dp_nominal_,!_system->_initial,"pipe1.flowModel.dp_nominal")))); ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentAlgloop197.cpp:287:200: error: use of undeclared identifier '__HOM_LAMBDA_' _res[1] = (((1.0 - __HOM_LAMBDA_) * (_system->_orifice_P_m_flow_nominal_ * division(_system->_$DER_P_orifice_P_dp_fg_,_system->_orifice_P_dp_nominal_,!_system->_initial,"orifice.dp_nominal"))) + ((__HOM_LAMBDA_ * tmp743) - _system->_$DER_P_orifice_P_m_flow_)); ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentAlgloop197.cpp:287:22: error: use of undeclared identifier '__HOM_LAMBDA_' _res[1] = (((1.0 - __HOM_LAMBDA_) * (_system->_orifice_P_m_flow_nominal_ * division(_system->_$DER_P_orifice_P_dp_fg_,_system->_orifice_P_dp_nominal_,!_system->_initial,"orifice.dp_nominal"))) + ((__HOM_LAMBDA_ * tmp743) - _system->_$DER_P_orifice_P_m_flow_)); ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentFunctions.cpp:7254:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp383, tmp384); ^~~~~~~~~~~~~~~~~~~~~~~~ /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_TestExamplesVariants_InverseParameterization_turbulentCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentInitialize.cpp:1962:316: error: use of undeclared identifier '__HOM_LAMBDA_' SystemDefaultImplementation::setRealStartValue(_$DER_P_pump_P_N_, division((_$DER_P_pump_P_head_ - ((_pump_P_N_ * division((_pump_P_delta_head_init_ * division(_$DER_P_pump_P_V_flow_single_,_pump_P_V_flow_single_init_,!_initial,"pump.V_flow_single_init")),_pump_P_N_nominal_,!_initial,"pump.N_nominal")) * (1.0 - __HOM_LAMBDA_))),(division(((1.0 - __HOM_LAMBDA_) * (tmp494 + (_pump_P_delta_head_init_ * division(_pump_P_V_flow_single_,_pump_P_V_flow_single_init_,!_initial,"pump.V_flow_single_init")))),_pump_P_N_nominal_,!_initial,"pump.N_nominal") + division((((tmp497 * _pump_P_N_) * __HOM_LAMBDA_) * 2.0),std::pow(_pump_P_N_nominal_, 2.0),!_initial,"pump.N_nominal ^ 2.0")),!_initial,"(1.0 - __HOM_LAMBDA) * (ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pump.flowCharacteristic(0.0, {0.0, pump.V_flow_op, 1.5 * pump.V_flow_op}, {2.0 * pump.head_op, pump.head_op, 0.0}) + pump.delta_head_init * pump.V_flow_single / pump.V_flow_single_init) / pump.N_nominal + ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pump.flowCharacteristic(pump.V_flow_single * pump.N_nominal / pump.N, {0.0, pump.V_flow_op, 1.5 * pump.V_flow_op}, {2.0 * pump.head_op, pump.head_op, 0.0}) * pump.N * __HOM_LAMBDA * 2.0 / pump.N_nominal ^ 2.0"), false); ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentInitialize.cpp:1962:351: error: use of undeclared identifier '__HOM_LAMBDA_' SystemDefaultImplementation::setRealStartValue(_$DER_P_pump_P_N_, division((_$DER_P_pump_P_head_ - ((_pump_P_N_ * division((_pump_P_delta_head_init_ * division(_$DER_P_pump_P_V_flow_single_,_pump_P_V_flow_single_init_,!_initial,"pump.V_flow_single_init")),_pump_P_N_nominal_,!_initial,"pump.N_nominal")) * (1.0 - __HOM_LAMBDA_))),(division(((1.0 - __HOM_LAMBDA_) * (tmp494 + (_pump_P_delta_head_init_ * division(_pump_P_V_flow_single_,_pump_P_V_flow_single_init_,!_initial,"pump.V_flow_single_init")))),_pump_P_N_nominal_,!_initial,"pump.N_nominal") + division((((tmp497 * _pump_P_N_) * __HOM_LAMBDA_) * 2.0),std::pow(_pump_P_N_nominal_, 2.0),!_initial,"pump.N_nominal ^ 2.0")),!_initial,"(1.0 - __HOM_LAMBDA) * (ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pump.flowCharacteristic(0.0, {0.0, pump.V_flow_op, 1.5 * pump.V_flow_op}, {2.0 * pump.head_op, pump.head_op, 0.0}) + pump.delta_head_init * pump.V_flow_single / pump.V_flow_single_init) / pump.N_nominal + ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pump.flowCharacteristic(pump.V_flow_single * pump.N_nominal / pump.N, {0.0, pump.V_flow_op, 1.5 * pump.V_flow_op}, {2.0 * pump.head_op, pump.head_op, 0.0}) * pump.N * __HOM_LAMBDA * 2.0 / pump.N_nominal ^ 2.0"), false); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. : recipe for target 'OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentCalcHelperMain.o] Error 1