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 1.998/1.998, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.502e-05/4.514e-05, allocations: 5.547 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.97/2.082, allocations: 0.6079 GB / 0.9222 GB, free: 52.95 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/2.082, allocations: 92.88 kB / 0.9223 GB, free: 52.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.571/3.653, allocations: 281.6 MB / 1.197 GB, free: 63.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.703e-06/3.653, allocations: 0 / 1.197 GB, free: 63.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.346e-05/3.653, allocations: 15.69 kB / 1.197 GB, free: 63.73 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.004028/3.657, allocations: 1.239 MB / 1.198 GB, free: 63.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/3.657, allocations: 8.812 kB / 1.198 GB, free: 63.04 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001632/3.657, allocations: 83.05 kB / 1.199 GB, free: 63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001679/3.659, allocations: 157 kB / 1.199 GB, free: 62.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/3.66, allocations: 0.5297 MB / 1.199 GB, free: 62.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/3.66, allocations: 32.91 kB / 1.199 GB, free: 62.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.826e-05/3.661, allocations: 41.12 kB / 1.199 GB, free: 62.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/3.662, allocations: 0.6243 MB / 1.2 GB, free: 62.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/3.662, allocations: 0 / 1.2 GB, free: 62.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.645e-05/3.662, allocations: 21.97 kB / 1.2 GB, free: 62.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/3.662, allocations: 9.938 kB / 1.2 GB, free: 62.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/3.663, allocations: 485.2 kB / 1.2 GB, free: 62.54 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.003771/3.667, allocations: 2.564 MB / 1.203 GB, free: 60.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008467/3.668, allocations: 285.6 kB / 1.203 GB, free: 60.85 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/3.668, allocations: 160.8 kB / 1.203 GB, free: 60.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004373/3.669, allocations: 327.6 kB / 1.204 GB, free: 60.56 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/3.669, allocations: 37.16 kB / 1.204 GB, free: 60.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 2.855e-06/3.669, allocations: 3.031 kB / 1.204 GB, free: 60.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.001461/3.67, allocations: 448.3 kB / 1.204 GB, free: 60.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/3.671, allocations: 168.1 kB / 1.204 GB, free: 60.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006047/3.671, allocations: 391.9 kB / 1.205 GB, free: 60.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.883e-05/3.671, allocations: 35.77 kB / 1.205 GB, free: 60.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/3.671, allocations: 321.8 kB / 1.205 GB, free: 59.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/3.672, allocations: 128.3 kB / 1.205 GB, free: 59.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/3.672, allocations: 10.19 kB / 1.205 GB, free: 59.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.922e-05/3.672, allocations: 359 kB / 1.205 GB, free: 59.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/3.672, allocations: 130.6 kB / 1.206 GB, free: 59.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004652/3.673, allocations: 358.1 kB / 1.206 GB, free: 59.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000469/3.673, allocations: 188.9 kB / 1.206 GB, free: 59.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/3.673, allocations: 3.875 kB / 1.206 GB, free: 59.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00145/3.675, allocations: 0.5835 MB / 1.207 GB, free: 59.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/3.675, allocations: 8.438 kB / 1.207 GB, free: 59.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/3.675, allocations: 7.844 kB / 1.207 GB, free: 59.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002186/3.677, allocations: 244.8 kB / 1.207 GB, free: 59.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007228/3.678, allocations: 129.9 kB / 1.207 GB, free: 59.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000495/3.678, allocations: 0.592 MB / 1.208 GB, free: 58.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006969/3.679, allocations: 70.09 kB / 1.208 GB, free: 58.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/3.679, allocations: 55.14 kB / 1.208 GB, free: 58.62 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.0001822/3.679, allocations: 140.4 kB / 1.208 GB, free: 58.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/3.679, allocations: 52.05 kB / 1.208 GB, free: 58.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/3.682, allocations: 0.659 MB / 1.209 GB, free: 58.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/3.682, allocations: 3.344 kB / 1.209 GB, free: 58.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-06/3.682, allocations: 0 / 1.209 GB, free: 58.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/3.682, allocations: 0 / 1.209 GB, free: 58.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/3.684, allocations: 1.483 MB / 1.21 GB, free: 57.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/3.684, allocations: 3.125 kB / 1.21 GB, free: 57.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004443/3.685, allocations: 71.86 kB / 1.21 GB, free: 57.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002028/3.687, allocations: 229.1 kB / 1.21 GB, free: 57.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.01e-05/3.687, allocations: 22.5 kB / 1.21 GB, free: 57.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004407/3.687, allocations: 0.5851 MB / 1.211 GB, free: 57.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/3.688, allocations: 0 / 1.211 GB, free: 57.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/3.689, allocations: 0.6797 MB / 1.212 GB, free: 56.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003364/3.689, allocations: 191 kB / 1.212 GB, free: 56.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/3.689, allocations: 9.25 kB / 1.212 GB, free: 56.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005186/3.69, allocations: 30.92 kB / 1.212 GB, free: 56.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/3.69, allocations: 33.72 kB / 1.212 GB, free: 56.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.671e-05/3.69, allocations: 35.34 kB / 1.212 GB, free: 56.58 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004903/3.69, allocations: 311.8 kB / 1.212 GB, free: 56.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/3.69, allocations: 3.719 kB / 1.212 GB, free: 56.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002272/3.693, allocations: 496.9 kB / 1.213 GB, free: 56.4 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.00479/3.698, allocations: 3.179 MB / 1.216 GB, free: 54.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001235/3.699, allocations: 396.4 kB / 1.216 GB, free: 54.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/3.699, allocations: 3.375 kB / 1.216 GB, free: 54.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004528/3.699, allocations: 198.2 kB / 1.216 GB, free: 54.51 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/3.702, allocations: 279.2 kB / 1.217 GB, free: 54.51 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/3.712, allocations: 2.35 MB / 1.219 GB, free: 54.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/3.713, allocations: 0.8815 MB / 1.22 GB, free: 53.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001417/3.714, allocations: 191.4 kB / 1.22 GB, free: 53.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006263/3.715, allocations: 228.8 kB / 1.22 GB, free: 53.31 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/3.715, allocations: 1.156 kB / 1.22 GB, free: 53.31 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1143/3.829, allocations: 37.67 MB / 1.257 GB, free: 31.85 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/3.83, allocations: 231.3 kB / 1.257 GB, free: 31.54 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_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_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