Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009262/0.0009265, allocations: 97.88 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0011/0.0011, allocations: 207.7 kB / 18.94 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.7 MB / 247.5 MB, free: 9.711 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1976/0.1976, allocations: 46.18 MB / 345.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002773/0.0002772, allocations: 11.94 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1007, allocations: 63.57 MB / 483.8 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.3782/0.4789, allocations: 179.6 MB / 0.6478 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007282/0.4862, allocations: 5.072 MB / 0.6528 GB, free: 11.88 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006569/0.4869, allocations: 15.88 kB / 0.6528 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009088/0.4878, allocations: 286.4 kB / 0.653 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004865/0.4927, allocations: 1.872 MB / 0.6549 GB, free: 9.715 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00214/0.4949, allocations: 0.8363 MB / 0.6557 GB, free: 8.887 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002339/0.4972, allocations: 2.163 MB / 0.6578 GB, free: 6.719 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006345/0.4979, allocations: 374 kB / 0.6582 GB, free: 6.352 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.4995, allocations: 0.7706 MB / 0.6589 GB, free: 5.578 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007481/0.5002, allocations: 0.502 MB / 0.6594 GB, free: 5.074 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.5003, allocations: 24 kB / 0.6594 GB, free: 5.051 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003713/0.504, allocations: 2.379 MB / 0.6617 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001958/0.5043, allocations: 151.4 kB / 0.6619 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004945/0.5048, allocations: 372.1 kB / 0.6622 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001868/0.5066, allocations: 1.29 MB / 0.6635 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5067, allocations: 0 / 0.6635 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.5067, allocations: 0 / 0.6635 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.5067, allocations: 4 kB / 0.6635 GB, free: 0.8516 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.00208/0.5088, allocations: 0.9777 MB / 0.6645 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.5088, allocations: 11.97 kB / 0.6645 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.5101, allocations: 167.1 kB / 0.6646 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007151/0.5108, allocations: 0.4886 MB / 0.6651 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.5109, allocations: 33 kB / 0.6651 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.53e-05/0.5109, allocations: 40 kB / 0.6652 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.5121, allocations: 0.6478 MB / 0.6658 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.5121, allocations: 3.938 kB / 0.6658 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.51e-05/0.5122, allocations: 24 kB / 0.6658 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.5122, allocations: 12 kB / 0.6658 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008935/0.5131, allocations: 0.4917 MB / 0.6663 GB, free: 13.82 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.00292/0.516, allocations: 2.641 MB / 0.6689 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006583/0.5167, allocations: 322.7 kB / 0.6692 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002757/0.517, allocations: 160.8 kB / 0.6694 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000454/0.5175, allocations: 437.5 kB / 0.6698 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.5175, allocations: 38.56 kB / 0.6698 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 2.004e-06/0.5175, allocations: 0 / 0.6698 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.00164/0.5192, allocations: 0.7053 MB / 0.6705 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.608e-05/0.5192, allocations: 162.2 kB / 0.6707 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006355/0.5199, allocations: 0.5222 MB / 0.6712 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.226e-05/0.5199, allocations: 33.7 kB / 0.6712 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.5202, allocations: 307.6 kB / 0.6715 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.5203, allocations: 118.2 kB / 0.6716 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.5204, allocations: 45.69 kB / 0.6717 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.5205, allocations: 366.8 kB / 0.672 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.5208, allocations: 149 kB / 0.6722 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003931/0.5212, allocations: 326.9 kB / 0.6725 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007281/0.5219, allocations: 474.8 kB / 0.6729 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5219, allocations: 0 / 0.6729 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001039/0.523, allocations: 0.5834 MB / 0.6735 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.523, allocations: 11.94 kB / 0.6735 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.523, allocations: 4 kB / 0.6735 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001569/0.5246, allocations: 284.6 kB / 0.6738 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.525, allocations: 127.8 kB / 0.6739 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00045/0.5255, allocations: 0.5935 MB / 0.6745 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.5259, allocations: 67.36 kB / 0.6745 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.55e-05/0.526, allocations: 52.06 kB / 0.6746 GB, free: 4.777 MB / 0.4981 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 (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.0002559/0.5262, allocations: 189.6 kB / 0.6748 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.5264, allocations: 67.41 kB / 0.6748 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001999/0.5284, allocations: 1.102 MB / 0.6759 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.5284, allocations: 4 kB / 0.6759 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.5284, allocations: 4 kB / 0.6759 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5284, allocations: 0 / 0.6759 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.5298, allocations: 1.006 MB / 0.6769 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5298, allocations: 4 kB / 0.6769 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.53, allocations: 47.97 kB / 0.6769 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003443/0.5335, allocations: 0.5549 MB / 0.6775 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.5335, allocations: 16 kB / 0.6775 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004227/0.534, allocations: 0.5953 MB / 0.6781 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.534, allocations: 0 / 0.6781 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000699/0.5347, allocations: 0.5045 MB / 0.6786 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.5349, allocations: 168.2 kB / 0.6787 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.535, allocations: 12 kB / 0.6787 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/0.5354, allocations: 23.98 kB / 0.6788 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.5355, allocations: 31.84 kB / 0.6788 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.5355, allocations: 19.98 kB / 0.6788 GB, free: 240 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005508/0.5361, allocations: 442.8 kB / 0.6792 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5361, allocations: 0 / 0.6792 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001112/0.5372, allocations: 351.7 kB / 0.6796 GB, free: 15.46 MB / 0.5137 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 (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.001263/0.5385, allocations: 453.3 kB / 0.68 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000778/0.5392, allocations: 377.8 kB / 0.6804 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.5393, allocations: 1.25 kB / 0.6804 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.5396, allocations: 165.1 kB / 0.6805 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/0.5418, allocations: 392.6 kB / 0.6809 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.5434, allocations: 1.18 MB / 0.6821 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.5439, allocations: 0.8675 MB / 0.6829 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004462/0.5444, allocations: 139.3 kB / 0.683 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.5444, allocations: 0 / 0.683 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of Templates: time 0.02429/0.5687, allocations: 16.49 MB / 0.6991 GB, free: 11.41 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.Dissipation.TestCases.PressureLoss.BendCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.BendCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.BendCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.BendAlgLoopMain.cpp:12: ./OMCppModelicaTest_trunk_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(tmp276, tmp277, _system->_from_mflow_P_dp_, tmp278); ^~~~~~ ./OMCppModelicaTest_trunk_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_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_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_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.BendCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.BendAlgLoopMain.cpp:15: ./OMCppModelicaTest_trunk_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(tmp281, tmp282, _system->_from_mflow_P_dp_, tmp285); ^~~~~~ ./OMCppModelicaTest_trunk_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_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_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_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.BendCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.BendInitialize.cpp:733: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_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_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_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_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.BendCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.BendInitialize.cpp:1442: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_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_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_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_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.BendCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.BendInitialize.cpp:1570: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_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_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_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_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.BendCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.BendInitialize.cpp:3058:38: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] if (!((_from_mflow_P_dp_start_ >= -1.797693134862316e+308) && (_from_mflow_P_dp_start_ <= 100000000.0))) ^ ./OMCppModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.BendInitialize.cpp:3202:35: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] if (!((_from_dp_P_dp_start_ >= -1.797693134862316e+308) && (_from_dp_P_dp_start_ <= 100000000.0))) ^ In file included from OMCppModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.BendCalcHelperMain.cpp:33: ./OMCppModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.cpp:408: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(tmp297, tmp298, _from_dp_P_dp_, tmp299); ^~~~~~ ./OMCppModelicaTest_trunk_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_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_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) ^ 2 warnings and 6 errors generated. make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.BendCalcHelperMain.o] Error 1