Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SiemensPower_SiemensPower.Components.Pipes.Tests.TubeWithoutWall.conf.json Using package SiemensPower with version 2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/SiemensPower 2.2.0/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/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 loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009734/0.009734, allocations: 166.2 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.617/1.617, allocations: 170.8 MB / 186.6 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001959/0.001958, allocations: 110.2 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/SiemensPower 2.2.0/package.mo): time 0.04142/0.04142, allocations: 5.567 MB / 271.2 MB, free: 13 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004908/0.0004908, allocations: 11.94 kB / 321.8 MB, free: 60.36 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06716/0.06769, allocations: 40.04 MB / 361.9 MB, free: 20.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.144/8.212, allocations: 2.901 GB / 3.255 GB, free: 73.94 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001601/8.212, allocations: 52.3 kB / 3.255 GB, free: 73.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.412/12.62, allocations: 0.9519 GB / 4.207 GB, free: 14.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.329e-05/12.62, allocations: 0 / 4.207 GB, free: 14.97 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002303/12.62, allocations: 60 kB / 4.207 GB, free: 14.91 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.02447/12.65, allocations: 4.698 MB / 4.211 GB, free: 10.17 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/12.65, allocations: 8.031 kB / 4.211 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001877/12.65, allocations: 412.5 kB / 4.212 GB, free: 9.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01853/12.67, allocations: 1.627 MB / 4.213 GB, free: 8.117 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01333/12.68, allocations: 3.187 MB / 4.217 GB, free: 4.871 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006824/12.68, allocations: 444.2 kB / 4.217 GB, free: 4.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001175/12.69, allocations: 295.8 kB / 4.217 GB, free: 4.121 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3173/13, allocations: 6.456 MB / 4.224 GB, free: 25.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001041/13, allocations: 14.56 kB / 4.224 GB, free: 25.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008022/13, allocations: 124.7 kB / 4.224 GB, free: 25.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001409/13, allocations: 121.2 kB / 4.224 GB, free: 25.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02916/13.03, allocations: 7.181 MB / 4.231 GB, free: 25.36 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.04429/13.08, allocations: 22.34 MB / 4.253 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02414/13.1, allocations: 5.694 MB / 4.258 GB, free: 29.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003564/13.1, allocations: 1.461 MB / 4.26 GB, free: 28.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01799/13.12, allocations: 4.196 MB / 4.264 GB, free: 27.93 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002868/13.13, allocations: 263.3 kB / 4.264 GB, free: 27.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=358): time 9.207e-06/13.13, allocations: 2.375 kB / 4.264 GB, free: 27.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=382): time 0.1063/13.23, allocations: 19.75 MB / 4.283 GB, free: 26.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/13.23, allocations: 181.1 kB / 4.283 GB, free: 26.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003968/13.24, allocations: 1.826 MB / 4.285 GB, free: 25.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001117/13.24, allocations: 95.2 kB / 4.285 GB, free: 25.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001097/13.24, allocations: 1.096 MB / 4.286 GB, free: 25.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002447/13.24, allocations: 1.319 MB / 4.288 GB, free: 24.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007432/13.24, allocations: 83.59 kB / 4.288 GB, free: 24.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004552/13.24, allocations: 470.1 kB / 4.288 GB, free: 24.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009401/13.25, allocations: 2.655 MB / 4.291 GB, free: 24.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01015/13.26, allocations: 3.507 MB / 4.294 GB, free: 23.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01005/13.27, allocations: 3.093 MB / 4.297 GB, free: 23.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.712e-05/13.27, allocations: 7 kB / 4.297 GB, free: 23.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=521) (initialization): time 0.02984/13.3, allocations: 8.45 MB / 4.306 GB, free: 21.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000142/13.3, allocations: 112.5 kB / 4.306 GB, free: 21.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.866e-05/13.3, allocations: 22.25 kB / 4.306 GB, free: 21.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02889/13.33, allocations: 3.894 MB / 4.309 GB, free: 20.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004646/13.34, allocations: 0.6491 MB / 4.31 GB, free: 20.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02263/13.36, allocations: 6.304 MB / 4.316 GB, free: 18.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008152/13.37, allocations: 495.5 kB / 4.317 GB, free: 18.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001025/13.37, allocations: 215.2 kB / 4.317 GB, free: 18.64 MB / 410.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 () * Number of clocked 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.003371/13.37, allocations: 1.082 MB / 4.318 GB, free: 18.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001177/13.37, allocations: 282 kB / 4.318 GB, free: 17.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03703/13.41, allocations: 15.99 MB / 4.334 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001582/13.41, allocations: 146.5 kB / 4.334 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/13.41, allocations: 0 / 4.334 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001102/13.41, allocations: 22.39 kB / 4.334 GB, free: 11.53 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.05636/13.47, allocations: 26.34 MB / 4.36 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.669e-05/13.47, allocations: 7.281 kB / 4.36 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009683/13.48, allocations: 1.128 MB / 4.361 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003728/13.48, allocations: 0.8738 MB / 4.362 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001128/13.48, allocations: 169.5 kB / 4.362 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00415/13.48, allocations: 2.866 MB / 4.365 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.266e-05/13.48, allocations: 4.938 kB / 4.365 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3518/13.84, allocations: 16.65 MB / 4.381 GB, free: 54.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004311/13.84, allocations: 1.23 MB / 4.382 GB, free: 54.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00113/13.84, allocations: 140.5 kB / 4.382 GB, free: 54.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007209/13.85, allocations: 0.4975 MB / 4.383 GB, free: 54.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001589/13.85, allocations: 0.5484 MB / 4.383 GB, free: 54.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005067/13.85, allocations: 170.7 kB / 4.383 GB, free: 54.63 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002935/13.85, allocations: 1.369 MB / 4.385 GB, free: 54.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.9e-07/13.85, allocations: 3.875 kB / 4.385 GB, free: 54.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01077/13.87, allocations: 2.517 MB / 4.387 GB, free: 54.5 MB / 426.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) * Number of clocked states: 0 () * 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.04993/13.92, allocations: 19.61 MB / 4.406 GB, free: 51.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02568/13.94, allocations: 8.414 MB / 4.415 GB, free: 51.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/13.94, allocations: 2.531 kB / 4.415 GB, free: 51.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01461/13.96, allocations: 6.398 MB / 4.421 GB, free: 50.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01427/13.97, allocations: 1.561 MB / 4.422 GB, free: 50.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1009/14.07, allocations: 51.69 MB / 4.473 GB, free: 25.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003958/14.08, allocations: 2.843 MB / 4.476 GB, free: 24.76 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008327/14.08, allocations: 2.191 MB / 4.478 GB, free: 24.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004659/14.09, allocations: 1.799 MB / 4.48 GB, free: 23.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.503e-06/14.09, allocations: 0 / 4.48 GB, free: 23.34 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6884/14.78, allocations: 155.3 MB / 4.631 GB, free: 45.52 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002563/14.78, allocations: 200.7 kB / 4.631 GB, free: 45.29 MB / 426.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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:2027: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