Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008522/0.0008524, allocations: 198.3 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.126/1.126, allocations: 226.5 MB / 243.4 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000748/0.0007479, allocations: 96.64 kB / 295.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2677/0.2677, allocations: 44.82 MB / 392.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002405/0.0002406, allocations: 11.94 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2421, allocations: 62.95 MB / 0.516 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.1409/0.383, allocations: 167 MB / 0.6791 GB, free: 1.996 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.2137/0.5968, allocations: 3.508 MB / 0.6825 GB, free: 5.184 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003402/0.5971, allocations: 19.41 kB / 0.6825 GB, free: 5.184 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006291/0.5978, allocations: 259.8 kB / 0.6828 GB, free: 5.18 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003099/0.6009, allocations: 1.521 MB / 0.6843 GB, free: 5.117 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.6022, allocations: 0.5645 MB / 0.6848 GB, free: 5.105 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.6037, allocations: 1.747 MB / 0.6865 GB, free: 5.102 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003826/0.6041, allocations: 354.9 kB / 0.6869 GB, free: 5.066 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005733/0.6047, allocations: 0.5121 MB / 0.6874 GB, free: 5.062 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003796/0.605, allocations: 447.5 kB / 0.6878 GB, free: 5.062 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.418e-05/0.6051, allocations: 25.56 kB / 0.6878 GB, free: 5.062 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002596/0.6077, allocations: 2.186 MB / 0.6899 GB, free: 5.039 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.6079, allocations: 134.9 kB / 0.6901 GB, free: 5.039 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004632/0.6083, allocations: 335.1 kB / 0.6904 GB, free: 21.01 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.6095, allocations: 1.19 MB / 0.6915 GB, free: 20.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.6095, allocations: 0 / 0.6915 GB, free: 20.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.704e-06/0.6095, allocations: 2.125 kB / 0.6915 GB, free: 20.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.6096, allocations: 1.969 kB / 0.6916 GB, free: 20.93 MB / 0.4948 GB 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.001364/0.6109, allocations: 0.9382 MB / 0.6925 GB, free: 20.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.611, allocations: 10.44 kB / 0.6925 GB, free: 20.3 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.208e-05/0.6111, allocations: 88.17 kB / 0.6926 GB, free: 20.26 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008018/0.6119, allocations: 134 kB / 0.6927 GB, free: 20.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005329/0.6124, allocations: 481 kB / 0.6931 GB, free: 19.97 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.6124, allocations: 30.09 kB / 0.6932 GB, free: 19.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.274e-05/0.6125, allocations: 41.59 kB / 0.6932 GB, free: 19.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009318/0.6134, allocations: 0.6002 MB / 0.6938 GB, free: 19.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.6135, allocations: 4.031 kB / 0.6938 GB, free: 19.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.264e-05/0.6135, allocations: 22.27 kB / 0.6938 GB, free: 19.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.6135, allocations: 10.84 kB / 0.6938 GB, free: 19.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008083/0.6144, allocations: 481.6 kB / 0.6943 GB, free: 19.84 MB / 0.4948 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.002547/0.6169, allocations: 2.662 MB / 0.6969 GB, free: 18.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006409/0.6176, allocations: 356.7 kB / 0.6972 GB, free: 18.01 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.6179, allocations: 182.1 kB / 0.6974 GB, free: 18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003402/0.6182, allocations: 435.3 kB / 0.6978 GB, free: 17.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.6182, allocations: 37.67 kB / 0.6979 GB, free: 17.49 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.6182, allocations: 0 / 0.6979 GB, free: 17.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.001462/0.6197, allocations: 0.7351 MB / 0.6986 GB, free: 17.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.6198, allocations: 133.5 kB / 0.6987 GB, free: 17.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004624/0.6202, allocations: 493.5 kB / 0.6992 GB, free: 17.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.6203, allocations: 32 kB / 0.6992 GB, free: 17.01 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.6204, allocations: 283.2 kB / 0.6995 GB, free: 16.87 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.177e-05/0.6205, allocations: 116.7 kB / 0.6996 GB, free: 16.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.6206, allocations: 7.875 kB / 0.6996 GB, free: 16.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.6207, allocations: 362.4 kB / 0.6999 GB, free: 16.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.621, allocations: 160.2 kB / 0.7001 GB, free: 16.47 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/0.6213, allocations: 286.7 kB / 0.7004 GB, free: 16.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006039/0.6219, allocations: 446.5 kB / 0.7008 GB, free: 16.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6219, allocations: 2.156 kB / 0.7008 GB, free: 16.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009282/0.6229, allocations: 0.5522 MB / 0.7013 GB, free: 16.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.6229, allocations: 7.266 kB / 0.7013 GB, free: 16.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.6229, allocations: 7.188 kB / 0.7013 GB, free: 16.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/0.6244, allocations: 284.1 kB / 0.7016 GB, free: 16.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/0.6248, allocations: 110.9 kB / 0.7017 GB, free: 16.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003867/0.6252, allocations: 0.6082 MB / 0.7023 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.6255, allocations: 61.5 kB / 0.7024 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.827e-05/0.6256, allocations: 51.84 kB / 0.7024 GB, free: 15.54 MB / 0.4948 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 (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.000225/0.6259, allocations: 182.5 kB / 0.7026 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.788e-05/0.6259, allocations: 54.53 kB / 0.7027 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/0.6279, allocations: 1.107 MB / 0.7037 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.6279, allocations: 2.75 kB / 0.7037 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.6279, allocations: 0.9375 kB / 0.7037 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.6279, allocations: 7 kB / 0.7037 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.6292, allocations: 1.02 MB / 0.7047 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.6292, allocations: 1.5 kB / 0.7047 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.6294, allocations: 50.73 kB / 0.7048 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003027/0.6325, allocations: 0.5475 MB / 0.7053 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.6325, allocations: 11.94 kB / 0.7053 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003524/0.6328, allocations: 0.6182 MB / 0.7059 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.6329, allocations: 1.312 kB / 0.7059 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006738/0.6335, allocations: 0.515 MB / 0.7064 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.6337, allocations: 149.2 kB / 0.7066 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.881e-05/0.6338, allocations: 7.688 kB / 0.7066 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/0.6341, allocations: 40.75 kB / 0.7066 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.6342, allocations: 24.28 kB / 0.7067 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.6342, allocations: 17.41 kB / 0.7067 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008905/0.6351, allocations: 392.7 kB / 0.707 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.01e-07/0.6352, allocations: 4.688 kB / 0.7071 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001782/0.637, allocations: 340.5 kB / 0.7074 GB, free: 13.78 MB / 0.4948 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 (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.003249/0.6402, allocations: 1.386 MB / 0.7087 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009671/0.6412, allocations: 393.4 kB / 0.7091 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6412, allocations: 3.875 kB / 0.7091 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003828/0.6416, allocations: 180.6 kB / 0.7093 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.6434, allocations: 297.1 kB / 0.7096 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004609/0.648, allocations: 3.154 MB / 0.7126 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.6484, allocations: 0.8564 MB / 0.7135 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004896/0.6489, allocations: 254.1 kB / 0.7137 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of SimCode: time 3.7e-07/0.6489, allocations: 0.9062 kB / 0.7137 GB, free: 11.05 MB / 0.4948 GB Error: Error building simulator. Build log: clang++ -std=c++14 -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendAlgLoopMain.cpp:12: ./OMCppModelicaTest_trunk_cpp_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(tmp250, tmp251, _system->_fitting2_P_dp_, tmp252); ^~~~~~ ./OMCppModelicaTest_trunk_cpp_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_cpp_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_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendAlgLoopMain.cpp:15: ./OMCppModelicaTest_trunk_cpp_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(tmp255, tmp256, _system->_fitting2_P_dp_, tmp259); ^~~~~~ ./OMCppModelicaTest_trunk_cpp_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_cpp_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_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.cpp:31: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendInitialize.cpp:490: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_cpp_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_cpp_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_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.cpp:31: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendInitialize.cpp:1008: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_cpp_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_cpp_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_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.cpp:31: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendInitialize.cpp:1121: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_cpp_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_cpp_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_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.cpp:34: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.cpp:259: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(tmp268, tmp269, _fitting1_P_dp_, tmp270); ^~~~~~ ./OMCppModelicaTest_trunk_cpp_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_cpp_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_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendFMU.cpp:11: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:37: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.h:44: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2GlobalSettings.h:65:56: warning: returning reference to local temporary object [-Wreturn-stack-address] virtual const string& getVariableFilter() { return "";} ^~ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendFMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 2 warnings and 6 errors generated. make: *** [: OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.o] Error 1