Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001755/0.001759, allocations: 186.7 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.158/2.158, allocations: 205.4 MB / 222.5 MB, free: 13.77 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.001671/0.001671, allocations: 94.86 kB / 270.9 MB, free: 13.29 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.3284/0.3284, allocations: 43.55 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004742/0.0004742, allocations: 8 kB / 431.5 MB, free: 20.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.123, allocations: 58.86 MB / 490.3 MB, free: 9.219 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.571/0.6941, allocations: 147 MB / 0.6224 GB, free: 7.625 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01503/0.7092, allocations: 7.088 MB / 0.6293 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000582/0.7099, allocations: 23.81 kB / 0.6294 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.711, allocations: 258.7 kB / 0.6296 GB, free: 256 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005338/0.7163, allocations: 1.358 MB / 0.6309 GB, free: 14.89 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003316/0.7197, allocations: 0.7914 MB / 0.6317 GB, free: 14.1 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002092/0.7218, allocations: 0.9027 MB / 0.6326 GB, free: 13.19 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007344/0.7225, allocations: 352.2 kB / 0.6329 GB, free: 12.84 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/0.7238, allocations: 498.5 kB / 0.6334 GB, free: 12.36 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006088/0.7244, allocations: 334.7 kB / 0.6337 GB, free: 12.03 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.7246, allocations: 28 kB / 0.6338 GB, free: 12 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005926/0.7305, allocations: 2.325 MB / 0.636 GB, free: 9.668 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003565/0.7309, allocations: 131.5 kB / 0.6361 GB, free: 9.539 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003227/0.7312, allocations: 145.4 kB / 0.6363 GB, free: 9.391 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003381/0.7346, allocations: 1.217 MB / 0.6375 GB, free: 8.172 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7347, allocations: 0 / 0.6375 GB, free: 8.172 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.7347, allocations: 4 kB / 0.6375 GB, free: 8.168 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.7347, allocations: 0 / 0.6375 GB, free: 8.168 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002962/0.7377, allocations: 0.9707 MB / 0.6384 GB, free: 7.145 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/0.7378, allocations: 8.031 kB / 0.6384 GB, free: 7.137 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002281/0.738, allocations: 86.53 kB / 0.6385 GB, free: 7.043 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.7395, allocations: 139.2 kB / 0.6386 GB, free: 6.906 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.7406, allocations: 460.8 kB / 0.6391 GB, free: 6.418 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.724e-05/0.7407, allocations: 37 kB / 0.6391 GB, free: 6.379 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.7408, allocations: 36 kB / 0.6392 GB, free: 6.344 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.7425, allocations: 0.5867 MB / 0.6397 GB, free: 5.719 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.7426, allocations: 3.938 kB / 0.6397 GB, free: 5.715 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.767e-05/0.7427, allocations: 27.95 kB / 0.6398 GB, free: 5.688 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.7427, allocations: 8 kB / 0.6398 GB, free: 5.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.7442, allocations: 479.6 kB / 0.6402 GB, free: 5.211 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.004779/0.749, allocations: 2.674 MB / 0.6428 GB, free: 2.316 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.7502, allocations: 350.9 kB / 0.6432 GB, free: 1.969 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005335/0.7508, allocations: 325.5 kB / 0.6435 GB, free: 1.594 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.7508, allocations: 38.84 kB / 0.6435 GB, free: 1.547 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 3.106e-06/0.7508, allocations: 0 / 0.6435 GB, free: 1.547 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.002759/0.7536, allocations: 0.731 MB / 0.6442 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.551e-05/0.7537, allocations: 136.5 kB / 0.6444 GB, free: 0.625 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008657/0.7546, allocations: 486.1 kB / 0.6448 GB, free: 144 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.178e-05/0.7547, allocations: 37.7 kB / 0.6449 GB, free: 100 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.755, allocations: 310.2 kB / 0.6452 GB, free: 15.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.7552, allocations: 122.2 kB / 0.6453 GB, free: 15.67 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.7552, allocations: 8 kB / 0.6453 GB, free: 15.66 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.7554, allocations: 326.8 kB / 0.6456 GB, free: 15.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005351/0.7559, allocations: 160.8 kB / 0.6457 GB, free: 15.18 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006456/0.7566, allocations: 279.7 kB / 0.646 GB, free: 14.86 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006233/0.7572, allocations: 185 kB / 0.6462 GB, free: 14.68 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.7573, allocations: 0 / 0.6462 GB, free: 14.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001627/0.7589, allocations: 0.5215 MB / 0.6467 GB, free: 14.14 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.7589, allocations: 8 kB / 0.6467 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.759, allocations: 4 kB / 0.6467 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002728/0.7617, allocations: 288.5 kB / 0.647 GB, free: 13.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006939/0.7624, allocations: 105.2 kB / 0.6471 GB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006564/0.7631, allocations: 0.5992 MB / 0.6477 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006863/0.7638, allocations: 71.56 kB / 0.6477 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.7639, allocations: 39.98 kB / 0.6478 GB, free: 13.01 MB / 458.7 MB 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.0003987/0.7643, allocations: 189.4 kB / 0.648 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.7645, allocations: 51.34 kB / 0.648 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0027/0.7672, allocations: 0.7494 MB / 0.6487 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.7672, allocations: 3.938 kB / 0.6487 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.7672, allocations: 11.94 kB / 0.6488 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.7673, allocations: 3.984 kB / 0.6488 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/0.7697, allocations: 1.007 MB / 0.6497 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.7698, allocations: 7.953 kB / 0.6497 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004143/0.7702, allocations: 51.91 kB / 0.6498 GB, free: 10.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006019/0.7762, allocations: 0.5472 MB / 0.6503 GB, free: 10.28 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.83e-05/0.7764, allocations: 15.94 kB / 0.6503 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007248/0.7771, allocations: 0.6147 MB / 0.6509 GB, free: 9.625 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.7771, allocations: 0 / 0.6509 GB, free: 9.625 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.7786, allocations: 0.5824 MB / 0.6515 GB, free: 8.977 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002649/0.7789, allocations: 152.3 kB / 0.6517 GB, free: 8.809 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.779, allocations: 8 kB / 0.6517 GB, free: 8.801 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006578/0.7797, allocations: 35.97 kB / 0.6517 GB, free: 8.766 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.7798, allocations: 23.97 kB / 0.6517 GB, free: 8.742 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.523e-05/0.7799, allocations: 15.98 kB / 0.6517 GB, free: 8.727 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007427/0.7806, allocations: 386.8 kB / 0.6521 GB, free: 8.352 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.7806, allocations: 4 kB / 0.6521 GB, free: 8.348 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00155/0.7822, allocations: 363.6 kB / 0.6525 GB, free: 7.992 MB / 458.7 MB 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.00372/0.7859, allocations: 1.863 MB / 0.6543 GB, free: 6.07 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001414/0.7874, allocations: 391.5 kB / 0.6547 GB, free: 5.688 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.7874, allocations: 4 kB / 0.6547 GB, free: 5.684 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006015/0.788, allocations: 173 kB / 0.6548 GB, free: 5.516 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002637/0.7907, allocations: 293.9 kB / 0.6551 GB, free: 5.227 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009091/0.7998, allocations: 5.255 MB / 0.6602 GB, free: 15.84 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006245/0.8005, allocations: 0.8711 MB / 0.6611 GB, free: 14.94 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008673/0.8014, allocations: 231.4 kB / 0.6613 GB, free: 14.71 MB / 474.7 MB Notification: Performance of SimCode: time 1.312e-06/0.8014, allocations: 0 / 0.6613 GB, free: 14.71 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_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendAlgLoopMain.cpp:12: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendAlgloop80.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(tmp303, tmp304, _system->_fitting2_P_dp_, tmp305); ^~~~~~ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendFunctions.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_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendAlgLoopMain.cpp:15: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendAlgloop40.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(tmp308, tmp309, _system->_fitting2_P_dp_, tmp312); ^~~~~~ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendFunctions.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_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendInitialize.cpp:646: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(tmp191, tmp192, _fitting1_P_dp_, tmp195); ^~~~~~ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendFunctions.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_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendInitialize.cpp:1514: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(tmp227, tmp228, _fitting2_P_m_flow_small_, tmp231); ^~~~~~ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendFunctions.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_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendInitialize.cpp:1678: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(tmp232, tmp233, _fitting1_P_m_flow_small_, tmp236); ^~~~~~ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendFunctions.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_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.cpp:302: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(tmp8, tmp9, _fitting1_P_dp_, tmp10); ^~~~ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendFunctions.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_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendFMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 6 errors generated. : recipe for target 'OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBendCalcHelperMain.o] Error 1