Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.962/1.962, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.339e-05/4.361e-05, allocations: 7.375 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.989/2.1, allocations: 0.6067 GB / 0.9211 GB, free: 53.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/2.1, allocations: 87.83 kB / 0.9212 GB, free: 53.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.505/3.605, allocations: 242.5 MB / 1.158 GB, free: 69.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.024e-06/3.605, allocations: 0 / 1.158 GB, free: 69.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.021e-05/3.605, allocations: 19.06 kB / 1.158 GB, free: 69.75 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.003064/3.608, allocations: 0.9521 MB / 1.159 GB, free: 69.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/3.608, allocations: 9.25 kB / 1.159 GB, free: 69.37 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001573/3.609, allocations: 84.27 kB / 1.159 GB, free: 69.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/3.61, allocations: 140 kB / 1.159 GB, free: 69.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/3.612, allocations: 0.5293 MB / 1.16 GB, free: 69.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.332e-05/3.612, allocations: 32.19 kB / 1.16 GB, free: 69.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/3.612, allocations: 39.38 kB / 1.16 GB, free: 69.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/3.614, allocations: 0.5651 MB / 1.16 GB, free: 68.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/3.614, allocations: 5.734 kB / 1.16 GB, free: 68.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-05/3.614, allocations: 19.03 kB / 1.16 GB, free: 68.94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/3.614, allocations: 12.03 kB / 1.16 GB, free: 68.94 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/3.615, allocations: 447.4 kB / 1.161 GB, free: 68.94 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.004069/3.619, allocations: 2.598 MB / 1.163 GB, free: 67.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008938/3.62, allocations: 290.7 kB / 1.164 GB, free: 67.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/3.62, allocations: 155.6 kB / 1.164 GB, free: 67.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004587/3.621, allocations: 321.9 kB / 1.164 GB, free: 66.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/3.621, allocations: 38.97 kB / 1.164 GB, free: 66.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 3.556e-06/3.621, allocations: 0 / 1.164 GB, free: 66.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.001453/3.622, allocations: 427 kB / 1.164 GB, free: 66.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/3.623, allocations: 143.1 kB / 1.165 GB, free: 66.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006385/3.623, allocations: 378.1 kB / 1.165 GB, free: 66.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.419e-05/3.623, allocations: 36.14 kB / 1.165 GB, free: 66.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/3.624, allocations: 293.2 kB / 1.165 GB, free: 66.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/3.624, allocations: 118.7 kB / 1.165 GB, free: 66.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/3.624, allocations: 13.5 kB / 1.165 GB, free: 66.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/3.624, allocations: 361.3 kB / 1.166 GB, free: 65.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004262/3.624, allocations: 170.9 kB / 1.166 GB, free: 65.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005634/3.625, allocations: 347.9 kB / 1.166 GB, free: 65.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005053/3.625, allocations: 214.3 kB / 1.166 GB, free: 65.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/3.625, allocations: 6.438 kB / 1.166 GB, free: 65.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001605/3.627, allocations: 0.6257 MB / 1.167 GB, free: 65.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/3.627, allocations: 7.625 kB / 1.167 GB, free: 65.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/3.627, allocations: 3.844 kB / 1.167 GB, free: 65.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002245/3.629, allocations: 242.2 kB / 1.167 GB, free: 65.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/3.63, allocations: 150.4 kB / 1.167 GB, free: 65.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007528/3.638, allocations: 23.09 MB / 1.19 GB, free: 41.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008904/3.639, allocations: 73.66 kB / 1.19 GB, free: 41.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/3.639, allocations: 53.05 kB / 1.19 GB, free: 41.86 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 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.0002064/3.639, allocations: 139.2 kB / 1.19 GB, free: 41.76 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/3.639, allocations: 46.62 kB / 1.19 GB, free: 41.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/3.642, allocations: 0.6292 MB / 1.191 GB, free: 41.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/3.642, allocations: 3.75 kB / 1.191 GB, free: 41.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/3.642, allocations: 0 / 1.191 GB, free: 41.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/3.642, allocations: 3.953 kB / 1.191 GB, free: 41.63 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002394/3.644, allocations: 1.118 MB / 1.192 GB, free: 41.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/3.644, allocations: 0 / 1.192 GB, free: 41.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004185/3.645, allocations: 67.52 kB / 1.192 GB, free: 41.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002077/3.647, allocations: 233.1 kB / 1.192 GB, free: 41.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.187e-05/3.647, allocations: 13.44 kB / 1.192 GB, free: 41.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004812/3.647, allocations: 0.5939 MB / 1.193 GB, free: 40.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/3.647, allocations: 0 / 1.193 GB, free: 40.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/3.649, allocations: 0.558 MB / 1.193 GB, free: 40.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/3.649, allocations: 144.7 kB / 1.194 GB, free: 40.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/3.649, allocations: 9.25 kB / 1.194 GB, free: 40.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005857/3.65, allocations: 38.36 kB / 1.194 GB, free: 40.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/3.65, allocations: 35.17 kB / 1.194 GB, free: 40.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.256e-05/3.65, allocations: 22.36 kB / 1.194 GB, free: 40.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005365/3.65, allocations: 313.7 kB / 1.194 GB, free: 40.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.1e-07/3.65, allocations: 0 / 1.194 GB, free: 40.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002772/3.653, allocations: 487.7 kB / 1.194 GB, free: 40.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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.658, allocations: 2.725 MB / 1.197 GB, free: 38.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00132/3.659, allocations: 408.1 kB / 1.197 GB, free: 38.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.994e-06/3.659, allocations: 2.875 kB / 1.197 GB, free: 38.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004177/3.66, allocations: 146.9 kB / 1.198 GB, free: 38.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/3.662, allocations: 224.8 kB / 1.198 GB, free: 38.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/3.673, allocations: 2.402 MB / 1.2 GB, free: 38.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/3.674, allocations: 0.867 MB / 1.201 GB, free: 37.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001414/3.675, allocations: 185.5 kB / 1.201 GB, free: 37.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000562/3.676, allocations: 211.1 kB / 1.201 GB, free: 37.43 MB / 426.7 MB Notification: Performance of SimCode: time 1.163e-06/3.676, allocations: 0 / 1.201 GB, free: 37.43 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09776/3.773, allocations: 35.61 MB / 1.236 GB, free: 35.57 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002717/3.774, allocations: 239.9 kB / 1.236 GB, free: 35.26 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_TestComponents_NewFittings_Bends_CurvedBend.o ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c In file included from ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c:7: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_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_TestComponents_NewFittings_Bends_CurvedBend.c:292:157: error: passing '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[8] /* boundary.m_flow_in variable */ = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, omc_Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_Geometry(threadData, data->simulationInfo->realParameter[7] /* fitting1.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[6] /* fitting1.geometry.R_0 PARAM */, data->simulationInfo->realParameter[8] /* fitting1.geometry.delta PARAM */, data->simulationInfo->realParameter[5] /* fitting1.geometry.K PARAM */), omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var(threadData, omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[21] /* fitting1.dp variable */, data->localData[0]->realVars[22] /* fitting1.eta_a variable */, data->localData[0]->realVars[23] /* fitting1.eta_b variable */, data->simulationInfo->realParameter[3] /* fitting1.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[21] /* fitting1.dp variable */, data->localData[0]->realVars[19] /* fitting1.d_a variable */, data->localData[0]->realVars[20] /* fitting1.d_b variable */, data->simulationInfo->realParameter[3] /* fitting1.dp_small PARAM */)), data->localData[0]->realVars[21] /* fitting1.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_functions.h:1745: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_TestComponents_NewFittings_Bends_CurvedBend.o' failed make: *** [ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.o] Error 1