Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.487/2.487, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.702e-05/3.705e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1349, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.293/1.428, allocations: 339.7 MB / 0.7324 GB, free: 64.62 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/1.428, allocations: 94.92 kB / 0.7325 GB, free: 64.56 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.314/3.742, allocations: 463.9 MB / 1.186 GB, free: 35.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.494e-06/3.742, allocations: 0 / 1.186 GB, free: 35.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001873/3.742, allocations: 47.92 kB / 1.186 GB, free: 35.46 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.006524/3.749, allocations: 1.933 MB / 1.187 GB, free: 33.48 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/3.749, allocations: 8.875 kB / 1.187 GB, free: 33.47 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006034/3.75, allocations: 194.5 kB / 1.188 GB, free: 33.27 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/3.752, allocations: 237.8 kB / 1.188 GB, free: 33.04 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00352/3.755, allocations: 1.099 MB / 1.189 GB, free: 31.89 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/3.755, allocations: 94.66 kB / 1.189 GB, free: 31.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004283/3.756, allocations: 132 kB / 1.189 GB, free: 31.67 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005335/3.761, allocations: 1.887 MB / 1.191 GB, free: 29.58 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.315e-05/3.761, allocations: 11.88 kB / 1.191 GB, free: 29.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004225/3.762, allocations: 64 kB / 1.191 GB, free: 29.51 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/3.762, allocations: 36 kB / 1.191 GB, free: 29.47 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004702/3.766, allocations: 1.527 MB / 1.193 GB, free: 27.94 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01479/3.781, allocations: 9.266 MB / 1.202 GB, free: 18.08 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00274/3.784, allocations: 1.011 MB / 1.203 GB, free: 17.06 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/3.785, allocations: 483.8 kB / 1.203 GB, free: 16.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008156/3.793, allocations: 6.025 MB / 1.209 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/3.793, allocations: 51.34 kB / 1.209 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=95): time 4.058e-06/3.793, allocations: 4 kB / 1.209 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of matching and sorting (n=95): time 0.004549/3.798, allocations: 1.022 MB / 1.21 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/3.798, allocations: 376.6 kB / 1.21 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001911/3.8, allocations: 0.9962 MB / 1.211 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003882/3.8, allocations: 45.7 kB / 1.211 GB, free: 7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005793/3.801, allocations: 0.7669 MB / 1.212 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004101/3.801, allocations: 339.2 kB / 1.213 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/3.802, allocations: 28 kB / 1.213 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001071/3.802, allocations: 365.9 kB / 1.213 GB, free: 5.496 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009677/3.803, allocations: 367.9 kB / 1.213 GB, free: 5.137 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/3.804, allocations: 0.9746 MB / 1.214 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/3.805, allocations: 0.5202 MB / 1.215 GB, free: 3.363 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/3.805, allocations: 8 kB / 1.215 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004077/3.809, allocations: 1.417 MB / 1.216 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/3.81, allocations: 16.25 kB / 1.216 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/3.81, allocations: 19.94 kB / 1.216 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.25e-05/3.81, allocations: 28 kB / 1.216 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005652/3.815, allocations: 0.5343 MB / 1.217 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/3.818, allocations: 1.875 MB / 1.218 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002888/3.821, allocations: 218.3 kB / 1.219 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003575/3.821, allocations: 83.97 kB / 1.219 GB, free: 15.09 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005328/3.822, allocations: 208.4 kB / 1.219 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005382/3.822, allocations: 146.3 kB / 1.219 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006884/3.829, allocations: 2.324 MB / 1.221 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.688e-05/3.829, allocations: 15.98 kB / 1.221 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/3.829, allocations: 0 / 1.221 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.881e-05/3.829, allocations: 3.984 kB / 1.221 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/3.84, allocations: 3.718 MB / 1.225 GB, free: 8.352 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/3.84, allocations: 4.938 kB / 1.225 GB, free: 8.348 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002377/3.843, allocations: 307.5 kB / 1.225 GB, free: 8.047 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001196/3.844, allocations: 104.7 kB / 1.225 GB, free: 7.941 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000222/3.844, allocations: 47.97 kB / 1.225 GB, free: 7.895 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/3.846, allocations: 1.795 MB / 1.227 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.871e-05/3.846, allocations: 11.98 kB / 1.227 GB, free: 6.016 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004675/3.851, allocations: 1.986 MB / 1.229 GB, free: 3.68 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008364/3.852, allocations: 290.7 kB / 1.229 GB, free: 3.375 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004787/3.852, allocations: 35.94 kB / 1.23 GB, free: 3.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002252/3.855, allocations: 99.78 kB / 1.23 GB, free: 3.242 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002921/3.855, allocations: 116.2 kB / 1.23 GB, free: 3.129 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003018/3.855, allocations: 83.92 kB / 1.23 GB, free: 3.047 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001855/3.857, allocations: 0.7855 MB / 1.231 GB, free: 2.258 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.92e-07/3.857, allocations: 4 kB / 1.231 GB, free: 2.254 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00487/3.862, allocations: 0.94 MB / 1.231 GB, free: 1.312 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.425/4.287, allocations: 5.738 MB / 1.237 GB, free: 68.39 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007541/4.295, allocations: 1.301 MB / 1.238 GB, free: 68.37 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.116e-05/4.295, allocations: 6 kB / 1.238 GB, free: 68.37 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003443/4.298, allocations: 0.6662 MB / 1.239 GB, free: 68.37 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007864/4.306, allocations: 0.7768 MB / 1.24 GB, free: 68.36 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/4.317, allocations: 2.642 MB / 1.242 GB, free: 67.58 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/4.318, allocations: 1.299 MB / 1.244 GB, free: 66.86 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003603/4.322, allocations: 463.1 kB / 1.244 GB, free: 66.84 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001597/4.323, allocations: 0.6392 MB / 1.245 GB, free: 66.83 MB / 0.5417 GB Notification: Performance of SimCode: time 1.272e-06/4.323, allocations: 0 / 1.245 GB, free: 66.83 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1636/4.487, allocations: 58.48 MB / 1.302 GB, free: 63.79 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002448/4.487, allocations: 246.8 kB / 1.302 GB, free: 63.46 MB / 0.5417 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_SeveralTestCases.o ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c:7: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases_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_SeveralTestCases.c:998:156: error: passing 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend__omcQuot_47656F6D657472792466726F6D5F5F6470332467656F6D65747279' (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[199] /* from_dp3.m_flow variable */ = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, omc_Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend__omcQuot_47656F6D657472792466726F6D5F5F6470332467656F6D65747279(threadData, data->simulationInfo->realParameter[105] /* from_dp3.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[104] /* from_dp3.geometry.R_0 PARAM */, data->simulationInfo->realParameter[106] /* from_dp3.geometry.delta PARAM */, data->simulationInfo->realParameter[103] /* from_dp3.geometry.K PARAM */), omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var(threadData, omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[196] /* from_dp3.dp variable */, 0.001, 0.001, data->simulationInfo->realParameter[101] /* from_dp3.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[196] /* from_dp3.dp variable */, 995.586, 995.586, data->simulationInfo->realParameter[101] /* from_dp3.dp_small PARAM */)), data->localData[0]->realVars[196] /* from_dp3.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases_functions.h:1923: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_SeveralTestCases.o' failed make: *** [ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o] Error 1