Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.334/2.334, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.908e-05/3.931e-05, allocations: 7.984 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4175, allocations: 54.85 MB / 359.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.872/2.289, allocations: 0.6136 GB / 0.9651 GB, free: 116.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/2.29, allocations: 90.19 kB / 0.9651 GB, free: 116 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.209/3.498, allocations: 242.6 MB / 1.202 GB, free: 76.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.704e-06/3.498, allocations: 0 / 1.202 GB, free: 76.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.828e-05/3.498, allocations: 12 kB / 1.202 GB, free: 76.46 MB / 490.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.002763/3.501, allocations: 0.9588 MB / 1.203 GB, free: 75.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/3.501, allocations: 16.03 kB / 1.203 GB, free: 75.45 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/3.501, allocations: 78.53 kB / 1.203 GB, free: 75.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/3.503, allocations: 135.2 kB / 1.203 GB, free: 75.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/3.504, allocations: 0.5273 MB / 1.204 GB, free: 74.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/3.504, allocations: 37 kB / 1.204 GB, free: 74.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.478e-05/3.504, allocations: 40 kB / 1.204 GB, free: 74.58 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/3.506, allocations: 0.5685 MB / 1.204 GB, free: 73.97 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/3.506, allocations: 3.953 kB / 1.204 GB, free: 73.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.603e-05/3.506, allocations: 16 kB / 1.204 GB, free: 73.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/3.506, allocations: 12 kB / 1.204 GB, free: 73.94 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/3.507, allocations: 442.9 kB / 1.205 GB, free: 73.5 MB / 490.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.003298/3.51, allocations: 2.595 MB / 1.207 GB, free: 70.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007874/3.511, allocations: 295.7 kB / 1.208 GB, free: 70.39 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/3.511, allocations: 161.4 kB / 1.208 GB, free: 70.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004119/3.512, allocations: 322 kB / 1.208 GB, free: 69.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/3.512, allocations: 38.83 kB / 1.208 GB, free: 69.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.557e-06/3.512, allocations: 4 kB / 1.208 GB, free: 69.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.001262/3.513, allocations: 420 kB / 1.209 GB, free: 69.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/3.513, allocations: 132.5 kB / 1.209 GB, free: 69.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005245/3.514, allocations: 383 kB / 1.209 GB, free: 68.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.756e-05/3.514, allocations: 41.64 kB / 1.209 GB, free: 68.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/3.514, allocations: 287.5 kB / 1.209 GB, free: 68.51 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.526e-05/3.514, allocations: 122.3 kB / 1.209 GB, free: 68.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/3.514, allocations: 12 kB / 1.209 GB, free: 68.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.75e-05/3.514, allocations: 358.8 kB / 1.21 GB, free: 68.02 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/3.515, allocations: 173.1 kB / 1.21 GB, free: 67.85 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004844/3.515, allocations: 339 kB / 1.21 GB, free: 67.44 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004654/3.516, allocations: 219.8 kB / 1.211 GB, free: 67.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/3.516, allocations: 0 / 1.211 GB, free: 67.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001338/3.517, allocations: 0.6267 MB / 1.211 GB, free: 66.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/3.517, allocations: 12.12 kB / 1.211 GB, free: 66.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/3.517, allocations: 4 kB / 1.211 GB, free: 66.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0021/3.519, allocations: 244.5 kB / 1.211 GB, free: 66.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008744/3.52, allocations: 147.8 kB / 1.212 GB, free: 66.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007037/3.527, allocations: 23.1 MB / 1.234 GB, free: 41.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008671/3.528, allocations: 67.69 kB / 1.234 GB, free: 41.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/3.528, allocations: 55.94 kB / 1.234 GB, free: 41.4 MB / 490.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.0001937/3.528, allocations: 136.8 kB / 1.234 GB, free: 41.26 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/3.529, allocations: 51.42 kB / 1.234 GB, free: 41.21 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/3.531, allocations: 0.6282 MB / 1.235 GB, free: 40.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/3.531, allocations: 11.98 kB / 1.235 GB, free: 40.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/3.531, allocations: 0 / 1.235 GB, free: 40.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/3.531, allocations: 0 / 1.235 GB, free: 40.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/3.533, allocations: 1.112 MB / 1.236 GB, free: 39.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/3.533, allocations: 7.953 kB / 1.236 GB, free: 39.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004051/3.534, allocations: 59.89 kB / 1.236 GB, free: 39.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002123/3.536, allocations: 232.7 kB / 1.236 GB, free: 39.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.977e-05/3.536, allocations: 8 kB / 1.236 GB, free: 39.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004805/3.536, allocations: 0.5914 MB / 1.237 GB, free: 38.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/3.537, allocations: 4.031 kB / 1.237 GB, free: 38.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009895/3.538, allocations: 0.5725 MB / 1.238 GB, free: 37.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/3.538, allocations: 140.4 kB / 1.238 GB, free: 37.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/3.538, allocations: 8 kB / 1.238 GB, free: 37.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005617/3.538, allocations: 35.97 kB / 1.238 GB, free: 37.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/3.539, allocations: 31.92 kB / 1.238 GB, free: 37.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.068e-05/3.539, allocations: 23.98 kB / 1.238 GB, free: 37.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005415/3.539, allocations: 317.2 kB / 1.238 GB, free: 37.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/3.539, allocations: 4 kB / 1.238 GB, free: 37.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002724/3.542, allocations: 487.2 kB / 1.239 GB, free: 36.71 MB / 490.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.00451/3.546, allocations: 2.711 MB / 1.241 GB, free: 33.92 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001319/3.548, allocations: 400.7 kB / 1.242 GB, free: 33.53 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/3.548, allocations: 0 / 1.242 GB, free: 33.53 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003897/3.548, allocations: 148.2 kB / 1.242 GB, free: 33.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/3.55, allocations: 225.8 kB / 1.242 GB, free: 33.17 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/3.561, allocations: 2.406 MB / 1.244 GB, free: 30.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/3.562, allocations: 0.8627 MB / 1.245 GB, free: 29.81 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001307/3.563, allocations: 192.2 kB / 1.245 GB, free: 29.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005374/3.563, allocations: 207.4 kB / 1.245 GB, free: 29.42 MB / 490.7 MB Notification: Performance of SimCode: time 1.673e-06/3.563, allocations: 3.938 kB / 1.245 GB, free: 29.41 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4315/3.995, allocations: 35.59 MB / 1.28 GB, free: 91 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002519/3.995, allocations: 238 kB / 1.28 GB, free: 90.69 MB / 490.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_2_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.o ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c In file included from ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c:7: In file included from ./ModelicaTest_3_2_2_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_2_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_2_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_2_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.o' failed make: *** [ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.o] Error 1