Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#6086 closed defect (fixed)

OMEdit does't show block terminals into diagram view

Reported by: Andrea Bartolini Owned by: Adrian Pop
Priority: blocker Milestone: 1.16.0
Component: OMEdit Version: v1.16.0-dev
Keywords: Cc: Francesco Casella, Martin Sjölund, Per Östlund, Adrian Pop

Description

Step to reproduce the issue:
1) open OMEdit and create a new model
2) open Modelica.Blocks.Sources library and drag&drop sine block into the diagram view

RESULT: either u and y terminals are not shown.

OMEdit - OpenModelica Connection Editor
Connected to OpenModelica 1.16.0~dev-592-gdde8ed2

sysop: Ubuntu 18.04

Change History (5)

comment:1 by Adeel Asghar, 4 years ago

Cc: Martin Sjölund added

Works as expected for me. Maybe because of MSL 4.
Martin can you test it on Ubuntu?

comment:2 by Francesco Casella, 4 years ago

Cc: Per Östlund Adrian Pop added

@adeas31, I just tried this with v1.16.0-dev-592-gdde8ed2d38 on Windows 10 64 bits, using MSL 3.2.3, and I confirm the issue.

All blocks inheriting from Modelica.Blocks.Interfaces partial models no longer show the connectors. This affects, e.g., all Modelica.Blocks.Examples models.

I'm quite sure this is a recent regression, I used the nightlies until the end of July and I didn't notice this issue.

comment:3 by Adrian Pop, 4 years ago

Owner: changed from Adeel Asghar to Adrian Pop
Status: newaccepted

I guess this is related to @perost changes regarding partial models. If one activates the -d=nfAPINoise I guess it will get the error messages about instantiating partial models. We will probably need to allow it when -d=nfAPI is on.

comment:4 by Adrian Pop, 4 years ago

Resolution: fixed
Status: acceptedclosed

comment:5 by Francesco Casella, 4 years ago

Looks good, thanks @adrpo!

Note: See TracTickets for help on using tickets.