Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.445/2.445, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.016e-05/4.995e-05, allocations: 8 kB / 305.1 MB, free: 5.051 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.413, allocations: 54.85 MB / 359.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1985/0.6116, allocations: 97.42 MB / 457.3 MB, free: 15.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003821/0.612, allocations: 99.86 kB / 457.4 MB, free: 15.28 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2/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.2/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.2/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.09151/0.7036, allocations: 17.76 MB / 475.2 MB, free: 13.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.298e-06/0.7036, allocations: 0 / 475.2 MB, free: 13.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.7037, allocations: 11.94 kB / 475.2 MB, free: 13.45 MB / 410.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.0015/0.7052, allocations: 0.6308 MB / 475.8 MB, free: 12.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.7052, allocations: 15.95 kB / 475.8 MB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001206/0.7054, allocations: 74.53 kB / 475.9 MB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.7055, allocations: 31.62 kB / 475.9 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.7059, allocations: 230.7 kB / 476.2 MB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.7059, allocations: 24.77 kB / 476.2 MB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.788e-05/0.706, allocations: 28 kB / 476.2 MB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.7071, allocations: 441.9 kB / 476.7 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.7071, allocations: 0 / 476.7 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.918e-05/0.7072, allocations: 8 kB / 476.7 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.175e-05/0.7073, allocations: 48.69 kB / 476.7 MB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.7084, allocations: 0.5091 MB / 477.2 MB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003941/0.7124, allocations: 1.35 MB / 478.6 MB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.7135, allocations: 269.8 kB / 478.8 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.7139, allocations: 80.83 kB / 478.9 MB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.628e-05/0.714, allocations: 12 kB / 478.9 MB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.714, allocations: 34.55 kB / 479 MB, free: 9.445 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 3.777e-06/0.714, allocations: 0 / 479 MB, free: 9.445 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0009061/0.7149, allocations: 225.7 kB / 479.2 MB, free: 9.219 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.715, allocations: 55.41 kB / 479.2 MB, free: 9.152 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.7152, allocations: 131.1 kB / 479.4 MB, free: 9.016 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.774e-05/0.7153, allocations: 29.7 kB / 479.4 MB, free: 8.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.7155, allocations: 196.2 kB / 479.6 MB, free: 8.781 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.7157, allocations: 90.69 kB / 479.7 MB, free: 8.691 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.7157, allocations: 4 kB / 479.7 MB, free: 8.688 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.7159, allocations: 326.8 kB / 480 MB, free: 8.359 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.7162, allocations: 71.95 kB / 480.1 MB, free: 8.289 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004019/0.7166, allocations: 162.2 kB / 480.2 MB, free: 8.094 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/0.717, allocations: 95.86 kB / 480.3 MB, free: 8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/0.717, allocations: 0 / 480.3 MB, free: 8 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001107/0.7182, allocations: 281.2 kB / 480.6 MB, free: 7.719 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.7182, allocations: 4.344 kB / 480.6 MB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.7182, allocations: 11.94 kB / 480.6 MB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.7183, allocations: 4 kB / 480.6 MB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.7197, allocations: 139.8 kB / 480.7 MB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.7218, allocations: 2.364 MB / 483.1 MB, free: 5.105 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/0.7224, allocations: 32.03 kB / 483.1 MB, free: 5.074 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.846e-05/0.7225, allocations: 19.98 kB / 483.2 MB, free: 5.055 MB / 410.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.0002066/0.7227, allocations: 120.9 kB / 483.3 MB, free: 4.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.7228, allocations: 15.81 kB / 483.3 MB, free: 4.914 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001713/0.7245, allocations: 339.9 kB / 483.6 MB, free: 4.582 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/0.7246, allocations: 4 kB / 483.6 MB, free: 4.578 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.7246, allocations: 3.984 kB / 483.6 MB, free: 4.574 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.7246, allocations: 0 / 483.6 MB, free: 4.574 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006797/0.7314, allocations: 345.2 kB / 484 MB, free: 4.188 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.7315, allocations: 0 / 484 MB, free: 4.188 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/0.7328, allocations: 123.8 kB / 484.1 MB, free: 4.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.379e-05/0.7329, allocations: 4 kB / 484.1 MB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-05/0.7329, allocations: 8 kB / 484.1 MB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002238/0.7352, allocations: 2.356 MB / 486.5 MB, free: 1.605 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.7352, allocations: 0 / 486.5 MB, free: 1.605 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009917/0.7362, allocations: 351.7 kB / 486.8 MB, free: 1.246 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.7363, allocations: 96.8 kB / 486.9 MB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.317e-05/0.7364, allocations: 4 kB / 486.9 MB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.7368, allocations: 15.98 kB / 486.9 MB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.7369, allocations: 19.97 kB / 486.9 MB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.549e-05/0.737, allocations: 15.98 kB / 486.9 MB, free: 1.078 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000125/0.7371, allocations: 93.95 kB / 487 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7371, allocations: 0 / 487 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007899/0.7451, allocations: 271.3 kB / 487.3 MB, free: 0.7227 MB / 410.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.002838/0.7479, allocations: 1.157 MB / 488.5 MB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001341/0.7493, allocations: 248.9 kB / 488.7 MB, free: 15.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.7493, allocations: 0 / 488.7 MB, free: 15.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006755/0.7561, allocations: 155.8 kB / 488.9 MB, free: 15.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.7565, allocations: 11.05 kB / 488.9 MB, free: 15.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.7591, allocations: 0.5842 MB / 489.5 MB, free: 14.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007001/0.7599, allocations: 0.8138 MB / 490.3 MB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007881/0.7607, allocations: 101.8 kB / 490.4 MB, free: 13.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/0.761, allocations: 91.39 kB / 490.5 MB, free: 13.49 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/0.761, allocations: 0 / 490.5 MB, free: 13.49 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05536/0.8164, allocations: 8.384 MB / 498.8 MB, free: 5.195 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003091/0.8168, allocations: 223.8 kB / 499.1 MB, free: 4.973 MB / 426.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_StraightPipe_dp_overall_DPMFLOW.o ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.c In file included from ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.c:7: In file included from ./ModelicaTest_3_2_2_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_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.o ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.c In file included from ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.c:2: In file included from ./ModelicaTest_3_2_2_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_2_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_2_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_2_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_2_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_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.o' failed make: *** [ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.o] Error 1