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.924/1.924, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.274e-05/4.284e-05, allocations: 5.547 kB / 273.2 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1093, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.968/2.077, allocations: 0.6068 GB / 0.9211 GB, free: 53.68 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/2.077, allocations: 92.62 kB / 0.9212 GB, free: 53.63 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.442/3.519, allocations: 242.5 MB / 1.158 GB, free: 69.67 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.174e-06/3.519, allocations: 4.812 kB / 1.158 GB, free: 69.67 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.046e-05/3.519, allocations: 18.97 kB / 1.158 GB, free: 69.67 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.003066/3.522, allocations: 0.9505 MB / 1.159 GB, free: 69.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/3.522, allocations: 9.344 kB / 1.159 GB, free: 69.29 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/3.522, allocations: 83.58 kB / 1.159 GB, free: 69.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/3.524, allocations: 133.3 kB / 1.159 GB, free: 69.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/3.526, allocations: 0.5305 MB / 1.16 GB, free: 69 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.553e-05/3.526, allocations: 37.75 kB / 1.16 GB, free: 69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/3.526, allocations: 41.09 kB / 1.16 GB, free: 69 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/3.527, allocations: 0.5594 MB / 1.16 GB, free: 68.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/3.527, allocations: 0 / 1.16 GB, free: 68.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.341e-05/3.527, allocations: 19.41 kB / 1.16 GB, free: 68.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/3.527, allocations: 10.97 kB / 1.16 GB, free: 68.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/3.529, allocations: 439.2 kB / 1.161 GB, free: 68.86 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.003971/3.533, allocations: 2.594 MB / 1.163 GB, free: 67.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008674/3.533, allocations: 299.4 kB / 1.164 GB, free: 67.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/3.534, allocations: 153.1 kB / 1.164 GB, free: 67.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004516/3.534, allocations: 324.2 kB / 1.164 GB, free: 66.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/3.534, allocations: 34.53 kB / 1.164 GB, free: 66.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 2.925e-06/3.534, allocations: 0 / 1.164 GB, free: 66.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.001398/3.536, allocations: 423 kB / 1.164 GB, free: 66.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/3.536, allocations: 135.7 kB / 1.165 GB, free: 66.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005992/3.536, allocations: 379.9 kB / 1.165 GB, free: 66.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.1e-05/3.537, allocations: 28.77 kB / 1.165 GB, free: 66.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/3.537, allocations: 298.7 kB / 1.165 GB, free: 66.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/3.537, allocations: 119.3 kB / 1.165 GB, free: 66.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/3.537, allocations: 11 kB / 1.165 GB, free: 66.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.874e-05/3.537, allocations: 358 kB / 1.166 GB, free: 65.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003915/3.537, allocations: 177.5 kB / 1.166 GB, free: 65.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004887/3.538, allocations: 341.3 kB / 1.166 GB, free: 65.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004875/3.538, allocations: 220.7 kB / 1.166 GB, free: 65.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/3.538, allocations: 2.219 kB / 1.166 GB, free: 65.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001483/3.54, allocations: 0.6172 MB / 1.167 GB, free: 65.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/3.54, allocations: 3.875 kB / 1.167 GB, free: 65.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/3.54, allocations: 7.75 kB / 1.167 GB, free: 65.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002197/3.542, allocations: 236.5 kB / 1.167 GB, free: 65.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009461/3.543, allocations: 147.4 kB / 1.167 GB, free: 65.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0073/3.55, allocations: 23.05 MB / 1.19 GB, free: 41.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009607/3.552, allocations: 68.39 kB / 1.19 GB, free: 41.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/3.552, allocations: 55.62 kB / 1.19 GB, free: 41.79 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.0001933/3.552, allocations: 138 kB / 1.19 GB, free: 41.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/3.552, allocations: 47.22 kB / 1.19 GB, free: 41.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/3.554, allocations: 0.6339 MB / 1.191 GB, free: 41.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/3.554, allocations: 3.875 kB / 1.191 GB, free: 41.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/3.554, allocations: 3.891 kB / 1.191 GB, free: 41.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/3.554, allocations: 3.953 kB / 1.191 GB, free: 41.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/3.556, allocations: 1.11 MB / 1.192 GB, free: 41.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/3.556, allocations: 2.156 kB / 1.192 GB, free: 41.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004011/3.557, allocations: 60.67 kB / 1.192 GB, free: 41.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002051/3.559, allocations: 242.2 kB / 1.192 GB, free: 41.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.15e-05/3.559, allocations: 7.469 kB / 1.192 GB, free: 41.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004675/3.559, allocations: 0.5879 MB / 1.193 GB, free: 40.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/3.559, allocations: 8.406 kB / 1.193 GB, free: 40.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009903/3.56, allocations: 0.5612 MB / 1.193 GB, free: 40.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002563/3.561, allocations: 143.6 kB / 1.194 GB, free: 40.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/3.561, allocations: 10.09 kB / 1.194 GB, free: 40.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005583/3.561, allocations: 32.69 kB / 1.194 GB, free: 40.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.191e-05/3.561, allocations: 28.83 kB / 1.194 GB, free: 40.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.904e-05/3.562, allocations: 24.25 kB / 1.194 GB, free: 40.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005176/3.562, allocations: 315.1 kB / 1.194 GB, free: 40.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.61e-07/3.562, allocations: 0 / 1.194 GB, free: 40.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002732/3.565, allocations: 486.6 kB / 1.194 GB, free: 39.95 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.00427/3.569, allocations: 2.741 MB / 1.197 GB, free: 38.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00122/3.57, allocations: 385.7 kB / 1.197 GB, free: 38.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/3.57, allocations: 2.688 kB / 1.197 GB, free: 38.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000385/3.571, allocations: 147.9 kB / 1.198 GB, free: 38.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/3.573, allocations: 235.4 kB / 1.198 GB, free: 38.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/3.584, allocations: 2.39 MB / 1.2 GB, free: 38.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/3.584, allocations: 0.8684 MB / 1.201 GB, free: 37.37 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001294/3.585, allocations: 185.9 kB / 1.201 GB, free: 37.35 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005028/3.586, allocations: 202.8 kB / 1.201 GB, free: 37.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/3.586, allocations: 3.969 kB / 1.201 GB, free: 37.34 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08577/3.672, allocations: 35.67 MB / 1.236 GB, free: 35.41 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/3.672, allocations: 234.6 kB / 1.236 GB, free: 35.1 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