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.459/2.459, allocations: 235 MB / 247.2 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.077e-05/4.088e-05, allocations: 11.98 kB / 305 MB, free: 5.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4652/0.4652, allocations: 54.84 MB / 359.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1887/0.654, allocations: 97.41 MB / 457.3 MB, free: 15.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000385/0.6544, allocations: 95.12 kB / 457.4 MB, free: 15.41 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.09275/0.7472, allocations: 17.76 MB / 475.1 MB, free: 13.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7472, allocations: 0 / 475.1 MB, free: 13.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.7473, allocations: 4 kB / 475.2 MB, free: 13.57 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.001532/0.7488, allocations: 0.6346 MB / 475.8 MB, free: 12.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/0.7489, allocations: 15.97 kB / 475.8 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001261/0.749, allocations: 74.52 kB / 475.9 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.7491, allocations: 31.62 kB / 475.9 MB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004335/0.7496, allocations: 234.7 kB / 476.1 MB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.7496, allocations: 20.78 kB / 476.2 MB, free: 12.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.807e-05/0.7497, allocations: 35.98 kB / 476.2 MB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.7508, allocations: 435.5 kB / 476.6 MB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.7509, allocations: 3.984 kB / 476.6 MB, free: 12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.009e-05/0.7509, allocations: 15.94 kB / 476.6 MB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-05/0.751, allocations: 44.69 kB / 476.7 MB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.7523, allocations: 0.5145 MB / 477.2 MB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003267/0.7556, allocations: 1.35 MB / 478.5 MB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008746/0.7565, allocations: 273.6 kB / 478.8 MB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.7567, allocations: 80.83 kB / 478.9 MB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.478e-05/0.7568, allocations: 4 kB / 478.9 MB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.7569, allocations: 39 kB / 478.9 MB, free: 9.551 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 3.516e-06/0.7569, allocations: 4 kB / 478.9 MB, free: 9.547 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007625/0.7577, allocations: 225.2 kB / 479.2 MB, free: 9.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.7577, allocations: 51.41 kB / 479.2 MB, free: 9.258 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.7579, allocations: 139.1 kB / 479.3 MB, free: 9.113 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.758, allocations: 25.7 kB / 479.4 MB, free: 9.082 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.7581, allocations: 192.1 kB / 479.6 MB, free: 8.887 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.7583, allocations: 90.73 kB / 479.6 MB, free: 8.797 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/0.7583, allocations: 4 kB / 479.6 MB, free: 8.793 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.7585, allocations: 330.8 kB / 480 MB, free: 8.461 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.7587, allocations: 79.89 kB / 480 MB, free: 8.383 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.759, allocations: 154.2 kB / 480.2 MB, free: 8.195 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/0.7593, allocations: 95.92 kB / 480.3 MB, free: 8.102 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.7594, allocations: 7.938 kB / 480.3 MB, free: 8.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007758/0.7601, allocations: 289.4 kB / 480.6 MB, free: 7.805 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.7602, allocations: 5.719 kB / 480.6 MB, free: 7.801 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.7602, allocations: 4 kB / 480.6 MB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.7602, allocations: 4 kB / 480.6 MB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.7613, allocations: 144.1 kB / 480.7 MB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/0.763, allocations: 2.364 MB / 483.1 MB, free: 5.195 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003368/0.7634, allocations: 31.78 kB / 483.1 MB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.7635, allocations: 19.98 kB / 483.2 MB, free: 5.145 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.0001551/0.7636, allocations: 125 kB / 483.3 MB, free: 5.016 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.604e-05/0.7637, allocations: 11.91 kB / 483.3 MB, free: 5.004 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.7649, allocations: 339.5 kB / 483.6 MB, free: 4.672 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.7649, allocations: 7.984 kB / 483.6 MB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.7649, allocations: 0 / 483.6 MB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.765, allocations: 3.984 kB / 483.6 MB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006701/0.7656, allocations: 341.2 kB / 484 MB, free: 4.277 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.7657, allocations: 3.984 kB / 484 MB, free: 4.273 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000975/0.7667, allocations: 119.8 kB / 484.1 MB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.7667, allocations: 4 kB / 484.1 MB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.7667, allocations: 12 kB / 484.1 MB, free: 4.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.7683, allocations: 2.36 MB / 486.5 MB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.7684, allocations: 4 kB / 486.5 MB, free: 1.684 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007196/0.7691, allocations: 343.4 kB / 486.8 MB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.558e-05/0.7692, allocations: 92.86 kB / 486.9 MB, free: 1.223 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.7693, allocations: 4 kB / 486.9 MB, free: 1.219 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.7695, allocations: 20.17 kB / 486.9 MB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.7697, allocations: 23.97 kB / 486.9 MB, free: 1.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.7697, allocations: 8 kB / 486.9 MB, free: 1.168 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.796e-05/0.7698, allocations: 101.7 kB / 487 MB, free: 1.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7698, allocations: 3.938 kB / 487 MB, free: 1.066 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001105/0.771, allocations: 263.3 kB / 487.3 MB, free: 0.8086 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.002102/0.7731, allocations: 1.161 MB / 488.5 MB, free: 15.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.7742, allocations: 257 kB / 488.7 MB, free: 15.37 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.7742, allocations: 4 kB / 488.7 MB, free: 15.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006415/0.7749, allocations: 151.8 kB / 488.9 MB, free: 15.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.7752, allocations: 15.05 kB / 488.9 MB, free: 15.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.7773, allocations: 0.5876 MB / 489.5 MB, free: 14.58 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/0.7778, allocations: 0.8138 MB / 490.3 MB, free: 13.74 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006089/0.7785, allocations: 101.8 kB / 490.4 MB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.7787, allocations: 87.39 kB / 490.5 MB, free: 13.55 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/0.7787, allocations: 4 kB / 490.5 MB, free: 13.55 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04013/0.8189, allocations: 8.397 MB / 498.9 MB, free: 5.242 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002765/0.8192, allocations: 221.1 kB / 499.1 MB, free: 4.984 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