Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.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.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.119/2.119, allocations: 209.2 MB / 224.8 MB, free: 0.5352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004515/0.0004517, allocations: 8 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3755, allocations: 48.71 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases): time 0.08514/0.4607, allocations: 42.18 MB / 373.5 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03885/0.4996, allocations: 15.7 MB / 389.2 MB, free: 4.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002507/0.5022, allocations: 55.56 kB / 389.2 MB, free: 4.465 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003927/0.5061, allocations: 0.7657 MB / 390 MB, free: 3.695 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0113/0.5175, allocations: 2.735 MB / 392.7 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01226/0.5298, allocations: 2.834 MB / 395.6 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007246/0.5371, allocations: 2.8 MB / 398.4 MB, free: 11.31 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002764/0.5399, allocations: 1.04 MB / 399.4 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005069/0.545, allocations: 1.546 MB / 400.9 MB, free: 8.695 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002788/0.5478, allocations: 0.9729 MB / 401.9 MB, free: 7.719 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005816/0.5485, allocations: 72 kB / 402 MB, free: 7.648 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01022/0.5587, allocations: 3.448 MB / 405.4 MB, free: 4.195 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001155/0.5599, allocations: 382.7 kB / 405.8 MB, free: 3.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.561, allocations: 392.8 kB / 406.2 MB, free: 3.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007705/0.5687, allocations: 2.643 MB / 408.8 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5688, allocations: 0 / 408.8 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.567e-06/0.5688, allocations: 4 kB / 408.8 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.122e-05/0.5689, allocations: 0 / 408.8 MB, free: 0.7773 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.005217/0.5741, allocations: 1.852 MB / 410.7 MB, free: 14.87 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.5742, allocations: 12.03 kB / 410.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006025/0.5748, allocations: 198.5 kB / 410.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.5764, allocations: 249.7 kB / 411.1 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002949/0.5794, allocations: 1.052 MB / 412.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/0.5796, allocations: 98.66 kB / 412.3 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003357/0.5799, allocations: 128 kB / 412.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005416/0.5854, allocations: 1.896 MB / 414.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-05/0.5855, allocations: 11.89 kB / 414.3 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003159/0.5858, allocations: 68 kB / 414.4 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.931e-05/0.5858, allocations: 36 kB / 414.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005249/0.5911, allocations: 1.605 MB / 416 MB, free: 9.289 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01662/0.6078, allocations: 9.282 MB / 425.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003214/0.611, allocations: 1.018 MB / 426.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01028/0.6214, allocations: 6.32 MB / 432.7 MB, free: 7.012 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.063e-05/0.6215, allocations: 42.5 kB / 432.7 MB, free: 6.961 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 3.637e-06/0.6215, allocations: 0 / 432.7 MB, free: 6.961 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.003605/0.6251, allocations: 0.7139 MB / 433.4 MB, free: 6.238 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002114/0.6254, allocations: 367.8 kB / 433.8 MB, free: 5.793 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002947/0.6283, allocations: 1.258 MB / 435 MB, free: 4.523 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001889/0.6286, allocations: 33.7 kB / 435.1 MB, free: 4.484 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001238/0.6298, allocations: 0.9875 MB / 436 MB, free: 3.484 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/0.6302, allocations: 169.9 kB / 436.2 MB, free: 3.316 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.6303, allocations: 28 kB / 436.2 MB, free: 3.289 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002615/0.6306, allocations: 374.8 kB / 436.6 MB, free: 2.914 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.6318, allocations: 283.8 kB / 436.9 MB, free: 2.637 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002346/0.6342, allocations: 1.369 MB / 438.2 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001986/0.6362, allocations: 0.5201 MB / 438.8 MB, free: 216 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.294e-05/0.6363, allocations: 15.94 kB / 438.8 MB, free: 200 kB / 362.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005776/0.6421, allocations: 1.524 MB / 440.3 MB, free: 14.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.098e-05/0.6422, allocations: 20 kB / 440.3 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.683e-05/0.6423, allocations: 43.97 kB / 440.4 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001181/0.6424, allocations: 52.81 kB / 440.4 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01065/0.6531, allocations: 0.6981 MB / 441.1 MB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/0.6558, allocations: 1.898 MB / 443 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0039/0.6597, allocations: 262 kB / 443.3 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004461/0.6602, allocations: 108 kB / 443.4 MB, free: 11.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 163 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 200 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001315/0.6615, allocations: 388.9 kB / 443.8 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005717/0.6621, allocations: 150.2 kB / 443.9 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006728/0.6689, allocations: 1.414 MB / 445.3 MB, free: 9.539 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-05/0.669, allocations: 8 kB / 445.3 MB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.669, allocations: 4 kB / 445.3 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/0.669, allocations: 3.984 kB / 445.3 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00322/0.6723, allocations: 1.011 MB / 446.3 MB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.829e-05/0.6723, allocations: 0 / 446.3 MB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.6735, allocations: 111.9 kB / 446.5 MB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00188/0.6754, allocations: 186.3 kB / 446.6 MB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/0.6756, allocations: 23.98 kB / 446.7 MB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.6775, allocations: 1.645 MB / 448.3 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.6776, allocations: 4.031 kB / 448.3 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003408/0.681, allocations: 0.8807 MB / 449.2 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/0.6822, allocations: 346.7 kB / 449.5 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005011/0.6827, allocations: 12 kB / 449.5 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/0.6843, allocations: 55.95 kB / 449.6 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/0.6845, allocations: 44.59 kB / 449.6 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001494/0.6847, allocations: 39.97 kB / 449.7 MB, free: 4.996 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002533/0.6872, allocations: 0.8357 MB / 450.5 MB, free: 4.164 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.226e-06/0.6873, allocations: 4 kB / 450.5 MB, free: 4.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005022/0.6923, allocations: 0.737 MB / 451.3 MB, free: 3.422 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.006723/0.6991, allocations: 1.992 MB / 453.2 MB, free: 1.398 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009426/0.7086, allocations: 1.183 MB / 454.4 MB, free: 228 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.7086, allocations: 4 kB / 454.4 MB, free: 224 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.7098, allocations: 328 kB / 454.8 MB, free: 15.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004947/0.7148, allocations: 0.535 MB / 455.3 MB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0207/0.7355, allocations: 8.601 MB / 463.9 MB, free: 5.941 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/0.7368, allocations: 1.278 MB / 465.2 MB, free: 4.637 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/0.7382, allocations: 0.6359 MB / 465.8 MB, free: 4 MB / 394.7 MB Notification: Performance of SimCode: time 1.302e-06/0.7382, allocations: 0 / 465.8 MB, free: 4 MB / 394.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_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesAlgLoopMain.cpp:15: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesAlgloop258.cpp:82:85: error: non-const lvalue reference to type 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' cannot bind to a value of unrelated type 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(tmp523, tmp524, _system->_from_mflow3_P_dp_, tmp525); ^~~~~~ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesFunctions.h:20:236: note: passing argument to parameter 'IN_con_' here void /*Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOWRetType*/ Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType& IN_con_, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__varType& IN_var_, double dp_, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOWRetType& output); ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesAlgLoopMain.cpp:27: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesAlgloop175.cpp:80:85: error: non-const lvalue reference to type 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' cannot bind to a value of unrelated type 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(tmp538, tmp539, _system->_from_mflow3_P_dp_, tmp542); ^~~~~~ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesFunctions.h:20:236: note: passing argument to parameter 'IN_con_' here void /*Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOWRetType*/ Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType& IN_con_, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__varType& IN_var_, double dp_, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOWRetType& output); ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesInitialize.cpp:2193:85: error: non-const lvalue reference to type 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' cannot bind to a value of unrelated type 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(tmp242, tmp243, _from_dp3_P_dp_, tmp246); ^~~~~~ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesFunctions.cpp:268:246: note: passing argument to parameter 'IN_con_' here void /*Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOWRetType */ Functions::Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType& IN_con_, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__varType& IN_var_, double dp_,Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOWRetType & output ) ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesInitialize.cpp:4279:82: error: non-const lvalue reference to type 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' cannot bind to a value of unrelated type 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DP(tmp367, tmp368, _from_mflow3_P_m_flow_small_, tmp373); ^~~~~~ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesFunctions.cpp:79:240: note: passing argument to parameter 'IN_con_' here void /*Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DPRetType */ Functions::Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DP(Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType& IN_con_, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__varType& IN_var_, double m_flow_,Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DPRetType & output ) ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesInitialize.cpp:4393:82: error: non-const lvalue reference to type 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' cannot bind to a value of unrelated type 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DP(tmp374, tmp375, _from_dp3_P_m_flow_small_, tmp380); ^~~~~~ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesFunctions.cpp:79:240: note: passing argument to parameter 'IN_con_' here void /*Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DPRetType */ Functions::Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DP(Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType& IN_con_, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__varType& IN_var_, double m_flow_,Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DPRetType & output ) ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.cpp:674:85: error: non-const lvalue reference to type 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' cannot bind to a value of unrelated type 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(tmp27, tmp28, _from_dp3_P_dp_, tmp29); ^~~~~ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesFunctions.cpp:268:246: note: passing argument to parameter 'IN_con_' here void /*Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOWRetType */ Functions::Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType& IN_con_, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__varType& IN_var_, double dp_,Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOWRetType & output ) ^ In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesFMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 6 errors generated. : recipe for target 'OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.o] Error 1