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.2_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") Notification: Performance of loadModel(ModelicaTest): time 2.321/2.321, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.087e-05/3.094e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3719, allocations: 54.85 MB / 362.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.5989/0.9708, allocations: 142 MB / 0.493 GB, free: 2.75 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01296/0.9838, allocations: 6.635 MB / 0.4995 GB, free: 2.676 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007585/0.9846, allocations: 36.09 kB / 0.4996 GB, free: 2.668 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009405/0.9856, allocations: 239 kB / 0.4998 GB, free: 2.668 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004762/0.9904, allocations: 1.109 MB / 0.5009 GB, free: 2.633 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002742/0.9931, allocations: 0.6356 MB / 0.5015 GB, free: 2.594 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00192/0.9951, allocations: 0.6695 MB / 0.5021 GB, free: 2.59 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005767/0.9957, allocations: 290.6 kB / 0.5024 GB, free: 2.578 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.9969, allocations: 466 kB / 0.5029 GB, free: 2.578 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005161/0.9974, allocations: 296.3 kB / 0.5032 GB, free: 2.574 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005432/1.003, allocations: 2.304 MB / 0.5054 GB, free: 2.562 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007307/1.004, allocations: 88.44 kB / 0.5055 GB, free: 2.562 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002123/1.004, allocations: 120.6 kB / 0.5056 GB, free: 2.562 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004368/1.004, allocations: 72.41 kB / 0.5057 GB, free: 2.562 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003254/1.008, allocations: 1.205 MB / 0.5068 GB, free: 2.477 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.008, allocations: 0 / 0.5068 GB, free: 2.477 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.125e-06/1.008, allocations: 0 / 0.5068 GB, free: 2.477 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.351e-05/1.008, allocations: 4 kB / 0.5068 GB, free: 2.473 MB / 426.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.002628/1.01, allocations: 0.9034 MB / 0.5077 GB, free: 17.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/1.01, allocations: 9.125 kB / 0.5077 GB, free: 17.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/1.012, allocations: 140.8 kB / 0.5079 GB, free: 17.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/1.013, allocations: 480 kB / 0.5083 GB, free: 17.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.972e-05/1.013, allocations: 33.19 kB / 0.5084 GB, free: 17.6 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-05/1.013, allocations: 36.72 kB / 0.5084 GB, free: 17.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/1.015, allocations: 0.5854 MB / 0.509 GB, free: 17.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/1.015, allocations: 0 / 0.509 GB, free: 17.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.454e-05/1.015, allocations: 17.88 kB / 0.509 GB, free: 17.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/1.015, allocations: 15.14 kB / 0.509 GB, free: 17.47 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/1.017, allocations: 481.8 kB / 0.5095 GB, free: 17.46 MB / 442.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.00428/1.021, allocations: 2.613 MB / 0.512 GB, free: 15.69 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/1.022, allocations: 331.3 kB / 0.5123 GB, free: 15.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005506/1.023, allocations: 333 kB / 0.5126 GB, free: 15.37 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/1.023, allocations: 35.47 kB / 0.5127 GB, free: 15.33 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 3.085e-06/1.023, allocations: 0 / 0.5127 GB, free: 15.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.002505/1.025, allocations: 0.7093 MB / 0.5134 GB, free: 15.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.648e-05/1.025, allocations: 136.5 kB / 0.5135 GB, free: 15 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006164/1.026, allocations: 374.9 kB / 0.5139 GB, free: 14.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.756e-05/1.026, allocations: 35.36 kB / 0.5139 GB, free: 14.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/1.026, allocations: 342.8 kB / 0.5142 GB, free: 14.62 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/1.026, allocations: 118.9 kB / 0.5143 GB, free: 14.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/1.026, allocations: 9.844 kB / 0.5143 GB, free: 14.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/1.027, allocations: 327.8 kB / 0.5147 GB, free: 14.23 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004909/1.027, allocations: 157.7 kB / 0.5148 GB, free: 14.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005616/1.028, allocations: 326.7 kB / 0.5151 GB, free: 14.03 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005487/1.028, allocations: 212.1 kB / 0.5153 GB, free: 14.01 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.028, allocations: 0 / 0.5153 GB, free: 14.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001512/1.03, allocations: 0.5466 MB / 0.5159 GB, free: 13.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.03, allocations: 5 kB / 0.5159 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/1.03, allocations: 6.844 kB / 0.5159 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002628/1.033, allocations: 298.8 kB / 0.5162 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007043/1.033, allocations: 115.3 kB / 0.5163 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006451/1.034, allocations: 0.6023 MB / 0.5168 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007135/1.035, allocations: 62.11 kB / 0.5169 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/1.035, allocations: 51.55 kB / 0.517 GB, free: 13.38 MB / 442.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.0003715/1.035, allocations: 187.2 kB / 0.5171 GB, free: 13.26 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/1.035, allocations: 48.62 kB / 0.5172 GB, free: 13.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/1.038, allocations: 0.7219 MB / 0.5179 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/1.038, allocations: 4.969 kB / 0.5179 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/1.038, allocations: 0 / 0.5179 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/1.038, allocations: 7.047 kB / 0.5179 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/1.041, allocations: 1.227 MB / 0.5191 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/1.041, allocations: 0 / 0.5191 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004125/1.041, allocations: 66.06 kB / 0.5192 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005772/1.047, allocations: 0.5515 MB / 0.5197 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.252e-05/1.047, allocations: 10.41 kB / 0.5197 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006358/1.048, allocations: 0.6061 MB / 0.5203 GB, free: 12.03 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.048, allocations: 5.531 kB / 0.5203 GB, free: 12.03 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/1.049, allocations: 0.644 MB / 0.5209 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/1.049, allocations: 140.2 kB / 0.5211 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/1.049, allocations: 9.281 kB / 0.5211 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005179/1.05, allocations: 32.47 kB / 0.5211 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.683e-05/1.05, allocations: 37.2 kB / 0.5211 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.89e-05/1.05, allocations: 17.31 kB / 0.5212 GB, free: 11.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000536/1.051, allocations: 325 kB / 0.5215 GB, free: 11.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.051, allocations: 0 / 0.5215 GB, free: 11.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001445/1.052, allocations: 365.1 kB / 0.5218 GB, free: 11.39 MB / 442.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.00174/1.054, allocations: 0.4993 MB / 0.5223 GB, free: 11.22 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001401/1.055, allocations: 408.6 kB / 0.5227 GB, free: 11.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/1.055, allocations: 0 / 0.5227 GB, free: 11.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005748/1.056, allocations: 191.7 kB / 0.5229 GB, free: 11.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/1.058, allocations: 250.2 kB / 0.5231 GB, free: 11.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/1.06, allocations: 1.124 MB / 0.5242 GB, free: 10.56 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005411/1.061, allocations: 0.8728 MB / 0.5251 GB, free: 9.852 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005655/1.062, allocations: 95.75 kB / 0.5252 GB, free: 9.836 MB / 442.7 MB Notification: Performance of SimCode: time 1.022e-06/1.062, allocations: 0 / 0.5252 GB, free: 9.836 MB / 442.7 MB Notification: Performance of Templates: time 0.03349/1.095, allocations: 14.78 MB / 0.5396 GB, free: 3.211 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.2_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.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:30: ./OMCppModelicaTest_3.2.2_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.2_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.2_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp:30: ./OMCppModelicaTest_3.2.2_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.2_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.2_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp:30: ./OMCppModelicaTest_3.2.2_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.2_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.2_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp:36: ./OMCppModelicaTest_3.2.2_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.2_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.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