IBM Support

PI84432: SYSML CODE GENERATION FAILS WHEN USING SUB-BLOCKS

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • See attached model
    
    This describes the renamed blocks and actors in the system, the
    Block Definition Diagram (BDD) and the Internal Block Diagram
    (IBD), and the errors produced.  Any descriptions have also been
    removed.  I believe that you should still be able to understand
    this model.
    
    Drill down through the packages â ¦
    
    CMS_System_Pkg -> Architecture_Design_Pkg ->
    High_Level_Context_Pkg
    
    Perform a ⠜GMR⠝ on the component ⠜CMS_Sys_HL_Comp, with
    the configuration ⠜CMS_Sys_HL_Config⠝.
    
    The BDD describes that the CMS_System block has multiple sub
    blocks within it.  The IBD describes the ports and connections
    between these sub blocks.  All the system and sub blocks files
    (.hpp/cpp) compile correctly.  However, when the
    "High_Level_Context_Pkg" file is compiled it gives the errors
    shown.  The issue seems to be that at the package level the code
    generation of the model does not understand that the sub blocks
    are within the CMS_System block.  This is knowledge that the
    code generation should understand. Reviewing the IBD, the error
    occurs trying to connect any of the ports between the sub
    blocks, E.G between itsCU and itsOS, etc.
    
    This in my opinion is a code generation bug in Rhapsody, so we
    have sent this model to IBM support for them to investigate and
    confirm the error, and produce a work-around.
    
    I have tried a CLEAN, REGENERATE & even deleting all the
    .hpp/cpp file from the build directory, and regenerating the
    code.  The error is consistent throughout.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody                                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * link across composite boundaries is not supported in         *
    * generated code. Warning is issued by model Checker.          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The issue is partially fixed.
    1) It works for parts with multiplicity =1
    2) User should update connectors by disconnecting and connecting
    them again. This way graphic editor will initialize End1Path and
    End2Path tags, which are later used by code generator to
    evaluate full path of nested part.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI84432

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    813

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-07-12

  • Closed date

    2017-12-04

  • Last modified date

    2017-12-04

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    TLOGIC RHAPSODY

  • Fixed component ID

    5724V74RP

Applicable component levels

  • R813 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.1.3","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
04 December 2017