Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.585/2.585, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.09e-05/4.094e-05, allocations: 4 kB / 305 MB, free: 5.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.4217, allocations: 54.85 MB / 359.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8785/1.3, allocations: 333.3 MB / 0.677 GB, free: 15.18 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/1.301, allocations: 90.48 kB / 0.677 GB, free: 15.13 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.542/3.843, allocations: 448.1 MB / 1.115 GB, free: 44.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.545e-06/3.843, allocations: 0 / 1.115 GB, free: 44.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002065/3.843, allocations: 43.02 kB / 1.115 GB, free: 44.11 MB / 490.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.007304/3.851, allocations: 1.925 MB / 1.117 GB, free: 43.35 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/3.851, allocations: 9.25 kB / 1.117 GB, free: 43.35 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005886/3.851, allocations: 198.2 kB / 1.117 GB, free: 43.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002016/3.853, allocations: 234.4 kB / 1.117 GB, free: 43.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004136/3.858, allocations: 1.175 MB / 1.118 GB, free: 42.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/3.858, allocations: 101.8 kB / 1.118 GB, free: 42.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004077/3.858, allocations: 128.7 kB / 1.118 GB, free: 42.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005378/3.864, allocations: 1.86 MB / 1.12 GB, free: 42.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-05/3.864, allocations: 9.766 kB / 1.12 GB, free: 42.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004573/3.864, allocations: 70.81 kB / 1.12 GB, free: 42.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-05/3.864, allocations: 34.5 kB / 1.12 GB, free: 42.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005088/3.869, allocations: 1.516 MB / 1.122 GB, free: 42.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01447/3.884, allocations: 9.154 MB / 1.131 GB, free: 36.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002825/3.887, allocations: 0.9992 MB / 1.132 GB, free: 36.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/3.888, allocations: 475.6 kB / 1.132 GB, free: 36.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01002/3.898, allocations: 6.9 MB / 1.139 GB, free: 30.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/3.898, allocations: 44.25 kB / 1.139 GB, free: 30.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=41): time 4.779e-06/3.898, allocations: 5.438 kB / 1.139 GB, free: 30.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=41): time 0.002926/3.901, allocations: 0.56 MB / 1.139 GB, free: 30.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/3.901, allocations: 376.6 kB / 1.14 GB, free: 30.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003055/3.904, allocations: 1.083 MB / 1.141 GB, free: 29.92 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002327/3.905, allocations: 36.08 kB / 1.141 GB, free: 29.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009916/3.906, allocations: 0.9895 MB / 1.142 GB, free: 29.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/3.906, allocations: 177.8 kB / 1.142 GB, free: 29.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.495e-05/3.906, allocations: 29.16 kB / 1.142 GB, free: 29.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/3.906, allocations: 365.2 kB / 1.142 GB, free: 28.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007021/3.907, allocations: 274.1 kB / 1.143 GB, free: 28.94 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/3.908, allocations: 1.326 MB / 1.144 GB, free: 27.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/3.909, allocations: 0.5184 MB / 1.144 GB, free: 27.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.259e-05/3.909, allocations: 10.44 kB / 1.145 GB, free: 27.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00376/3.913, allocations: 1.469 MB / 1.146 GB, free: 27.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/3.913, allocations: 23.17 kB / 1.146 GB, free: 27.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.819e-05/3.913, allocations: 34.75 kB / 1.146 GB, free: 27.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.32e-05/3.913, allocations: 57.81 kB / 1.146 GB, free: 27.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007688/3.921, allocations: 0.6914 MB / 1.147 GB, free: 27.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/3.923, allocations: 1.9 MB / 1.149 GB, free: 25.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003016/3.926, allocations: 265 kB / 1.149 GB, free: 25.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003144/3.926, allocations: 114.5 kB / 1.149 GB, free: 25.57 MB / 490.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.0003698/3.927, allocations: 235.7 kB / 1.149 GB, free: 25.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003665/3.927, allocations: 145.4 kB / 1.149 GB, free: 25.37 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004569/3.932, allocations: 1.261 MB / 1.151 GB, free: 25.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.693e-05/3.932, allocations: 13.02 kB / 1.151 GB, free: 25.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/3.932, allocations: 2.031 kB / 1.151 GB, free: 25.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/3.932, allocations: 3.328 kB / 1.151 GB, free: 25.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003014/3.935, allocations: 0.9882 MB / 1.152 GB, free: 25.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/3.935, allocations: 0 / 1.152 GB, free: 25.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/3.936, allocations: 195 kB / 1.152 GB, free: 25.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000529/3.937, allocations: 62.06 kB / 1.152 GB, free: 25.01 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.272e-05/3.937, allocations: 22.69 kB / 1.152 GB, free: 25.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/3.938, allocations: 1.755 MB / 1.154 GB, free: 23.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/3.938, allocations: 0 / 1.154 GB, free: 23.32 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/3.94, allocations: 0.7914 MB / 1.154 GB, free: 23.08 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006329/3.941, allocations: 263.7 kB / 1.155 GB, free: 22.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003213/3.941, allocations: 12.75 kB / 1.155 GB, free: 22.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/3.942, allocations: 59.81 kB / 1.155 GB, free: 22.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/3.942, allocations: 42.91 kB / 1.155 GB, free: 22.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.259e-05/3.943, allocations: 34.7 kB / 1.155 GB, free: 22.89 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001554/3.944, allocations: 0.8192 MB / 1.155 GB, free: 22.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.91e-07/3.944, allocations: 0 / 1.155 GB, free: 22.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004078/3.948, allocations: 0.8038 MB / 1.156 GB, free: 22.63 MB / 490.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.005035/3.953, allocations: 2.391 MB / 1.159 GB, free: 21.63 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007531/3.961, allocations: 1.099 MB / 1.16 GB, free: 21.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/3.961, allocations: 0 / 1.16 GB, free: 21.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001537/3.962, allocations: 362.5 kB / 1.16 GB, free: 21.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004714/3.967, allocations: 0.5295 MB / 1.161 GB, free: 21.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007904/3.975, allocations: 2.434 MB / 1.163 GB, free: 20.95 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/3.977, allocations: 1.275 MB / 1.164 GB, free: 36.23 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00238/3.979, allocations: 381.2 kB / 1.165 GB, free: 36.21 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000998/3.98, allocations: 0.5994 MB / 1.165 GB, free: 36.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.293e-06/3.98, allocations: 2.156 kB / 1.165 GB, free: 36.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1239/4.104, allocations: 48.59 MB / 1.213 GB, free: 32.96 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002941/4.104, allocations: 238.8 kB / 1.213 GB, free: 32.63 MB / 0.4948 GB 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_TestCases_PressureLoss_SeveralTestCases.o ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c In file included from ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c:7: In file included from ./ModelicaTest_3_2_2_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_2_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_2_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_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o' failed make: *** [ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o] Error 1