Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.454/2.454, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.372e-05/3.405e-05, allocations: 1.062 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1283, allocations: 61.88 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.751/1.879, allocations: 0.5 GB / 0.9008 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/1.879, allocations: 91.31 kB / 0.9009 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.189/3.068, allocations: 249 MB / 1.144 GB, free: 80.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.387e-06/3.068, allocations: 0 / 1.144 GB, free: 80.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.419e-05/3.068, allocations: 23.88 kB / 1.144 GB, free: 80.02 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.003156/3.071, allocations: 1.085 MB / 1.145 GB, free: 78.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/3.072, allocations: 12.03 kB / 1.145 GB, free: 78.88 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/3.072, allocations: 82.52 kB / 1.145 GB, free: 78.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/3.073, allocations: 155.1 kB / 1.145 GB, free: 78.63 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/3.075, allocations: 0.4912 MB / 1.146 GB, free: 78.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/3.075, allocations: 33 kB / 1.146 GB, free: 78.07 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/3.075, allocations: 44 kB / 1.146 GB, free: 78.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/3.076, allocations: 0.6405 MB / 1.147 GB, free: 77.33 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/3.076, allocations: 3.984 kB / 1.147 GB, free: 77.32 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/3.077, allocations: 24 kB / 1.147 GB, free: 77.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/3.077, allocations: 12 kB / 1.147 GB, free: 77.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/3.078, allocations: 473.7 kB / 1.147 GB, free: 76.82 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.004113/3.082, allocations: 2.61 MB / 1.15 GB, free: 74.03 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009179/3.083, allocations: 294.8 kB / 1.15 GB, free: 73.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003838/3.083, allocations: 149 kB / 1.15 GB, free: 73.58 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004688/3.084, allocations: 441.4 kB / 1.15 GB, free: 73.06 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/3.084, allocations: 38.56 kB / 1.15 GB, free: 73.01 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=35): time 3.276e-06/3.084, allocations: 3.938 kB / 1.15 GB, free: 73.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35): time 0.001567/3.085, allocations: 462 kB / 1.151 GB, free: 72.55 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/3.085, allocations: 158.2 kB / 1.151 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007223/3.086, allocations: 464.7 kB / 1.151 GB, free: 71.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.582e-05/3.086, allocations: 33.7 kB / 1.152 GB, free: 71.85 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/3.086, allocations: 299.5 kB / 1.152 GB, free: 71.55 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/3.087, allocations: 122.2 kB / 1.152 GB, free: 71.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/3.087, allocations: 8 kB / 1.152 GB, free: 71.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001047/3.087, allocations: 370.7 kB / 1.152 GB, free: 71.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/3.087, allocations: 133.1 kB / 1.152 GB, free: 70.92 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004655/3.088, allocations: 305.9 kB / 1.153 GB, free: 70.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004502/3.088, allocations: 179.7 kB / 1.153 GB, free: 70.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/3.088, allocations: 4 kB / 1.153 GB, free: 70.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001407/3.089, allocations: 0.5368 MB / 1.153 GB, free: 69.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/3.09, allocations: 11.95 kB / 1.153 GB, free: 69.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/3.09, allocations: 4 kB / 1.153 GB, free: 69.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002234/3.092, allocations: 236.9 kB / 1.154 GB, free: 69.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007771/3.093, allocations: 119.8 kB / 1.154 GB, free: 69.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005/3.093, allocations: 0.5913 MB / 1.154 GB, free: 68.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008052/3.094, allocations: 67.48 kB / 1.154 GB, free: 68.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/3.094, allocations: 51.98 kB / 1.154 GB, free: 68.72 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.00019/3.094, allocations: 140.8 kB / 1.155 GB, free: 68.58 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/3.094, allocations: 55.34 kB / 1.155 GB, free: 68.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/3.097, allocations: 1.053 MB / 1.156 GB, free: 67.44 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/3.097, allocations: 0 / 1.156 GB, free: 67.44 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/3.097, allocations: 0 / 1.156 GB, free: 67.44 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/3.097, allocations: 4 kB / 1.156 GB, free: 67.43 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/3.099, allocations: 0.9292 MB / 1.157 GB, free: 66.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/3.099, allocations: 0 / 1.157 GB, free: 66.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000356/3.099, allocations: 55.84 kB / 1.157 GB, free: 66.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002042/3.101, allocations: 228.8 kB / 1.157 GB, free: 66.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/3.101, allocations: 11.98 kB / 1.157 GB, free: 66.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004079/3.102, allocations: 0.5835 MB / 1.157 GB, free: 65.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/3.102, allocations: 8.094 kB / 1.157 GB, free: 65.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008631/3.103, allocations: 0.5237 MB / 1.158 GB, free: 64.92 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002377/3.103, allocations: 160.2 kB / 1.158 GB, free: 64.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/3.103, allocations: 8 kB / 1.158 GB, free: 64.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007238/3.104, allocations: 27.98 kB / 1.158 GB, free: 64.71 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.068e-05/3.104, allocations: 27.91 kB / 1.158 GB, free: 64.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.7e-05/3.104, allocations: 15.98 kB / 1.158 GB, free: 64.67 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006705/3.105, allocations: 405.5 kB / 1.159 GB, free: 64.28 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.91e-07/3.105, allocations: 0 / 1.159 GB, free: 64.28 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001885/3.107, allocations: 447.5 kB / 1.159 GB, free: 63.84 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.00375/3.11, allocations: 2.607 MB / 1.162 GB, free: 61.17 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001073/3.112, allocations: 327.7 kB / 1.162 GB, free: 60.85 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/3.112, allocations: 4 kB / 1.162 GB, free: 60.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003316/3.112, allocations: 124.8 kB / 1.162 GB, free: 60.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002911/3.115, allocations: 359.8 kB / 1.162 GB, free: 60.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/3.117, allocations: 0.8071 MB / 1.163 GB, free: 59.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/3.118, allocations: 0.879 MB / 1.164 GB, free: 58.61 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002003/3.12, allocations: 0.5595 MB / 1.165 GB, free: 58.05 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005646/3.12, allocations: 223.3 kB / 1.165 GB, free: 57.83 MB / 0.5261 GB Notification: Performance of SimCode: time 1.423e-06/3.12, allocations: 4 kB / 1.165 GB, free: 57.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08873/3.209, allocations: 38.02 MB / 1.202 GB, free: 20.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002554/3.209, allocations: 230.2 kB / 1.202 GB, free: 19.73 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 trunk/Resources/C-Sources" -c -o ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c:7: In file included from ./ModelicaTest_trunk_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_trunk_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_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o' failed make: *** [ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o] Error 1