Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.143/2.143, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.869e-05/3.888e-05, allocations: 4 kB / 273.2 MB, free: 124 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1129, allocations: 48.7 MB / 321.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4939/0.6069, allocations: 90.66 MB / 412.6 MB, free: 14.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004092/0.6074, allocations: 99.92 kB / 412.7 MB, free: 14.72 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6086:11-6092:61:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6094:11-6097:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6100:11-6106:59:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6108:11-6111: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.09161/0.699, allocations: 17.75 MB / 430.4 MB, free: 12.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.6991, allocations: 0 / 430.4 MB, free: 12.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.6991, allocations: 4 kB / 430.4 MB, free: 12.86 MB / 362.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.001479/0.7006, allocations: 0.6308 MB / 431 MB, free: 12.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.7007, allocations: 12.03 kB / 431.1 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.7008, allocations: 74.53 kB / 431.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.705e-05/0.7009, allocations: 31.58 kB / 431.2 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.7013, allocations: 246.6 kB / 431.4 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.7013, allocations: 16.78 kB / 431.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.56e-05/0.7014, allocations: 28 kB / 431.4 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.7025, allocations: 441.9 kB / 431.9 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.7025, allocations: 0 / 431.9 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.968e-05/0.7025, allocations: 12 kB / 431.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.772e-05/0.7026, allocations: 40.75 kB / 431.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.7038, allocations: 0.513 MB / 432.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003111/0.7069, allocations: 1.349 MB / 433.8 MB, free: 9.262 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008517/0.7078, allocations: 266.4 kB / 434.1 MB, free: 8.992 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.7081, allocations: 88.81 kB / 434.1 MB, free: 8.902 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.606e-05/0.7082, allocations: 12.38 kB / 434.2 MB, free: 8.891 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.7082, allocations: 34.5 kB / 434.2 MB, free: 8.848 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.815e-06/0.7082, allocations: 0 / 434.2 MB, free: 8.848 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006963/0.7089, allocations: 217.8 kB / 434.4 MB, free: 8.629 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.709, allocations: 55.41 kB / 434.5 MB, free: 8.562 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.7092, allocations: 125.2 kB / 434.6 MB, free: 8.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.7092, allocations: 33.7 kB / 434.6 MB, free: 8.391 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.7094, allocations: 195.7 kB / 434.8 MB, free: 8.195 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.7095, allocations: 86.75 kB / 434.9 MB, free: 8.109 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.7095, allocations: 11.94 kB / 434.9 MB, free: 8.098 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.7097, allocations: 322.8 kB / 435.2 MB, free: 7.773 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.7099, allocations: 75.83 kB / 435.3 MB, free: 7.699 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/0.7102, allocations: 154.2 kB / 435.4 MB, free: 7.512 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/0.7105, allocations: 104.1 kB / 435.5 MB, free: 7.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/0.7106, allocations: 3.953 kB / 435.5 MB, free: 7.406 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007652/0.7113, allocations: 281.5 kB / 435.8 MB, free: 7.125 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.7114, allocations: 15.97 kB / 435.8 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.7114, allocations: 0 / 435.8 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.7114, allocations: 8 kB / 435.8 MB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.7126, allocations: 127.8 kB / 436 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.7142, allocations: 2.364 MB / 438.3 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.7146, allocations: 39.75 kB / 438.4 MB, free: 4.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/0.7146, allocations: 12 kB / 438.4 MB, free: 4.469 MB / 362.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.0001534/0.7148, allocations: 124.8 kB / 438.5 MB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.7149, allocations: 11.91 kB / 438.5 MB, free: 4.328 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.7161, allocations: 346.4 kB / 438.8 MB, free: 3.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.7161, allocations: 4 kB / 438.9 MB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.7161, allocations: 4 kB / 438.9 MB, free: 3.973 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.7161, allocations: 0 / 438.9 MB, free: 3.973 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006575/0.7168, allocations: 345.2 kB / 439.2 MB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.7168, allocations: 0 / 439.2 MB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.7178, allocations: 127.8 kB / 439.3 MB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.7179, allocations: 0 / 439.3 MB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.7179, allocations: 7.984 kB / 439.3 MB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.7194, allocations: 2.356 MB / 441.7 MB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.7194, allocations: 3.938 kB / 441.7 MB, free: 1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007562/0.7202, allocations: 343.5 kB / 442 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.453e-05/0.7203, allocations: 92.86 kB / 442.1 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.7204, allocations: 4 kB / 442.1 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.7207, allocations: 11.98 kB / 442.1 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.905e-05/0.7208, allocations: 31.92 kB / 442.2 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.553e-05/0.7208, allocations: 8 kB / 442.2 MB, free: 496 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000107/0.7209, allocations: 108 kB / 442.3 MB, free: 388 kB / 362.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.7209, allocations: 0 / 442.3 MB, free: 388 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001177/0.7221, allocations: 259.3 kB / 442.5 MB, free: 128 kB / 362.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.002128/0.7243, allocations: 1.162 MB / 443.7 MB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.7254, allocations: 255.7 kB / 443.9 MB, free: 14.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7254, allocations: 0 / 443.9 MB, free: 14.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006313/0.726, allocations: 143.8 kB / 444.1 MB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.7263, allocations: 12.64 kB / 444.1 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.7283, allocations: 0.5876 MB / 444.7 MB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004748/0.7288, allocations: 0.8024 MB / 445.5 MB, free: 13.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005855/0.7294, allocations: 105.8 kB / 445.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.7296, allocations: 87.41 kB / 445.7 MB, free: 12.9 MB / 378.7 MB Notification: Performance of SimCode: time 1.453e-06/0.7297, allocations: 0 / 445.7 MB, free: 12.9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04485/0.7745, allocations: 8.394 MB / 454.1 MB, free: 4.609 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003041/0.7749, allocations: 223.7 kB / 454.3 MB, free: 4.387 MB / 378.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_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.o ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.c In file included from ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.c:7: In file included from ./ModelicaTest_3_2_1_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 -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_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.o ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.c In file included from ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.c:2: In file included from ./ModelicaTest_3_2_1_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_3_2_1_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_3_2_1_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_3_2_1_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_3_2_1_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. : recipe for target 'ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.o' failed make: *** [ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.o] Error 1