Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.597/2.597, allocations: 235 MB / 247.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.386e-05/4.406e-05, allocations: 0 / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4253, allocations: 54.85 MB / 359.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.877/2.302, allocations: 0.6147 GB / 0.9662 GB, free: 114.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004094/2.303, allocations: 96.56 kB / 0.9663 GB, free: 114.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.305/3.608, allocations: 281.7 MB / 1.241 GB, free: 36.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.553e-06/3.608, allocations: 0 / 1.241 GB, free: 36.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.79e-05/3.608, allocations: 19.98 kB / 1.241 GB, free: 36.46 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.004022/3.612, allocations: 1.232 MB / 1.243 GB, free: 35.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/3.612, allocations: 12.03 kB / 1.243 GB, free: 35.17 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001767/3.612, allocations: 82.53 kB / 1.243 GB, free: 35.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/3.614, allocations: 155 kB / 1.243 GB, free: 34.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/3.615, allocations: 0.5156 MB / 1.243 GB, free: 34.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/3.615, allocations: 40.94 kB / 1.243 GB, free: 34.33 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/3.616, allocations: 40 kB / 1.243 GB, free: 34.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/3.617, allocations: 0.6183 MB / 1.244 GB, free: 33.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/3.617, allocations: 0 / 1.244 GB, free: 33.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.785e-05/3.617, allocations: 27.95 kB / 1.244 GB, free: 33.59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/3.617, allocations: 12 kB / 1.244 GB, free: 33.58 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/3.618, allocations: 483.7 kB / 1.244 GB, free: 33.11 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003689/3.622, allocations: 2.555 MB / 1.247 GB, free: 30.37 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008537/3.623, allocations: 295.7 kB / 1.247 GB, free: 30.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003386/3.623, allocations: 161.4 kB / 1.247 GB, free: 29.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004338/3.624, allocations: 329.6 kB / 1.248 GB, free: 29.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/3.624, allocations: 34.42 kB / 1.248 GB, free: 29.49 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 3.337e-06/3.624, allocations: 0 / 1.248 GB, free: 29.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.001491/3.625, allocations: 441.5 kB / 1.248 GB, free: 29.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/3.626, allocations: 158.2 kB / 1.248 GB, free: 28.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005959/3.626, allocations: 391 kB / 1.249 GB, free: 28.47 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.885e-05/3.626, allocations: 37.7 kB / 1.249 GB, free: 28.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/3.626, allocations: 323.2 kB / 1.249 GB, free: 28.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/3.627, allocations: 122.2 kB / 1.249 GB, free: 27.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/3.627, allocations: 12 kB / 1.249 GB, free: 27.97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.929e-05/3.627, allocations: 358.8 kB / 1.25 GB, free: 27.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/3.627, allocations: 137.1 kB / 1.25 GB, free: 27.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/3.628, allocations: 354.7 kB / 1.25 GB, free: 27.03 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004428/3.628, allocations: 188 kB / 1.25 GB, free: 26.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/3.628, allocations: 8 kB / 1.25 GB, free: 26.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001428/3.629, allocations: 0.5794 MB / 1.251 GB, free: 26.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/3.629, allocations: 8 kB / 1.251 GB, free: 26.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/3.63, allocations: 8 kB / 1.251 GB, free: 26.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002141/3.632, allocations: 237 kB / 1.251 GB, free: 26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007598/3.632, allocations: 135.8 kB / 1.251 GB, free: 25.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005203/3.633, allocations: 0.5953 MB / 1.252 GB, free: 25.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007336/3.634, allocations: 71.48 kB / 1.252 GB, free: 25.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/3.634, allocations: 55.98 kB / 1.252 GB, free: 25.12 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001705/3.634, allocations: 136.8 kB / 1.252 GB, free: 24.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/3.634, allocations: 55.39 kB / 1.252 GB, free: 24.92 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/3.636, allocations: 0.6585 MB / 1.253 GB, free: 24.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/3.637, allocations: 4 kB / 1.253 GB, free: 24.24 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/3.637, allocations: 4 kB / 1.253 GB, free: 24.24 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/3.637, allocations: 3.938 kB / 1.253 GB, free: 24.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/3.639, allocations: 1.492 MB / 1.254 GB, free: 22.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/3.639, allocations: 0 / 1.254 GB, free: 22.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004309/3.64, allocations: 75.89 kB / 1.254 GB, free: 22.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002038/3.642, allocations: 232.9 kB / 1.254 GB, free: 22.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.102e-05/3.642, allocations: 19.98 kB / 1.254 GB, free: 22.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004575/3.642, allocations: 0.5796 MB / 1.255 GB, free: 21.67 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/3.642, allocations: 4.031 kB / 1.255 GB, free: 21.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/3.644, allocations: 0.6771 MB / 1.256 GB, free: 20.88 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/3.644, allocations: 140.4 kB / 1.256 GB, free: 20.72 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/3.644, allocations: 11.98 kB / 1.256 GB, free: 20.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005334/3.644, allocations: 23.89 kB / 1.256 GB, free: 20.68 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/3.645, allocations: 39.91 kB / 1.256 GB, free: 20.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.885e-05/3.645, allocations: 31.98 kB / 1.256 GB, free: 20.61 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004958/3.645, allocations: 313.6 kB / 1.256 GB, free: 20.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.61e-07/3.645, allocations: 0 / 1.256 GB, free: 20.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002283/3.647, allocations: 499.3 kB / 1.257 GB, free: 19.82 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004671/3.652, allocations: 3.17 MB / 1.26 GB, free: 16.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001236/3.653, allocations: 397.1 kB / 1.26 GB, free: 16.17 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/3.653, allocations: 0 / 1.26 GB, free: 16.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004581/3.654, allocations: 187.7 kB / 1.26 GB, free: 15.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002476/3.656, allocations: 289.1 kB / 1.261 GB, free: 15.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/3.667, allocations: 2.344 MB / 1.263 GB, free: 13.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/3.667, allocations: 0.883 MB / 1.264 GB, free: 12.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001416/3.669, allocations: 192.6 kB / 1.264 GB, free: 12.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006364/3.669, allocations: 231.3 kB / 1.264 GB, free: 11.97 MB / 490.7 MB Notification: Performance of SimCode: time 9.32e-07/3.669, allocations: 0 / 1.264 GB, free: 11.97 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.451/4.12, allocations: 37.66 MB / 1.301 GB, free: 70.12 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000257/4.121, allocations: 227.3 kB / 1.301 GB, free: 69.81 MB / 490.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_TestCases_PressureLoss_Bend.o ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c In file included from ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c:7: In file included from ./ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_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_Bend.c:479:154: error: passing 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_D_Geometry24from__dp24geometry' (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[54] /* from_dp.m_flow variable */ = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, omc_Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_D_Geometry24from__dp24geometry(threadData, data->simulationInfo->realParameter[20] /* from_dp.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[19] /* from_dp.geometry.R_0 PARAM */, data->simulationInfo->realParameter[21] /* from_dp.geometry.delta PARAM */, data->simulationInfo->realParameter[18] /* from_dp.geometry.K PARAM */), omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var(threadData, omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[51] /* from_dp.dp variable */, data->localData[0]->realVars[52] /* from_dp.eta_a variable */, data->localData[0]->realVars[53] /* from_dp.eta_b variable */, data->simulationInfo->realParameter[16] /* from_dp.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[51] /* from_dp.dp variable */, data->localData[0]->realVars[49] /* from_dp.d_a variable */, data->localData[0]->realVars[50] /* from_dp.d_b variable */, data->simulationInfo->realParameter[16] /* from_dp.dp_small PARAM */)), data->localData[0]->realVars[51] /* from_dp.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_functions.h:2048: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_Bend.o' failed make: *** [ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o] Error 1