Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.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.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",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.001548/0.001548, allocations: 182.6 kB / 16.4 MB, free: 5.75 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.074/2.074, allocations: 205.4 MB / 222.5 MB, free: 9.098 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.001185/0.001185, allocations: 89.5 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5441/0.5441, allocations: 43.56 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004779, allocations: 12 kB / 431.5 MB, free: 6.051 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1383, allocations: 58.86 MB / 490.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases): time 0.4298/0.5682, allocations: 42.65 MB / 0.5205 GB, free: 21.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02819/0.5964, allocations: 15.72 MB / 0.5358 GB, free: 9.988 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002763/0.5992, allocations: 56.72 kB / 0.5359 GB, free: 9.957 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003765/0.603, allocations: 0.7567 MB / 0.5366 GB, free: 9.531 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01056/0.6137, allocations: 2.694 MB / 0.5393 GB, free: 7.844 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01132/0.625, allocations: 2.793 MB / 0.542 GB, free: 6.496 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006284/0.6313, allocations: 2.763 MB / 0.5447 GB, free: 5.078 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002297/0.6337, allocations: 1.052 MB / 0.5457 GB, free: 4.695 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004618/0.6383, allocations: 1.519 MB / 0.5472 GB, free: 4.023 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002853/0.6413, allocations: 0.9712 MB / 0.5481 GB, free: 3.633 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006539/0.642, allocations: 79.41 kB / 0.5482 GB, free: 3.629 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01068/0.6527, allocations: 3.44 MB / 0.5516 GB, free: 2.648 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001233/0.6539, allocations: 398.2 kB / 0.552 GB, free: 2.461 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.6552, allocations: 392.8 kB / 0.5523 GB, free: 2.285 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008268/0.6635, allocations: 2.667 MB / 0.5549 GB, free: 1.688 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.6636, allocations: 0 / 0.5549 GB, free: 1.688 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.6636, allocations: 7.938 kB / 0.5549 GB, free: 1.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.45e-05/0.6637, allocations: 0 / 0.5549 GB, free: 1.68 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.006234/0.6699, allocations: 1.858 MB / 0.5568 GB, free: 484 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.67, allocations: 13.45 kB / 0.5568 GB, free: 480 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008493/0.6709, allocations: 208.1 kB / 0.557 GB, free: 344 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/0.6727, allocations: 240.6 kB / 0.5572 GB, free: 244 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003547/0.6763, allocations: 1.031 MB / 0.5582 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.6765, allocations: 95.28 kB / 0.5583 GB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004041/0.677, allocations: 130 kB / 0.5584 GB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006213/0.6832, allocations: 1.895 MB / 0.5603 GB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.734e-05/0.6833, allocations: 6.875 kB / 0.5603 GB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004388/0.6837, allocations: 65.5 kB / 0.5603 GB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.443e-05/0.6838, allocations: 34.38 kB / 0.5604 GB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005788/0.6896, allocations: 1.618 MB / 0.562 GB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01818/0.7078, allocations: 9.386 MB / 0.5711 GB, free: 4.727 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003534/0.7114, allocations: 1.067 MB / 0.5722 GB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009737/0.7212, allocations: 5.645 MB / 0.5777 GB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.559e-05/0.7213, allocations: 48.62 kB / 0.5777 GB, free: 14.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=95): time 3.346e-06/0.7213, allocations: 0 / 0.5777 GB, free: 14.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=95): time 0.006545/0.7279, allocations: 1.378 MB / 0.5791 GB, free: 13.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002055/0.7281, allocations: 378.5 kB / 0.5794 GB, free: 13.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002438/0.7305, allocations: 1.153 MB / 0.5806 GB, free: 12.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003784/0.731, allocations: 47.27 kB / 0.5806 GB, free: 12.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007966/0.7318, allocations: 0.7502 MB / 0.5813 GB, free: 11.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000587/0.7324, allocations: 338.5 kB / 0.5817 GB, free: 11.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.7325, allocations: 30.09 kB / 0.5817 GB, free: 11.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.7327, allocations: 363.6 kB / 0.582 GB, free: 10.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.7342, allocations: 398.8 kB / 0.5824 GB, free: 10.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/0.7363, allocations: 0.9927 MB / 0.5834 GB, free: 9.598 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001859/0.7382, allocations: 0.5493 MB / 0.5839 GB, free: 9.047 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.435e-05/0.7382, allocations: 4 kB / 0.5839 GB, free: 9.043 MB / 410.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.005885/0.7441, allocations: 1.419 MB / 0.5853 GB, free: 7.617 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/0.7442, allocations: 16.22 kB / 0.5853 GB, free: 7.602 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.282e-05/0.7442, allocations: 20 kB / 0.5853 GB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.625e-05/0.7443, allocations: 31.98 kB / 0.5854 GB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005726/0.75, allocations: 0.5226 MB / 0.5859 GB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/0.7526, allocations: 1.875 MB / 0.5877 GB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/0.7554, allocations: 210.3 kB / 0.5879 GB, free: 4.875 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004109/0.7558, allocations: 91.91 kB / 0.588 GB, free: 4.785 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (179): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001209/0.7571, allocations: 353.2 kB / 0.5883 GB, free: 4.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005894/0.7577, allocations: 150.2 kB / 0.5885 GB, free: 4.281 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008067/0.7657, allocations: 2.437 MB / 0.5909 GB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.204e-05/0.7658, allocations: 16 kB / 0.5909 GB, free: 1.781 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.7658, allocations: 0 / 0.5909 GB, free: 1.781 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.7e-05/0.7659, allocations: 7.969 kB / 0.5909 GB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/0.7767, allocations: 3.874 MB / 0.5947 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.036e-05/0.7768, allocations: 11.94 kB / 0.5947 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/0.7783, allocations: 219.7 kB / 0.5949 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002304/0.7807, allocations: 234.2 kB / 0.5951 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003319/0.781, allocations: 47.97 kB / 0.5952 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002715/0.7838, allocations: 1.692 MB / 0.5968 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.79e-05/0.7838, allocations: 11.94 kB / 0.5968 GB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006218/0.7901, allocations: 2.104 MB / 0.5989 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.7911, allocations: 274.8 kB / 0.5991 GB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008365/0.792, allocations: 39.94 kB / 0.5992 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00257/0.7946, allocations: 107.7 kB / 0.5993 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004028/0.795, allocations: 112.7 kB / 0.5994 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003291/0.7954, allocations: 91.86 kB / 0.5995 GB, free: 8.242 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00192/0.7973, allocations: 0.7952 MB / 0.6003 GB, free: 7.445 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.7973, allocations: 0 / 0.6003 GB, free: 7.445 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004922/0.8023, allocations: 0.8543 MB / 0.6011 GB, free: 6.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (130): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01038/0.8127, allocations: 5.386 MB / 0.6063 GB, free: 0.957 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008417/0.8212, allocations: 1.408 MB / 0.6077 GB, free: 15.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.755e-05/0.8212, allocations: 4.656 kB / 0.6077 GB, free: 15.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00308/0.8243, allocations: 0.6669 MB / 0.6084 GB, free: 14.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00763/0.832, allocations: 0.7688 MB / 0.6091 GB, free: 14.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03229/0.8643, allocations: 20.77 MB / 0.6294 GB, free: 8.574 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/0.8657, allocations: 1.304 MB / 0.6307 GB, free: 7.242 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0019/0.8676, allocations: 0.6711 MB / 0.6313 GB, free: 6.57 MB / 458.7 MB Notification: Performance of SimCode: time 1.453e-06/0.8677, allocations: 0 / 0.6313 GB, free: 6.57 MB / 458.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_SeveralTestCasesCalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesAlgLoopMain.cpp:15: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesAlgloop264.cpp:82: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(tmp670, tmp671, _system->_from_mflow3_P_dp_, tmp672); ^~~~~~ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesFunctions.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_SeveralTestCasesCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesAlgLoopMain.cpp:27: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesAlgloop157.cpp:80: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(tmp688, tmp689, _system->_from_mflow3_P_dp_, tmp692); ^~~~~~ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesFunctions.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_SeveralTestCasesCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesInitialize.cpp:2173: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(tmp398, tmp399, _from_dp3_P_dp_, tmp402); ^~~~~~ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesFunctions.cpp:269: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_SeveralTestCasesCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesInitialize.cpp:3940: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(tmp483, tmp484, _from_mflow3_P_m_flow_small_, tmp489); ^~~~~~ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesFunctions.cpp:80: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_SeveralTestCasesCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesInitialize.cpp:4072: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(tmp490, tmp491, _from_dp3_P_m_flow_small_, tmp496); ^~~~~~ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesFunctions.cpp:80: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_SeveralTestCasesCalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.cpp:1005: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(tmp51, tmp52, _from_dp3_P_dp_, tmp53); ^~~~~ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesFunctions.cpp:269: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_SeveralTestCasesCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesFMU.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_SeveralTestCasesCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCasesCalcHelperMain.o] Error 1