Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.563/2.563, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 5.347e-05/5.369e-05, allocations: 7.984 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4701/0.4701, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.148/2.618, allocations: 0.6182 GB / 0.9915 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/2.619, allocations: 93.7 kB / 0.9916 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.441/4.06, allocations: 283.6 MB / 1.269 GB, free: 62.25 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.034e-06/4.06, allocations: 3.938 kB / 1.269 GB, free: 62.25 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.642e-05/4.06, allocations: 19.98 kB / 1.269 GB, free: 62.23 MB / 0.5105 GB 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.004152/4.064, allocations: 1.236 MB / 1.27 GB, free: 60.95 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/4.064, allocations: 8.031 kB / 1.27 GB, free: 60.94 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002522/4.065, allocations: 90.45 kB / 1.27 GB, free: 60.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001895/4.067, allocations: 151.1 kB / 1.27 GB, free: 60.69 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/4.068, allocations: 499.1 kB / 1.271 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.413e-05/4.068, allocations: 37 kB / 1.271 GB, free: 60.13 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/4.069, allocations: 43.95 kB / 1.271 GB, free: 60.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/4.07, allocations: 0.6323 MB / 1.271 GB, free: 59.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/4.07, allocations: 3.984 kB / 1.271 GB, free: 59.39 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/4.07, allocations: 24 kB / 1.271 GB, free: 59.37 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/4.07, allocations: 8 kB / 1.271 GB, free: 59.36 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/4.072, allocations: 469.7 kB / 1.272 GB, free: 58.91 MB / 0.5105 GB 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.004705/4.076, allocations: 2.625 MB / 1.274 GB, free: 56.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/4.078, allocations: 294.7 kB / 1.275 GB, free: 55.79 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003433/4.078, allocations: 149 kB / 1.275 GB, free: 55.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004691/4.078, allocations: 325.5 kB / 1.275 GB, free: 55.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/4.078, allocations: 43.16 kB / 1.275 GB, free: 55.22 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 4.057e-06/4.078, allocations: 0 / 1.275 GB, free: 55.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.001759/4.08, allocations: 465.2 kB / 1.276 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/4.08, allocations: 158.2 kB / 1.276 GB, free: 54.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007854/4.081, allocations: 460.8 kB / 1.276 GB, free: 54.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.499e-05/4.081, allocations: 33.7 kB / 1.276 GB, free: 54.06 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000216/4.081, allocations: 299.5 kB / 1.276 GB, free: 53.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/4.082, allocations: 130.2 kB / 1.277 GB, free: 53.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/4.082, allocations: 4 kB / 1.277 GB, free: 53.63 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001089/4.082, allocations: 366.8 kB / 1.277 GB, free: 53.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/4.082, allocations: 137.1 kB / 1.277 GB, free: 53.13 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/4.083, allocations: 305.8 kB / 1.277 GB, free: 52.76 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004854/4.083, allocations: 183.9 kB / 1.277 GB, free: 52.58 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/4.083, allocations: 0 / 1.277 GB, free: 52.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001395/4.085, allocations: 0.5364 MB / 1.278 GB, free: 52.03 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/4.085, allocations: 11.95 kB / 1.278 GB, free: 52.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/4.085, allocations: 4 kB / 1.278 GB, free: 52.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002233/4.087, allocations: 237.1 kB / 1.278 GB, free: 51.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007597/4.088, allocations: 115.8 kB / 1.278 GB, free: 51.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005234/4.088, allocations: 0.5875 MB / 1.279 GB, free: 51.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000865/4.089, allocations: 67.47 kB / 1.279 GB, free: 50.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/4.089, allocations: 51.98 kB / 1.279 GB, free: 50.94 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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.0002069/4.089, allocations: 140.8 kB / 1.279 GB, free: 50.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/4.09, allocations: 63.28 kB / 1.279 GB, free: 50.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/4.092, allocations: 0.6797 MB / 1.28 GB, free: 50.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.505e-06/4.092, allocations: 4 kB / 1.28 GB, free: 50.01 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/4.092, allocations: 0 / 1.28 GB, free: 50.01 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/4.092, allocations: 4 kB / 1.28 GB, free: 50.01 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/4.094, allocations: 0.929 MB / 1.281 GB, free: 49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/4.094, allocations: 4 kB / 1.281 GB, free: 49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/4.094, allocations: 48.09 kB / 1.281 GB, free: 48.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002102/4.096, allocations: 232.6 kB / 1.281 GB, free: 48.72 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.092e-05/4.097, allocations: 11.98 kB / 1.281 GB, free: 48.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004528/4.097, allocations: 0.5913 MB / 1.282 GB, free: 48.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/4.097, allocations: 3.938 kB / 1.282 GB, free: 48.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009488/4.098, allocations: 0.5232 MB / 1.282 GB, free: 47.49 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002656/4.098, allocations: 160.2 kB / 1.282 GB, free: 47.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/4.098, allocations: 8 kB / 1.282 GB, free: 47.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007502/4.099, allocations: 27.97 kB / 1.282 GB, free: 47.28 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.51e-05/4.099, allocations: 31.91 kB / 1.282 GB, free: 47.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-05/4.099, allocations: 16 kB / 1.282 GB, free: 47.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006854/4.1, allocations: 405.5 kB / 1.283 GB, free: 46.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.61e-07/4.1, allocations: 0 / 1.283 GB, free: 46.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002227/4.102, allocations: 499.3 kB / 1.283 GB, free: 46.35 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.004325/4.107, allocations: 2.754 MB / 1.286 GB, free: 43.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001152/4.108, allocations: 332.9 kB / 1.286 GB, free: 43.22 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/4.108, allocations: 8 kB / 1.286 GB, free: 43.21 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003354/4.108, allocations: 128.2 kB / 1.286 GB, free: 43.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002968/4.111, allocations: 339.9 kB / 1.287 GB, free: 42.76 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/4.114, allocations: 0.8419 MB / 1.288 GB, free: 41.86 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/4.114, allocations: 0.8751 MB / 1.288 GB, free: 40.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001554/4.116, allocations: 208.9 kB / 1.289 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005098/4.116, allocations: 211.4 kB / 1.289 GB, free: 40.54 MB / 0.5105 GB Notification: Performance of SimCode: time 1.342e-06/4.116, allocations: 8 kB / 1.289 GB, free: 40.54 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.102/4.219, allocations: 39.63 MB / 1.328 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/4.219, allocations: 230 kB / 1.328 GB, free: 0.6133 MB / 0.5105 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_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c In file included from ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c:7: In file included from ./ModelicaTest_3_2_3_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_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c:362: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[46] /* 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[42] /* from_dp.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[41] /* from_dp.geometry.R_0 PARAM */, data->simulationInfo->realParameter[43] /* from_dp.geometry.delta PARAM */, data->simulationInfo->realParameter[40] /* 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[43] /* from_dp.dp variable */, data->localData[0]->realVars[44] /* from_dp.eta_a variable */, data->localData[0]->realVars[45] /* from_dp.eta_b variable */, data->simulationInfo->realParameter[38] /* from_dp.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[43] /* from_dp.dp variable */, data->localData[0]->realVars[41] /* from_dp.d_a variable */, data->localData[0]->realVars[42] /* from_dp.d_b variable */, data->simulationInfo->realParameter[38] /* from_dp.dp_small PARAM */)), data->localData[0]->realVars[43] /* from_dp.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_3_2_3_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_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o' failed make: *** [ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o] Error 1