Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001098/0.001099, allocations: 196.3 kB / 16.1 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 226.5 MB / 243.4 MB, free: 8.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007169/0.0007169, allocations: 97.77 kB / 295.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2994/0.2994, allocations: 44.83 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002736/0.0002737, allocations: 8 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2908, allocations: 62.96 MB / 0.516 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.1577/0.4486, allocations: 165.1 MB / 0.6772 GB, free: 3.887 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.2617/0.7104, allocations: 4.724 MB / 0.6818 GB, free: 5.117 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007198/0.7111, allocations: 25.16 kB / 0.6819 GB, free: 5.113 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008433/0.712, allocations: 259.8 kB / 0.6821 GB, free: 5.113 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: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.00524/0.7173, allocations: 1.829 MB / 0.6839 GB, free: 5.078 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002827/0.7201, allocations: 0.7478 MB / 0.6846 GB, free: 5.055 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002611/0.7227, allocations: 1.865 MB / 0.6865 GB, free: 5.051 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006074/0.7233, allocations: 372.6 kB / 0.6868 GB, free: 5.02 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001659/0.725, allocations: 0.7606 MB / 0.6876 GB, free: 5.012 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006021/0.7256, allocations: 497.1 kB / 0.688 GB, free: 5.008 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.746e-05/0.7257, allocations: 27 kB / 0.6881 GB, free: 5.008 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004168/0.7299, allocations: 2.27 MB / 0.6903 GB, free: 4.984 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002786/0.7302, allocations: 147.5 kB / 0.6904 GB, free: 4.984 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.7313, allocations: 352.7 kB / 0.6907 GB, free: 20.95 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002895/0.7342, allocations: 1.292 MB / 0.692 GB, free: 20.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.7343, allocations: 1.25 kB / 0.692 GB, free: 20.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7343, allocations: 0 / 0.692 GB, free: 20.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.7343, allocations: 0 / 0.692 GB, free: 20.86 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002098/0.7364, allocations: 0.9709 MB / 0.693 GB, free: 20.22 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.7365, allocations: 13.22 kB / 0.693 GB, free: 20.21 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001286/0.7366, allocations: 91.67 kB / 0.6931 GB, free: 20.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.7378, allocations: 173.5 kB / 0.6932 GB, free: 20.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007698/0.7385, allocations: 491.7 kB / 0.6937 GB, free: 19.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.7386, allocations: 32.72 kB / 0.6937 GB, free: 19.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.77e-05/0.7386, allocations: 42.92 kB / 0.6938 GB, free: 19.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.7398, allocations: 0.6369 MB / 0.6944 GB, free: 19.73 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.7398, allocations: 0 / 0.6944 GB, free: 19.73 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-05/0.7399, allocations: 24.02 kB / 0.6944 GB, free: 19.73 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.7399, allocations: 14.44 kB / 0.6944 GB, free: 19.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008751/0.7408, allocations: 499.8 kB / 0.6949 GB, free: 19.73 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.003124/0.7439, allocations: 2.635 MB / 0.6975 GB, free: 18.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006348/0.7446, allocations: 323.3 kB / 0.6978 GB, free: 18.01 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/0.7448, allocations: 162.4 kB / 0.6979 GB, free: 18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004301/0.7453, allocations: 437.3 kB / 0.6984 GB, free: 17.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.7453, allocations: 44.48 kB / 0.6984 GB, free: 17.49 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=35): time 3.136e-06/0.7453, allocations: 0 / 0.6984 GB, free: 17.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35): time 0.001544/0.7469, allocations: 0.6978 MB / 0.6991 GB, free: 17.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.635e-05/0.747, allocations: 163.9 kB / 0.6992 GB, free: 17.13 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006271/0.7476, allocations: 0.5167 MB / 0.6997 GB, free: 17.01 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.103e-05/0.7477, allocations: 34.48 kB / 0.6998 GB, free: 16.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.7479, allocations: 302.7 kB / 0.7001 GB, free: 16.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.844e-05/0.748, allocations: 122.2 kB / 0.7002 GB, free: 16.75 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.748, allocations: 10.88 kB / 0.7002 GB, free: 16.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.7482, allocations: 364.2 kB / 0.7005 GB, free: 16.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/0.7485, allocations: 144.4 kB / 0.7007 GB, free: 16.43 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003924/0.7489, allocations: 319.9 kB / 0.701 GB, free: 16.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000701/0.7496, allocations: 478.1 kB / 0.7014 GB, free: 16.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.7496, allocations: 1.812 kB / 0.7014 GB, free: 16.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001084/0.7507, allocations: 0.5879 MB / 0.702 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.7507, allocations: 7.156 kB / 0.702 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.7508, allocations: 4.609 kB / 0.702 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/0.7524, allocations: 288.8 kB / 0.7023 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/0.7529, allocations: 122.1 kB / 0.7024 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000428/0.7533, allocations: 0.5919 MB / 0.703 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000471/0.7538, allocations: 65.23 kB / 0.7031 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-05/0.7539, allocations: 55.64 kB / 0.7031 GB, free: 15.38 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * 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.000331/0.7542, allocations: 195.5 kB / 0.7033 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.7543, allocations: 58.75 kB / 0.7033 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/0.7564, allocations: 1.103 MB / 0.7044 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.7564, allocations: 3.438 kB / 0.7044 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.7564, allocations: 0 / 0.7044 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.7564, allocations: 0.5625 kB / 0.7044 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.7578, allocations: 1.002 MB / 0.7054 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.7578, allocations: 2.344 kB / 0.7054 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.758, allocations: 54.72 kB / 0.7055 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00321/0.7613, allocations: 0.5504 MB / 0.706 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/0.7613, allocations: 10.72 kB / 0.706 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004027/0.7617, allocations: 0.6008 MB / 0.7066 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.7617, allocations: 1.375 kB / 0.7066 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007863/0.7625, allocations: 0.4956 MB / 0.7071 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/0.7628, allocations: 157.9 kB / 0.7072 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.051e-05/0.7629, allocations: 7.125 kB / 0.7072 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/0.7633, allocations: 32.88 kB / 0.7073 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.794e-05/0.7633, allocations: 31.08 kB / 0.7073 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/0.7634, allocations: 19.12 kB / 0.7073 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005784/0.764, allocations: 411.3 kB / 0.7077 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/0.764, allocations: 5.859 kB / 0.7077 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001197/0.7652, allocations: 352.1 kB / 0.7081 GB, free: 13.59 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * 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.001946/0.7671, allocations: 1.385 MB / 0.7094 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008591/0.768, allocations: 371.4 kB / 0.7098 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.768, allocations: 5.656 kB / 0.7098 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002998/0.7683, allocations: 166.4 kB / 0.7099 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/0.7702, allocations: 350.3 kB / 0.7103 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004836/0.775, allocations: 3.294 MB / 0.7135 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.7754, allocations: 0.8614 MB / 0.7143 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005819/0.776, allocations: 278.1 kB / 0.7146 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of SimCode: time 9.21e-07/0.776, allocations: 0 / 0.7146 GB, free: 10.72 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_Dissipation_TestCases_PressureLoss_BendCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendAlgLoopMain.cpp:12: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendAlgloop78.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->_from_mflow_P_dp_, tmp266); ^~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendTypes.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_Dissipation_TestCases_PressureLoss_BendTypes.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_Dissipation_TestCases_PressureLoss_BendFunctions.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_Dissipation_TestCases_PressureLoss_BendCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendAlgLoopMain.cpp:15: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendAlgloop42.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->_from_mflow_P_dp_, tmp273); ^~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendTypes.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_Dissipation_TestCases_PressureLoss_BendTypes.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_Dissipation_TestCases_PressureLoss_BendFunctions.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_Dissipation_TestCases_PressureLoss_BendCalcHelperMain.cpp:31: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendInitialize.cpp:605: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(tmp24, tmp25, _from_dp_P_dp_, tmp28); ^~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendTypes.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_Dissipation_TestCases_PressureLoss_BendTypes.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_Dissipation_TestCases_PressureLoss_BendFunctions.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_Dissipation_TestCases_PressureLoss_BendCalcHelperMain.cpp:31: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendInitialize.cpp:1129: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(tmp63, tmp64, _from_mflow_P_m_flow_small_, tmp67); ^~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendTypes.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_Dissipation_TestCases_PressureLoss_BendTypes.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_Dissipation_TestCases_PressureLoss_BendFunctions.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_Dissipation_TestCases_PressureLoss_BendCalcHelperMain.cpp:31: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendInitialize.cpp:1218: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(tmp68, tmp69, _from_dp_P_m_flow_small_, tmp72); ^~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendTypes.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_Dissipation_TestCases_PressureLoss_BendTypes.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_Dissipation_TestCases_PressureLoss_BendFunctions.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_Dissipation_TestCases_PressureLoss_BendCalcHelperMain.cpp:34: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.cpp:345: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(tmp285, tmp286, _from_dp_P_dp_, tmp287); ^~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendTypes.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_Dissipation_TestCases_PressureLoss_BendTypes.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_Dissipation_TestCases_PressureLoss_BendFunctions.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_Dissipation_TestCases_PressureLoss_BendCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendFMU.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_Dissipation_TestCases_PressureLoss_BendCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendFMU.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_Dissipation_TestCases_PressureLoss_BendCalcHelperMain.o] Error 1