Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.361/2.361, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.003e-05/4.009e-05, allocations: 7.234 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1284, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5209/0.6493, allocations: 103.6 MB / 0.5019 GB, free: 388 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003693/0.6498, allocations: 91.92 kB / 0.502 GB, free: 296 kB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:6002:11-6008: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 trunk/Fluid/Dissipation.mo:6010:11-6013: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 trunk/Fluid/Dissipation.mo:6016:11-6022: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 trunk/Fluid/Dissipation.mo:6024:11-6027: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.1096/0.7594, allocations: 18.18 MB / 0.5198 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.7595, allocations: 4 kB / 0.5198 GB, free: 14 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.7595, allocations: 4 kB / 0.5198 GB, free: 13.99 MB / 442.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.001531/0.761, allocations: 0.6307 MB / 0.5204 GB, free: 13.32 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.7611, allocations: 12.03 kB / 0.5204 GB, free: 13.3 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001218/0.7612, allocations: 82.41 kB / 0.5205 GB, free: 13.21 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.795e-05/0.7613, allocations: 31.62 kB / 0.5205 GB, free: 13.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.7617, allocations: 238.6 kB / 0.5207 GB, free: 12.91 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.5e-05/0.7618, allocations: 24.78 kB / 0.5208 GB, free: 12.89 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.145e-05/0.7618, allocations: 28 kB / 0.5208 GB, free: 12.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.7629, allocations: 434 kB / 0.5212 GB, free: 12.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.7629, allocations: 3.984 kB / 0.5212 GB, free: 12.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.04e-05/0.763, allocations: 16 kB / 0.5212 GB, free: 12.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.224e-05/0.7631, allocations: 40.75 kB / 0.5213 GB, free: 12.37 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.7643, allocations: 0.5168 MB / 0.5218 GB, free: 11.86 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003151/0.7674, allocations: 1.345 MB / 0.5231 GB, free: 10.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009028/0.7684, allocations: 262.4 kB / 0.5233 GB, free: 10.12 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/0.7687, allocations: 84.83 kB / 0.5234 GB, free: 10.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.519e-05/0.7688, allocations: 12.36 kB / 0.5234 GB, free: 10.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.164e-05/0.7689, allocations: 42.52 kB / 0.5235 GB, free: 9.977 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 6.583e-06/0.7689, allocations: 0 / 0.5235 GB, free: 9.977 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.001184/0.7701, allocations: 215.3 kB / 0.5237 GB, free: 9.762 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.7702, allocations: 55.39 kB / 0.5237 GB, free: 9.695 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.7705, allocations: 133.8 kB / 0.5238 GB, free: 9.555 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.937e-05/0.7706, allocations: 29.7 kB / 0.5239 GB, free: 9.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.7708, allocations: 187.8 kB / 0.524 GB, free: 9.328 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.771, allocations: 86.75 kB / 0.5241 GB, free: 9.242 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.771, allocations: 4 kB / 0.5241 GB, free: 9.238 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.7713, allocations: 326.8 kB / 0.5244 GB, free: 8.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003504/0.7716, allocations: 79.81 kB / 0.5245 GB, free: 8.832 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004382/0.7721, allocations: 150.3 kB / 0.5247 GB, free: 8.648 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004371/0.7725, allocations: 107 kB / 0.5248 GB, free: 8.547 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.7726, allocations: 4 kB / 0.5248 GB, free: 8.543 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001334/0.7739, allocations: 281.1 kB / 0.525 GB, free: 8.262 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.774, allocations: 7.953 kB / 0.525 GB, free: 8.254 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.774, allocations: 7.984 kB / 0.5251 GB, free: 8.246 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.425e-05/0.7741, allocations: 4 kB / 0.5251 GB, free: 8.242 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/0.776, allocations: 136.2 kB / 0.5252 GB, free: 8.109 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.7782, allocations: 2.364 MB / 0.5275 GB, free: 5.652 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004756/0.7787, allocations: 39.67 kB / 0.5275 GB, free: 5.613 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.836e-05/0.7788, allocations: 12 kB / 0.5275 GB, free: 5.602 MB / 442.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.0001865/0.779, allocations: 129.1 kB / 0.5277 GB, free: 5.469 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.7792, allocations: 11.91 kB / 0.5277 GB, free: 5.457 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/0.7809, allocations: 349.7 kB / 0.528 GB, free: 5.105 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.7809, allocations: 7.984 kB / 0.528 GB, free: 5.098 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.7809, allocations: 0 / 0.528 GB, free: 5.098 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.7809, allocations: 0 / 0.528 GB, free: 5.098 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005895/0.7815, allocations: 345.3 kB / 0.5284 GB, free: 4.711 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.7815, allocations: 0 / 0.5284 GB, free: 4.711 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009827/0.7825, allocations: 119.8 kB / 0.5285 GB, free: 4.594 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.7826, allocations: 4 kB / 0.5285 GB, free: 4.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/0.7826, allocations: 11.98 kB / 0.5285 GB, free: 4.578 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.784, allocations: 2.352 MB / 0.5308 GB, free: 2.133 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.7841, allocations: 3.984 kB / 0.5308 GB, free: 2.129 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007186/0.7848, allocations: 341.2 kB / 0.5311 GB, free: 1.781 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/0.7849, allocations: 97.05 kB / 0.5312 GB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.492e-05/0.7849, allocations: 11.98 kB / 0.5312 GB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.7852, allocations: 12 kB / 0.5312 GB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.321e-05/0.7853, allocations: 19.97 kB / 0.5312 GB, free: 1.625 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-05/0.7854, allocations: 15.98 kB / 0.5313 GB, free: 1.609 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.006e-05/0.7855, allocations: 95.27 kB / 0.5313 GB, free: 1.516 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7855, allocations: 0 / 0.5313 GB, free: 1.516 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001129/0.7866, allocations: 263.3 kB / 0.5316 GB, free: 1.258 MB / 442.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.002004/0.7886, allocations: 1.17 MB / 0.5327 GB, free: 68 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.7897, allocations: 248.5 kB / 0.533 GB, free: 15.82 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.7898, allocations: 4 kB / 0.533 GB, free: 15.82 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006415/0.7904, allocations: 147.8 kB / 0.5331 GB, free: 15.67 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.7907, allocations: 11.98 kB / 0.5331 GB, free: 15.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.7926, allocations: 0.5836 MB / 0.5337 GB, free: 15.04 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.7931, allocations: 0.8062 MB / 0.5345 GB, free: 14.21 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006031/0.7937, allocations: 97.86 kB / 0.5346 GB, free: 14.11 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.794, allocations: 95.39 kB / 0.5347 GB, free: 14.02 MB / 458.7 MB Notification: Performance of SimCode: time 1.142e-06/0.794, allocations: 0 / 0.5347 GB, free: 14.02 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04196/0.836, allocations: 8.377 MB / 0.5429 GB, free: 5.793 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002516/0.8363, allocations: 236 kB / 0.5431 GB, free: 5.555 MB / 458.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.o ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.c:7: In file included from ./ModelicaTest_trunk_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 -Os -march=native -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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.o ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.c:2: In file included from ./ModelicaTest_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.o' failed make: *** [ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_functions.o] Error 1