Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.466/2.466, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.971e-05/3.974e-05, allocations: 4 kB / 323.5 MB, free: 4.199 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3958, allocations: 58.83 MB / 382.3 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2758/0.6716, allocations: 110.3 MB / 492.7 MB, free: 14.14 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003876/0.6721, allocations: 99.92 kB / 492.8 MB, free: 14.05 MB / 426.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.3/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.3/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.3/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.3/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.1385/0.8105, allocations: 27.87 MB / 0.5084 GB, free: 1.848 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.703e-06/0.8106, allocations: 0 / 0.5084 GB, free: 1.848 MB / 442.8 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.8106, allocations: 8 kB / 0.5084 GB, free: 1.84 MB / 442.8 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.002547/0.8132, allocations: 0.9041 MB / 0.5093 GB, free: 0.8867 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.8133, allocations: 8.031 kB / 0.5093 GB, free: 0.8789 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002586/0.8135, allocations: 147.9 kB / 0.5095 GB, free: 0.7266 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.8137, allocations: 79.02 kB / 0.5095 GB, free: 0.6484 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007387/0.8145, allocations: 350 kB / 0.5099 GB, free: 272 kB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.794e-05/0.8146, allocations: 54 kB / 0.5099 GB, free: 220 kB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/0.8148, allocations: 76 kB / 0.51 GB, free: 144 kB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002764/0.8176, allocations: 1.14 MB / 0.5111 GB, free: 14.98 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.079e-05/0.8176, allocations: 4 kB / 0.5111 GB, free: 14.98 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.8178, allocations: 35.91 kB / 0.5111 GB, free: 14.95 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001406/0.8179, allocations: 73.95 kB / 0.5112 GB, free: 14.88 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003957/0.8219, allocations: 1.663 MB / 0.5128 GB, free: 13.21 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0077/0.8297, allocations: 2.969 MB / 0.5157 GB, free: 10.1 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.8311, allocations: 407.5 kB / 0.5161 GB, free: 9.688 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003383/0.8315, allocations: 125.4 kB / 0.5162 GB, free: 9.562 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.198e-05/0.8315, allocations: 16.25 kB / 0.5163 GB, free: 9.547 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.8316, allocations: 34.84 kB / 0.5163 GB, free: 9.504 MB / 458.8 MB Notification: Performance of pre-optimization done (n=34): time 3.897e-06/0.8316, allocations: 3.938 kB / 0.5163 GB, free: 9.5 MB / 458.8 MB Notification: Performance of matching and sorting (n=34): time 0.0009719/0.8326, allocations: 331.6 kB / 0.5166 GB, free: 9.172 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.8326, allocations: 59.41 kB / 0.5167 GB, free: 9.102 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.8329, allocations: 181.6 kB / 0.5168 GB, free: 8.914 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.833, allocations: 33.7 kB / 0.5169 GB, free: 8.875 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/0.8333, allocations: 382.2 kB / 0.5172 GB, free: 8.492 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.8335, allocations: 122.3 kB / 0.5174 GB, free: 8.371 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.8335, allocations: 8 kB / 0.5174 GB, free: 8.363 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.8337, allocations: 334.8 kB / 0.5177 GB, free: 8.027 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003773/0.8341, allocations: 133.1 kB / 0.5178 GB, free: 7.895 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000549/0.8347, allocations: 325.3 kB / 0.5181 GB, free: 7.488 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005093/0.8352, allocations: 192.3 kB / 0.5183 GB, free: 7.301 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.8352, allocations: 0 / 0.5183 GB, free: 7.301 MB / 458.8 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00132/0.8365, allocations: 0.4976 MB / 0.5188 GB, free: 6.797 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.8366, allocations: 11.94 kB / 0.5188 GB, free: 6.785 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.8366, allocations: 8 kB / 0.5188 GB, free: 6.777 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.66e-05/0.8367, allocations: 12 kB / 0.5188 GB, free: 6.766 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/0.8382, allocations: 203.8 kB / 0.519 GB, free: 6.566 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/0.8404, allocations: 3.001 MB / 0.5219 GB, free: 3.449 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005765/0.841, allocations: 59.52 kB / 0.522 GB, free: 3.391 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.679e-05/0.8411, allocations: 31.98 kB / 0.522 GB, free: 3.359 MB / 458.8 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.0002141/0.8413, allocations: 144.9 kB / 0.5222 GB, free: 3.211 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.002e-05/0.8414, allocations: 27.66 kB / 0.5222 GB, free: 3.184 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.8434, allocations: 0.5308 MB / 0.5227 GB, free: 2.652 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.8435, allocations: 8 kB / 0.5227 GB, free: 2.645 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.8435, allocations: 0 / 0.5227 GB, free: 2.645 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.8435, allocations: 3.984 kB / 0.5227 GB, free: 2.641 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002692/0.8462, allocations: 1.15 MB / 0.5238 GB, free: 1.41 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.8463, allocations: 4 kB / 0.5239 GB, free: 1.406 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/0.8475, allocations: 167.8 kB / 0.524 GB, free: 1.242 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.556e-05/0.8476, allocations: 4 kB / 0.524 GB, free: 1.238 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.188e-05/0.8476, allocations: 23.94 kB / 0.524 GB, free: 1.215 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3154/1.163, allocations: 2.948 MB / 0.5269 GB, free: 127.6 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/1.163, allocations: 5.156 kB / 0.5269 GB, free: 127.6 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/1.164, allocations: 0.5579 MB / 0.5275 GB, free: 127.3 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/1.165, allocations: 104.1 kB / 0.5276 GB, free: 127.2 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.753e-05/1.165, allocations: 12.98 kB / 0.5276 GB, free: 127.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003998/1.165, allocations: 16.5 kB / 0.5276 GB, free: 127.2 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/1.165, allocations: 36.77 kB / 0.5276 GB, free: 127.2 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.799e-05/1.165, allocations: 24.16 kB / 0.5277 GB, free: 127.2 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.0001744/1.165, allocations: 126.3 kB / 0.5278 GB, free: 127.1 MB / 458.8 MB Notification: Performance of sort global known variables: time 5.31e-07/1.165, allocations: 0 / 0.5278 GB, free: 127.1 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.001877/1.167, allocations: 383.2 kB / 0.5281 GB, free: 127.1 MB / 458.8 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.002639/1.17, allocations: 1.948 MB / 0.53 GB, free: 125.7 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.001583/1.172, allocations: 404.4 kB / 0.5304 GB, free: 125.7 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.172, allocations: 2.969 kB / 0.5304 GB, free: 125.7 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009158/1.173, allocations: 217.3 kB / 0.5306 GB, free: 125.7 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/1.173, allocations: 40.69 kB / 0.5307 GB, free: 125.7 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/1.176, allocations: 1.112 MB / 0.5318 GB, free: 125.4 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005833/1.177, allocations: 1.003 MB / 0.5327 GB, free: 124.7 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0009151/1.178, allocations: 170.2 kB / 0.5329 GB, free: 124.7 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/1.178, allocations: 201.6 kB / 0.5331 GB, free: 124.7 MB / 458.8 MB Notification: Performance of SimCode: time 1.112e-06/1.178, allocations: 0 / 0.5331 GB, free: 124.7 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04865/1.227, allocations: 12.42 MB / 0.5452 GB, free: 123.8 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/1.227, allocations: 247.2 kB / 0.5455 GB, free: 123.5 MB / 458.8 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_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.o ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.c In file included from ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.c:7: In file included from ./ModelicaTest_3_2_3_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_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_functions.o ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_functions.c In file included from ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_functions.c:2: In file included from ./ModelicaTest_3_2_3_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_3_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_3_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_3_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_3_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_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_functions.o' failed make: *** [ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_functions.o] Error 1