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.313/2.313, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.692e-05/3.701e-05, allocations: 0 / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4032, allocations: 54.85 MB / 359.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.844/2.247, allocations: 0.6136 GB / 0.9651 GB, free: 116 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004028/2.247, allocations: 97.28 kB / 0.9652 GB, free: 115.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.145/3.393, allocations: 242.6 MB / 1.202 GB, free: 76.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.884e-06/3.393, allocations: 0 / 1.202 GB, free: 76.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.652e-05/3.393, allocations: 19.98 kB / 1.202 GB, free: 76.32 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.002573/3.395, allocations: 0.9666 MB / 1.203 GB, free: 75.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/3.395, allocations: 12.03 kB / 1.203 GB, free: 75.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/3.396, allocations: 78.53 kB / 1.203 GB, free: 75.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/3.397, allocations: 135.2 kB / 1.203 GB, free: 75.08 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/3.398, allocations: 0.5273 MB / 1.204 GB, free: 74.51 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.728e-05/3.398, allocations: 33 kB / 1.204 GB, free: 74.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.045e-05/3.398, allocations: 40 kB / 1.204 GB, free: 74.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/3.4, allocations: 0.5627 MB / 1.204 GB, free: 73.83 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/3.4, allocations: 3.953 kB / 1.204 GB, free: 73.83 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.622e-05/3.4, allocations: 16 kB / 1.204 GB, free: 73.81 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/3.4, allocations: 15.94 kB / 1.204 GB, free: 73.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/3.401, allocations: 433.4 kB / 1.205 GB, free: 73.38 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.00351/3.404, allocations: 2.595 MB / 1.207 GB, free: 70.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008302/3.405, allocations: 295.5 kB / 1.208 GB, free: 70.26 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/3.406, allocations: 153.4 kB / 1.208 GB, free: 70.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004511/3.406, allocations: 326 kB / 1.208 GB, free: 69.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/3.406, allocations: 42.83 kB / 1.208 GB, free: 69.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.246e-06/3.406, allocations: 0 / 1.208 GB, free: 69.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.00142/3.408, allocations: 416.3 kB / 1.209 GB, free: 69.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/3.408, allocations: 136.5 kB / 1.209 GB, free: 69.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006037/3.408, allocations: 383 kB / 1.209 GB, free: 68.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.873e-05/3.408, allocations: 29.7 kB / 1.209 GB, free: 68.69 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/3.409, allocations: 299.5 kB / 1.209 GB, free: 68.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/3.409, allocations: 118.3 kB / 1.209 GB, free: 68.28 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/3.409, allocations: 8 kB / 1.21 GB, free: 68.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/3.409, allocations: 354.8 kB / 1.21 GB, free: 67.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/3.409, allocations: 181 kB / 1.21 GB, free: 67.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000512/3.41, allocations: 337.9 kB / 1.21 GB, free: 67.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004812/3.41, allocations: 219.8 kB / 1.211 GB, free: 67.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/3.41, allocations: 0 / 1.211 GB, free: 67.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001495/3.412, allocations: 0.6147 MB / 1.211 GB, free: 66.49 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/3.412, allocations: 8 kB / 1.211 GB, free: 66.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/3.412, allocations: 4 kB / 1.211 GB, free: 66.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002219/3.414, allocations: 245 kB / 1.211 GB, free: 66.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009875/3.415, allocations: 147.8 kB / 1.212 GB, free: 66.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007216/3.422, allocations: 23.05 MB / 1.234 GB, free: 41.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008312/3.423, allocations: 71.62 kB / 1.234 GB, free: 41.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/3.423, allocations: 55.94 kB / 1.234 GB, free: 41.36 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.0001913/3.424, allocations: 136.8 kB / 1.234 GB, free: 41.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/3.424, allocations: 55.42 kB / 1.234 GB, free: 41.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002128/3.426, allocations: 0.632 MB / 1.235 GB, free: 40.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/3.426, allocations: 3.938 kB / 1.235 GB, free: 40.49 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/3.426, allocations: 0 / 1.235 GB, free: 40.49 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/3.426, allocations: 4 kB / 1.235 GB, free: 40.49 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002241/3.428, allocations: 1.1 MB / 1.236 GB, free: 39.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/3.428, allocations: 7.953 kB / 1.236 GB, free: 39.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003972/3.429, allocations: 55.97 kB / 1.236 GB, free: 39.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002074/3.431, allocations: 240.7 kB / 1.236 GB, free: 38.99 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.083e-05/3.431, allocations: 8 kB / 1.236 GB, free: 38.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004348/3.431, allocations: 0.5914 MB / 1.237 GB, free: 38.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/3.431, allocations: 8.062 kB / 1.237 GB, free: 38.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000936/3.432, allocations: 0.5609 MB / 1.237 GB, free: 37.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/3.432, allocations: 140.5 kB / 1.238 GB, free: 37.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/3.433, allocations: 12 kB / 1.238 GB, free: 37.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005284/3.433, allocations: 35.91 kB / 1.238 GB, free: 37.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.063e-05/3.433, allocations: 35.86 kB / 1.238 GB, free: 37.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.662e-05/3.433, allocations: 19.98 kB / 1.238 GB, free: 37.45 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005186/3.434, allocations: 317.2 kB / 1.238 GB, free: 37.15 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/3.434, allocations: 0 / 1.238 GB, free: 37.15 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002628/3.436, allocations: 483.3 kB / 1.238 GB, free: 36.68 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.004194/3.441, allocations: 2.73 MB / 1.241 GB, free: 33.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001235/3.442, allocations: 391.5 kB / 1.242 GB, free: 33.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/3.442, allocations: 0 / 1.242 GB, free: 33.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003642/3.442, allocations: 141.5 kB / 1.242 GB, free: 33.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/3.444, allocations: 218.3 kB / 1.242 GB, free: 33.15 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/3.455, allocations: 2.41 MB / 1.244 GB, free: 30.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/3.455, allocations: 0.8706 MB / 1.245 GB, free: 29.78 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001271/3.456, allocations: 180.3 kB / 1.245 GB, free: 29.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004906/3.457, allocations: 211.4 kB / 1.245 GB, free: 29.39 MB / 490.7 MB Notification: Performance of SimCode: time 1.002e-06/3.457, allocations: 0 / 1.245 GB, free: 29.39 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4207/3.878, allocations: 35.64 MB / 1.28 GB, free: 91.33 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/3.878, allocations: 237.7 kB / 1.28 GB, free: 91.02 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