Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.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.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.275/2.275, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004715, allocations: 16 kB / 314.4 MB, free: 9.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3394, allocations: 54.85 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases): time 0.0697/0.4092, allocations: 42.2 MB / 411.5 MB, free: 424 kB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03208/0.4413, allocations: 15.71 MB / 427.2 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002303/0.4436, allocations: 59.5 kB / 427.2 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003701/0.4474, allocations: 0.7618 MB / 428 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01076/0.4582, allocations: 2.707 MB / 430.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01158/0.4698, allocations: 2.81 MB / 433.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006665/0.4765, allocations: 2.811 MB / 436.3 MB, free: 7.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00234/0.4789, allocations: 1.04 MB / 437.4 MB, free: 6.434 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004715/0.4836, allocations: 1.542 MB / 438.9 MB, free: 4.887 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002593/0.4863, allocations: 0.9768 MB / 439.9 MB, free: 3.906 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004875/0.4868, allocations: 72 kB / 440 MB, free: 3.836 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009831/0.4967, allocations: 3.44 MB / 443.4 MB, free: 400 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.4978, allocations: 382.7 kB / 443.8 MB, free: 16 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009145/0.4987, allocations: 392.9 kB / 444.2 MB, free: 15.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007181/0.5059, allocations: 2.647 MB / 446.8 MB, free: 12.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.506, allocations: 0 / 446.8 MB, free: 12.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.506, allocations: 0 / 446.8 MB, free: 12.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.994e-05/0.506, allocations: 0 / 446.8 MB, free: 12.97 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004991/0.511, allocations: 1.848 MB / 448.7 MB, free: 11.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.5111, allocations: 12.03 kB / 448.7 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005877/0.5117, allocations: 202.5 kB / 448.9 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/0.5132, allocations: 241.8 kB / 449.1 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00289/0.5162, allocations: 1.06 MB / 450.2 MB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.5163, allocations: 106.7 kB / 450.3 MB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002711/0.5166, allocations: 128 kB / 450.4 MB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005066/0.5217, allocations: 1.892 MB / 452.3 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.004e-05/0.5218, allocations: 7.938 kB / 452.3 MB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002913/0.5221, allocations: 68 kB / 452.4 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.553e-05/0.5221, allocations: 40 kB / 452.4 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004576/0.5267, allocations: 1.597 MB / 454 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01514/0.5419, allocations: 9.285 MB / 463.3 MB, free: 11.6 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003064/0.545, allocations: 1.028 MB / 464.3 MB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009688/0.5548, allocations: 6.318 MB / 470.6 MB, free: 3.203 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.294e-05/0.5549, allocations: 42.56 kB / 470.7 MB, free: 3.152 MB / 394.7 MB Notification: Performance of pre-optimization done (n=41): time 2.966e-06/0.5549, allocations: 0 / 470.7 MB, free: 3.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=41): time 0.00352/0.5584, allocations: 0.7151 MB / 471.4 MB, free: 2.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001894/0.5586, allocations: 367.8 kB / 471.7 MB, free: 1.984 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002426/0.5611, allocations: 1.25 MB / 473 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001467/0.5613, allocations: 37.7 kB / 473 MB, free: 0.6797 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3134/0.8747, allocations: 0.9784 MB / 474 MB, free: 95.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/0.8751, allocations: 170.9 kB / 474.2 MB, free: 95.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.8752, allocations: 32.5 kB / 474.2 MB, free: 95.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.8754, allocations: 372 kB / 474.6 MB, free: 95.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.8766, allocations: 291.1 kB / 474.9 MB, free: 95.36 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001856/0.8785, allocations: 1.364 MB / 476.2 MB, free: 93.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/0.8803, allocations: 0.5195 MB / 476.7 MB, free: 93.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.442e-05/0.8804, allocations: 9.969 kB / 476.7 MB, free: 93.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004973/0.8854, allocations: 1.526 MB / 478.3 MB, free: 93.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.738e-05/0.8855, allocations: 19.81 kB / 478.3 MB, free: 93.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.845e-05/0.8856, allocations: 41.34 kB / 478.3 MB, free: 93.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-05/0.8857, allocations: 51.88 kB / 478.4 MB, free: 93.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007976/0.8937, allocations: 0.6962 MB / 479.1 MB, free: 93.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/0.8955, allocations: 1.901 MB / 481 MB, free: 91.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002737/0.8983, allocations: 267.4 kB / 481.2 MB, free: 91.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004356/0.8988, allocations: 114.7 kB / 481.4 MB, free: 91.32 MB / 394.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.001126/0.8999, allocations: 384.8 kB / 481.7 MB, free: 91.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000415/0.9004, allocations: 141 kB / 481.9 MB, free: 90.97 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004894/0.9053, allocations: 1.412 MB / 483.3 MB, free: 90.45 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.087e-05/0.9054, allocations: 13.22 kB / 483.3 MB, free: 90.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.9054, allocations: 1.375 kB / 483.3 MB, free: 90.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/0.9054, allocations: 7.891 kB / 483.3 MB, free: 90.44 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002319/0.9077, allocations: 1.011 MB / 484.3 MB, free: 89.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/0.9078, allocations: 1.562 kB / 484.3 MB, free: 89.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008357/0.9087, allocations: 110 kB / 484.4 MB, free: 89.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/0.91, allocations: 180.1 kB / 484.6 MB, free: 89.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.9101, allocations: 25.61 kB / 484.6 MB, free: 89.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.9112, allocations: 1.65 MB / 486.3 MB, free: 88.28 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.9112, allocations: 0 / 486.3 MB, free: 88.28 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/0.9134, allocations: 0.8802 MB / 487.2 MB, free: 87.83 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005427/0.914, allocations: 267.3 kB / 487.4 MB, free: 87.62 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004241/0.9145, allocations: 15.94 kB / 487.4 MB, free: 87.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.9156, allocations: 50.75 kB / 487.5 MB, free: 87.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.9158, allocations: 51.06 kB / 487.5 MB, free: 87.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.942e-05/0.9159, allocations: 36.78 kB / 487.6 MB, free: 87.58 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001568/0.9174, allocations: 0.8403 MB / 488.4 MB, free: 87.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.453e-06/0.9175, allocations: 0 / 488.4 MB, free: 87.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003153/0.9206, allocations: 0.7316 MB / 489.1 MB, free: 87.14 MB / 394.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.004372/0.9251, allocations: 1.994 MB / 491.1 MB, free: 86.08 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007423/0.9325, allocations: 1.173 MB / 492.3 MB, free: 85.78 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.9326, allocations: 0 / 492.3 MB, free: 85.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.9336, allocations: 334.4 kB / 492.6 MB, free: 85.69 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004617/0.9383, allocations: 0.5468 MB / 493.2 MB, free: 85.53 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01706/0.9554, allocations: 8.601 MB / 0.49 GB, free: 76.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007539/0.9562, allocations: 1.278 MB / 0.4913 GB, free: 75.51 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/0.9574, allocations: 0.6281 MB / 0.4919 GB, free: 74.88 MB / 394.7 MB Notification: Performance of SimCode: time 1.412e-06/0.9574, allocations: 4 kB / 0.4919 GB, free: 74.88 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_2_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesAlgLoopMain.cpp:15: ./OMCppModelicaTest_3_2_2_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_2_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_2_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesAlgLoopMain.cpp:27: ./OMCppModelicaTest_3_2_2_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_2_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_2_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_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_2_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_2_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_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_2_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_2_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_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_2_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_2_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_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_2_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_2_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_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_2_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.o] Error 1