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.51/2.51, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.565e-05/3.569e-05, allocations: 0 / 305 MB, free: 5.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4775/0.4776, allocations: 54.86 MB / 359.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.889/2.366, allocations: 0.6147 GB / 0.9662 GB, free: 114.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/2.367, allocations: 95.34 kB / 0.9663 GB, free: 114.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.37/3.737, allocations: 281.7 MB / 1.241 GB, free: 35.87 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.834e-06/3.737, allocations: 0 / 1.241 GB, free: 35.87 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.387e-05/3.737, allocations: 19.98 kB / 1.241 GB, free: 35.85 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.003792/3.741, allocations: 1.236 MB / 1.243 GB, free: 34.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/3.741, allocations: 8.031 kB / 1.243 GB, free: 34.56 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001457/3.741, allocations: 86.53 kB / 1.243 GB, free: 34.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/3.743, allocations: 159 kB / 1.243 GB, free: 34.31 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/3.744, allocations: 0.5195 MB / 1.243 GB, free: 33.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/3.744, allocations: 37 kB / 1.243 GB, free: 33.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-05/3.744, allocations: 40 kB / 1.243 GB, free: 33.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/3.746, allocations: 0.6202 MB / 1.244 GB, free: 33 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/3.746, allocations: 0 / 1.244 GB, free: 33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.631e-05/3.746, allocations: 24 kB / 1.244 GB, free: 32.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/3.746, allocations: 12 kB / 1.244 GB, free: 32.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/3.747, allocations: 477.7 kB / 1.244 GB, free: 32.5 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.003694/3.751, allocations: 2.559 MB / 1.247 GB, free: 29.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00085/3.752, allocations: 286.9 kB / 1.247 GB, free: 29.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/3.752, allocations: 160.8 kB / 1.247 GB, free: 29.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004226/3.752, allocations: 322.2 kB / 1.248 GB, free: 28.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/3.752, allocations: 34.56 kB / 1.248 GB, free: 28.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 2.945e-06/3.752, allocations: 0 / 1.248 GB, free: 28.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.001477/3.754, allocations: 445.3 kB / 1.248 GB, free: 28.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/3.754, allocations: 158.2 kB / 1.248 GB, free: 28.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006121/3.755, allocations: 395 kB / 1.249 GB, free: 27.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.721e-05/3.755, allocations: 33.7 kB / 1.249 GB, free: 27.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000203/3.755, allocations: 319.2 kB / 1.249 GB, free: 27.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/3.755, allocations: 126.2 kB / 1.249 GB, free: 27.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/3.755, allocations: 12 kB / 1.249 GB, free: 27.37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/3.755, allocations: 358.8 kB / 1.25 GB, free: 27.01 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/3.756, allocations: 133.1 kB / 1.25 GB, free: 26.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004529/3.756, allocations: 353.6 kB / 1.25 GB, free: 26.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/3.757, allocations: 195.9 kB / 1.25 GB, free: 26.24 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/3.757, allocations: 4 kB / 1.25 GB, free: 26.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00136/3.758, allocations: 0.56 MB / 1.251 GB, free: 25.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/3.758, allocations: 8 kB / 1.251 GB, free: 25.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/3.758, allocations: 4 kB / 1.251 GB, free: 25.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002203/3.76, allocations: 249 kB / 1.251 GB, free: 25.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007044/3.761, allocations: 131.8 kB / 1.251 GB, free: 25.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004845/3.761, allocations: 0.5874 MB / 1.252 GB, free: 24.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006899/3.762, allocations: 67.48 kB / 1.252 GB, free: 24.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/3.762, allocations: 55.98 kB / 1.252 GB, free: 24.54 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.00017/3.762, allocations: 136.8 kB / 1.252 GB, free: 24.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/3.763, allocations: 55.39 kB / 1.252 GB, free: 24.35 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/3.765, allocations: 0.6547 MB / 1.253 GB, free: 23.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/3.765, allocations: 7.938 kB / 1.253 GB, free: 23.67 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/3.765, allocations: 7.984 kB / 1.253 GB, free: 23.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/3.765, allocations: 4 kB / 1.253 GB, free: 23.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002686/3.768, allocations: 1.473 MB / 1.254 GB, free: 22.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/3.768, allocations: 3.953 kB / 1.254 GB, free: 22.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004455/3.768, allocations: 79.89 kB / 1.254 GB, free: 21.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002054/3.77, allocations: 224.9 kB / 1.254 GB, free: 21.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-05/3.77, allocations: 23.98 kB / 1.254 GB, free: 21.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004191/3.771, allocations: 0.5796 MB / 1.255 GB, free: 21.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/3.771, allocations: 4.031 kB / 1.255 GB, free: 21.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/3.772, allocations: 0.6771 MB / 1.256 GB, free: 20.31 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/3.772, allocations: 140.4 kB / 1.256 GB, free: 20.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/3.772, allocations: 11.98 kB / 1.256 GB, free: 20.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005433/3.773, allocations: 31.89 kB / 1.256 GB, free: 20.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.103e-05/3.773, allocations: 35.91 kB / 1.256 GB, free: 20.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.589e-05/3.773, allocations: 27.98 kB / 1.256 GB, free: 20.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000484/3.774, allocations: 309.6 kB / 1.256 GB, free: 19.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.5e-07/3.774, allocations: 4 kB / 1.256 GB, free: 19.74 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002222/3.776, allocations: 499.3 kB / 1.257 GB, free: 19.25 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.004813/3.781, allocations: 3.201 MB / 1.26 GB, free: 15.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001216/3.782, allocations: 381.8 kB / 1.26 GB, free: 15.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/3.782, allocations: 4 kB / 1.26 GB, free: 15.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000441/3.782, allocations: 179.7 kB / 1.26 GB, free: 15.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/3.785, allocations: 286.9 kB / 1.261 GB, free: 15.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/3.796, allocations: 2.34 MB / 1.263 GB, free: 12.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/3.796, allocations: 0.883 MB / 1.264 GB, free: 11.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001475/3.798, allocations: 192.6 kB / 1.264 GB, free: 11.63 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006698/3.798, allocations: 227.3 kB / 1.264 GB, free: 11.41 MB / 490.7 MB Notification: Performance of SimCode: time 1.884e-06/3.798, allocations: 0 / 1.264 GB, free: 11.41 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4753/4.274, allocations: 37.71 MB / 1.301 GB, free: 70.43 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/4.274, allocations: 230.1 kB / 1.301 GB, free: 70.12 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__omcQuot_47656F6D657472792466726F6D5F5F64702467656F6D65747279' (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__omcQuot_47656F6D657472792466726F6D5F5F64702467656F6D65747279(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