Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001695/0.001701, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.177/2.177, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001212/0.001212, allocations: 110.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3036/0.3036, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.0004898, allocations: 11.98 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1309, allocations: 58.86 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.6139/0.7449, allocations: 145.8 MB / 0.6212 GB, free: 8.91 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02156/0.7665, allocations: 9.59 MB / 0.6306 GB, free: 15.3 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008712/0.7674, allocations: 19.81 kB / 0.6306 GB, free: 15.28 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.7689, allocations: 278.6 kB / 0.6309 GB, free: 15.01 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00843/0.7773, allocations: 1.912 MB / 0.6327 GB, free: 13.09 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004144/0.7815, allocations: 0.963 MB / 0.6337 GB, free: 12.13 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002606/0.7841, allocations: 0.9801 MB / 0.6346 GB, free: 11.14 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008762/0.785, allocations: 363.8 kB / 0.635 GB, free: 10.79 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00241/0.7875, allocations: 0.6817 MB / 0.6356 GB, free: 10.1 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009475/0.7885, allocations: 378.6 kB / 0.636 GB, free: 9.73 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.7886, allocations: 28 kB / 0.636 GB, free: 9.703 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006317/0.795, allocations: 2.391 MB / 0.6384 GB, free: 7.309 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004418/0.7955, allocations: 139.5 kB / 0.6385 GB, free: 7.172 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003433/0.7958, allocations: 157.4 kB / 0.6386 GB, free: 7.012 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003745/0.7996, allocations: 1.286 MB / 0.6399 GB, free: 5.723 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.7996, allocations: 0 / 0.6399 GB, free: 5.723 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.7997, allocations: 4 kB / 0.6399 GB, free: 5.719 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.897e-05/0.7997, allocations: 3.938 kB / 0.6399 GB, free: 5.715 MB / 442.7 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.002865/0.8026, allocations: 1.002 MB / 0.6409 GB, free: 4.664 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.8026, allocations: 8.031 kB / 0.6409 GB, free: 4.656 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002383/0.8029, allocations: 90.52 kB / 0.641 GB, free: 4.559 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001661/0.8046, allocations: 163 kB / 0.6411 GB, free: 4.398 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.8057, allocations: 472.7 kB / 0.6416 GB, free: 3.895 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.476e-05/0.8057, allocations: 33 kB / 0.6416 GB, free: 3.863 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.8059, allocations: 51.92 kB / 0.6417 GB, free: 3.812 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.8076, allocations: 0.63 MB / 0.6423 GB, free: 3.141 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.8077, allocations: 3.938 kB / 0.6423 GB, free: 3.137 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.8078, allocations: 24 kB / 0.6423 GB, free: 3.113 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.8078, allocations: 12 kB / 0.6423 GB, free: 3.102 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.8093, allocations: 495.6 kB / 0.6428 GB, free: 2.617 MB / 442.7 MB 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.005052/0.8144, allocations: 2.637 MB / 0.6454 GB, free: 15.79 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.8155, allocations: 318.8 kB / 0.6457 GB, free: 15.47 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005268/0.816, allocations: 329.1 kB / 0.646 GB, free: 15.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.8161, allocations: 34.56 kB / 0.646 GB, free: 15.05 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 3.416e-06/0.8161, allocations: 4 kB / 0.646 GB, free: 15.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=35): time 0.002591/0.8187, allocations: 0.6942 MB / 0.6467 GB, free: 14.33 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.8189, allocations: 158.2 kB / 0.6469 GB, free: 14.14 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000957/0.8198, allocations: 0.5145 MB / 0.6474 GB, free: 13.61 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.862e-05/0.8199, allocations: 33.7 kB / 0.6474 GB, free: 13.57 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.8202, allocations: 326 kB / 0.6477 GB, free: 13.25 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.8204, allocations: 122.2 kB / 0.6478 GB, free: 13.13 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.8205, allocations: 19.94 kB / 0.6478 GB, free: 13.11 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.8206, allocations: 334.8 kB / 0.6482 GB, free: 12.77 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004994/0.8212, allocations: 145 kB / 0.6483 GB, free: 12.63 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006252/0.8218, allocations: 314.9 kB / 0.6486 GB, free: 12.25 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005817/0.8224, allocations: 196.9 kB / 0.6488 GB, free: 12.06 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/0.8224, allocations: 4 kB / 0.6488 GB, free: 12.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001616/0.824, allocations: 0.5326 MB / 0.6493 GB, free: 11.51 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.8241, allocations: 8 kB / 0.6493 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.8241, allocations: 4.625 kB / 0.6493 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002727/0.8268, allocations: 292.5 kB / 0.6496 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007627/0.8276, allocations: 115.9 kB / 0.6497 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007269/0.8284, allocations: 0.5875 MB / 0.6503 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007334/0.8291, allocations: 67.31 kB / 0.6503 GB, free: 10.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.8293, allocations: 48 kB / 0.6504 GB, free: 10.37 MB / 458.7 MB 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.0003987/0.8297, allocations: 197.7 kB / 0.6506 GB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.8299, allocations: 63.41 kB / 0.6506 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002651/0.8325, allocations: 0.7573 MB / 0.6514 GB, free: 9.32 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.8326, allocations: 4 kB / 0.6514 GB, free: 9.316 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.8326, allocations: 0 / 0.6514 GB, free: 9.316 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.8326, allocations: 3.953 kB / 0.6514 GB, free: 9.312 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002288/0.8349, allocations: 0.9879 MB / 0.6523 GB, free: 8.246 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.8349, allocations: 0 / 0.6523 GB, free: 8.246 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004045/0.8354, allocations: 55.86 kB / 0.6524 GB, free: 8.191 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006103/0.8415, allocations: 0.5434 MB / 0.6529 GB, free: 7.645 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-05/0.8416, allocations: 12 kB / 0.6529 GB, free: 7.633 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006346/0.8423, allocations: 0.603 MB / 0.6535 GB, free: 7.004 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.66e-05/0.8423, allocations: 4.031 kB / 0.6535 GB, free: 7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.8437, allocations: 0.5693 MB / 0.6541 GB, free: 6.355 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/0.844, allocations: 160.2 kB / 0.6542 GB, free: 6.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.8442, allocations: 8 kB / 0.6543 GB, free: 6.172 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006709/0.8449, allocations: 27.97 kB / 0.6543 GB, free: 6.145 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.003e-05/0.845, allocations: 27.97 kB / 0.6543 GB, free: 6.117 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.955e-05/0.845, allocations: 19.95 kB / 0.6543 GB, free: 6.098 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008022/0.8458, allocations: 406.8 kB / 0.6547 GB, free: 5.703 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.8459, allocations: 3.938 kB / 0.6547 GB, free: 5.699 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001677/0.8476, allocations: 383.7 kB / 0.6551 GB, free: 5.324 MB / 458.7 MB 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.003516/0.8511, allocations: 1.944 MB / 0.657 GB, free: 3.312 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.8525, allocations: 380.1 kB / 0.6573 GB, free: 2.941 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.8525, allocations: 0 / 0.6573 GB, free: 2.941 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005105/0.853, allocations: 151.8 kB / 0.6575 GB, free: 2.793 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003069/0.8561, allocations: 342.8 kB / 0.6578 GB, free: 2.461 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009813/0.866, allocations: 6.291 MB / 0.664 GB, free: 12.01 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006972/0.8667, allocations: 0.8792 MB / 0.6648 GB, free: 11.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009338/0.8677, allocations: 251.3 kB / 0.6651 GB, free: 10.86 MB / 474.7 MB Notification: Performance of SimCode: time 9.62e-07/0.8677, allocations: 0 / 0.6651 GB, free: 10.86 MB / 474.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -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/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendCalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendAlgLoopMain.cpp:12: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendAlgloop78.cpp:89:85: error: non-const lvalue reference to type 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' cannot bind to a value of unrelated type 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(tmp323, tmp324, _system->_from_mflow_P_dp_, tmp325); ^~~~~~ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendFunctions.h:20:236: note: passing argument to parameter 'IN_con_' here void /*Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOWRetType*/ Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType& IN_con_, 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_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendAlgLoopMain.cpp:15: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendAlgloop42.cpp:87:85: error: non-const lvalue reference to type 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' cannot bind to a value of unrelated type 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(tmp328, tmp329, _system->_from_mflow_P_dp_, tmp332); ^~~~~~ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendFunctions.h:20:236: note: passing argument to parameter 'IN_con_' here void /*Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOWRetType*/ Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType& IN_con_, 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_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendInitialize.cpp:802:85: error: non-const lvalue reference to type 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' cannot bind to a value of unrelated type 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(tmp198, tmp199, _from_dp_P_dp_, tmp202); ^~~~~~ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendFunctions.cpp:286:246: note: passing argument to parameter 'IN_con_' here void /*Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOWRetType */ Functions::Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType& IN_con_, 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_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendInitialize.cpp:1711:82: error: non-const lvalue reference to type 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' cannot bind to a value of unrelated type 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DP(tmp237, tmp238, _from_mflow_P_m_flow_small_, tmp241); ^~~~~~ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendFunctions.cpp:97:240: note: passing argument to parameter 'IN_con_' here void /*Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DPRetType */ Functions::Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DP(Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType& IN_con_, 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_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendInitialize.cpp:1839:82: error: non-const lvalue reference to type 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' cannot bind to a value of unrelated type 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DP(tmp242, tmp243, _from_dp_P_m_flow_small_, tmp246); ^~~~~~ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendFunctions.cpp:97:240: note: passing argument to parameter 'IN_con_' here void /*Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DPRetType */ Functions::Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__DP(Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType& IN_con_, 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_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendCalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.cpp:405:85: error: non-const lvalue reference to type 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType' cannot bind to a value of unrelated type 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryRetType' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_GeometryType') _functions->Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(tmp11, tmp12, _from_dp_P_dp_, tmp13); ^~~~~ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendFunctions.cpp:286:246: note: passing argument to parameter 'IN_con_' here void /*Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOWRetType */ Functions::Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__conType& IN_con_, 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_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_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) { ^ 1 warning and 6 errors generated. : recipe for target 'OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_BendCalcHelperMain.o] Error 1