Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.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.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.038/2.038, allocations: 209.2 MB / 224.8 MB, free: 1.551 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004406/0.0004403, allocations: 12 kB / 282.6 MB, free: 9.727 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1074, allocations: 48.71 MB / 331.3 MB, free: 8.922 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent): time 0.3731/0.4806, allocations: 60.06 MB / 391.3 MB, free: 8.395 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04382/0.5244, allocations: 21.37 MB / 412.7 MB, free: 3.426 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002091/0.5266, allocations: 51.56 kB / 412.8 MB, free: 3.375 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003111/0.5297, allocations: 0.6842 MB / 413.4 MB, free: 2.688 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02155/0.5513, allocations: 4.99 MB / 418.4 MB, free: 13.68 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01478/0.5661, allocations: 3.538 MB / 422 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005464/0.5716, allocations: 2.231 MB / 424.2 MB, free: 7.902 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002008/0.5736, allocations: 0.8511 MB / 425.1 MB, free: 7.031 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003993/0.5776, allocations: 1.246 MB / 426.3 MB, free: 5.781 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03867/0.6164, allocations: 14.69 MB / 441 MB, free: 7.086 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000498/0.6169, allocations: 79.94 kB / 441.1 MB, free: 7.008 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03621/0.6531, allocations: 10.92 MB / 452 MB, free: 12.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001316/0.6545, allocations: 394.8 kB / 452.4 MB, free: 11.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008848/0.6554, allocations: 321 kB / 452.7 MB, free: 11.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01357/0.669, allocations: 4.705 MB / 457.4 MB, free: 6.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6691, allocations: 0 / 457.4 MB, free: 6.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.115e-06/0.6691, allocations: 3.938 kB / 457.4 MB, free: 6.656 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.679e-05/0.6691, allocations: 0 / 457.4 MB, free: 6.656 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.01269/0.6818, allocations: 2.518 MB / 459.9 MB, free: 4.082 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.6819, allocations: 8.031 kB / 459.9 MB, free: 4.074 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006243/0.6825, allocations: 177.1 kB / 460.1 MB, free: 3.891 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005816/0.6884, allocations: 0.5681 MB / 460.7 MB, free: 3.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002881/0.6913, allocations: 0.9843 MB / 461.6 MB, free: 2.293 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.6915, allocations: 90.14 kB / 461.7 MB, free: 2.203 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003504/0.6918, allocations: 104 kB / 461.8 MB, free: 2.102 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008785/0.7006, allocations: 2.256 MB / 464.1 MB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.094e-05/0.7007, allocations: 3.938 kB / 464.1 MB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000276/0.701, allocations: 55.98 kB / 464.1 MB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001877/0.7012, allocations: 85.95 kB / 464.2 MB, free: 15.58 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01016/0.7114, allocations: 2.377 MB / 466.6 MB, free: 13.19 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.01936/0.7308, allocations: 9.013 MB / 475.6 MB, free: 3.531 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009363/0.7402, allocations: 1.783 MB / 477.4 MB, free: 1.738 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08416/0.8244, allocations: 18.97 MB / 496.4 MB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.732e-05/0.8246, allocations: 51.55 kB / 496.4 MB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001356/0.8259, allocations: 158.8 kB / 496.6 MB, free: 12.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=109): time 3.877e-06/0.8259, allocations: 0 / 496.6 MB, free: 12.23 MB / 426.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.4639/1.29, allocations: 16.49 MB / 0.501 GB, free: 145.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/1.29, allocations: 225.4 kB / 0.5013 GB, free: 145.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/1.292, allocations: 0.8711 MB / 0.5021 GB, free: 144.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006352/1.292, allocations: 53.08 kB / 0.5022 GB, free: 144.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004934/1.293, allocations: 0.5917 MB / 0.5027 GB, free: 144.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008581/1.294, allocations: 0.5314 MB / 0.5033 GB, free: 143.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003285/1.294, allocations: 35.88 kB / 0.5033 GB, free: 143.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/1.294, allocations: 385 kB / 0.5037 GB, free: 143.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008269/1.303, allocations: 1.507 MB / 0.5051 GB, free: 143.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008748/1.311, allocations: 1.968 MB / 0.5071 GB, free: 142 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008711/1.32, allocations: 1.632 MB / 0.5086 GB, free: 141.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-05/1.32, allocations: 3.469 kB / 0.5086 GB, free: 141.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.02699/1.347, allocations: 4.745 MB / 0.5133 GB, free: 139.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000294/1.348, allocations: 459.1 kB / 0.5137 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.74e-05/1.348, allocations: 11.81 kB / 0.5137 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1827/1.53, allocations: 8.12 MB / 0.5217 GB, free: 137.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002921/1.533, allocations: 375.5 kB / 0.522 GB, free: 137.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02987/1.563, allocations: 5.169 MB / 0.5271 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006434/1.57, allocations: 235.1 kB / 0.5273 GB, free: 134 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006522/1.57, allocations: 134.7 kB / 0.5274 GB, free: 134 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/1.57, allocations: 3.938 kB / 0.5274 GB, free: 134 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02652/1.597, allocations: 4.593 MB / 0.5319 GB, free: 131 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.933e-05/1.597, allocations: 12 kB / 0.5319 GB, free: 131 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02095/1.618, allocations: 3.012 MB / 0.5349 GB, free: 128 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003638/1.622, allocations: 435.4 kB / 0.5353 GB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02557/1.647, allocations: 4.442 MB / 0.5396 GB, free: 123.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005958/1.653, allocations: 235.8 kB / 0.5398 GB, free: 122.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006046/1.654, allocations: 127.9 kB / 0.54 GB, free: 122.7 MB / 426.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.001511/1.656, allocations: 496.2 kB / 0.5404 GB, free: 122.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000636/1.656, allocations: 138.3 kB / 0.5406 GB, free: 122.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03353/1.69, allocations: 9.126 MB / 0.5495 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.715e-05/1.69, allocations: 67.91 kB / 0.5495 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/1.69, allocations: 4 kB / 0.5495 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.123e-05/1.69, allocations: 7.969 kB / 0.5496 GB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04622/1.736, allocations: 12.37 MB / 0.5616 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.862e-05/1.736, allocations: 8 kB / 0.5616 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002696/1.739, allocations: 263.7 kB / 0.5619 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1769/1.916, allocations: 8.462 MB / 0.5702 GB, free: 91.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006016/1.917, allocations: 63.92 kB / 0.5702 GB, free: 91.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02654/1.943, allocations: 5.751 MB / 0.5758 GB, free: 85.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/1.943, allocations: 7.984 kB / 0.5758 GB, free: 85.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03903/1.982, allocations: 7.224 MB / 0.5829 GB, free: 78.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001946/1.984, allocations: 0.6768 MB / 0.5836 GB, free: 77.81 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006684/1.985, allocations: 36 kB / 0.5836 GB, free: 77.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004843/1.99, allocations: 211.7 kB / 0.5838 GB, free: 77.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004742/1.99, allocations: 129.8 kB / 0.5839 GB, free: 77.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003102/1.991, allocations: 75.92 kB / 0.584 GB, free: 77.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001368/1.992, allocations: 0.7632 MB / 0.5847 GB, free: 76.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.992, allocations: 0 / 0.5847 GB, free: 76.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008923/2.001, allocations: 2.082 MB / 0.5868 GB, free: 74.65 MB / 426.7 MB 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.04511/2.046, allocations: 8.921 MB / 0.5955 GB, free: 65.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.04331/2.09, allocations: 6.634 MB / 0.602 GB, free: 59.31 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/2.09, allocations: 4 kB / 0.602 GB, free: 59.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01663/2.106, allocations: 2.959 MB / 0.6049 GB, free: 56.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005838/2.112, allocations: 0.5951 MB / 0.6054 GB, free: 55.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02241/2.135, allocations: 8.454 MB / 0.6137 GB, free: 47.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/2.136, allocations: 1.635 MB / 0.6153 GB, free: 45.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001655/2.138, allocations: 0.8078 MB / 0.6161 GB, free: 44.61 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/2.138, allocations: 4 kB / 0.6161 GB, free: 44.61 MB / 426.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentCalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentAlgLoopMain.cpp:15: ./OMCppModelicaTest_3_2_1_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_1_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_1_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_1_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_1_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_ * (tmp637 * _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_1_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_ * (tmp637 * _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_1_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_ * tmp671) - _system->_$DER_P_orifice_P_m_flow_)); ^ ./OMCppModelicaTest_3_2_1_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_ * tmp671) - _system->_$DER_P_orifice_P_m_flow_)); ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentAlgLoopMain.cpp:21: ./OMCppModelicaTest_3_2_1_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_1_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_1_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_1_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_1_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_ * (tmp719 * _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_1_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_ * (tmp719 * _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_1_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_ * tmp745) - _system->_$DER_P_orifice_P_m_flow_)); ^ ./OMCppModelicaTest_3_2_1_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_ * tmp745) - _system->_$DER_P_orifice_P_m_flow_)); ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentFunctions.cpp:7224:5: error: no matching function for call to 'add_array_scalar' add_array_scalar(c_(2), tmp385, tmp386); ^~~~~~~~~~~~~~~~~~~~~~~~ /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_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_1_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_) * (tmp496 + (_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((((tmp499 * _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_1_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_) * (tmp496 + (_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((((tmp499 * _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_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulentCalcHelperMain.o] Error 1