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_laminar.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_laminar,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.997/1.997, allocations: 209.3 MB / 224.8 MB, free: 0.6758 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005977/0.000598, allocations: 16 kB / 282.6 MB, free: 9.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1083, allocations: 48.71 MB / 331.3 MB, free: 8.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar): time 0.3686/0.477, allocations: 60.06 MB / 391.3 MB, free: 8.289 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04173/0.5188, allocations: 21.37 MB / 412.7 MB, free: 3.387 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002165/0.521, allocations: 47.56 kB / 412.8 MB, free: 3.34 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003061/0.5241, allocations: 0.6843 MB / 413.4 MB, free: 2.652 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02191/0.546, allocations: 4.994 MB / 418.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01498/0.561, allocations: 3.53 MB / 422 MB, free: 10.1 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005585/0.5666, allocations: 2.235 MB / 424.2 MB, free: 7.863 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001867/0.5685, allocations: 0.8518 MB / 425.1 MB, free: 6.988 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004033/0.5726, allocations: 1.242 MB / 426.3 MB, free: 5.742 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03902/0.6117, allocations: 14.69 MB / 441 MB, free: 7.047 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005222/0.6122, allocations: 83.94 kB / 441.1 MB, free: 6.965 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03248/0.6447, allocations: 10.91 MB / 452 MB, free: 12.05 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001031/0.6458, allocations: 398.8 kB / 452.4 MB, free: 11.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006933/0.6465, allocations: 321 kB / 452.7 MB, free: 11.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01336/0.6599, allocations: 4.701 MB / 457.4 MB, free: 6.629 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.66, allocations: 0 / 457.4 MB, free: 6.629 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.66, allocations: 0 / 457.4 MB, free: 6.629 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.155e-05/0.66, allocations: 4 kB / 457.4 MB, free: 6.625 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.01268/0.6727, allocations: 2.518 MB / 459.9 MB, free: 4.051 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.6728, allocations: 8.031 kB / 459.9 MB, free: 4.043 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006012/0.6734, allocations: 177.1 kB / 460.1 MB, free: 3.859 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005967/0.6794, allocations: 0.5758 MB / 460.7 MB, free: 3.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003098/0.6825, allocations: 0.9803 MB / 461.6 MB, free: 2.262 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.6827, allocations: 90.14 kB / 461.7 MB, free: 2.172 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003312/0.6831, allocations: 108 kB / 461.8 MB, free: 2.066 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008484/0.6916, allocations: 2.252 MB / 464.1 MB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.663e-05/0.6917, allocations: 7.938 kB / 464.1 MB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002633/0.6919, allocations: 47.98 kB / 464.1 MB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000181/0.6921, allocations: 86 kB / 464.2 MB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01011/0.7023, allocations: 2.381 MB / 466.6 MB, free: 13.16 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.02062/0.7229, allocations: 9.029 MB / 475.6 MB, free: 3.484 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007831/0.7308, allocations: 1.775 MB / 477.4 MB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06541/0.7963, allocations: 18.97 MB / 496.4 MB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.601e-05/0.7964, allocations: 47.56 kB / 496.4 MB, free: 12.36 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001342/0.7978, allocations: 166.8 kB / 496.6 MB, free: 12.19 MB / 426.7 MB Notification: Performance of pre-optimization done (n=109): time 4.288e-06/0.7978, allocations: 0 / 496.6 MB, free: 12.19 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.4894/1.287, allocations: 16.49 MB / 0.5011 GB, free: 145.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/1.287, allocations: 226 kB / 0.5013 GB, free: 145.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/1.289, allocations: 0.8705 MB / 0.5021 GB, free: 144.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006506/1.29, allocations: 56.23 kB / 0.5022 GB, free: 144.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006081/1.291, allocations: 0.5919 MB / 0.5028 GB, free: 144.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00111/1.292, allocations: 0.5304 MB / 0.5033 GB, free: 143.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003432/1.292, allocations: 35.06 kB / 0.5033 GB, free: 143.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001934/1.292, allocations: 384.7 kB / 0.5037 GB, free: 143.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008314/1.301, allocations: 1.506 MB / 0.5051 GB, free: 142.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008623/1.309, allocations: 1.967 MB / 0.5071 GB, free: 141.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008617/1.318, allocations: 1.637 MB / 0.5087 GB, free: 141.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-05/1.318, allocations: 4.125 kB / 0.5087 GB, free: 141.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.02568/1.344, allocations: 4.745 MB / 0.5133 GB, free: 139.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000271/1.344, allocations: 454.7 kB / 0.5137 GB, free: 139 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.769e-05/1.344, allocations: 12.69 kB / 0.5137 GB, free: 139 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.179/1.523, allocations: 8.108 MB / 0.5217 GB, free: 137.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002838/1.526, allocations: 371.4 kB / 0.522 GB, free: 137.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0288/1.555, allocations: 5.184 MB / 0.5271 GB, free: 134 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005961/1.561, allocations: 231.3 kB / 0.5273 GB, free: 133.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005309/1.562, allocations: 135.3 kB / 0.5274 GB, free: 133.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/1.562, allocations: 4.219 kB / 0.5274 GB, free: 133.8 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0252/1.587, allocations: 4.596 MB / 0.5319 GB, free: 131 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.841e-05/1.587, allocations: 12 kB / 0.5319 GB, free: 131 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02007/1.607, allocations: 3.009 MB / 0.5349 GB, free: 127.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003454/1.61, allocations: 435.3 kB / 0.5353 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02426/1.635, allocations: 4.437 MB / 0.5396 GB, free: 123 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005447/1.64, allocations: 235.7 kB / 0.5398 GB, free: 122.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004262/1.641, allocations: 131.8 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.00144/1.642, allocations: 492.3 kB / 0.5404 GB, free: 122.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005775/1.643, allocations: 138.3 kB / 0.5406 GB, free: 122 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03104/1.674, allocations: 9.139 MB / 0.5495 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.007e-05/1.674, allocations: 63.91 kB / 0.5496 GB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/1.674, allocations: 0 / 0.5496 GB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.845e-05/1.674, allocations: 11.95 kB / 0.5496 GB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.042/1.716, allocations: 12.36 MB / 0.5616 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.122e-05/1.716, allocations: 3.953 kB / 0.5616 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002109/1.718, allocations: 267.9 kB / 0.5619 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1541/1.872, allocations: 8.466 MB / 0.5702 GB, free: 91.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004904/1.873, allocations: 59.94 kB / 0.5702 GB, free: 91.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02522/1.898, allocations: 5.746 MB / 0.5758 GB, free: 85.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.898, allocations: 256 / 0.5758 GB, free: 85.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0365/1.935, allocations: 7.227 MB / 0.5829 GB, free: 78.47 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001985/1.937, allocations: 0.6806 MB / 0.5836 GB, free: 77.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00073/1.937, allocations: 39.98 kB / 0.5836 GB, free: 77.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004965/1.942, allocations: 211.7 kB / 0.5838 GB, free: 77.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005819/1.943, allocations: 129.8 kB / 0.5839 GB, free: 77.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003294/1.943, allocations: 75.92 kB / 0.584 GB, free: 77.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00138/1.945, allocations: 0.7632 MB / 0.5847 GB, free: 76.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.945, allocations: 0 / 0.5847 GB, free: 76.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008085/1.953, allocations: 2.077 MB / 0.5868 GB, free: 74.61 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.04495/1.998, allocations: 8.928 MB / 0.5955 GB, free: 65.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.04213/2.04, allocations: 6.634 MB / 0.602 GB, free: 59.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/2.04, allocations: 0 / 0.602 GB, free: 59.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0163/2.056, allocations: 2.955 MB / 0.6049 GB, free: 56.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005462/2.062, allocations: 0.5955 MB / 0.6054 GB, free: 55.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02074/2.083, allocations: 8.454 MB / 0.6137 GB, free: 47.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/2.084, allocations: 1.639 MB / 0.6153 GB, free: 45.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001586/2.086, allocations: 0.8078 MB / 0.6161 GB, free: 44.56 MB / 426.7 MB Notification: Performance of SimCode: time 1.613e-06/2.086, allocations: 0 / 0.6161 GB, free: 44.56 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_laminarCalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminarCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminarCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminarAlgLoopMain.cpp:15: ./OMCppModelicaTest_3_2_1_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_1_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_1_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_1_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_1_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_ * (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_laminarAlgloop630.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_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_ * tmp671) - _system->_$DER_P_orifice_P_m_flow_)); ^ ./OMCppModelicaTest_3_2_1_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_ * tmp671) - _system->_$DER_P_orifice_P_m_flow_)); ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminarCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminarAlgLoopMain.cpp:21: ./OMCppModelicaTest_3_2_1_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_1_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_1_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_1_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_1_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_ * (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_laminarAlgloop197.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_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_ * tmp745) - _system->_$DER_P_orifice_P_m_flow_)); ^ ./OMCppModelicaTest_3_2_1_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_ * tmp745) - _system->_$DER_P_orifice_P_m_flow_)); ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminarCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminarFunctions.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_laminarCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_1_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_) * (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_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_1_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_) * (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_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_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminarCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminarCalcHelperMain.o] Error 1