Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.197/2.197, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.296e-05/4.308e-05, allocations: 7.984 kB / 273.2 MB, free: 136 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 48.71 MB / 321.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.23/2.337, allocations: 0.6079 GB / 0.9222 GB, free: 52.55 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003672/2.338, allocations: 92.56 kB / 0.9223 GB, free: 52.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.656/3.994, allocations: 281.6 MB / 1.197 GB, free: 63.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.385e-06/3.994, allocations: 0 / 1.197 GB, free: 63.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.326e-05/3.994, allocations: 17.28 kB / 1.197 GB, free: 63.8 MB / 426.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.004351/3.998, allocations: 1.241 MB / 1.199 GB, free: 63.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/3.998, allocations: 8 kB / 1.199 GB, free: 63.12 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001841/3.999, allocations: 87.86 kB / 1.199 GB, free: 63.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001742/4, allocations: 156.6 kB / 1.199 GB, free: 63.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/4.002, allocations: 0.53 MB / 1.199 GB, free: 62.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/4.002, allocations: 30.16 kB / 1.199 GB, free: 62.78 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/4.002, allocations: 43.16 kB / 1.199 GB, free: 62.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/4.004, allocations: 0.6211 MB / 1.2 GB, free: 62.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/4.004, allocations: 0 / 1.2 GB, free: 62.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.971e-05/4.004, allocations: 22.56 kB / 1.2 GB, free: 62.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/4.004, allocations: 13.25 kB / 1.2 GB, free: 62.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/4.005, allocations: 468.1 kB / 1.2 GB, free: 62.61 MB / 426.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.003989/4.009, allocations: 2.562 MB / 1.203 GB, free: 60.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008373/4.01, allocations: 280.3 kB / 1.203 GB, free: 60.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/4.01, allocations: 156.9 kB / 1.203 GB, free: 60.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004576/4.011, allocations: 333.9 kB / 1.204 GB, free: 60.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/4.011, allocations: 37.5 kB / 1.204 GB, free: 60.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 4.459e-06/4.011, allocations: 2.625 kB / 1.204 GB, free: 60.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.001502/4.012, allocations: 451.5 kB / 1.204 GB, free: 60.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/4.012, allocations: 160.5 kB / 1.204 GB, free: 60.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006277/4.013, allocations: 397.2 kB / 1.205 GB, free: 60.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.762e-05/4.013, allocations: 28.77 kB / 1.205 GB, free: 60.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/4.013, allocations: 323.4 kB / 1.205 GB, free: 59.99 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/4.014, allocations: 131 kB / 1.205 GB, free: 59.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/4.014, allocations: 14.84 kB / 1.205 GB, free: 59.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/4.014, allocations: 351.7 kB / 1.205 GB, free: 59.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003711/4.014, allocations: 138.5 kB / 1.206 GB, free: 59.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/4.015, allocations: 350.4 kB / 1.206 GB, free: 59.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/4.015, allocations: 191.8 kB / 1.206 GB, free: 59.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/4.015, allocations: 3.531 kB / 1.206 GB, free: 59.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001427/4.016, allocations: 0.5634 MB / 1.207 GB, free: 59.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/4.017, allocations: 10.78 kB / 1.207 GB, free: 59.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/4.017, allocations: 10.88 kB / 1.207 GB, free: 59.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002208/4.019, allocations: 241.2 kB / 1.207 GB, free: 59.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007506/4.02, allocations: 131.4 kB / 1.207 GB, free: 59.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005121/4.02, allocations: 0.5838 MB / 1.208 GB, free: 58.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007282/4.021, allocations: 73.47 kB / 1.208 GB, free: 58.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/4.021, allocations: 56.17 kB / 1.208 GB, free: 58.7 MB / 426.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.0001773/4.021, allocations: 136.1 kB / 1.208 GB, free: 58.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/4.021, allocations: 52.61 kB / 1.208 GB, free: 58.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00237/4.024, allocations: 0.6618 MB / 1.209 GB, free: 58.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/4.024, allocations: 4.375 kB / 1.209 GB, free: 58.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/4.024, allocations: 2.281 kB / 1.209 GB, free: 58.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/4.024, allocations: 3.516 kB / 1.209 GB, free: 58.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/4.027, allocations: 1.472 MB / 1.21 GB, free: 57.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/4.027, allocations: 0 / 1.21 GB, free: 57.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000454/4.027, allocations: 76.58 kB / 1.21 GB, free: 57.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002062/4.029, allocations: 230.3 kB / 1.21 GB, free: 57.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.277e-05/4.029, allocations: 17.28 kB / 1.21 GB, free: 57.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004482/4.03, allocations: 0.578 MB / 1.211 GB, free: 57.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/4.03, allocations: 11.61 kB / 1.211 GB, free: 57.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/4.031, allocations: 0.679 MB / 1.212 GB, free: 56.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003372/4.031, allocations: 183.6 kB / 1.212 GB, free: 56.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/4.031, allocations: 9.656 kB / 1.212 GB, free: 56.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005323/4.032, allocations: 30.16 kB / 1.212 GB, free: 56.67 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/4.032, allocations: 37.52 kB / 1.212 GB, free: 56.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.844e-05/4.032, allocations: 31.95 kB / 1.212 GB, free: 56.67 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005061/4.033, allocations: 316.1 kB / 1.212 GB, free: 56.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/4.033, allocations: 0 / 1.212 GB, free: 56.58 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002703/4.035, allocations: 496.4 kB / 1.213 GB, free: 56.48 MB / 426.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.005027/4.04, allocations: 3.188 MB / 1.216 GB, free: 54.63 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001291/4.042, allocations: 386.8 kB / 1.216 GB, free: 54.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/4.042, allocations: 3.156 kB / 1.216 GB, free: 54.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004752/4.042, allocations: 184.5 kB / 1.216 GB, free: 54.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/4.045, allocations: 291.8 kB / 1.217 GB, free: 54.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/4.056, allocations: 2.352 MB / 1.219 GB, free: 54.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/4.056, allocations: 0.8799 MB / 1.22 GB, free: 53.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001413/4.058, allocations: 190.3 kB / 1.22 GB, free: 53.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006648/4.058, allocations: 235.7 kB / 1.22 GB, free: 53.38 MB / 426.7 MB Notification: Performance of SimCode: time 1.453e-06/4.058, allocations: 0 / 1.22 GB, free: 53.38 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09877/4.157, allocations: 37.72 MB / 1.257 GB, free: 31.4 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00031/4.158, allocations: 230 kB / 1.257 GB, free: 31.09 MB / 426.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_Bend.o ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c In file included from ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c:7: In file included from ./ModelicaTest_3_2_1_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_1_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_1_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_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o' failed make: *** [ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o] Error 1