Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.521/2.521, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.731e-05/5.742e-05, allocations: 11.98 kB / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4637/0.4638, allocations: 54.85 MB / 359.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2138/0.6777, allocations: 105.2 MB / 465.1 MB, free: 7.699 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004011/0.6781, allocations: 99.88 kB / 465.2 MB, free: 7.602 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4955:11-4956:126:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4977:11-4978:120:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4937:11-4953:48:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4959:11-4975: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.1411/0.8193, allocations: 27.8 MB / 493 MB, free: 11.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.8193, allocations: 4 kB / 493 MB, free: 11.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.186e-05/0.8194, allocations: 8 kB / 493 MB, free: 11.51 MB / 426.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.002976/0.8224, allocations: 0.902 MB / 493.9 MB, free: 10.56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.8224, allocations: 8.031 kB / 493.9 MB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003201/0.8228, allocations: 144 kB / 494 MB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002199/0.823, allocations: 75.06 kB / 494.1 MB, free: 10.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000831/0.8239, allocations: 350 kB / 494.4 MB, free: 9.949 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.257e-05/0.8239, allocations: 61.98 kB / 494.5 MB, free: 9.891 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/0.8242, allocations: 76 kB / 494.6 MB, free: 9.816 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002813/0.827, allocations: 1.155 MB / 495.7 MB, free: 8.656 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.41e-05/0.8271, allocations: 3.938 kB / 495.7 MB, free: 8.652 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.8272, allocations: 35.98 kB / 495.8 MB, free: 8.617 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001419/0.8274, allocations: 73.95 kB / 495.8 MB, free: 8.543 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00386/0.8312, allocations: 1.675 MB / 497.5 MB, free: 6.867 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008045/0.8393, allocations: 2.958 MB / 0.4887 GB, free: 3.758 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.8408, allocations: 423.7 kB / 0.4891 GB, free: 3.332 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003463/0.8412, allocations: 125.4 kB / 0.4893 GB, free: 3.207 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.184e-05/0.8413, allocations: 12.27 kB / 0.4893 GB, free: 3.195 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.8413, allocations: 38.78 kB / 0.4893 GB, free: 3.148 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.417e-06/0.8413, allocations: 4 kB / 0.4893 GB, free: 3.145 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.000988/0.8423, allocations: 323.4 kB / 0.4896 GB, free: 2.824 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.8424, allocations: 55.41 kB / 0.4897 GB, free: 2.758 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.8427, allocations: 185.6 kB / 0.4899 GB, free: 2.566 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/0.8428, allocations: 29.7 kB / 0.4899 GB, free: 2.531 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003112/0.8431, allocations: 390.1 kB / 0.4903 GB, free: 2.141 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.8433, allocations: 126.3 kB / 0.4904 GB, free: 2.016 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.8433, allocations: 4 kB / 0.4904 GB, free: 2.012 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.8435, allocations: 338.8 kB / 0.4907 GB, free: 1.672 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/0.8439, allocations: 133 kB / 0.4908 GB, free: 1.543 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000536/0.8444, allocations: 318.5 kB / 0.4911 GB, free: 1.141 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005158/0.8449, allocations: 200.4 kB / 0.4913 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.845, allocations: 7.938 kB / 0.4913 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001363/0.8463, allocations: 0.5123 MB / 0.4918 GB, free: 428 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.8464, allocations: 4 kB / 0.4918 GB, free: 424 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.8464, allocations: 8 kB / 0.4918 GB, free: 416 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.333e-05/0.8465, allocations: 12 kB / 0.4919 GB, free: 404 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/0.848, allocations: 212.4 kB / 0.4921 GB, free: 192 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/0.8503, allocations: 2.996 MB / 0.495 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005835/0.8509, allocations: 59.86 kB / 0.495 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.43e-05/0.851, allocations: 31.98 kB / 0.4951 GB, free: 12.98 MB / 442.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 () * 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.0002119/0.8512, allocations: 140.7 kB / 0.4952 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-05/0.8513, allocations: 27.72 kB / 0.4952 GB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/0.8534, allocations: 0.5308 MB / 0.4958 GB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.8535, allocations: 4 kB / 0.4958 GB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.8535, allocations: 3.953 kB / 0.4958 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.8535, allocations: 4 kB / 0.4958 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002924/0.8564, allocations: 1.149 MB / 0.4969 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.8565, allocations: 0 / 0.4969 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/0.8578, allocations: 180.1 kB / 0.4971 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.507e-05/0.8578, allocations: 8 kB / 0.4971 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.267e-05/0.8579, allocations: 12 kB / 0.4971 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/0.86, allocations: 2.961 MB / 0.5 GB, free: 7.766 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/0.8601, allocations: 4.031 kB / 0.5 GB, free: 7.762 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.8612, allocations: 0.5585 MB / 0.5005 GB, free: 7.113 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.8613, allocations: 108.8 kB / 0.5006 GB, free: 6.988 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.716e-05/0.8614, allocations: 8 kB / 0.5006 GB, free: 6.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003629/0.8618, allocations: 19.98 kB / 0.5006 GB, free: 6.961 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.8619, allocations: 31.97 kB / 0.5007 GB, free: 6.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.56e-05/0.862, allocations: 27.94 kB / 0.5007 GB, free: 6.902 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001793/0.8622, allocations: 136.5 kB / 0.5008 GB, free: 6.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8622, allocations: 0 / 0.5008 GB, free: 6.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001821/0.864, allocations: 382.6 kB / 0.5012 GB, free: 6.395 MB / 442.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 () * 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.003092/0.8672, allocations: 1.95 MB / 0.5031 GB, free: 4.363 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001731/0.869, allocations: 416.7 kB / 0.5035 GB, free: 3.957 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/0.869, allocations: 0 / 0.5035 GB, free: 3.957 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009398/0.87, allocations: 228.6 kB / 0.5037 GB, free: 3.734 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.8704, allocations: 27.92 kB / 0.5037 GB, free: 3.703 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003799/0.8742, allocations: 1.112 MB / 0.5048 GB, free: 2.527 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008579/0.8751, allocations: 0.9992 MB / 0.5058 GB, free: 1.496 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009753/0.8761, allocations: 166.6 kB / 0.506 GB, free: 1.336 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005104/0.8766, allocations: 207.4 kB / 0.5062 GB, free: 1.133 MB / 442.7 MB Notification: Performance of SimCode: time 1.222e-06/0.8766, allocations: 0 / 0.5062 GB, free: 1.133 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04844/0.9251, allocations: 12.45 MB / 0.5183 GB, free: 4.766 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003891/0.9256, allocations: 232.4 kB / 0.5185 GB, free: 4.457 MB / 458.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.o ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.c In file included from ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.c:7: In file included from ./ModelicaTest_3_2_2_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: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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_functions.o ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_functions.c In file included from ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_functions.c:2: In file included from ./ModelicaTest_3_2_2_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: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_3_2_2_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_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_functions.h:381: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_3_2_2_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_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_functions.h:407: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. : recipe for target 'ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_functions.o' failed make: *** [ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_functions.o] Error 1