Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.636/2.636, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.443e-05/3.454e-05, allocations: 0 / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4511/0.4512, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8969/1.348, allocations: 338.4 MB / 0.7038 GB, free: 3.305 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/1.349, allocations: 86.45 kB / 0.7039 GB, free: 3.258 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 2.708/4.056, allocations: 454.8 MB / 1.148 GB, free: 53.17 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.245e-06/4.056, allocations: 2.844 kB / 1.148 GB, free: 53.17 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002067/4.057, allocations: 43.05 kB / 1.148 GB, free: 53.17 MB / 0.5105 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.008216/4.065, allocations: 1.927 MB / 1.15 GB, free: 52.46 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/4.065, allocations: 9.875 kB / 1.15 GB, free: 52.46 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005851/4.066, allocations: 203.2 kB / 1.15 GB, free: 52.42 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002363/4.068, allocations: 232.5 kB / 1.15 GB, free: 52.33 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00424/4.072, allocations: 1.09 MB / 1.151 GB, free: 52.06 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/4.072, allocations: 104.2 kB / 1.151 GB, free: 52.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003592/4.073, allocations: 129.3 kB / 1.152 GB, free: 52.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00663/4.079, allocations: 1.885 MB / 1.153 GB, free: 51.52 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.574e-05/4.079, allocations: 3.062 kB / 1.153 GB, free: 51.52 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004773/4.08, allocations: 73.94 kB / 1.154 GB, free: 51.52 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.828e-05/4.08, allocations: 34.31 kB / 1.154 GB, free: 51.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005811/4.086, allocations: 1.527 MB / 1.155 GB, free: 51.51 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01791/4.104, allocations: 9.27 MB / 1.164 GB, free: 45.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003928/4.108, allocations: 1.006 MB / 1.165 GB, free: 45.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/4.109, allocations: 480.8 kB / 1.166 GB, free: 45.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0112/4.121, allocations: 6.034 MB / 1.171 GB, free: 40.44 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.298e-05/4.121, allocations: 52.12 kB / 1.171 GB, free: 40.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=95): time 5.721e-06/4.121, allocations: 0 / 1.171 GB, free: 40.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95): time 0.005768/4.127, allocations: 1.02 MB / 1.172 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/4.127, allocations: 380.1 kB / 1.173 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/4.129, allocations: 0.993 MB / 1.174 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000314/4.129, allocations: 49.55 kB / 1.174 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006071/4.13, allocations: 0.7688 MB / 1.175 GB, free: 39.28 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000418/4.13, allocations: 344.3 kB / 1.175 GB, free: 39.07 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/4.13, allocations: 27.34 kB / 1.175 GB, free: 39.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001134/4.13, allocations: 361.8 kB / 1.175 GB, free: 38.76 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/4.131, allocations: 368.7 kB / 1.176 GB, free: 38.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/4.133, allocations: 0.9707 MB / 1.177 GB, free: 38.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/4.134, allocations: 0.5269 MB / 1.177 GB, free: 38.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/4.134, allocations: 3.656 kB / 1.177 GB, free: 38.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003968/4.138, allocations: 1.411 MB / 1.178 GB, free: 37.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/4.138, allocations: 15.5 kB / 1.179 GB, free: 37.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/4.138, allocations: 17.06 kB / 1.179 GB, free: 37.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.382e-05/4.138, allocations: 26.19 kB / 1.179 GB, free: 37.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005453/4.144, allocations: 0.5379 MB / 1.179 GB, free: 37.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/4.146, allocations: 1.877 MB / 1.181 GB, free: 36.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002481/4.148, allocations: 212.7 kB / 1.181 GB, free: 36.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002339/4.149, allocations: 93.2 kB / 1.181 GB, free: 36.04 MB / 0.5105 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.000465/4.149, allocations: 202.7 kB / 1.181 GB, free: 35.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00043/4.149, allocations: 153.3 kB / 1.182 GB, free: 35.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006358/4.156, allocations: 2.317 MB / 1.184 GB, free: 35.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.111e-05/4.156, allocations: 12.12 kB / 1.184 GB, free: 35.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/4.156, allocations: 3.75 kB / 1.184 GB, free: 35.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/4.156, allocations: 7.406 kB / 1.184 GB, free: 35.61 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009167/4.165, allocations: 3.719 MB / 1.187 GB, free: 34.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/4.165, allocations: 5.219 kB / 1.187 GB, free: 34.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002236/4.167, allocations: 311 kB / 1.188 GB, free: 34.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001142/4.169, allocations: 111.2 kB / 1.188 GB, free: 34.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001925/4.169, allocations: 48.2 kB / 1.188 GB, free: 34.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/4.171, allocations: 1.787 MB / 1.19 GB, free: 32.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.366e-05/4.171, allocations: 13.41 kB / 1.19 GB, free: 32.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004173/4.175, allocations: 1.993 MB / 1.192 GB, free: 31.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008252/4.176, allocations: 284.2 kB / 1.192 GB, free: 31.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000451/4.176, allocations: 34.03 kB / 1.192 GB, free: 31.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002242/4.179, allocations: 111.8 kB / 1.192 GB, free: 31.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002936/4.179, allocations: 112.4 kB / 1.192 GB, free: 31.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002595/4.179, allocations: 79.5 kB / 1.192 GB, free: 31.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001567/4.181, allocations: 0.7843 MB / 1.193 GB, free: 31.28 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.32e-07/4.181, allocations: 0 / 1.193 GB, free: 31.28 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004495/4.185, allocations: 0.9351 MB / 1.194 GB, free: 31.11 MB / 0.5105 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.00819/4.193, allocations: 5.749 MB / 1.2 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006929/4.2, allocations: 1.299 MB / 1.201 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.118e-05/4.2, allocations: 5.5 kB / 1.201 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003103/4.204, allocations: 0.6751 MB / 1.201 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007018/4.211, allocations: 0.7839 MB / 1.202 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009803/4.221, allocations: 2.636 MB / 1.205 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008884/4.221, allocations: 1.301 MB / 1.206 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003102/4.225, allocations: 462.2 kB / 1.206 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001287/4.226, allocations: 0.6444 MB / 1.207 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of SimCode: time 1.483e-06/4.226, allocations: 0 / 1.207 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1451/4.371, allocations: 58.44 MB / 1.264 GB, free: 21.76 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/4.371, allocations: 254.6 kB / 1.264 GB, free: 21.41 MB / 0.5105 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_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c In file included from ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c:7: In file included from ./ModelicaTest_3_2_3_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_3_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_3_2_3_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_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o' failed make: *** [ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o] Error 1