Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr SiemensPower_SiemensPower.Components.Pipes.Tests.TubeWithoutWall.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package SiemensPower with version 2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/SiemensPower 2.2/package.mo) 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 2.021/2.021, allocations: 176.9 MB / 189.5 MB, free: 6.773 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.935e-05, allocations: 4 kB / 236.9 MB, free: 7.309 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2658, allocations: 40.03 MB / 276.9 MB, free: 2.039 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.442/8.708, allocations: 2.901 GB / 3.172 GB, free: 66.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001902/8.708, allocations: 48.95 kB / 3.172 GB, free: 66.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.827/13.53, allocations: 0.9508 GB / 4.123 GB, free: 45.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.914e-06/13.53, allocations: 0 / 4.123 GB, free: 45.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002566/13.54, allocations: 61.94 kB / 4.123 GB, free: 45.73 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.02239/13.56, allocations: 4.161 MB / 4.127 GB, free: 43.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/13.56, allocations: 11.06 kB / 4.127 GB, free: 43.98 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001469/13.56, allocations: 400.1 kB / 4.127 GB, free: 43.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01936/13.58, allocations: 1.634 MB / 4.129 GB, free: 43.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01409/13.59, allocations: 3.169 MB / 4.132 GB, free: 43.28 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009613/13.59, allocations: 443.9 kB / 4.132 GB, free: 43.15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001815/13.6, allocations: 297 kB / 4.133 GB, free: 43.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02333/13.62, allocations: 6.32 MB / 4.139 GB, free: 41.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.269e-05/13.62, allocations: 14.88 kB / 4.139 GB, free: 41.85 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008003/13.62, allocations: 129.7 kB / 4.139 GB, free: 41.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001384/13.62, allocations: 113.3 kB / 4.139 GB, free: 41.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02353/13.64, allocations: 6.696 MB / 4.146 GB, free: 39.82 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.04587/13.69, allocations: 22.36 MB / 4.167 GB, free: 23.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01752/13.71, allocations: 5.206 MB / 4.172 GB, free: 19.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006447/13.71, allocations: 2.608 MB / 4.175 GB, free: 17.22 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003681/13.72, allocations: 1.462 MB / 4.176 GB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01572/13.73, allocations: 4.091 MB / 4.18 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002731/13.74, allocations: 259.3 kB / 4.181 GB, free: 12.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=358): time 9.227e-06/13.74, allocations: 0 / 4.181 GB, free: 12.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=382): time 0.3964/14.13, allocations: 16.01 MB / 4.196 GB, free: 42.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/14.13, allocations: 175.4 kB / 4.196 GB, free: 42.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007157/14.14, allocations: 1.804 MB / 4.198 GB, free: 42.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00142/14.14, allocations: 93.55 kB / 4.198 GB, free: 42.31 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002101/14.14, allocations: 1.108 MB / 4.199 GB, free: 41.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003384/14.15, allocations: 1.32 MB / 4.201 GB, free: 41.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009968/14.15, allocations: 80.75 kB / 4.201 GB, free: 41.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005861/14.15, allocations: 480 kB / 4.201 GB, free: 40.85 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00862/14.16, allocations: 2.278 MB / 4.203 GB, free: 40.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009856/14.17, allocations: 3.143 MB / 4.207 GB, free: 39.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009827/14.18, allocations: 2.729 MB / 4.209 GB, free: 39.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.13e-05/14.18, allocations: 7.812 kB / 4.209 GB, free: 39.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=521) (initialization): time 0.02417/14.2, allocations: 7.4 MB / 4.216 GB, free: 39.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001399/14.2, allocations: 109.9 kB / 4.217 GB, free: 39.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.731e-05/14.2, allocations: 23.62 kB / 4.217 GB, free: 39.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02389/14.23, allocations: 3.305 MB / 4.22 GB, free: 39.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004923/14.23, allocations: 0.6488 MB / 4.22 GB, free: 39.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02191/14.25, allocations: 5.407 MB / 4.226 GB, free: 38.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01247/14.26, allocations: 0.4886 MB / 4.226 GB, free: 38.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001957/14.27, allocations: 214.2 kB / 4.226 GB, free: 38.7 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.003513/14.27, allocations: 466.4 kB / 4.227 GB, free: 38.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002743/14.27, allocations: 289.9 kB / 4.227 GB, free: 38.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03657/14.31, allocations: 15.92 MB / 4.243 GB, free: 37.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002014/14.31, allocations: 146.9 kB / 4.243 GB, free: 37.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.14e-05/14.31, allocations: 6.938 kB / 4.243 GB, free: 37.27 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001438/14.31, allocations: 19.92 kB / 4.243 GB, free: 37.27 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.0654/14.38, allocations: 26.21 MB / 4.268 GB, free: 25.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.088e-05/14.38, allocations: 5 kB / 4.268 GB, free: 25.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01322/14.39, allocations: 1.136 MB / 4.27 GB, free: 25.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00354/14.39, allocations: 0.8646 MB / 4.27 GB, free: 25.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001306/14.39, allocations: 165.9 kB / 4.271 GB, free: 25.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003663/14.4, allocations: 2.871 MB / 4.273 GB, free: 23.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.149e-05/14.4, allocations: 7 kB / 4.273 GB, free: 23.33 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03073/14.43, allocations: 14.56 MB / 4.288 GB, free: 16.69 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004712/14.43, allocations: 1.221 MB / 4.289 GB, free: 16.03 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00173/14.44, allocations: 144.7 kB / 4.289 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008393/14.44, allocations: 0.4955 MB / 4.289 GB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002302/14.45, allocations: 0.552 MB / 4.29 GB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00104/14.45, allocations: 169.2 kB / 4.29 GB, free: 15.78 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003426/14.45, allocations: 1.351 MB / 4.291 GB, free: 15.28 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.81e-07/14.45, allocations: 0 / 4.291 GB, free: 15.28 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01315/14.46, allocations: 2.515 MB / 4.294 GB, free: 15.01 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.04312/14.51, allocations: 18.52 MB / 4.312 GB, free: 2.355 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.02627/14.53, allocations: 7.874 MB / 4.32 GB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-05/14.53, allocations: 4 kB / 4.32 GB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01482/14.55, allocations: 6.017 MB / 4.326 GB, free: 6.695 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0155/14.56, allocations: 1.559 MB / 4.327 GB, free: 5.609 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04205/14.61, allocations: 12.67 MB / 4.339 GB, free: 11.58 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004488/14.61, allocations: 2.851 MB / 4.342 GB, free: 9.418 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.009559/14.62, allocations: 2.2 MB / 4.344 GB, free: 8.117 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005623/14.63, allocations: 1.79 MB / 4.346 GB, free: 6.473 MB / 426.7 MB Notification: Performance of SimCode: time 1.913e-06/14.63, allocations: 0 / 4.346 GB, free: 6.473 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8032/15.43, allocations: 159.1 MB / 4.501 GB, free: 14.39 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003636/15.43, allocations: 186.5 kB / 4.502 GB, free: 14.16 MB / 442.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