Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000819/0.0008189, allocations: 97.91 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001014/0.001014, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.7 MB / 247.5 MB, free: 9.504 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2146/0.2146, allocations: 46.19 MB / 345.9 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002896, allocations: 11.98 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1165, allocations: 63.56 MB / 483.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.403/0.5195, allocations: 181.6 MB / 0.6498 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006817/0.5264, allocations: 3.746 MB / 0.6534 GB, free: 11.24 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000934/0.5274, allocations: 23.81 kB / 0.6534 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.5285, allocations: 270.5 kB / 0.6537 GB, free: 10.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005146/0.5337, allocations: 1.543 MB / 0.6552 GB, free: 9.406 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.536, allocations: 0.6359 MB / 0.6558 GB, free: 8.777 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003014/0.539, allocations: 2.023 MB / 0.6578 GB, free: 6.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008143/0.5398, allocations: 360.4 kB / 0.6581 GB, free: 6.398 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.5411, allocations: 0.5135 MB / 0.6586 GB, free: 5.883 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009223/0.5421, allocations: 466 kB / 0.6591 GB, free: 5.426 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.5422, allocations: 28 kB / 0.6591 GB, free: 5.398 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004365/0.5466, allocations: 2.285 MB / 0.6613 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000253/0.5469, allocations: 135.5 kB / 0.6615 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005699/0.5474, allocations: 352.1 kB / 0.6618 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002173/0.5496, allocations: 1.193 MB / 0.663 GB, free: 1.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5496, allocations: 0 / 0.663 GB, free: 1.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5497, allocations: 0 / 0.663 GB, free: 1.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.642e-05/0.5497, allocations: 0 / 0.663 GB, free: 1.43 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.002257/0.5519, allocations: 0.9389 MB / 0.6639 GB, free: 452 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.552, allocations: 11.97 kB / 0.6639 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.5531, allocations: 139.2 kB / 0.664 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008667/0.554, allocations: 484.4 kB / 0.6645 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.554, allocations: 33 kB / 0.6645 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.62e-05/0.5541, allocations: 47.94 kB / 0.6646 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.5554, allocations: 0.598 MB / 0.6652 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.5554, allocations: 3.938 kB / 0.6652 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.929e-05/0.5555, allocations: 20 kB / 0.6652 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.5555, allocations: 8 kB / 0.6652 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.5565, allocations: 495.5 kB / 0.6657 GB, free: 14.55 MB / 0.4981 GB 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.003037/0.5596, allocations: 2.66 MB / 0.6683 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007782/0.5603, allocations: 354 kB / 0.6686 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003379/0.5607, allocations: 185.3 kB / 0.6688 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004207/0.5611, allocations: 433.9 kB / 0.6692 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.5612, allocations: 34.84 kB / 0.6692 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/0.5612, allocations: 0 / 0.6692 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.00175/0.5629, allocations: 0.7421 MB / 0.6699 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/0.563, allocations: 136.5 kB / 0.6701 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005959/0.5636, allocations: 0.4901 MB / 0.6706 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.004e-05/0.5637, allocations: 29.7 kB / 0.6706 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.5639, allocations: 279.9 kB / 0.6709 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.564, allocations: 114.2 kB / 0.671 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.062e-05/0.5641, allocations: 37.7 kB / 0.671 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5643, allocations: 362.8 kB / 0.6713 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/0.5646, allocations: 160.8 kB / 0.6715 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.565, allocations: 279.7 kB / 0.6718 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007621/0.5658, allocations: 461.6 kB / 0.6722 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.5658, allocations: 4 kB / 0.6722 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001035/0.5669, allocations: 0.5525 MB / 0.6727 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.5669, allocations: 15.94 kB / 0.6728 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.5669, allocations: 7.984 kB / 0.6728 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001607/0.5685, allocations: 280.5 kB / 0.673 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/0.5689, allocations: 112.8 kB / 0.6731 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000465/0.5694, allocations: 0.5991 MB / 0.6737 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004309/0.5698, allocations: 63.58 kB / 0.6738 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.244e-05/0.5699, allocations: 47.98 kB / 0.6738 GB, free: 5.613 MB / 0.4981 GB 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.0002701/0.5702, allocations: 181.6 kB / 0.674 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.5703, allocations: 55.34 kB / 0.6741 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.5724, allocations: 1.096 MB / 0.6751 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.5724, allocations: 4 kB / 0.6751 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.5725, allocations: 3.984 kB / 0.6751 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.5725, allocations: 4 kB / 0.6751 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.574, allocations: 1.032 MB / 0.6762 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.574, allocations: 4 kB / 0.6762 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/0.5743, allocations: 55.91 kB / 0.6762 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003311/0.5776, allocations: 0.5511 MB / 0.6767 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.5776, allocations: 11.98 kB / 0.6768 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004607/0.5781, allocations: 0.6108 MB / 0.6774 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5781, allocations: 0 / 0.6774 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000844/0.579, allocations: 0.5272 MB / 0.6779 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.5792, allocations: 156.3 kB / 0.678 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.5793, allocations: 11.98 kB / 0.678 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003984/0.5797, allocations: 39.88 kB / 0.6781 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.5798, allocations: 27.91 kB / 0.6781 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.553e-05/0.5798, allocations: 16 kB / 0.6781 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005426/0.5804, allocations: 422.8 kB / 0.6785 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5804, allocations: 0 / 0.6785 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001044/0.5814, allocations: 331.7 kB / 0.6788 GB, free: 308 kB / 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.00128/0.5827, allocations: 445.8 kB / 0.6793 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009036/0.5836, allocations: 389.2 kB / 0.6796 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.5837, allocations: 0 / 0.6796 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004001/0.5841, allocations: 178 kB / 0.6798 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/0.586, allocations: 349.5 kB / 0.6801 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.5879, allocations: 1.141 MB / 0.6812 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.5884, allocations: 0.8518 MB / 0.6821 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004225/0.5888, allocations: 131.3 kB / 0.6822 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.5888, allocations: 0 / 0.6822 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of Templates: time 0.02543/0.6142, allocations: 15.6 MB / 0.6974 GB, free: 13.23 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile make -j1 -f ModelicaTest_trunk_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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendAlgLoopMain.cpp:12: ./OMCppModelicaTest_trunk_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(tmp264, tmp265, _system->_fitting2_P_dp_, tmp266); ^~~~~~ ./OMCppModelicaTest_trunk_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_trunk_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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendAlgLoopMain.cpp:15: ./OMCppModelicaTest_trunk_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(tmp269, tmp270, _system->_fitting2_P_dp_, tmp273); ^~~~~~ ./OMCppModelicaTest_trunk_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_trunk_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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_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_trunk_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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendFunctions.cpp:287: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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_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_trunk_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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendFunctions.cpp:107: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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_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_trunk_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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendFunctions.cpp:107: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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendInitialize.cpp:2786:36: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] if (!((_fitting2_P_dp_start_ >= -1.797693134862316e+308) && (_fitting2_P_dp_start_ <= 100000000.0))) ^ ./OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendInitialize.cpp:2930:36: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] if (!((_fitting1_P_dp_start_ >= -1.797693134862316e+308) && (_fitting1_P_dp_start_ <= 100000000.0))) ^ In file included from OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.cpp:33: ./OMCppModelicaTest_trunk_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(tmp282, tmp283, _fitting1_P_dp_, tmp284); ^~~~~~ ./OMCppModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendFunctions.cpp:287: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) ^ 2 warnings and 6 errors generated. make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.o] Error 1