Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.712/2.712, allocations: 270 MB / 283.6 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.122e-05/3.129e-05, allocations: 4 kB / 348.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4253, allocations: 61.88 MB / 410.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.523/1.948, allocations: 0.5 GB / 0.9008 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004051/1.949, allocations: 86.12 kB / 0.9009 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.604/3.552, allocations: 249 MB / 1.144 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.144e-06/3.552, allocations: 0 / 1.144 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.758e-05/3.553, allocations: 16.81 kB / 1.144 GB, free: 105.2 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003461/3.556, allocations: 1.082 MB / 1.145 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/3.556, allocations: 9.438 kB / 1.145 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001971/3.556, allocations: 86.47 kB / 1.145 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/3.558, allocations: 151 kB / 1.145 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/3.56, allocations: 0.5004 MB / 1.146 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/3.56, allocations: 30.19 kB / 1.146 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/3.56, allocations: 44.56 kB / 1.146 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/3.561, allocations: 0.6251 MB / 1.147 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/3.561, allocations: 5.016 kB / 1.147 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/3.562, allocations: 24.34 kB / 1.147 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/3.562, allocations: 14.58 kB / 1.147 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/3.563, allocations: 476.4 kB / 1.147 GB, free: 104.4 MB / 0.5261 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.00421/3.567, allocations: 2.617 MB / 1.15 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000939/3.568, allocations: 294 kB / 1.15 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/3.568, allocations: 152.2 kB / 1.15 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005138/3.569, allocations: 440 kB / 1.15 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/3.569, allocations: 38.06 kB / 1.15 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=35): time 3.757e-06/3.569, allocations: 0 / 1.15 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35): time 0.001696/3.571, allocations: 452.6 kB / 1.151 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/3.571, allocations: 166.7 kB / 1.151 GB, free: 102 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007542/3.572, allocations: 461.2 kB / 1.151 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.928e-05/3.572, allocations: 36.23 kB / 1.151 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/3.572, allocations: 294.9 kB / 1.152 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/3.572, allocations: 127.4 kB / 1.152 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/3.572, allocations: 9.375 kB / 1.152 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001065/3.572, allocations: 368.7 kB / 1.152 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/3.573, allocations: 138.2 kB / 1.152 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005001/3.573, allocations: 302.6 kB / 1.153 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/3.574, allocations: 191.7 kB / 1.153 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/3.574, allocations: 0 / 1.153 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001474/3.575, allocations: 0.5296 MB / 1.153 GB, free: 101 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/3.575, allocations: 10.75 kB / 1.153 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/3.575, allocations: 3.281 kB / 1.153 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002198/3.577, allocations: 233.6 kB / 1.154 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007601/3.578, allocations: 120.5 kB / 1.154 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005234/3.579, allocations: 0.6046 MB / 1.154 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008282/3.58, allocations: 64.06 kB / 1.154 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/3.58, allocations: 58.58 kB / 1.154 GB, free: 100.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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 prepare postOptimizeDAE: time 0.0002007/3.58, allocations: 133.8 kB / 1.155 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/3.58, allocations: 60.69 kB / 1.155 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002895/3.583, allocations: 1.043 MB / 1.156 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/3.583, allocations: 2.781 kB / 1.156 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/3.583, allocations: 5.078 kB / 1.156 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/3.583, allocations: 0 / 1.156 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/3.585, allocations: 0.9233 MB / 1.157 GB, free: 99.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/3.585, allocations: 7.844 kB / 1.157 GB, free: 99.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003688/3.585, allocations: 50.62 kB / 1.157 GB, free: 99.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00208/3.588, allocations: 231 kB / 1.157 GB, free: 99.84 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.677e-05/3.588, allocations: 7.562 kB / 1.157 GB, free: 99.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004653/3.588, allocations: 0.5886 MB / 1.157 GB, free: 99.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/3.588, allocations: 3.938 kB / 1.157 GB, free: 99.32 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009872/3.589, allocations: 0.5239 MB / 1.158 GB, free: 98.99 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/3.589, allocations: 153.2 kB / 1.158 GB, free: 98.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/3.59, allocations: 9.875 kB / 1.158 GB, free: 98.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007283/3.59, allocations: 35.95 kB / 1.158 GB, free: 98.87 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.151e-05/3.59, allocations: 27.34 kB / 1.158 GB, free: 98.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.174e-05/3.59, allocations: 19.34 kB / 1.158 GB, free: 98.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007004/3.591, allocations: 403.9 kB / 1.159 GB, free: 98.77 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.91e-07/3.591, allocations: 0 / 1.159 GB, free: 98.77 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002199/3.593, allocations: 444.2 kB / 1.159 GB, free: 98.74 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.004133/3.598, allocations: 2.599 MB / 1.162 GB, free: 97.33 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001115/3.599, allocations: 329.4 kB / 1.162 GB, free: 97.33 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/3.599, allocations: 6.906 kB / 1.162 GB, free: 97.33 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003433/3.599, allocations: 135.5 kB / 1.162 GB, free: 97.33 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003055/3.602, allocations: 343.4 kB / 1.162 GB, free: 97.32 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/3.605, allocations: 0.8174 MB / 1.163 GB, free: 96.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/3.605, allocations: 0.8748 MB / 1.164 GB, free: 96.28 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002045/3.607, allocations: 0.5647 MB / 1.164 GB, free: 96.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005922/3.608, allocations: 228.8 kB / 1.165 GB, free: 96.26 MB / 0.5261 GB Notification: Performance of SimCode: time 1.162e-06/3.608, allocations: 0 / 1.165 GB, free: 96.26 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09146/3.7, allocations: 38.04 MB / 1.202 GB, free: 95.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/3.7, allocations: 242.1 kB / 1.202 GB, free: 94.81 MB / 0.5261 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c:7: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_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_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c:362:154: error: passing 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend__omcQuot_47656F6D657472792466726F6D5F5F64702467656F6D65747279' (aka '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[46] /* from_dp.m_flow variable */ = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, omc_Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend__omcQuot_47656F6D657472792466726F6D5F5F64702467656F6D65747279(threadData, data->simulationInfo->realParameter[42] /* from_dp.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[41] /* from_dp.geometry.R_0 PARAM */, data->simulationInfo->realParameter[43] /* from_dp.geometry.delta PARAM */, data->simulationInfo->realParameter[40] /* from_dp.geometry.K PARAM */), omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var(threadData, omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[43] /* from_dp.dp variable */, data->localData[0]->realVars[44] /* from_dp.eta_a variable */, data->localData[0]->realVars[45] /* from_dp.eta_b variable */, data->simulationInfo->realParameter[38] /* from_dp.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[43] /* from_dp.dp variable */, data->localData[0]->realVars[41] /* from_dp.d_a variable */, data->localData[0]->realVars[42] /* from_dp.d_b variable */, data->simulationInfo->realParameter[38] /* from_dp.dp_small PARAM */)), data->localData[0]->realVars[43] /* from_dp.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_functions.h:1920: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_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o' failed make: *** [ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o] Error 1