Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.371/2.371, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.58e-05/3.582e-05, allocations: 0 / 273.2 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1117, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.106/1.218, allocations: 326.8 MB / 0.6335 GB, free: 20.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003327/1.219, allocations: 94.67 kB / 0.6336 GB, free: 20.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.582/3.8, allocations: 448.1 MB / 1.071 GB, free: 44.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.974e-06/3.8, allocations: 0 / 1.071 GB, free: 44.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001478/3.801, allocations: 43.2 kB / 1.071 GB, free: 44.69 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.006707/3.807, allocations: 1.931 MB / 1.073 GB, free: 43.69 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/3.807, allocations: 7.688 kB / 1.073 GB, free: 43.69 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005688/3.808, allocations: 197.4 kB / 1.073 GB, free: 43.65 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/3.81, allocations: 235.2 kB / 1.073 GB, free: 43.56 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004019/3.814, allocations: 1.176 MB / 1.075 GB, free: 43.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/3.814, allocations: 98.91 kB / 1.075 GB, free: 43.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004437/3.815, allocations: 125.3 kB / 1.075 GB, free: 43.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005166/3.82, allocations: 1.863 MB / 1.077 GB, free: 42.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.272e-05/3.82, allocations: 8.75 kB / 1.077 GB, free: 42.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003825/3.82, allocations: 64.84 kB / 1.077 GB, free: 42.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.562e-05/3.82, allocations: 34.05 kB / 1.077 GB, free: 42.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004413/3.825, allocations: 1.524 MB / 1.078 GB, free: 42.67 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01442/3.839, allocations: 9.154 MB / 1.087 GB, free: 36.69 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002962/3.842, allocations: 1 MB / 1.088 GB, free: 36.65 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/3.843, allocations: 475.9 kB / 1.089 GB, free: 36.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01061/3.854, allocations: 6.903 MB / 1.095 GB, free: 30.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/3.854, allocations: 41.69 kB / 1.095 GB, free: 30.86 MB / 442.7 MB Notification: Performance of pre-optimization done (n=41): time 5.06e-06/3.854, allocations: 0 / 1.095 GB, free: 30.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=41): time 0.00293/3.857, allocations: 0.5802 MB / 1.096 GB, free: 30.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/3.857, allocations: 370.4 kB / 1.096 GB, free: 30.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002177/3.859, allocations: 1.086 MB / 1.097 GB, free: 30.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001921/3.86, allocations: 36.61 kB / 1.097 GB, free: 30.06 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008113/3.861, allocations: 0.9884 MB / 1.098 GB, free: 29.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002436/3.861, allocations: 168.8 kB / 1.099 GB, free: 29.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.877e-05/3.861, allocations: 34.16 kB / 1.099 GB, free: 29.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/3.861, allocations: 361.4 kB / 1.099 GB, free: 29.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007209/3.862, allocations: 273.2 kB / 1.099 GB, free: 29.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/3.863, allocations: 1.327 MB / 1.1 GB, free: 27.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/3.864, allocations: 0.5161 MB / 1.101 GB, free: 27.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.838e-05/3.865, allocations: 9.781 kB / 1.101 GB, free: 27.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004336/3.869, allocations: 1.472 MB / 1.102 GB, free: 27.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.739e-05/3.869, allocations: 18.12 kB / 1.102 GB, free: 27.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-05/3.869, allocations: 36.31 kB / 1.102 GB, free: 27.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.039e-05/3.869, allocations: 60.64 kB / 1.103 GB, free: 27.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007854/3.877, allocations: 0.6884 MB / 1.103 GB, free: 27.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/3.879, allocations: 1.901 MB / 1.105 GB, free: 25.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003061/3.882, allocations: 273.1 kB / 1.105 GB, free: 25.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004127/3.882, allocations: 113.1 kB / 1.105 GB, free: 25.46 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 163 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 200 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004165/3.883, allocations: 235.4 kB / 1.106 GB, free: 25.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004738/3.883, allocations: 143.1 kB / 1.106 GB, free: 25.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004472/3.888, allocations: 1.266 MB / 1.107 GB, free: 25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.368e-05/3.888, allocations: 7.344 kB / 1.107 GB, free: 25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/3.888, allocations: 0 / 1.107 GB, free: 25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/3.888, allocations: 3 kB / 1.107 GB, free: 25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002611/3.89, allocations: 0.9883 MB / 1.108 GB, free: 24.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/3.891, allocations: 0 / 1.108 GB, free: 24.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/3.892, allocations: 205.3 kB / 1.108 GB, free: 24.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005415/3.893, allocations: 61.52 kB / 1.108 GB, free: 24.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/3.893, allocations: 22.17 kB / 1.108 GB, free: 24.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/3.894, allocations: 1.756 MB / 1.11 GB, free: 23.05 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/3.894, allocations: 0 / 1.11 GB, free: 23.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/3.896, allocations: 0.7897 MB / 1.111 GB, free: 22.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/3.897, allocations: 341.9 kB / 1.111 GB, free: 22.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004476/3.898, allocations: 14.69 kB / 1.111 GB, free: 22.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/3.899, allocations: 65.33 kB / 1.111 GB, free: 22.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/3.899, allocations: 47.61 kB / 1.111 GB, free: 22.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/3.899, allocations: 32.5 kB / 1.111 GB, free: 22.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001783/3.901, allocations: 0.8271 MB / 1.112 GB, free: 22.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.02e-07/3.901, allocations: 3.562 kB / 1.112 GB, free: 22.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004448/3.906, allocations: 0.8002 MB / 1.113 GB, free: 22.34 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 (67): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005797/3.912, allocations: 2.386 MB / 1.115 GB, free: 21.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007978/3.92, allocations: 1.097 MB / 1.116 GB, free: 21.11 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/3.92, allocations: 0 / 1.116 GB, free: 21.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001754/3.921, allocations: 360.2 kB / 1.117 GB, free: 21.09 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005138/3.927, allocations: 0.5392 MB / 1.117 GB, free: 21.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/3.937, allocations: 2.426 MB / 1.12 GB, free: 20.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001208/3.939, allocations: 1.279 MB / 1.121 GB, free: 19.36 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003532/3.942, allocations: 378.9 kB / 1.121 GB, free: 19.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001795/3.944, allocations: 0.5993 MB / 1.122 GB, free: 18.82 MB / 442.7 MB Notification: Performance of SimCode: time 1.953e-06/3.944, allocations: 3.719 kB / 1.122 GB, free: 18.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6008/4.545, allocations: 48.57 MB / 1.169 GB, free: 54.52 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002777/4.545, allocations: 246.8 kB / 1.169 GB, free: 54.18 MB / 458.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_TestCases_PressureLoss_SeveralTestCases.o ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c In file included from ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c:7: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases_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); ^ ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c:430:156: error: passing 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend__omcQuot_47656F6D657472792466726F6D5F5F6470332467656F6D65747279' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_Geometry') to parameter of incompatible type 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__con' data->localData[0]->realVars[229] /* from_dp3.m_flow variable */ = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, omc_Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend__omcQuot_47656F6D657472792466726F6D5F5F6470332467656F6D65747279(threadData, data->simulationInfo->realParameter[69] /* from_dp3.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[68] /* from_dp3.geometry.R_0 PARAM */, data->simulationInfo->realParameter[70] /* from_dp3.geometry.delta PARAM */, data->simulationInfo->realParameter[67] /* from_dp3.geometry.K PARAM */), omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var(threadData, omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[226] /* from_dp3.dp variable */, 0.001, 0.001, data->simulationInfo->realParameter[65] /* from_dp3.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[226] /* from_dp3.dp variable */, 995.586, 995.586, data->simulationInfo->realParameter[65] /* from_dp3.dp_small PARAM */)), data->localData[0]->realVars[226] /* from_dp3.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases_functions.h:1923:187: note: passing argument to parameter '_IN_con' here modelica_real omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData_t *threadData, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__con _IN_con, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var _IN_var, modelica_real _dp); ^ 2 warnings and 1 error generated. : recipe for target 'ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o' failed make: *** [ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o] Error 1