Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 177.3 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008351/0.0008351, allocations: 99.75 kB / 292.1 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3996/0.3996, allocations: 44.2 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003277, allocations: 8 kB / 460 MB, free: 1.391 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3518, allocations: 61.9 MB / 0.5097 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/0.4956, allocations: 111.6 MB / 0.6187 GB, free: 15.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/0.496, allocations: 99.91 kB / 0.6188 GB, free: 15.31 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:4871:11-4872:126:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:4893:11-4894:120:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:4853:11-4869:48:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:4875:11-4891:59:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.083/0.579, allocations: 28.55 MB / 0.6466 GB, free: 2.438 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.579, allocations: 0 / 0.6466 GB, free: 2.438 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.579, allocations: 12 kB / 0.6467 GB, free: 2.426 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001745/0.5808, allocations: 0.9101 MB / 0.6475 GB, free: 1.465 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.5808, allocations: 8.031 kB / 0.6476 GB, free: 1.457 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000171/0.581, allocations: 147.9 kB / 0.6477 GB, free: 1.305 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.5811, allocations: 75.16 kB / 0.6478 GB, free: 1.23 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005594/0.5817, allocations: 357.9 kB / 0.6481 GB, free: 0.8398 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.305e-05/0.5818, allocations: 58 kB / 0.6482 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.5819, allocations: 79.98 kB / 0.6482 GB, free: 0.707 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.5836, allocations: 1.186 MB / 0.6494 GB, free: 15.51 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.5837, allocations: 0 / 0.6494 GB, free: 15.51 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.276e-05/0.5837, allocations: 32 kB / 0.6494 GB, free: 15.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.575e-05/0.5838, allocations: 73.97 kB / 0.6495 GB, free: 15.41 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00242/0.5863, allocations: 1.722 MB / 0.6512 GB, free: 13.69 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004459/0.5907, allocations: 2.971 MB / 0.6541 GB, free: 10.57 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009056/0.5917, allocations: 444.4 kB / 0.6545 GB, free: 10.13 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.636e-05/0.5917, allocations: 8.266 kB / 0.6545 GB, free: 10.12 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.5918, allocations: 42.84 kB / 0.6546 GB, free: 10.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 2.715e-06/0.5918, allocations: 3.938 kB / 0.6546 GB, free: 10.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009725/0.5927, allocations: 487.9 kB / 0.655 GB, free: 9.59 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.5928, allocations: 59.41 kB / 0.6551 GB, free: 9.52 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.593, allocations: 194 kB / 0.6553 GB, free: 9.32 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.593, allocations: 29.7 kB / 0.6553 GB, free: 9.285 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.5933, allocations: 378.2 kB / 0.6557 GB, free: 8.906 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.643e-05/0.5934, allocations: 122.3 kB / 0.6558 GB, free: 8.785 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.5934, allocations: 12 kB / 0.6558 GB, free: 8.773 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.5936, allocations: 338.8 kB / 0.6561 GB, free: 8.434 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/0.5938, allocations: 153 kB / 0.6563 GB, free: 8.281 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004177/0.5943, allocations: 342.6 kB / 0.6566 GB, free: 7.859 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.5946, allocations: 215.8 kB / 0.6568 GB, free: 7.648 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.5946, allocations: 4 kB / 0.6568 GB, free: 7.645 MB / 474.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009049/0.5955, allocations: 0.5413 MB / 0.6573 GB, free: 7.098 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.5956, allocations: 13.56 kB / 0.6573 GB, free: 7.086 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.5956, allocations: 8 kB / 0.6573 GB, free: 7.078 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.101e-05/0.5956, allocations: 12 kB / 0.6574 GB, free: 7.066 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007428/0.5964, allocations: 207.7 kB / 0.6575 GB, free: 6.863 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/0.5983, allocations: 3.001 MB / 0.6605 GB, free: 3.746 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.5986, allocations: 63.45 kB / 0.6605 GB, free: 3.684 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/0.5986, allocations: 28 kB / 0.6606 GB, free: 3.656 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (roughness,geometry[5],geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004115/0.5991, allocations: 269.6 kB / 0.6608 GB, free: 3.383 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.5991, allocations: 27.67 kB / 0.6608 GB, free: 3.355 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.6004, allocations: 0.5697 MB / 0.6614 GB, free: 2.781 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.6005, allocations: 4 kB / 0.6614 GB, free: 2.777 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.6005, allocations: 3.984 kB / 0.6614 GB, free: 2.773 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6005, allocations: 3.938 kB / 0.6614 GB, free: 2.77 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.6023, allocations: 1.184 MB / 0.6626 GB, free: 1.504 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.6024, allocations: 12.02 kB / 0.6626 GB, free: 1.492 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006527/0.603, allocations: 171.8 kB / 0.6627 GB, free: 1.324 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.6031, allocations: 4 kB / 0.6628 GB, free: 1.32 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.6031, allocations: 16 kB / 0.6628 GB, free: 1.305 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/0.6048, allocations: 2.962 MB / 0.6657 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.6048, allocations: 4.031 kB / 0.6657 GB, free: 14.22 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007659/0.6056, allocations: 0.5948 MB / 0.6662 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.651e-05/0.6057, allocations: 104.8 kB / 0.6663 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.6057, allocations: 11.94 kB / 0.6664 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.6059, allocations: 23.98 kB / 0.6664 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.842e-05/0.606, allocations: 43.84 kB / 0.6664 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.405e-05/0.606, allocations: 23.98 kB / 0.6664 GB, free: 13.32 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001092/0.6062, allocations: 131.2 kB / 0.6666 GB, free: 13.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6062, allocations: 0 / 0.6666 GB, free: 13.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001332/0.6075, allocations: 378.7 kB / 0.6669 GB, free: 12.82 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002132/0.6096, allocations: 1.982 MB / 0.6689 GB, free: 10.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.6108, allocations: 469 kB / 0.6693 GB, free: 10.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.6108, allocations: 3.938 kB / 0.6693 GB, free: 10.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005586/0.6114, allocations: 233.1 kB / 0.6695 GB, free: 10.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.6116, allocations: 32.11 kB / 0.6696 GB, free: 10.03 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00545/0.6171, allocations: 6.958 MB / 0.6764 GB, free: 2.871 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/0.6177, allocations: 0.9994 MB / 0.6773 GB, free: 1.844 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005146/0.6182, allocations: 166.6 kB / 0.6775 GB, free: 1.676 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.6185, allocations: 207.3 kB / 0.6777 GB, free: 1.473 MB / 490.7 MB Notification: Performance of SimCode: time 8.42e-07/0.6185, allocations: 0 / 0.6777 GB, free: 1.473 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2638/0.8823, allocations: 12.02 MB / 0.6894 GB, free: 122.8 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/0.8827, allocations: 269.4 kB / 0.6897 GB, free: 122.4 MB / 490.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.o ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.c:7: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_functions.o ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_functions.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_functions.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_functions.c:321:452: error: passing 'Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__overall__IN__con' to parameter of incompatible type 'Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__turbulent__IN__con' _DP = (0.5) * ((omc_Modelica_Fluid_Dissipation_Utilities_Functions_General_Stepsmoother(threadData, _Re_lam_min, _Re_lam_max, _Re)) * ((_CF_lam) * ((_IN_con._L) * ((real_int_pow(threadData, _d_hyd, -2)) * ((_velocity) * (_IN_var._eta)))))) + (omc_Modelica_Fluid_Dissipation_Utilities_Functions_General_Stepsmoother(threadData, _Re_lam_max, _Re_lam_min, _Re)) * (omc_Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__turbulent__DP(threadData, _IN_2_con, _IN_2_var, _m_flow_turb)); ^~~~~~~~~ ./ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_functions.h:411:192: note: passing argument to parameter '_IN_con' here modelica_real omc_Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__turbulent__DP(threadData_t *threadData, Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__turbulent__IN__con _IN_con, Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__turbulent__IN__var _IN_var, modelica_real _m_flow); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_functions.c:927:499: error: passing 'Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__overall__IN__con' to parameter of incompatible type 'Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__turbulent__IN__con' _M_FLOW = (2.0) * ((omc_Modelica_Fluid_Dissipation_Utilities_Functions_General_Stepsmoother(threadData, _Re_lam_min, _Re_turb, _Re)) * ((_IN_var._rho) * ((_A_cross) * ((_dp) * (((tmp69 * tmp69)) / tmp70))))) + (1.273239544735163) * ((omc_Modelica_Fluid_Dissipation_Utilities_Functions_General_Stepsmoother(threadData, _Re_turb, _Re_lam_min, _Re)) * ((_A_cross) * ((real_int_pow(threadData, _d_hyd, -2)) * (omc_Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__turbulent__MFLOW(threadData, _IN_2_con, _IN_2_var, _dp))))); ^~~~~~~~~ ./ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_functions.h:437:195: note: passing argument to parameter '_IN_con' here modelica_real omc_Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__turbulent__MFLOW(threadData_t *threadData, Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__turbulent__IN__con _IN_con, Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__turbulent__IN__var _IN_var, modelica_real _dp); ^ 2 warnings and 2 errors generated. make: *** [: ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_functions.o] Error 1