Running command: "" <> buildModelFMU(SiemensPower.Components.Pipes.Tests.TubeWithoutWall,fileNamePrefix="SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(SiemensPower): time 1.957/1.957, allocations: 176.9 MB / 189 MB, free: 6.754 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.438e-05/4.461e-05, allocations: 0 / 232.1 MB, free: 11.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2946, allocations: 40.03 MB / 272.1 MB, free: 2.512 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.611/8.906, allocations: 2.901 GB / 3.167 GB, free: 66.33 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001532/8.906, allocations: 58.19 kB / 3.167 GB, free: 66.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.726/13.63, allocations: 0.9508 GB / 4.118 GB, free: 46.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.734e-06/13.63, allocations: 3.062 kB / 4.118 GB, free: 46.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002501/13.63, allocations: 61.39 kB / 4.118 GB, free: 46.68 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 725 * Number of variables: 725 Notification: Performance of Generate backend data structure: time 0.02199/13.65, allocations: 4.161 MB / 4.122 GB, free: 44.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/13.65, allocations: 7.406 kB / 4.122 GB, free: 44.93 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001682/13.66, allocations: 404.5 kB / 4.123 GB, free: 44.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01896/13.67, allocations: 1.636 MB / 4.124 GB, free: 44.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0141/13.69, allocations: 3.166 MB / 4.127 GB, free: 44.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008715/13.69, allocations: 445.5 kB / 4.128 GB, free: 44.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001715/13.69, allocations: 300.2 kB / 4.128 GB, free: 44.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02321/13.71, allocations: 6.291 MB / 4.134 GB, free: 43.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/13.71, allocations: 13.91 kB / 4.134 GB, free: 43.33 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001014/13.72, allocations: 127.4 kB / 4.134 GB, free: 43.33 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001364/13.72, allocations: 112.2 kB / 4.134 GB, free: 43.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02377/13.74, allocations: 6.634 MB / 4.141 GB, free: 42.36 MB / 394.7 MB 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.04472/13.78, allocations: 22.36 MB / 4.163 GB, free: 26.49 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01678/13.8, allocations: 5.159 MB / 4.168 GB, free: 24.81 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006176/13.81, allocations: 2.612 MB / 4.17 GB, free: 23.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003521/13.81, allocations: 1.462 MB / 4.172 GB, free: 22.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01514/13.83, allocations: 4.069 MB / 4.176 GB, free: 19.35 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003018/13.83, allocations: 259 kB / 4.176 GB, free: 19.1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=358): time 1.047e-05/13.83, allocations: 4 kB / 4.176 GB, free: 19.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=382): time 0.06258/13.89, allocations: 16.02 MB / 4.191 GB, free: 5.746 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/13.89, allocations: 182.6 kB / 4.192 GB, free: 5.539 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004163/13.9, allocations: 1.807 MB / 4.193 GB, free: 3.926 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001122/13.9, allocations: 100.7 kB / 4.194 GB, free: 3.824 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001253/13.9, allocations: 1.095 MB / 4.195 GB, free: 2.828 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002399/13.9, allocations: 1.323 MB / 4.196 GB, free: 1.633 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006058/13.9, allocations: 84 kB / 4.196 GB, free: 1.551 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003293/13.9, allocations: 472.4 kB / 4.196 GB, free: 1.129 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3147/14.22, allocations: 2.282 MB / 4.199 GB, free: 45.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007518/14.22, allocations: 3.109 MB / 4.202 GB, free: 44.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006826/14.23, allocations: 2.732 MB / 4.204 GB, free: 44.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-05/14.23, allocations: 8.844 kB / 4.204 GB, free: 44.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=521) (initialization): time 0.02021/14.25, allocations: 7.338 MB / 4.212 GB, free: 44.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/14.25, allocations: 113.5 kB / 4.212 GB, free: 44.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-05/14.25, allocations: 23.31 kB / 4.212 GB, free: 44.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02301/14.28, allocations: 3.292 MB / 4.215 GB, free: 44.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004729/14.28, allocations: 0.6549 MB / 4.216 GB, free: 44.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01497/14.29, allocations: 5.404 MB / 4.221 GB, free: 43.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00849/14.3, allocations: 497.6 kB / 4.221 GB, free: 43.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001307/14.3, allocations: 209.7 kB / 4.221 GB, free: 43.62 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 47 (tube1.friction.DPMFLOW_IN_con.roughness,tube2.friction.DPMFLOW_IN_con.roughness,$whenCondition1,$whenCondition2,$whenCondition3,tube2.fluid[1].phase,tube2.fluid[2].phase,tube2.fluid[3].phase,tube2.fluid[4].phase,tube2.fluid[5].phase,tube2.fluid[6].phase,tube2.fluid[7].phase,tube2.fluid[8].phase,tube2.fluid[9].phase,tube2.fluid[10].phase,watersource_mh.medium.phase,watersink_ph.water.phase,InletMassFlowRate.originalTable.a,InletMassFlowRate.originalTable.b,InletMassFlowRate.originalTable.last,$PRE.InletMassFlowRate.originalTable.nextEvent,InletMassFlowRate.originalTable.nextEvent,OutletPressure.originalTable.a,OutletPressure.originalTable.b,OutletPressure.originalTable.last,$PRE.OutletPressure.originalTable.nextEvent,OutletPressure.originalTable.nextEvent,InletEnthalpy.originalTable.a,InletEnthalpy.originalTable.b,InletEnthalpy.originalTable.last,$PRE.InletEnthalpy.originalTable.nextEvent,InletEnthalpy.originalTable.nextEvent,tube1.fluid[1].phase,tube1.fluid[2].phase,tube1.fluid[3].phase,tube1.fluid[4].phase,tube1.fluid[5].phase,tube1.fluid[6].phase,tube1.fluid[7].phase,tube1.fluid[8].phase,tube1.fluid[9].phase,tube1.fluid[10].phase,watersource_add.medium.phase,tube1.state_from_b.phase,tube1.state_from_a.phase,tube2.state_from_b.phase,tube2.state_from_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (367): * Single equations (assignments): 363 * Array equations: 0 * Algorithm blocks: 3 * 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 {22 121} Notification: Performance of prepare postOptimizeDAE: time 0.001355/14.31, allocations: 456.8 kB / 4.222 GB, free: 43.42 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001208/14.31, allocations: 285.1 kB / 4.222 GB, free: 43.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03174/14.34, allocations: 15.93 MB / 4.238 GB, free: 42.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000191/14.34, allocations: 147.3 kB / 4.238 GB, free: 42.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/14.34, allocations: 0 / 4.238 GB, free: 42.55 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001334/14.34, allocations: 27.89 kB / 4.238 GB, free: 42.55 MB / 394.7 MB 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 postOpt removeSimpleEquations (simulation): time 0.04746/14.39, allocations: 26.19 MB / 4.263 GB, free: 33.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.35e-05/14.39, allocations: 3.812 kB / 4.263 GB, free: 33.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009601/14.4, allocations: 1.13 MB / 4.265 GB, free: 33.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003423/14.4, allocations: 0.8748 MB / 4.265 GB, free: 33.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001161/14.4, allocations: 164.3 kB / 4.266 GB, free: 33.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003369/14.4, allocations: 2.862 MB / 4.268 GB, free: 31.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/14.4, allocations: 8.531 kB / 4.268 GB, free: 31.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02893/14.43, allocations: 14.57 MB / 4.283 GB, free: 25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004389/14.44, allocations: 1.226 MB / 4.284 GB, free: 24.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001465/14.44, allocations: 133.3 kB / 4.284 GB, free: 24.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008182/14.45, allocations: 0.5042 MB / 4.284 GB, free: 24.17 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002114/14.45, allocations: 0.5459 MB / 4.285 GB, free: 24.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008731/14.45, allocations: 176.5 kB / 4.285 GB, free: 24.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003199/14.45, allocations: 1.348 MB / 4.286 GB, free: 23.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.82e-07/14.45, allocations: 0 / 4.286 GB, free: 23.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01222/14.47, allocations: 2.515 MB / 4.289 GB, free: 23.32 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 27 (tube2.fluid[1].h,tube2.fluid[2].h,tube2.fluid[3].h,tube2.fluid[4].h,tube2.fluid[5].h,tube2.fluid[6].h,tube2.fluid[7].h,tube2.fluid[8].h,tube2.fluid[9].p,tube2.fluid[9].h,tube2.fluid[10].h,tube2.m_flows[1],InletMassFlowRate.C1signal.y,OutletPressure.C1signal.y,InletEnthalpy.C1signal.y,tube1.fluid[1].h,tube1.fluid[2].h,tube1.fluid[3].h,tube1.fluid[4].h,tube1.fluid[5].h,tube1.fluid[6].h,tube1.fluid[7].h,tube1.fluid[8].h,tube1.fluid[9].p,tube1.fluid[9].h,tube1.fluid[10].h,tube1.m_flows[1]) * Number of discrete variables: 102 ($cse1.phase,$cse1.region,$cse2.region3boundary,$cse3.region3boundary,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse39.region3boundary,$cse40.region3boundary,$cse41.phase,$cse41.region,$cse42.region3boundary,$cse43.region3boundary,$cse44.phase,$cse44.region,$cse45.region3boundary,$cse46.region3boundary,$cse47.phase,$cse47.region,$cse49.phase,$cse49.region,$cse69.phase,$cse69.region,$cse70.phase,$cse70.region,$cse71.phase,$cse71.region,$cse72.phase,$cse72.region,$cse73.phase,$cse73.region,$cse74.phase,$cse74.region,$cse75.phase,$cse75.region,$cse76.phase,$cse76.region,$cse77.phase,$cse77.region,$cse78.phase,$cse78.region,$cse81.region3boundary,$cse82.region3boundary,$whenCondition1,$whenCondition2,$whenCondition3,tube2.fluid[1].phase,tube2.fluid[2].phase,tube2.fluid[3].phase,tube2.fluid[4].phase,tube2.fluid[5].phase,tube2.fluid[6].phase,tube2.fluid[7].phase,tube2.fluid[8].phase,tube2.fluid[9].phase,tube2.fluid[10].phase,watersource_mh.medium.phase,watersink_ph.water.phase,InletMassFlowRate.originalTable.a,InletMassFlowRate.originalTable.b,InletMassFlowRate.originalTable.last,InletMassFlowRate.originalTable.nextEvent,OutletPressure.originalTable.a,OutletPressure.originalTable.b,OutletPressure.originalTable.last,OutletPressure.originalTable.nextEvent,InletEnthalpy.originalTable.a,InletEnthalpy.originalTable.b,InletEnthalpy.originalTable.last,InletEnthalpy.originalTable.nextEvent,tube1.fluid[1].phase,tube1.fluid[2].phase,tube1.fluid[3].phase,tube1.fluid[4].phase,tube1.fluid[5].phase,tube1.fluid[6].phase,tube1.fluid[7].phase,tube1.fluid[8].phase,tube1.fluid[9].phase,tube1.fluid[10].phase,watersource_add.medium.phase) * Number of discrete states: 15 (InletMassFlowRate.originalTable.last,InletMassFlowRate.originalTable.nextEvent,InletMassFlowRate.originalTable.b,InletMassFlowRate.originalTable.a,$whenCondition3,OutletPressure.originalTable.last,OutletPressure.originalTable.nextEvent,OutletPressure.originalTable.b,OutletPressure.originalTable.a,$whenCondition2,InletEnthalpy.originalTable.last,InletEnthalpy.originalTable.nextEvent,InletEnthalpy.originalTable.b,InletEnthalpy.originalTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (431): * Single equations (assignments): 389 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 37 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.04242/14.51, allocations: 18.52 MB / 4.307 GB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.02006/14.53, allocations: 7.598 MB / 4.314 GB, free: 3.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/14.53, allocations: 0.5625 kB / 4.314 GB, free: 3.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01925/14.55, allocations: 6.372 MB / 4.321 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01484/14.56, allocations: 1.556 MB / 4.322 GB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04184/14.61, allocations: 12.65 MB / 4.335 GB, free: 4.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004889/14.61, allocations: 2.85 MB / 4.337 GB, free: 1.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.009259/14.62, allocations: 2.198 MB / 4.339 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009705/14.63, allocations: 2.063 MB / 4.341 GB, free: 15.89 MB / 426.7 MB Notification: Performance of SimCode: time 1.433e-06/14.63, allocations: 0 / 4.341 GB, free: 15.89 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6605/15.29, allocations: 158.9 MB / 4.497 GB, free: 11.8 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/15.29, allocations: 180.4 kB / 4.497 GB, free: 11.58 MB / 426.7 MB 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 SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall.o SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall.c In file included from SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall.c:7: In file included from ./SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_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); ^ 2 warnings generated. 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 SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.o SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c In file included from SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:2: In file included from ./SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./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); ^ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:613:455: error: passing 'Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__overall__IN__con' to parameter of incompatible type 'Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__turbulent__IN__con' _DP = (omc_Modelica_Fluid_Dissipation_Utilities_Functions_General_Stepsmoother(threadData, _Re_lam_min, _Re_lam_max, _Re)) * (omc_Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__laminar__DP(threadData, _IN_con_lam, _IN_var, _m_flow)) + (omc_Modelica_Fluid_Dissipation_Utilities_Functions_General_Stepsmoother(threadData, _Re_lam_max, _Re_lam_min, _Re)) * (omc_Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__turbulent__DP(threadData, _IN_con, _IN_var, _m_flow)); ^~~~~~~ ./SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.h:1844:192: note: passing argument to parameter '_IN_con' here modelica_real omc_Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__turbulent__DP(threadData_t *threadData, Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__turbulent__IN__con _IN_con, Modelica_Fluid_Dissipation_PressureLoss_StraightPipe_dp__turbulent__IN__var _IN_var, modelica_real _m_flow); ^ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:3235:27: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_properties._region == ((modelica_integer) 4))) ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:3235:27: note: remove extraneous parentheses around the comparison to silence this warning if((_properties._region == ((modelica_integer) 4))) ~ ^ ~ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:3235:27: note: use '=' to turn this equality comparison into an assignment if((_properties._region == ((modelica_integer) 4))) ^~ = SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:3245:29: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_properties._region == ((modelica_integer) 3))) ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:3245:29: note: remove extraneous parentheses around the comparison to silence this warning if((_properties._region == ((modelica_integer) 3))) ~ ^ ~ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:3245:29: note: use '=' to turn this equality comparison into an assignment if((_properties._region == ((modelica_integer) 3))) ^~ = SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:4271:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_region == ((modelica_integer) 1))) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:4271:17: note: remove extraneous parentheses around the comparison to silence this warning if((_region == ((modelica_integer) 1))) ~ ^ ~ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:4271:17: note: use '=' to turn this equality comparison into an assignment if((_region == ((modelica_integer) 1))) ^~ = SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:4287:19: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_region == ((modelica_integer) 2))) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:4287:19: note: remove extraneous parentheses around the comparison to silence this warning if((_region == ((modelica_integer) 2))) ~ ^ ~ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:4287:19: note: use '=' to turn this equality comparison into an assignment if((_region == ((modelica_integer) 2))) ^~ = SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:4513:20: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_aux._region == ((modelica_integer) 1))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:4513:20: note: remove extraneous parentheses around the comparison to silence this warning if((_aux._region == ((modelica_integer) 1))) ~ ^ ~ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:4513:20: note: use '=' to turn this equality comparison into an assignment if((_aux._region == ((modelica_integer) 1))) ^~ = SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:4546:22: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_aux._region == ((modelica_integer) 2))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:4546:22: note: remove extraneous parentheses around the comparison to silence this warning if((_aux._region == ((modelica_integer) 2))) ~ ^ ~ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:4546:22: note: use '=' to turn this equality comparison into an assignment if((_aux._region == ((modelica_integer) 2))) ^~ = SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:4579:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_aux._region == ((modelica_integer) 3))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:4579:24: note: remove extraneous parentheses around the comparison to silence this warning if((_aux._region == ((modelica_integer) 3))) ~ ^ ~ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:4579:24: note: use '=' to turn this equality comparison into an assignment if((_aux._region == ((modelica_integer) 3))) ^~ = SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:4609:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_aux._region == ((modelica_integer) 4))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:4609:26: note: remove extraneous parentheses around the comparison to silence this warning if((_aux._region == ((modelica_integer) 4))) ~ ^ ~ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:4609:26: note: use '=' to turn this equality comparison into an assignment if((_aux._region == ((modelica_integer) 4))) ^~ = SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:4695:28: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_aux._region == ((modelica_integer) 5))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:4695:28: note: remove extraneous parentheses around the comparison to silence this warning if((_aux._region == ((modelica_integer) 5))) ~ ^ ~ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:4695:28: note: use '=' to turn this equality comparison into an assignment if((_aux._region == ((modelica_integer) 5))) ^~ = SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:8171:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_phase == ((modelica_integer) 2))) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:8171:16: note: remove extraneous parentheses around the comparison to silence this warning if((_phase == ((modelica_integer) 2))) ~ ^ ~ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:8171:16: note: use '=' to turn this equality comparison into an assignment if((_phase == ((modelica_integer) 2))) ^~ = SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:8189:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_phase == ((modelica_integer) 1))) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:8189:24: note: remove extraneous parentheses around the comparison to silence this warning if((_phase == ((modelica_integer) 1))) ~ ^ ~ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:8189:24: note: use '=' to turn this equality comparison into an assignment if((_phase == ((modelica_integer) 1))) ^~ = SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:8220:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_phase == ((modelica_integer) 1))) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:8220:26: note: remove extraneous parentheses around the comparison to silence this warning if((_phase == ((modelica_integer) 1))) ~ ^ ~ SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.c:8220:26: note: use '=' to turn this equality comparison into an assignment if((_phase == ((modelica_integer) 1))) ^~ = 14 warnings and 1 error generated. : recipe for target 'SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.o' failed make: *** [SiemensPower_SiemensPower_Components_Pipes_Tests_TubeWithoutWall_functions.o] Error 1