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: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001472/0.001472, allocations: 198.3 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 226.5 MB / 243.4 MB, free: 6.371 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007801/0.0007801, allocations: 99.38 kB / 295.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3147/0.3147, allocations: 44.81 MB / 392.3 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.000318, allocations: 12 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3066, allocations: 62.96 MB / 0.5159 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.1631/0.4698, allocations: 167 MB / 0.679 GB, free: 2.012 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.2959/0.7657, allocations: 3.503 MB / 0.6824 GB, free: 5.152 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006476/0.7664, allocations: 21.59 kB / 0.6824 GB, free: 5.152 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008968/0.7673, allocations: 254.2 kB / 0.6827 GB, free: 5.152 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.004758/0.7721, allocations: 1.525 MB / 0.6842 GB, free: 5.094 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.7741, allocations: 0.5757 MB / 0.6847 GB, free: 5.074 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002451/0.7766, allocations: 1.738 MB / 0.6864 GB, free: 5.074 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006372/0.7772, allocations: 357.6 kB / 0.6868 GB, free: 5.039 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.7783, allocations: 0.5182 MB / 0.6873 GB, free: 5.039 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006049/0.7789, allocations: 443.6 kB / 0.6877 GB, free: 5.035 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.843e-05/0.779, allocations: 25.34 kB / 0.6877 GB, free: 5.035 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003788/0.7828, allocations: 2.182 MB / 0.6899 GB, free: 5.016 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.7831, allocations: 140.7 kB / 0.69 GB, free: 5.012 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000874/0.784, allocations: 329.8 kB / 0.6903 GB, free: 20.98 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.786, allocations: 1.191 MB / 0.6915 GB, free: 20.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.786, allocations: 3.062 kB / 0.6915 GB, free: 20.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.653e-06/0.786, allocations: 2.734 kB / 0.6915 GB, free: 20.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.786, allocations: 0 / 0.6915 GB, free: 20.9 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.001808/0.7878, allocations: 0.9373 MB / 0.6924 GB, free: 20.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.7879, allocations: 9.031 kB / 0.6924 GB, free: 20.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009239/0.7888, allocations: 142 kB / 0.6925 GB, free: 20.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006855/0.7895, allocations: 482.3 kB / 0.693 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.7895, allocations: 34.47 kB / 0.693 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.044e-05/0.7896, allocations: 40 kB / 0.6931 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.7907, allocations: 0.5944 MB / 0.6936 GB, free: 19.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.7907, allocations: 0 / 0.6936 GB, free: 19.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.4e-05/0.7908, allocations: 27.12 kB / 0.6937 GB, free: 19.85 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.7908, allocations: 10.94 kB / 0.6937 GB, free: 19.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009004/0.7917, allocations: 480.8 kB / 0.6941 GB, free: 19.85 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.003269/0.795, allocations: 2.66 MB / 0.6967 GB, free: 18.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007469/0.7957, allocations: 356.8 kB / 0.6971 GB, free: 18.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/0.7961, allocations: 177.7 kB / 0.6972 GB, free: 18.01 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004315/0.7965, allocations: 435.9 kB / 0.6977 GB, free: 17.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.7966, allocations: 41.42 kB / 0.6977 GB, free: 17.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 2.545e-06/0.7966, allocations: 1.75 kB / 0.6977 GB, free: 17.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.001709/0.7983, allocations: 0.7331 MB / 0.6984 GB, free: 17.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/0.7984, allocations: 133.2 kB / 0.6985 GB, free: 17.17 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005805/0.799, allocations: 486.2 kB / 0.699 GB, free: 17.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.323e-05/0.799, allocations: 38.7 kB / 0.699 GB, free: 17.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.7992, allocations: 281.4 kB / 0.6993 GB, free: 16.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.849e-05/0.7993, allocations: 116.4 kB / 0.6994 GB, free: 16.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.7994, allocations: 9.234 kB / 0.6994 GB, free: 16.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.7995, allocations: 362.2 kB / 0.6998 GB, free: 16.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.7998, allocations: 157.2 kB / 0.6999 GB, free: 16.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003993/0.8002, allocations: 289.6 kB / 0.7002 GB, free: 16.33 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006842/0.8009, allocations: 451.5 kB / 0.7006 GB, free: 16.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.8009, allocations: 1.094 kB / 0.7006 GB, free: 16.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001091/0.802, allocations: 0.5502 MB / 0.7012 GB, free: 16.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.8021, allocations: 8.688 kB / 0.7012 GB, free: 16.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.8021, allocations: 3.938 kB / 0.7012 GB, free: 16.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001597/0.8037, allocations: 291.4 kB / 0.7015 GB, free: 16.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004209/0.8041, allocations: 106.1 kB / 0.7016 GB, free: 16.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004754/0.8046, allocations: 0.6052 MB / 0.7022 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000478/0.8051, allocations: 63.14 kB / 0.7022 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.584e-05/0.8052, allocations: 44.44 kB / 0.7023 GB, free: 15.55 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.000331/0.8055, allocations: 186.4 kB / 0.7024 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.8057, allocations: 55.48 kB / 0.7025 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/0.808, allocations: 1.099 MB / 0.7036 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.808, allocations: 6.672 kB / 0.7036 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.808, allocations: 0 / 0.7036 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.808, allocations: 3.188 kB / 0.7036 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.8096, allocations: 1.025 MB / 0.7046 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.8096, allocations: 1.469 kB / 0.7046 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.8098, allocations: 54.41 kB / 0.7046 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003194/0.813, allocations: 0.5436 MB / 0.7052 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.977e-05/0.8131, allocations: 12.16 kB / 0.7052 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004743/0.8136, allocations: 0.6131 MB / 0.7058 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.8136, allocations: 5.688 kB / 0.7058 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000878/0.8145, allocations: 0.5125 MB / 0.7063 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002501/0.8148, allocations: 151.5 kB / 0.7064 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.115e-05/0.8149, allocations: 17 kB / 0.7064 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/0.8152, allocations: 32.98 kB / 0.7065 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.764e-05/0.8153, allocations: 30.2 kB / 0.7065 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.301e-05/0.8154, allocations: 18.47 kB / 0.7065 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005653/0.8159, allocations: 381.6 kB / 0.7069 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8159, allocations: 4 kB / 0.7069 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001254/0.8172, allocations: 346.5 kB / 0.7072 GB, free: 13.79 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.001147/0.8184, allocations: 433.6 kB / 0.7076 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009332/0.8193, allocations: 385.9 kB / 0.708 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.8193, allocations: 1.156 kB / 0.708 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000367/0.8197, allocations: 171.5 kB / 0.7082 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.8213, allocations: 299.5 kB / 0.7084 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.8228, allocations: 1.122 MB / 0.7095 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.8232, allocations: 0.8566 MB / 0.7104 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004295/0.8237, allocations: 121.2 kB / 0.7105 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.8237, allocations: 0.5938 kB / 0.7105 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of Templates: time 0.02192/0.8456, allocations: 15.05 MB / 0.7252 GB, free: 6.953 MB / 0.4948 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile clang++ -std=c++14 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -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:25: 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:25: 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:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendInitialize.cpp:587:85: error: no viable conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(tmp23, tmp24, _fitting1_P_dp_, tmp27); ^~~~~ ./OMCppModelicaTest_trunk_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:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendInitialize.cpp:1270: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:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendInitialize.cpp:1434: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:33: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.cpp:304:85: error: no viable conversion from 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') to 'const Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(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) ^ 6 errors generated. make: *** [: OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBendCalcHelperMain.o] Error 1