Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.334/2.334, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004513/0.0004513, allocations: 15.98 kB / 314.4 MB, free: 9.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3697, allocations: 54.86 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.5693/0.9391, allocations: 146.9 MB / 0.504 GB, free: 12.01 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.014/0.9531, allocations: 7.017 MB / 0.5109 GB, free: 10.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.9542, allocations: 22.28 kB / 0.5109 GB, free: 10.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.9558, allocations: 258.8 kB / 0.5112 GB, free: 10.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006334/0.9621, allocations: 1.36 MB / 0.5125 GB, free: 10.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003393/0.9656, allocations: 0.8025 MB / 0.5133 GB, free: 10.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002173/0.9678, allocations: 0.9107 MB / 0.5142 GB, free: 9.996 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000815/0.9686, allocations: 339.8 kB / 0.5145 GB, free: 9.875 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001503/0.9701, allocations: 0.499 MB / 0.515 GB, free: 9.734 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007012/0.9709, allocations: 324.2 kB / 0.5153 GB, free: 9.625 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.971, allocations: 23.41 kB / 0.5153 GB, free: 9.625 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005909/0.9769, allocations: 2.331 MB / 0.5176 GB, free: 8.965 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003649/0.9774, allocations: 121.3 kB / 0.5177 GB, free: 8.918 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003657/0.9777, allocations: 152.6 kB / 0.5178 GB, free: 8.867 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003385/0.9811, allocations: 1.213 MB / 0.519 GB, free: 8.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.9812, allocations: 0 / 0.519 GB, free: 8.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.9812, allocations: 0 / 0.519 GB, free: 8.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.9812, allocations: 0 / 0.519 GB, free: 8.34 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002496/0.9837, allocations: 0.9594 MB / 0.52 GB, free: 7.621 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.9838, allocations: 11.81 kB / 0.52 GB, free: 7.617 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001571/0.984, allocations: 82.34 kB / 0.5201 GB, free: 7.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.9852, allocations: 142.4 kB / 0.5202 GB, free: 7.516 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.9863, allocations: 474.7 kB / 0.5206 GB, free: 7.191 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.9863, allocations: 36.3 kB / 0.5207 GB, free: 7.184 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.868e-05/0.9864, allocations: 38.97 kB / 0.5207 GB, free: 7.184 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.988, allocations: 0.5897 MB / 0.5213 GB, free: 6.945 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.988, allocations: 7.922 kB / 0.5213 GB, free: 6.938 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.474e-05/0.9881, allocations: 25.91 kB / 0.5213 GB, free: 6.934 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.9881, allocations: 10.16 kB / 0.5213 GB, free: 6.934 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.9895, allocations: 473.7 kB / 0.5218 GB, free: 6.848 MB / 410.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.00411/0.9936, allocations: 2.613 MB / 0.5243 GB, free: 4.762 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.9947, allocations: 339.9 kB / 0.5247 GB, free: 4.684 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005041/0.9952, allocations: 325.8 kB / 0.525 GB, free: 4.383 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.9952, allocations: 37.22 kB / 0.525 GB, free: 4.344 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 3.056e-06/0.9952, allocations: 0 / 0.525 GB, free: 4.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.00242/0.9977, allocations: 0.7073 MB / 0.5257 GB, free: 4.086 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.195e-05/0.9978, allocations: 138.1 kB / 0.5258 GB, free: 3.926 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006409/0.9984, allocations: 432.2 kB / 0.5262 GB, free: 3.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.29e-05/0.9985, allocations: 31.92 kB / 0.5263 GB, free: 3.719 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/0.9988, allocations: 342.7 kB / 0.5266 GB, free: 3.469 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.9989, allocations: 115.5 kB / 0.5267 GB, free: 3.387 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.999, allocations: 10.95 kB / 0.5267 GB, free: 3.387 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.9991, allocations: 326.2 kB / 0.527 GB, free: 3.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005011/0.9996, allocations: 163.2 kB / 0.5272 GB, free: 3.039 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006064/1, allocations: 328.5 kB / 0.5275 GB, free: 2.797 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005664/1.001, allocations: 201.2 kB / 0.5277 GB, free: 2.766 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/1.001, allocations: 2.625 kB / 0.5277 GB, free: 2.766 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00152/1.002, allocations: 0.5522 MB / 0.5282 GB, free: 2.617 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/1.002, allocations: 4.344 kB / 0.5282 GB, free: 2.617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/1.002, allocations: 9.641 kB / 0.5282 GB, free: 2.613 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002622/1.005, allocations: 283.8 kB / 0.5285 GB, free: 2.516 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006602/1.006, allocations: 126.2 kB / 0.5286 GB, free: 2.484 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005935/1.006, allocations: 0.5974 MB / 0.5292 GB, free: 1.945 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005957/1.007, allocations: 69.19 kB / 0.5293 GB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/1.007, allocations: 45.23 kB / 0.5293 GB, free: 1.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (51): * Single equations (assignments): 50 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003415/1.007, allocations: 184.6 kB / 0.5295 GB, free: 1.785 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/1.008, allocations: 50.61 kB / 0.5295 GB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002514/1.01, allocations: 0.7296 MB / 0.5303 GB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/1.01, allocations: 6.844 kB / 0.5303 GB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/1.01, allocations: 4 kB / 0.5303 GB, free: 1.469 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/1.01, allocations: 0 / 0.5303 GB, free: 1.469 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002601/1.013, allocations: 1.231 MB / 0.5315 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.013, allocations: 0 / 0.5315 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/1.013, allocations: 64.41 kB / 0.5315 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005787/1.019, allocations: 0.5419 MB / 0.5321 GB, free: 0.582 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.407e-05/1.019, allocations: 13.91 kB / 0.5321 GB, free: 0.582 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005979/1.02, allocations: 0.6162 MB / 0.5327 GB, free: 36 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.02, allocations: 0 / 0.5327 GB, free: 36 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/1.021, allocations: 0.5563 MB / 0.5332 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/1.021, allocations: 141.8 kB / 0.5334 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/1.021, allocations: 15.39 kB / 0.5334 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005071/1.022, allocations: 35.5 kB / 0.5334 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.644e-05/1.022, allocations: 34.25 kB / 0.5334 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-05/1.022, allocations: 15.47 kB / 0.5335 GB, free: 15.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005193/1.023, allocations: 327.1 kB / 0.5338 GB, free: 15.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.874e-06/1.023, allocations: 0 / 0.5338 GB, free: 15.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0014/1.024, allocations: 367.4 kB / 0.5341 GB, free: 15.39 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (30): * Single equations (assignments): 29 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003224/1.027, allocations: 1.5 MB / 0.5356 GB, free: 14.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00128/1.029, allocations: 398.8 kB / 0.536 GB, free: 14.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.029, allocations: 4.281 kB / 0.536 GB, free: 14.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005586/1.029, allocations: 186.6 kB / 0.5361 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/1.031, allocations: 242.6 kB / 0.5364 GB, free: 14.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006649/1.038, allocations: 3.079 MB / 0.5394 GB, free: 12.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005447/1.039, allocations: 0.8691 MB / 0.5402 GB, free: 11.31 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007053/1.039, allocations: 233.7 kB / 0.5405 GB, free: 11.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/1.039, allocations: 0 / 0.5405 GB, free: 11.2 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_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendAlgLoopMain.cpp:12: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendAlgloop90.cpp:89: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(tmp285, tmp286, _system->_fitting2_P_dp_, tmp287); ^~~~~~ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendFunctions.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_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendAlgLoopMain.cpp:15: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendAlgloop47.cpp:87: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(tmp290, tmp291, _system->_fitting2_P_dp_, tmp294); ^~~~~~ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendFunctions.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_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendInitialize.cpp:716: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(tmp192, tmp193, _fitting1_P_dp_, tmp196); ^~~~~~ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendFunctions.cpp:284: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_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendInitialize.cpp:1308: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(tmp226, tmp227, _fitting2_P_m_flow_small_, tmp230); ^~~~~~ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendFunctions.cpp:95: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_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendInitialize.cpp:1454: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(tmp231, tmp232, _fitting1_P_m_flow_small_, tmp235); ^~~~~~ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendFunctions.cpp:95: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_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.cpp:344: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(tmp11, tmp12, _fitting1_P_dp_, tmp13); ^~~~~ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendFunctions.cpp:284: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_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendFMU.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_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.o] Error 1