Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.432/2.432, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.687e-05/4.694e-05, allocations: 4 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3944, allocations: 58.85 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.927/2.321, allocations: 0.6171 GB / 0.9905 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004806/2.322, allocations: 90.53 kB / 0.9906 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.234/3.556, allocations: 244.4 MB / 1.229 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.144e-06/3.556, allocations: 0 / 1.229 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.365e-05/3.556, allocations: 22.89 kB / 1.229 GB, free: 104.5 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002838/3.559, allocations: 0.9495 MB / 1.23 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/3.559, allocations: 12.03 kB / 1.23 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001349/3.559, allocations: 78.52 kB / 1.23 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/3.56, allocations: 131.2 kB / 1.23 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/3.562, allocations: 0.4888 MB / 1.231 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.311e-05/3.562, allocations: 29 kB / 1.231 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.753e-05/3.562, allocations: 47.94 kB / 1.231 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/3.563, allocations: 0.5714 MB / 1.231 GB, free: 102 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/3.563, allocations: 7.938 kB / 1.231 GB, free: 102 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.781e-05/3.563, allocations: 16 kB / 1.231 GB, free: 102 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/3.563, allocations: 12 kB / 1.231 GB, free: 102 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/3.564, allocations: 437.4 kB / 1.232 GB, free: 101.6 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.004116/3.568, allocations: 2.64 MB / 1.234 GB, free: 98.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009037/3.569, allocations: 295.4 kB / 1.235 GB, free: 98.44 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/3.57, allocations: 157.4 kB / 1.235 GB, free: 98.28 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004206/3.57, allocations: 316.9 kB / 1.235 GB, free: 97.92 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/3.57, allocations: 42.78 kB / 1.235 GB, free: 97.87 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 3.637e-06/3.57, allocations: 0 / 1.235 GB, free: 97.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.001471/3.572, allocations: 440.2 kB / 1.236 GB, free: 97.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/3.572, allocations: 132.5 kB / 1.236 GB, free: 97.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007277/3.573, allocations: 439.8 kB / 1.236 GB, free: 96.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.63e-05/3.573, allocations: 37.7 kB / 1.236 GB, free: 96.79 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/3.573, allocations: 279.2 kB / 1.237 GB, free: 96.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/3.573, allocations: 118.2 kB / 1.237 GB, free: 96.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/3.573, allocations: 8 kB / 1.237 GB, free: 96.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001041/3.573, allocations: 358.8 kB / 1.237 GB, free: 96.03 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000417/3.574, allocations: 173.1 kB / 1.237 GB, free: 95.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004815/3.574, allocations: 303.8 kB / 1.237 GB, free: 95.51 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004829/3.575, allocations: 207.8 kB / 1.238 GB, free: 95.31 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/3.575, allocations: 8 kB / 1.238 GB, free: 95.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001418/3.576, allocations: 0.5872 MB / 1.238 GB, free: 94.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/3.576, allocations: 5.562 kB / 1.238 GB, free: 94.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/3.576, allocations: 4.438 kB / 1.238 GB, free: 94.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002202/3.578, allocations: 240.6 kB / 1.238 GB, free: 94.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000938/3.579, allocations: 139.8 kB / 1.239 GB, free: 94.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007437/3.587, allocations: 23.04 MB / 1.261 GB, free: 69.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009266/3.588, allocations: 67.62 kB / 1.261 GB, free: 69.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/3.588, allocations: 51.98 kB / 1.261 GB, free: 69.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 45 * 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.0002063/3.588, allocations: 136.8 kB / 1.261 GB, free: 69.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/3.588, allocations: 51.44 kB / 1.261 GB, free: 69.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002099/3.59, allocations: 0.6548 MB / 1.262 GB, free: 68.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/3.59, allocations: 4 kB / 1.262 GB, free: 68.72 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/3.59, allocations: 0 / 1.262 GB, free: 68.72 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/3.59, allocations: 3.984 kB / 1.262 GB, free: 68.72 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/3.592, allocations: 0.9042 MB / 1.263 GB, free: 67.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/3.592, allocations: 4 kB / 1.263 GB, free: 67.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003837/3.593, allocations: 51.91 kB / 1.263 GB, free: 67.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002053/3.595, allocations: 232.7 kB / 1.263 GB, free: 67.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/3.595, allocations: 8 kB / 1.263 GB, free: 67.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000436/3.595, allocations: 0.5991 MB / 1.264 GB, free: 66.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/3.595, allocations: 0 / 1.264 GB, free: 66.83 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008626/3.596, allocations: 0.5043 MB / 1.264 GB, free: 66.26 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/3.596, allocations: 156.3 kB / 1.264 GB, free: 66.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/3.597, allocations: 4 kB / 1.264 GB, free: 66.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006768/3.597, allocations: 47.88 kB / 1.264 GB, free: 66.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.868e-05/3.597, allocations: 19.97 kB / 1.264 GB, free: 66.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.594e-05/3.597, allocations: 19.94 kB / 1.265 GB, free: 66 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006161/3.598, allocations: 381.5 kB / 1.265 GB, free: 65.63 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.61e-07/3.598, allocations: 3.938 kB / 1.265 GB, free: 65.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002567/3.601, allocations: 483.4 kB / 1.265 GB, free: 65.15 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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.004083/3.605, allocations: 2.527 MB / 1.268 GB, free: 62.72 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001267/3.606, allocations: 364.1 kB / 1.268 GB, free: 62.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/3.606, allocations: 4 kB / 1.268 GB, free: 62.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003656/3.606, allocations: 129 kB / 1.268 GB, free: 62.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/3.609, allocations: 281.6 kB / 1.269 GB, free: 61.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/3.612, allocations: 0.8144 MB / 1.269 GB, free: 61.09 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/3.612, allocations: 0.8632 MB / 1.27 GB, free: 60.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001345/3.614, allocations: 192.4 kB / 1.27 GB, free: 60.01 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004932/3.614, allocations: 207.4 kB / 1.271 GB, free: 59.81 MB / 0.5105 GB Notification: Performance of SimCode: time 1.183e-06/3.614, allocations: 4 kB / 1.271 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/3.716, allocations: 37.21 MB / 1.307 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/3.717, allocations: 246.6 kB / 1.307 GB, free: 22.29 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_TestComponents_NewFittings_Bends_CurvedBend.o ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c In file included from ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c:7: In file included from ./ModelicaTest_3_2_3_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_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c:245: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[6] /* 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[11] /* fitting1.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[10] /* fitting1.geometry.R_0 PARAM */, data->simulationInfo->realParameter[12] /* fitting1.geometry.delta PARAM */, data->simulationInfo->realParameter[9] /* 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[19] /* fitting1.dp variable */, data->localData[0]->realVars[20] /* fitting1.eta_a variable */, data->localData[0]->realVars[21] /* fitting1.eta_b variable */, data->simulationInfo->realParameter[7] /* fitting1.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[19] /* fitting1.dp variable */, data->localData[0]->realVars[17] /* fitting1.d_a variable */, data->localData[0]->realVars[18] /* fitting1.d_b variable */, data->simulationInfo->realParameter[7] /* fitting1.dp_small PARAM */)), data->localData[0]->realVars[19] /* fitting1.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_3_2_3_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_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.o' failed make: *** [ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.o] Error 1