Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") 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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 113.4 kB / 17.86 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 201.9 kB / 18.77 MB, free: 4.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 242.4 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2123/0.2123, allocations: 44.17 MB / 336.8 MB, free: 2.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 69.23 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1131, allocations: 60.82 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.3799/0.4931, allocations: 181.1 MB / 0.635 GB, free: 12 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006742/0.4999, allocations: 3.759 MB / 0.6387 GB, free: 8.234 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000829/0.5007, allocations: 19.88 kB / 0.6387 GB, free: 8.215 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.502, allocations: 290.4 kB / 0.639 GB, free: 7.93 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004632/0.5066, allocations: 1.509 MB / 0.6405 GB, free: 6.422 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00198/0.5086, allocations: 0.6336 MB / 0.6411 GB, free: 5.797 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002427/0.5111, allocations: 2.023 MB / 0.643 GB, free: 3.762 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006613/0.5118, allocations: 363.8 kB / 0.6434 GB, free: 3.406 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.5129, allocations: 0.5331 MB / 0.6439 GB, free: 2.871 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007249/0.5137, allocations: 474 kB / 0.6444 GB, free: 2.406 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.5138, allocations: 31.94 kB / 0.6444 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003961/0.5178, allocations: 2.262 MB / 0.6466 GB, free: 112 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002437/0.518, allocations: 135.6 kB / 0.6467 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005493/0.5186, allocations: 338.3 kB / 0.6471 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001993/0.5206, allocations: 1.189 MB / 0.6482 GB, free: 14.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.5206, allocations: 0 / 0.6482 GB, free: 14.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.5206, allocations: 0 / 0.6482 GB, free: 14.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.558e-05/0.5207, allocations: 4 kB / 0.6482 GB, free: 14.45 MB / 494.1 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.002432/0.5231, allocations: 1.076 MB / 0.6493 GB, free: 13.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.5231, allocations: 12.03 kB / 0.6493 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.5242, allocations: 131.2 kB / 0.6494 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000875/0.5251, allocations: 481.1 kB / 0.6499 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.5252, allocations: 29 kB / 0.6499 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.525e-05/0.5252, allocations: 47.94 kB / 0.6499 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.5264, allocations: 0.5867 MB / 0.6505 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.5265, allocations: 7.938 kB / 0.6505 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-05/0.5265, allocations: 16 kB / 0.6505 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.5265, allocations: 12 kB / 0.6506 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009745/0.5275, allocations: 479.6 kB / 0.651 GB, free: 11.47 MB / 494.1 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.003418/0.531, allocations: 2.663 MB / 0.6536 GB, free: 8.586 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007538/0.5317, allocations: 339.5 kB / 0.6539 GB, free: 8.246 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004194/0.5322, allocations: 177.4 kB / 0.6541 GB, free: 8.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004629/0.5326, allocations: 425.8 kB / 0.6545 GB, free: 7.562 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.5327, allocations: 46.83 kB / 0.6546 GB, free: 7.508 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.5327, allocations: 0 / 0.6546 GB, free: 7.508 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001862/0.5346, allocations: 0.7264 MB / 0.6553 GB, free: 6.754 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.58e-05/0.5346, allocations: 132.5 kB / 0.6554 GB, free: 6.594 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005741/0.5352, allocations: 494 kB / 0.6559 GB, free: 6.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.233e-05/0.5353, allocations: 33.7 kB / 0.6559 GB, free: 6.062 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.5355, allocations: 283.8 kB / 0.6562 GB, free: 5.781 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.5356, allocations: 110.3 kB / 0.6563 GB, free: 5.672 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.5358, allocations: 102 kB / 0.6564 GB, free: 5.566 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.536, allocations: 362.8 kB / 0.6567 GB, free: 5.203 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004264/0.5364, allocations: 160.8 kB / 0.6569 GB, free: 5.047 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/0.5369, allocations: 275.7 kB / 0.6571 GB, free: 4.723 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008129/0.5377, allocations: 449.6 kB / 0.6576 GB, free: 4.238 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.5377, allocations: 0 / 0.6576 GB, free: 4.238 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001097/0.5388, allocations: 0.5483 MB / 0.6581 GB, free: 3.684 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.5388, allocations: 13.97 kB / 0.6581 GB, free: 3.672 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.5389, allocations: 4 kB / 0.6581 GB, free: 3.668 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001665/0.5405, allocations: 236.7 kB / 0.6583 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/0.5409, allocations: 107.8 kB / 0.6584 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005587/0.5415, allocations: 0.6014 MB / 0.659 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004495/0.542, allocations: 63.42 kB / 0.6591 GB, free: 2.641 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.754e-05/0.5421, allocations: 47.98 kB / 0.6591 GB, free: 2.594 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002916/0.5424, allocations: 181.6 kB / 0.6593 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.5425, allocations: 55.5 kB / 0.6594 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/0.5447, allocations: 1.09 MB / 0.6604 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.5447, allocations: 4 kB / 0.6604 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5448, allocations: 0 / 0.6604 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.5448, allocations: 3.984 kB / 0.6604 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.5464, allocations: 1.022 MB / 0.6614 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.5464, allocations: 4 kB / 0.6614 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.5466, allocations: 55.91 kB / 0.6615 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003457/0.5501, allocations: 460.3 kB / 0.6619 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.459e-05/0.5501, allocations: 8 kB / 0.6619 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004682/0.5506, allocations: 0.6148 MB / 0.6625 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5506, allocations: 3.984 kB / 0.6625 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008814/0.5515, allocations: 0.5155 MB / 0.663 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.5517, allocations: 136.3 kB / 0.6632 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.5518, allocations: 11.91 kB / 0.6632 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004176/0.5523, allocations: 35.97 kB / 0.6632 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.346e-05/0.5524, allocations: 19.97 kB / 0.6632 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.01e-05/0.5524, allocations: 23.92 kB / 0.6633 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005433/0.5529, allocations: 422.8 kB / 0.6637 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.553, allocations: 0 / 0.6637 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001008/0.554, allocations: 319.7 kB / 0.664 GB, free: 13.44 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001294/0.5553, allocations: 430.2 kB / 0.6644 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009147/0.5562, allocations: 371.6 kB / 0.6647 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.5562, allocations: 4 kB / 0.6647 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003853/0.5566, allocations: 165.3 kB / 0.6649 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/0.5586, allocations: 353.5 kB / 0.6652 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.5603, allocations: 1.105 MB / 0.6663 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/0.5608, allocations: 0.8518 MB / 0.6671 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004533/0.5612, allocations: 131.3 kB / 0.6673 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of SimCode: time 2.004e-06/0.5612, allocations: 0 / 0.6673 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of Templates: time 0.02208/0.5833, allocations: 15.47 MB / 0.6824 GB, free: 10.59 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp In file included from OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendAlgLoopMain.cpp:12: ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendAlgloop80.cpp:88:85: error: no viable conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(tmp255, tmp256, _system->_fitting2_P_dp_, tmp257); ^~~~~~ ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendTypes.h:9:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType &' for 1st argument struct Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendTypes.h:9:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType &&' for 1st argument ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendFunctions.h:20:161: note: passing argument to parameter 'IN_con_' here void Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType& IN_con_, const 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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendAlgLoopMain.cpp:15: ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendAlgloop40.cpp:86:85: error: no viable conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(tmp260, tmp261, _system->_fitting2_P_dp_, tmp264); ^~~~~~ ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendTypes.h:9:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType &' for 1st argument struct Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendTypes.h:9:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType &&' for 1st argument ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendFunctions.h:20:161: note: passing argument to parameter 'IN_con_' here void Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType& IN_con_, const 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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp:29: ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendInitialize.cpp:587:85: error: no viable conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(tmp23, tmp24, _fitting1_P_dp_, tmp27); ^~~~~ ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendTypes.h:9:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType &' for 1st argument struct Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendTypes.h:9:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType &&' for 1st argument ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendFunctions.cpp:280:170: note: passing argument to parameter 'IN_con_' here void Functions::Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType& IN_con_, const 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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp:29: ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendInitialize.cpp:1271:82: error: no viable conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DP(tmp59, tmp60, _fitting2_P_m_flow_small_, tmp63); ^~~~~ ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendTypes.h:9:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType &' for 1st argument struct Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendTypes.h:9:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType &&' for 1st argument ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendFunctions.cpp:104:167: note: passing argument to parameter 'IN_con_' here void Functions::Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DP(const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType& IN_con_, const 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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp:29: ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendInitialize.cpp:1435:82: error: no viable conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DP(tmp64, tmp65, _fitting1_P_m_flow_small_, tmp68); ^~~~~ ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendTypes.h:9:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType &' for 1st argument struct Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendTypes.h:9:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType &&' for 1st argument ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendFunctions.cpp:104:167: note: passing argument to parameter 'IN_con_' here void Functions::Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DP(const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType& IN_con_, const 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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp:33: ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.cpp:304:85: error: no viable conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(tmp273, tmp274, _fitting1_P_dp_, tmp275); ^~~~~~ ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendTypes.h:9:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType &' for 1st argument struct Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendTypes.h:9:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType &&' for 1st argument ./OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendFunctions.cpp:280:170: note: passing argument to parameter 'IN_con_' here void Functions::Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType& IN_con_, const 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. make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.o] Error 1