Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") Notification: Performance of loadModel(ModelicaTest): time 1.933/1.933, allocations: 209.3 MB / 224.4 MB, free: 0.6641 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.837e-05/2.833e-05, allocations: 4 kB / 276.2 MB, free: 15.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3705, allocations: 48.7 MB / 324.9 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.2441/0.6147, allocations: 142 MB / 466.9 MB, free: 1.246 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01885/0.6336, allocations: 6.618 MB / 473.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008131/0.6345, allocations: 27.81 kB / 473.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.6358, allocations: 246.6 kB / 473.7 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01809/0.6539, allocations: 1.117 MB / 474.9 MB, free: 9.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003509/0.6574, allocations: 0.6201 MB / 475.5 MB, free: 8.609 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01018/0.6676, allocations: 0.6805 MB / 476.2 MB, free: 7.926 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008338/0.6685, allocations: 280.2 kB / 476.4 MB, free: 7.648 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006027/0.6746, allocations: 474.8 kB / 476.9 MB, free: 7.184 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009814/0.6756, allocations: 295.1 kB / 477.2 MB, free: 6.895 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01551/0.6911, allocations: 2.302 MB / 479.5 MB, free: 4.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008536/0.6921, allocations: 88 kB / 479.6 MB, free: 4.504 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003029/0.6924, allocations: 119.6 kB / 479.7 MB, free: 4.387 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004085/0.6928, allocations: 72 kB / 479.8 MB, free: 4.316 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004354/0.6972, allocations: 1.205 MB / 481 MB, free: 3.113 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.6972, allocations: 0 / 481 MB, free: 3.113 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.6973, allocations: 0 / 481 MB, free: 3.113 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.392e-05/0.6973, allocations: 0 / 481 MB, free: 3.113 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.003053/0.7004, allocations: 0.9086 MB / 481.9 MB, free: 2.156 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.7004, allocations: 8.031 kB / 481.9 MB, free: 2.148 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.702, allocations: 147.1 kB / 482 MB, free: 2.004 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.7032, allocations: 472.7 kB / 482.5 MB, free: 1.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.733e-05/0.7033, allocations: 33 kB / 482.5 MB, free: 1.469 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.7034, allocations: 43.98 kB / 482.6 MB, free: 1.426 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.7052, allocations: 0.5789 MB / 483.1 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.7052, allocations: 0 / 483.1 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.443e-05/0.7054, allocations: 24 kB / 483.2 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.7054, allocations: 12 kB / 483.2 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.7069, allocations: 483.5 kB / 483.6 MB, free: 308 kB / 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.2572/0.9641, allocations: 2.61 MB / 486.3 MB, free: 141 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.9653, allocations: 336.8 kB / 486.6 MB, free: 140.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004345/0.9657, allocations: 328.5 kB / 486.9 MB, free: 140.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.9658, allocations: 38.36 kB / 486.9 MB, free: 140.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.715e-06/0.9658, allocations: 3.719 kB / 486.9 MB, free: 140.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.002534/0.9683, allocations: 0.7054 MB / 487.7 MB, free: 140.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.9684, allocations: 137 kB / 487.8 MB, free: 140.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006725/0.9691, allocations: 382.7 kB / 488.2 MB, free: 139.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.909e-05/0.9692, allocations: 34.8 kB / 488.2 MB, free: 139.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000203/0.9694, allocations: 332.3 kB / 488.5 MB, free: 139.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.9696, allocations: 121.5 kB / 488.6 MB, free: 139.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.9696, allocations: 10.41 kB / 488.6 MB, free: 139.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.013e-05/0.9697, allocations: 329.3 kB / 489 MB, free: 139.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005602/0.9703, allocations: 155.9 kB / 489.1 MB, free: 139.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000592/0.9709, allocations: 325.5 kB / 489.4 MB, free: 138.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005878/0.9715, allocations: 205.2 kB / 489.6 MB, free: 138.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.9715, allocations: 1.344 kB / 489.6 MB, free: 138.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001628/0.9732, allocations: 0.5513 MB / 490.2 MB, free: 138.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.9732, allocations: 10.06 kB / 490.2 MB, free: 138.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.9732, allocations: 5.75 kB / 490.2 MB, free: 138.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002708/0.976, allocations: 287.3 kB / 490.5 MB, free: 138.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007267/0.9767, allocations: 118.6 kB / 490.6 MB, free: 138.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005447/0.9773, allocations: 0.6065 MB / 491.2 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006734/0.978, allocations: 68.58 kB / 491.3 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.9781, allocations: 51.53 kB / 491.3 MB, free: 138 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 () * 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.0003284/0.9785, allocations: 178.7 kB / 491.5 MB, free: 137.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.9786, allocations: 47.42 kB / 491.5 MB, free: 137.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/0.9812, allocations: 0.7354 MB / 492.3 MB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.9813, allocations: 2.281 kB / 492.3 MB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.9813, allocations: 1.625 kB / 492.3 MB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.9813, allocations: 1.969 kB / 492.3 MB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/0.9841, allocations: 1.219 MB / 493.5 MB, free: 136.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.9842, allocations: 2.281 kB / 493.5 MB, free: 136.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/0.9846, allocations: 64.52 kB / 493.6 MB, free: 136.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006059/0.9907, allocations: 0.5504 MB / 494.1 MB, free: 136.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.091e-05/0.9909, allocations: 16.17 kB / 494.1 MB, free: 136.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005187/0.9914, allocations: 0.6086 MB / 494.7 MB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.9914, allocations: 2.125 kB / 494.7 MB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.9928, allocations: 0.6442 MB / 495.4 MB, free: 135.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/0.9931, allocations: 144.7 kB / 495.5 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.9932, allocations: 8.75 kB / 495.5 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005088/0.9937, allocations: 36.58 kB / 495.6 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.9939, allocations: 27.45 kB / 495.6 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.165e-05/0.9939, allocations: 20.25 kB / 495.6 MB, free: 135.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000594/0.9945, allocations: 328.2 kB / 495.9 MB, free: 135.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.9945, allocations: 1.938 kB / 495.9 MB, free: 135.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001561/0.9961, allocations: 364.6 kB / 496.3 MB, free: 135.3 MB / 410.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 () * 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.001791/0.9979, allocations: 0.4986 MB / 496.8 MB, free: 135.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.9994, allocations: 403.5 kB / 497.2 MB, free: 135 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.9995, allocations: 1.469 kB / 497.2 MB, free: 135 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006212/1, allocations: 196.4 kB / 497.4 MB, free: 134.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/1.002, allocations: 238.8 kB / 497.6 MB, free: 134.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/1.005, allocations: 1.145 MB / 498.8 MB, free: 134.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/1.005, allocations: 0.8733 MB / 499.6 MB, free: 133.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005892/1.006, allocations: 94.52 kB / 499.7 MB, free: 133.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/1.006, allocations: 0 / 499.7 MB, free: 133.4 MB / 410.7 MB Notification: Performance of Templates: time 0.0326/1.038, allocations: 14.78 MB / 0.5025 GB, free: 125.8 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.o OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendAlgLoopMain.cpp:12: ./OMCppModelicaTest_3.2.1_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.1_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.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendAlgLoopMain.cpp:15: ./OMCppModelicaTest_3.2.1_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.1_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.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp:30: ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendInitialize.cpp:705:88: 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(tmp23, tmp24, _fitting1_P_dp_, tmp27); ^~~~~ ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendFunctions.cpp:286: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.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp:30: ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendInitialize.cpp:1302: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(tmp57, tmp58, _fitting2_P_m_flow_small_, tmp61); ^~~~~ ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendFunctions.cpp:97: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.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp:30: ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendInitialize.cpp:1448: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(tmp62, tmp63, _fitting1_P_m_flow_small_, tmp66); ^~~~~ ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendFunctions.cpp:97: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.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp:36: ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.cpp:342: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(tmp123, tmp124, _fitting1_P_dp_, tmp125); ^~~~~~ ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendFunctions.cpp:286: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 ) ^ 6 errors generated. : recipe for target 'OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.o] Error 1