Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.516/2.516, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.428e-05/4.439e-05, allocations: 4 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4264/0.4264, allocations: 54.85 MB / 359.9 MB, free: 3.188 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8054/1.232, allocations: 333.3 MB / 0.6769 GB, free: 15.16 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003575/1.232, allocations: 91.69 kB / 0.677 GB, free: 15.11 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.554/3.786, allocations: 448.1 MB / 1.115 GB, free: 44.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.944e-06/3.786, allocations: 3.75 kB / 1.115 GB, free: 44.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002078/3.786, allocations: 44.88 kB / 1.115 GB, free: 44.16 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.006827/3.793, allocations: 1.927 MB / 1.117 GB, free: 43.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/3.793, allocations: 8.625 kB / 1.117 GB, free: 43.4 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005067/3.794, allocations: 199.7 kB / 1.117 GB, free: 43.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/3.796, allocations: 226.3 kB / 1.117 GB, free: 43.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004263/3.8, allocations: 1.184 MB / 1.118 GB, free: 42.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/3.8, allocations: 96.62 kB / 1.118 GB, free: 42.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004721/3.801, allocations: 129.6 kB / 1.118 GB, free: 42.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0058/3.806, allocations: 1.867 MB / 1.12 GB, free: 42.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.607e-05/3.806, allocations: 14.39 kB / 1.12 GB, free: 42.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004272/3.807, allocations: 67.22 kB / 1.12 GB, free: 42.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-05/3.807, allocations: 34.78 kB / 1.12 GB, free: 42.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004971/3.812, allocations: 1.547 MB / 1.122 GB, free: 42.44 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01408/3.826, allocations: 9.151 MB / 1.131 GB, free: 36.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002913/3.829, allocations: 1.015 MB / 1.132 GB, free: 36.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/3.83, allocations: 474.2 kB / 1.132 GB, free: 36.49 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01015/3.84, allocations: 6.903 MB / 1.139 GB, free: 30.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/3.841, allocations: 44.38 kB / 1.139 GB, free: 30.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=41): time 3.787e-06/3.841, allocations: 0 / 1.139 GB, free: 30.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=41): time 0.002821/3.843, allocations: 0.5671 MB / 1.139 GB, free: 30.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/3.844, allocations: 373.7 kB / 1.14 GB, free: 30.16 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/3.846, allocations: 1.082 MB / 1.141 GB, free: 29.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001837/3.846, allocations: 41.27 kB / 1.141 GB, free: 29.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007115/3.847, allocations: 0.9913 MB / 1.142 GB, free: 29.38 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/3.847, allocations: 169.7 kB / 1.142 GB, free: 29.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.886e-05/3.847, allocations: 34.47 kB / 1.142 GB, free: 29.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/3.847, allocations: 363.1 kB / 1.142 GB, free: 28.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007135/3.848, allocations: 270.2 kB / 1.143 GB, free: 28.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/3.849, allocations: 1.346 MB / 1.144 GB, free: 27.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/3.85, allocations: 0.5142 MB / 1.145 GB, free: 27.58 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-05/3.85, allocations: 9.812 kB / 1.145 GB, free: 27.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004038/3.854, allocations: 1.568 MB / 1.146 GB, free: 27.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.432e-05/3.854, allocations: 23.27 kB / 1.146 GB, free: 27.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.574e-05/3.854, allocations: 37.09 kB / 1.146 GB, free: 27.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-05/3.855, allocations: 58.27 kB / 1.146 GB, free: 27.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00791/3.863, allocations: 0.6924 MB / 1.147 GB, free: 27.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/3.864, allocations: 1.904 MB / 1.149 GB, free: 25.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003455/3.868, allocations: 263.4 kB / 1.149 GB, free: 25.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004935/3.869, allocations: 112.8 kB / 1.149 GB, free: 25.61 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 163 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 200 * 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.0004228/3.869, allocations: 237.7 kB / 1.149 GB, free: 25.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005403/3.87, allocations: 146.9 kB / 1.149 GB, free: 25.41 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004453/3.874, allocations: 1.26 MB / 1.151 GB, free: 25.29 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-05/3.874, allocations: 16.2 kB / 1.151 GB, free: 25.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/3.874, allocations: 0 / 1.151 GB, free: 25.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/3.874, allocations: 5.375 kB / 1.151 GB, free: 25.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/3.877, allocations: 0.9831 MB / 1.152 GB, free: 25.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/3.877, allocations: 4.625 kB / 1.152 GB, free: 25.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001617/3.878, allocations: 202 kB / 1.152 GB, free: 25.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005414/3.879, allocations: 59.92 kB / 1.152 GB, free: 25.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/3.879, allocations: 19.97 kB / 1.152 GB, free: 25.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/3.88, allocations: 1.749 MB / 1.154 GB, free: 23.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/3.88, allocations: 5.375 kB / 1.154 GB, free: 23.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/3.882, allocations: 0.7881 MB / 1.154 GB, free: 23.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00078/3.883, allocations: 270.6 kB / 1.155 GB, free: 22.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003537/3.884, allocations: 11.53 kB / 1.155 GB, free: 22.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/3.885, allocations: 60.19 kB / 1.155 GB, free: 22.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/3.885, allocations: 42.78 kB / 1.155 GB, free: 22.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/3.885, allocations: 33.08 kB / 1.155 GB, free: 22.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001674/3.887, allocations: 0.8204 MB / 1.156 GB, free: 22.81 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.042e-06/3.887, allocations: 0 / 1.156 GB, free: 22.81 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004202/3.891, allocations: 0.8145 MB / 1.156 GB, free: 22.66 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005445/3.897, allocations: 2.35 MB / 1.159 GB, free: 21.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007853/3.905, allocations: 1.144 MB / 1.16 GB, free: 21.69 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/3.905, allocations: 0 / 1.16 GB, free: 21.69 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001595/3.906, allocations: 365.7 kB / 1.16 GB, free: 21.69 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004907/3.911, allocations: 0.5428 MB / 1.161 GB, free: 21.67 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008611/3.92, allocations: 2.441 MB / 1.163 GB, free: 21.01 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/3.921, allocations: 1.278 MB / 1.164 GB, free: 36.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002617/3.924, allocations: 367.5 kB / 1.165 GB, free: 36.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/3.925, allocations: 0.6064 MB / 1.165 GB, free: 36.27 MB / 0.4948 GB Notification: Performance of SimCode: time 2.073e-06/3.925, allocations: 2.188 kB / 1.165 GB, free: 36.27 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1765/4.102, allocations: 48.5 MB / 1.213 GB, free: 33.19 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002921/4.102, allocations: 248.1 kB / 1.213 GB, free: 32.86 MB / 0.4948 GB 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_Dissipation_TestCases_PressureLoss_SeveralTestCases.o ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c In file included from ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c:7: In file included from ./ModelicaTest_3_2_2_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_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c:430:156: error: passing 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_D_Geometry24from__dp324geometry' (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[229] /* from_dp3.m_flow variable */ = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, omc_Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_D_Geometry24from__dp324geometry(threadData, data->simulationInfo->realParameter[69] /* from_dp3.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[68] /* from_dp3.geometry.R_0 PARAM */, data->simulationInfo->realParameter[70] /* from_dp3.geometry.delta PARAM */, data->simulationInfo->realParameter[67] /* 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[226] /* from_dp3.dp variable */, 0.001, 0.001, data->simulationInfo->realParameter[65] /* from_dp3.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[226] /* from_dp3.dp variable */, 995.586, 995.586, data->simulationInfo->realParameter[65] /* from_dp3.dp_small PARAM */)), data->localData[0]->realVars[226] /* from_dp3.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_3_2_2_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_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o' failed make: *** [ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o] Error 1