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_laminar.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_laminar,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.281/2.281, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004658/0.0004659, allocations: 16 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3616, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar): time 0.09736/0.459, allocations: 60.54 MB / 429.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04281/0.5018, allocations: 21.59 MB / 451.4 MB, free: 8.387 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002006/0.5039, allocations: 51.56 kB / 451.5 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00324/0.5071, allocations: 0.6765 MB / 452.1 MB, free: 7.656 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0214/0.5286, allocations: 5.056 MB / 457.2 MB, free: 2.586 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01538/0.544, allocations: 3.58 MB / 460.8 MB, free: 15 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005818/0.5499, allocations: 2.274 MB / 463 MB, free: 12.71 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002057/0.552, allocations: 0.8548 MB / 463.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004149/0.5562, allocations: 1.262 MB / 465.2 MB, free: 10.57 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3697/0.9259, allocations: 14.83 MB / 480 MB, free: 18.71 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005181/0.9265, allocations: 80.25 kB / 480.1 MB, free: 18.71 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02925/0.9557, allocations: 11.1 MB / 491.2 MB, free: 18.65 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001015/0.9568, allocations: 404.9 kB / 491.6 MB, free: 18.65 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006076/0.9574, allocations: 316.5 kB / 491.9 MB, free: 18.62 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01201/0.9694, allocations: 4.771 MB / 496.6 MB, free: 18.35 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.9695, allocations: 0 / 496.6 MB, free: 18.35 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.9695, allocations: 0 / 496.6 MB, free: 18.35 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.898e-05/0.9696, allocations: 2.734 kB / 496.6 MB, free: 18.35 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.01298/0.9825, allocations: 2.569 MB / 499.2 MB, free: 17.17 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.9826, allocations: 9.688 kB / 499.2 MB, free: 17.17 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006865/0.9833, allocations: 175 kB / 499.4 MB, free: 17.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006025/0.9894, allocations: 0.5909 MB / 500 MB, free: 17.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002895/0.9923, allocations: 0.9735 MB / 0.4892 GB, free: 16.74 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.9925, allocations: 97.89 kB / 0.4893 GB, free: 16.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003954/0.9929, allocations: 104.1 kB / 0.4894 GB, free: 16.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00814/1.001, allocations: 2.248 MB / 0.4916 GB, free: 16.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.189e-05/1.001, allocations: 6.875 kB / 0.4916 GB, free: 16.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002692/1.001, allocations: 50.36 kB / 0.4917 GB, free: 16.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001633/1.002, allocations: 87.11 kB / 0.4917 GB, free: 16.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009402/1.011, allocations: 2.379 MB / 0.4941 GB, free: 16.36 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.01625/1.027, allocations: 9.022 MB / 0.5029 GB, free: 9.848 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006873/1.034, allocations: 1.785 MB / 0.5046 GB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06364/1.098, allocations: 19 MB / 0.5232 GB, free: 3.691 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.59e-05/1.098, allocations: 53.11 kB / 0.5232 GB, free: 3.641 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001408/1.099, allocations: 155.4 kB / 0.5234 GB, free: 3.512 MB / 410.7 MB Notification: Performance of pre-optimization done (n=109): time 3.897e-06/1.1, allocations: 0 / 0.5234 GB, free: 3.512 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.199/1.299, allocations: 16.5 MB / 0.5395 GB, free: 5.973 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/1.299, allocations: 230.1 kB / 0.5397 GB, free: 5.703 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/1.3, allocations: 0.8615 MB / 0.5405 GB, free: 5.027 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006098/1.301, allocations: 54.7 kB / 0.5406 GB, free: 4.988 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005165/1.302, allocations: 0.6006 MB / 0.5412 GB, free: 4.551 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009503/1.303, allocations: 0.5259 MB / 0.5417 GB, free: 4.098 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003259/1.303, allocations: 35.62 kB / 0.5417 GB, free: 4.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002043/1.303, allocations: 384.4 kB / 0.5421 GB, free: 3.734 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007962/1.311, allocations: 1.501 MB / 0.5436 GB, free: 2.762 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008542/1.32, allocations: 1.968 MB / 0.5455 GB, free: 1.188 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008481/1.328, allocations: 1.634 MB / 0.5471 GB, free: 196 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.028e-05/1.328, allocations: 4 kB / 0.5471 GB, free: 192 kB / 426.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.02583/1.354, allocations: 4.746 MB / 0.5517 GB, free: 13.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003955/1.355, allocations: 457.5 kB / 0.5522 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.912e-05/1.355, allocations: 15.95 kB / 0.5522 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1856/1.54, allocations: 8.128 MB / 0.5601 GB, free: 4.926 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00302/1.543, allocations: 372.3 kB / 0.5605 GB, free: 4.598 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03041/1.574, allocations: 5.161 MB / 0.5655 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006116/1.58, allocations: 239.5 kB / 0.5657 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005003/1.58, allocations: 136.7 kB / 0.5659 GB, free: 388 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/1.58, allocations: 4 kB / 0.5659 GB, free: 384 kB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02703/1.608, allocations: 4.587 MB / 0.5703 GB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.592e-05/1.608, allocations: 12 kB / 0.5704 GB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02192/1.63, allocations: 3.009 MB / 0.5733 GB, free: 10.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003776/1.633, allocations: 434.2 kB / 0.5737 GB, free: 10.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0264/1.66, allocations: 4.453 MB / 0.5781 GB, free: 7.023 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005786/1.666, allocations: 233.2 kB / 0.5783 GB, free: 6.824 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000627/1.666, allocations: 131.7 kB / 0.5784 GB, free: 6.711 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.001617/1.668, allocations: 488 kB / 0.5789 GB, free: 6.379 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006524/1.669, allocations: 134.4 kB / 0.579 GB, free: 6.246 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03533/1.704, allocations: 9.144 MB / 0.5879 GB, free: 204 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001156/1.704, allocations: 65.59 kB / 0.588 GB, free: 152 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/1.704, allocations: 3.953 kB / 0.588 GB, free: 148 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.388e-05/1.704, allocations: 7.969 kB / 0.588 GB, free: 140 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04994/1.754, allocations: 12.36 MB / 0.6001 GB, free: 4.527 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.865e-05/1.754, allocations: 4.281 kB / 0.6001 GB, free: 4.523 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002323/1.757, allocations: 269.1 kB / 0.6003 GB, free: 4.273 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.162/1.919, allocations: 8.463 MB / 0.6086 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005514/1.919, allocations: 63.92 kB / 0.6087 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02803/1.947, allocations: 5.745 MB / 0.6143 GB, free: 5.949 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/1.947, allocations: 7.094 kB / 0.6143 GB, free: 5.945 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03913/1.986, allocations: 7.214 MB / 0.6213 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002152/1.989, allocations: 0.6806 MB / 0.622 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007075/1.989, allocations: 39.09 kB / 0.622 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004991/1.994, allocations: 215.7 kB / 0.6222 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005058/1.995, allocations: 133.8 kB / 0.6224 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003477/1.995, allocations: 75.92 kB / 0.6224 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001646/1.997, allocations: 0.7554 MB / 0.6232 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.9e-07/1.997, allocations: 0 / 0.6232 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008995/2.006, allocations: 2.089 MB / 0.6252 GB, free: 10.67 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.04893/2.055, allocations: 8.946 MB / 0.634 GB, free: 1.824 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.04493/2.1, allocations: 6.638 MB / 0.6404 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/2.1, allocations: 1.438 kB / 0.6404 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01777/2.118, allocations: 2.958 MB / 0.6433 GB, free: 8.348 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006049/2.124, allocations: 0.5894 MB / 0.6439 GB, free: 7.762 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3206/2.445, allocations: 8.448 MB / 0.6521 GB, free: 209.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002037/2.447, allocations: 1.639 MB / 0.6538 GB, free: 208.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001833/2.449, allocations: 0.8063 MB / 0.6545 GB, free: 208.8 MB / 0.5105 GB Notification: Performance of SimCode: time 3.256e-06/2.449, allocations: 0 / 0.6545 GB, free: 208.8 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_laminarCalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminarCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminarCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminarAlgLoopMain.cpp:15: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminarAlgloop630.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_laminarAlgloop630.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_laminarAlgloop630.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_laminarAlgloop630.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_laminarAlgloop630.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_laminarAlgloop630.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_laminarAlgloop630.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_laminarAlgloop630.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_laminarCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminarAlgLoopMain.cpp:21: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminarAlgloop197.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_laminarAlgloop197.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_laminarAlgloop197.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_laminarAlgloop197.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_laminarAlgloop197.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_laminarAlgloop197.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_laminarAlgloop197.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_laminarAlgloop197.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_laminarCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminarFunctions.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_laminarCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminarInitialize.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_laminar.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_laminar.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_laminarInitialize.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_laminar.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_laminar.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_laminarCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminarCalcHelperMain.o] Error 1