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 1.992/1.992, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.489e-05/4.491e-05, allocations: 4 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1287, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.034/1.163, allocations: 326.8 MB / 0.6334 GB, free: 20.47 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003458/1.164, allocations: 91.75 kB / 0.6335 GB, free: 20.42 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.371/3.535, allocations: 448.1 MB / 1.071 GB, free: 44.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.444e-06/3.535, allocations: 0 / 1.071 GB, free: 44.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001556/3.535, allocations: 42.05 kB / 1.071 GB, free: 44.81 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.006426/3.542, allocations: 1.933 MB / 1.073 GB, free: 43.81 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/3.542, allocations: 7.719 kB / 1.073 GB, free: 43.81 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004948/3.542, allocations: 194.9 kB / 1.073 GB, free: 43.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001701/3.544, allocations: 229.5 kB / 1.073 GB, free: 43.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003662/3.548, allocations: 1.184 MB / 1.075 GB, free: 43.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.228e-05/3.548, allocations: 96.75 kB / 1.075 GB, free: 43.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002661/3.548, allocations: 130.5 kB / 1.075 GB, free: 43.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004601/3.553, allocations: 1.868 MB / 1.077 GB, free: 42.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.846e-05/3.553, allocations: 7.969 kB / 1.077 GB, free: 42.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003279/3.553, allocations: 71.06 kB / 1.077 GB, free: 42.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.012e-05/3.553, allocations: 35.83 kB / 1.077 GB, free: 42.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003954/3.557, allocations: 1.548 MB / 1.078 GB, free: 42.76 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01358/3.571, allocations: 9.163 MB / 1.087 GB, free: 36.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002874/3.574, allocations: 1.004 MB / 1.088 GB, free: 36.74 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/3.575, allocations: 479.6 kB / 1.089 GB, free: 36.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01002/3.585, allocations: 6.892 MB / 1.095 GB, free: 30.99 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.876e-05/3.585, allocations: 54.44 kB / 1.095 GB, free: 30.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=41): time 3.356e-06/3.585, allocations: 0 / 1.095 GB, free: 30.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=41): time 0.002856/3.588, allocations: 0.5797 MB / 1.096 GB, free: 30.83 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/3.588, allocations: 370.5 kB / 1.096 GB, free: 30.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/3.59, allocations: 1.08 MB / 1.097 GB, free: 30.19 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001976/3.59, allocations: 38.48 kB / 1.097 GB, free: 30.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007867/3.591, allocations: 0.9875 MB / 1.098 GB, free: 29.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/3.591, allocations: 170.5 kB / 1.099 GB, free: 29.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.301e-05/3.591, allocations: 30.72 kB / 1.099 GB, free: 29.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/3.592, allocations: 366.9 kB / 1.099 GB, free: 29.22 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007236/3.592, allocations: 268.9 kB / 1.099 GB, free: 29.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/3.594, allocations: 1.342 MB / 1.101 GB, free: 27.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/3.595, allocations: 0.5186 MB / 1.101 GB, free: 27.77 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-05/3.595, allocations: 11.53 kB / 1.101 GB, free: 27.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003951/3.599, allocations: 1.56 MB / 1.103 GB, free: 27.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/3.599, allocations: 21.61 kB / 1.103 GB, free: 27.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.991e-05/3.599, allocations: 38.31 kB / 1.103 GB, free: 27.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.235e-05/3.599, allocations: 54.95 kB / 1.103 GB, free: 27.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007751/3.607, allocations: 0.6925 MB / 1.103 GB, free: 27.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/3.609, allocations: 1.901 MB / 1.105 GB, free: 25.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/3.612, allocations: 280.2 kB / 1.105 GB, free: 25.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003096/3.612, allocations: 115.5 kB / 1.106 GB, free: 25.51 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.0003581/3.612, allocations: 234.8 kB / 1.106 GB, free: 25.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003274/3.613, allocations: 143.5 kB / 1.106 GB, free: 25.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004017/3.617, allocations: 1.274 MB / 1.107 GB, free: 25.03 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/3.617, allocations: 15.88 kB / 1.107 GB, free: 25.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/3.617, allocations: 0 / 1.107 GB, free: 25.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/3.617, allocations: 3.891 kB / 1.107 GB, free: 25.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/3.619, allocations: 0.9789 MB / 1.108 GB, free: 24.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.619e-06/3.619, allocations: 0 / 1.108 GB, free: 24.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/3.621, allocations: 204.6 kB / 1.108 GB, free: 24.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005016/3.621, allocations: 55.81 kB / 1.108 GB, free: 24.78 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-05/3.621, allocations: 21.36 kB / 1.108 GB, free: 24.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009987/3.622, allocations: 1.757 MB / 1.11 GB, free: 23.08 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/3.622, allocations: 7.875 kB / 1.11 GB, free: 23.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/3.624, allocations: 0.7838 MB / 1.111 GB, free: 22.83 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008358/3.625, allocations: 347.4 kB / 1.111 GB, free: 22.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003608/3.625, allocations: 14.22 kB / 1.111 GB, free: 22.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/3.627, allocations: 67.17 kB / 1.111 GB, free: 22.63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/3.627, allocations: 44.89 kB / 1.111 GB, free: 22.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.149e-05/3.627, allocations: 33.78 kB / 1.111 GB, free: 22.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001575/3.628, allocations: 0.8227 MB / 1.112 GB, free: 22.51 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.21e-07/3.628, allocations: 0 / 1.112 GB, free: 22.51 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003959/3.632, allocations: 0.8068 MB / 1.113 GB, free: 22.36 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.005105/3.638, allocations: 2.353 MB / 1.115 GB, free: 21.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007701/3.645, allocations: 1.149 MB / 1.116 GB, free: 21.14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/3.645, allocations: 3.281 kB / 1.116 GB, free: 21.14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00155/3.647, allocations: 362.1 kB / 1.117 GB, free: 21.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004759/3.652, allocations: 0.5323 MB / 1.117 GB, free: 21.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007691/3.659, allocations: 2.43 MB / 1.12 GB, free: 20.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007775/3.66, allocations: 1.276 MB / 1.121 GB, free: 19.36 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002237/3.663, allocations: 381.9 kB / 1.121 GB, free: 19.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009108/3.663, allocations: 0.6103 MB / 1.122 GB, free: 18.82 MB / 442.7 MB Notification: Performance of SimCode: time 1.262e-06/3.663, allocations: 0 / 1.122 GB, free: 18.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5303/4.194, allocations: 48.48 MB / 1.169 GB, free: 54.65 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002395/4.194, allocations: 246.1 kB / 1.169 GB, free: 54.32 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_D_Geometry24from__dp324geometry' (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_D_Geometry24from__dp324geometry(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