Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.001048/0.001048, allocations: 177.5 kB / 17.06 MB, free: 5.094 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.407/1.407, allocations: 223.2 MB / 241 MB, free: 10.15 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.0008875/0.0008872, allocations: 92.08 kB / 292.1 MB, free: 10.69 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.3679/0.3679, allocations: 44.22 MB / 387.5 MB, free: 38.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003314, allocations: 8 kB / 460 MB, free: 1.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3809, allocations: 61.91 MB / 0.5097 GB, free: 37.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.5158, allocations: 103.7 MB / 0.6109 GB, free: 7.363 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.5161, allocations: 107.9 kB / 0.611 GB, free: 7.266 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:6002:11-6008:61:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:6010:11-6013:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:6016:11-6022:59:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:6024:11-6027:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.05526/0.5714, allocations: 18.24 MB / 0.6288 GB, free: 4.902 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5714, allocations: 3.938 kB / 0.6288 GB, free: 4.898 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.5715, allocations: 4 kB / 0.6288 GB, free: 4.895 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001171/0.5726, allocations: 0.6367 MB / 0.6295 GB, free: 4.211 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.5727, allocations: 15.97 kB / 0.6295 GB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.014e-05/0.5728, allocations: 74.52 kB / 0.6296 GB, free: 4.113 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.306e-05/0.5729, allocations: 31.62 kB / 0.6296 GB, free: 4.082 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.5732, allocations: 246.6 kB / 0.6298 GB, free: 3.801 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.5732, allocations: 20.66 kB / 0.6298 GB, free: 3.781 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.522e-05/0.5733, allocations: 32 kB / 0.6299 GB, free: 3.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007305/0.574, allocations: 459.9 kB / 0.6303 GB, free: 3.293 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.574, allocations: 0 / 0.6303 GB, free: 3.293 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.627e-05/0.5741, allocations: 15.98 kB / 0.6303 GB, free: 3.277 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.041e-05/0.5741, allocations: 36.97 kB / 0.6304 GB, free: 3.242 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008114/0.5749, allocations: 0.5621 MB / 0.6309 GB, free: 2.68 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.5769, allocations: 1.349 MB / 0.6322 GB, free: 1.215 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005469/0.5774, allocations: 291.4 kB / 0.6325 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.416e-05/0.5775, allocations: 12.38 kB / 0.6325 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.5775, allocations: 42.52 kB / 0.6326 GB, free: 0.8594 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.5775, allocations: 3.938 kB / 0.6326 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.000715/0.5783, allocations: 335.5 kB / 0.6329 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.5783, allocations: 63.41 kB / 0.6329 GB, free: 460 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.5784, allocations: 135.3 kB / 0.6331 GB, free: 316 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.5785, allocations: 29.7 kB / 0.6331 GB, free: 280 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.395e-05/0.5786, allocations: 183.7 kB / 0.6333 GB, free: 92 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.444e-05/0.5786, allocations: 86.75 kB / 0.6334 GB, free: 4 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/0.5787, allocations: 4 kB / 0.6334 GB, free: 0 / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5788, allocations: 326.8 kB / 0.6337 GB, free: 15.67 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.579, allocations: 95.91 kB / 0.6338 GB, free: 15.58 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.5792, allocations: 178.2 kB / 0.6339 GB, free: 15.37 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.5795, allocations: 120.8 kB / 0.634 GB, free: 15.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5795, allocations: 0 / 0.634 GB, free: 15.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005552/0.58, allocations: 333 kB / 0.6344 GB, free: 14.92 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.5801, allocations: 11.95 kB / 0.6344 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5801, allocations: 0 / 0.6344 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.5801, allocations: 8 kB / 0.6344 GB, free: 14.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005412/0.5806, allocations: 123.8 kB / 0.6345 GB, free: 14.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.5818, allocations: 2.364 MB / 0.6368 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.582, allocations: 35.67 kB / 0.6368 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.5821, allocations: 19.98 kB / 0.6369 GB, free: 12.26 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001862/0.5823, allocations: 178.2 kB / 0.637 GB, free: 12.08 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.5823, allocations: 19.75 kB / 0.6371 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000823/0.5831, allocations: 384.6 kB / 0.6374 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.5832, allocations: 4 kB / 0.6374 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5832, allocations: 0 / 0.6374 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.5832, allocations: 3.984 kB / 0.6374 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.5836, allocations: 341.3 kB / 0.6378 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.5836, allocations: 0 / 0.6378 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004741/0.5841, allocations: 123.8 kB / 0.6379 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.5841, allocations: 3.984 kB / 0.6379 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.5841, allocations: 8 kB / 0.6379 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.5852, allocations: 2.356 MB / 0.6402 GB, free: 8.699 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/0.5852, allocations: 7.875 kB / 0.6402 GB, free: 8.691 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/0.5858, allocations: 379.8 kB / 0.6406 GB, free: 8.305 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.576e-05/0.5858, allocations: 92.86 kB / 0.6406 GB, free: 8.195 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.5859, allocations: 4 kB / 0.6406 GB, free: 8.191 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.586, allocations: 19.98 kB / 0.6407 GB, free: 8.172 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.5861, allocations: 23.97 kB / 0.6407 GB, free: 8.148 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.5861, allocations: 11.98 kB / 0.6407 GB, free: 8.137 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.046e-05/0.5862, allocations: 101.5 kB / 0.6408 GB, free: 8.039 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5862, allocations: 0 / 0.6408 GB, free: 8.039 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008731/0.5871, allocations: 267.2 kB / 0.6411 GB, free: 7.777 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00142/0.5885, allocations: 1.192 MB / 0.6422 GB, free: 6.559 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000698/0.5892, allocations: 295.5 kB / 0.6425 GB, free: 6.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5892, allocations: 0.6875 kB / 0.6425 GB, free: 6.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004031/0.5896, allocations: 168.3 kB / 0.6427 GB, free: 6.105 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.5899, allocations: 8 kB / 0.6427 GB, free: 6.098 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.5926, allocations: 3.23 MB / 0.6458 GB, free: 2.773 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.593, allocations: 0.8029 MB / 0.6466 GB, free: 1.941 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003113/0.5933, allocations: 97.73 kB / 0.6467 GB, free: 1.848 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.5935, allocations: 91.39 kB / 0.6468 GB, free: 1.758 MB / 458.7 MB Notification: Performance of SimCode: time 5.81e-07/0.5935, allocations: 0 / 0.6468 GB, free: 1.758 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.6163, allocations: 8.202 MB / 0.6548 GB, free: 9.809 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/0.6166, allocations: 257.2 kB / 0.655 GB, free: 9.469 MB / 474.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_StraightPipe_dp_overall_DPMFLOW.o ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.c:7: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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_StraightPipe_dp_overall_DPMFLOW_functions.o ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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_StraightPipe_dp_overall_DPMFLOW_functions.c:246:455: 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 = (omc_Modelica_Fluid_Dissipation_Utilities_Functions_General_Stepsmoother(threadData, _Re_lam_min, _Re_lam_max, _Re)) * (omc_Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__laminar__DP(threadData, _IN_con_lam, _IN_var, _m_flow)) + (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_con, _IN_var, _m_flow)); ^~~~~~~ ./ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.h:415: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_StraightPipe_dp_overall_DPMFLOW_functions.c:581:455: 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 = (omc_Modelica_Fluid_Dissipation_Utilities_Functions_General_Stepsmoother(threadData, _Re_lam_min, _Re_turb, _Re)) * (omc_Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__laminar__MFLOW(threadData, _IN_con_lam, _IN_var, _dp)) + (omc_Modelica_Fluid_Dissipation_Utilities_Functions_General_Stepsmoother(threadData, _Re_turb, _Re_lam_min, _Re)) * (omc_Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__turbulent__MFLOW(threadData, _IN_con, _IN_var, _dp)); ^~~~~~~ ./ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.h:441: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_StraightPipe_dp_overall_DPMFLOW_functions.o] Error 1