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.001589/0.001589, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.618/1.618, allocations: 221.3 MB / 236 MB, free: 2.898 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.0009999, allocations: 91.98 kB / 287 MB, free: 176 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2123/0.2123, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.567e-05/3.57e-05, allocations: 4.203 kB / 452 MB, free: 9.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1628, allocations: 61.91 MB / 0.5018 GB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5009/0.6637, allocations: 103.6 MB / 0.603 GB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.664, allocations: 91.94 kB / 0.6031 GB, free: 1.477 MB / 410.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.05591/0.72, allocations: 18.23 MB / 0.6209 GB, free: 15.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.72, allocations: 0 / 0.6209 GB, free: 15.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.72, allocations: 8 kB / 0.6209 GB, free: 15.15 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.001112/0.7211, allocations: 0.6346 MB / 0.6215 GB, free: 14.47 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.7212, allocations: 12.03 kB / 0.6215 GB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.274e-05/0.7213, allocations: 70.53 kB / 0.6216 GB, free: 14.38 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.099e-05/0.7214, allocations: 31.62 kB / 0.6216 GB, free: 14.35 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.7217, allocations: 238.7 kB / 0.6219 GB, free: 14.08 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.7217, allocations: 28.77 kB / 0.6219 GB, free: 14.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.573e-05/0.7218, allocations: 28 kB / 0.6219 GB, free: 14.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006847/0.7224, allocations: 439.5 kB / 0.6223 GB, free: 13.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.7225, allocations: 0 / 0.6223 GB, free: 13.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.7225, allocations: 12 kB / 0.6224 GB, free: 13.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.301e-05/0.7226, allocations: 36.77 kB / 0.6224 GB, free: 13.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000663/0.7232, allocations: 0.5184 MB / 0.6229 GB, free: 13.02 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.7252, allocations: 1.353 MB / 0.6242 GB, free: 11.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/0.7257, allocations: 266.5 kB / 0.6245 GB, free: 11.28 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.7259, allocations: 80.83 kB / 0.6245 GB, free: 11.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.226e-05/0.7259, allocations: 11.94 kB / 0.6246 GB, free: 11.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.726, allocations: 42.56 kB / 0.6246 GB, free: 11.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 2.825e-06/0.726, allocations: 0 / 0.6246 GB, free: 11.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004669/0.7264, allocations: 217.7 kB / 0.6248 GB, free: 10.92 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.7265, allocations: 51.41 kB / 0.6249 GB, free: 10.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.7266, allocations: 134.6 kB / 0.625 GB, free: 10.71 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.7267, allocations: 25.7 kB / 0.625 GB, free: 10.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.7268, allocations: 192.2 kB / 0.6252 GB, free: 10.49 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.489e-05/0.7269, allocations: 90.69 kB / 0.6253 GB, free: 10.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/0.7269, allocations: 4 kB / 0.6253 GB, free: 10.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.7271, allocations: 330.8 kB / 0.6256 GB, free: 10.06 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.7272, allocations: 79.81 kB / 0.6257 GB, free: 9.984 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.7274, allocations: 154.2 kB / 0.6258 GB, free: 9.797 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.7276, allocations: 108.1 kB / 0.6259 GB, free: 9.691 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.7276, allocations: 8 kB / 0.6259 GB, free: 9.684 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004653/0.7281, allocations: 281.2 kB / 0.6262 GB, free: 9.402 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.7281, allocations: 7.953 kB / 0.6262 GB, free: 9.395 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.7281, allocations: 4 kB / 0.6262 GB, free: 9.391 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.7281, allocations: 7.984 kB / 0.6262 GB, free: 9.383 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006007/0.7287, allocations: 136.2 kB / 0.6263 GB, free: 9.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.7302, allocations: 2.368 MB / 0.6287 GB, free: 6.789 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.7304, allocations: 39.7 kB / 0.6287 GB, free: 6.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.7304, allocations: 16 kB / 0.6287 GB, free: 6.734 MB / 442.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 () * 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.0001193/0.7305, allocations: 125.1 kB / 0.6288 GB, free: 6.605 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.7306, allocations: 15.81 kB / 0.6288 GB, free: 6.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00077/0.7314, allocations: 339.4 kB / 0.6292 GB, free: 6.242 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.7314, allocations: 4 kB / 0.6292 GB, free: 6.238 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.7314, allocations: 0 / 0.6292 GB, free: 6.238 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.7314, allocations: 7.875 kB / 0.6292 GB, free: 6.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.7319, allocations: 349.2 kB / 0.6295 GB, free: 5.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7319, allocations: 0 / 0.6295 GB, free: 5.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004975/0.7324, allocations: 115.9 kB / 0.6296 GB, free: 5.727 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.7324, allocations: 8 kB / 0.6296 GB, free: 5.719 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.7325, allocations: 11.98 kB / 0.6296 GB, free: 5.707 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.7339, allocations: 2.352 MB / 0.6319 GB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7339, allocations: 0 / 0.6319 GB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004841/0.7344, allocations: 347.4 kB / 0.6323 GB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-05/0.7345, allocations: 92.86 kB / 0.6324 GB, free: 2.797 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/0.7345, allocations: 16.16 kB / 0.6324 GB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.7347, allocations: 12 kB / 0.6324 GB, free: 2.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.644e-05/0.7348, allocations: 27.91 kB / 0.6324 GB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.7348, allocations: 11.98 kB / 0.6324 GB, free: 2.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.802e-05/0.7349, allocations: 98.08 kB / 0.6325 GB, free: 2.637 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7349, allocations: 0 / 0.6325 GB, free: 2.637 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001237/0.7362, allocations: 263.3 kB / 0.6328 GB, free: 2.379 MB / 442.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 () * 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.001483/0.7377, allocations: 1.152 MB / 0.6339 GB, free: 1.203 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006422/0.7383, allocations: 260.4 kB / 0.6341 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.7383, allocations: 4 kB / 0.6341 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003632/0.7387, allocations: 144.4 kB / 0.6343 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.7389, allocations: 8 kB / 0.6343 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.7401, allocations: 0.5958 MB / 0.6349 GB, free: 172 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.7405, allocations: 0.8101 MB / 0.6357 GB, free: 15.33 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003208/0.7409, allocations: 97.86 kB / 0.6358 GB, free: 15.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.741, allocations: 91.39 kB / 0.6358 GB, free: 15.14 MB / 458.7 MB Notification: Performance of SimCode: time 6.12e-07/0.741, allocations: 3.938 kB / 0.6358 GB, free: 15.14 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.7643, allocations: 8.404 MB / 0.6441 GB, free: 6.953 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002366/0.7646, allocations: 229.1 kB / 0.6443 GB, free: 6.688 MB / 458.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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:385: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:411: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