You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Complaint is vague and does not provide an example. However, an inspection of the analysis marker output code shows two things:
Abstract components are assumed to have a weight — Not sure much to be done about this because the whole point is that we don't know what an abstract component could be.
Threads and ThreadGroups are not ignored when searching for subcomponents — This seems like a bug because PROCESS, VIRTUAL_BUS, and VIRTUAL_PROCESSOR components are ignored. (This could be because it was assumed that PROCESS would be ignored, so it would not be possible to encounter a thread or thread group.)
So, combining the two points above, there are spurious warnings when a thread group is a subcomponent of an abstract component. I have make this happen with the following example:
package Noisy
public
with SEI;
thread T
end T;
thread implementation T.i
end T.i;
thread group TG
end TG;
thread group implementation TG.i
subcomponents
a1: thread;
a2: thread;
end TG.i;
process P
end P;
process implementation P.i
subcomponents
t1: thread T.i;
tg1: thread group TG.i;
end P.i;
abstract X1
end X1;
abstract implementation X1.i
subcomponents
p: process P.i;
tg: thread group TG.i;
properties
SEI::NetWeight => 5.0 kg;
end X1.i;
end Noisy;
When X1.i is instantiated and analyzed, there are "No net weight" warnings on subcompnents tg, tg.a1 and tg.a2.
Activity
lwrage commentedon May 7, 2021
This was taken from a report. We need to verify that this is as described.
smithdtyler commentedon Oct 22, 2024
I am experiencing this issue in OSATE 2.12
AaronGreenhouse commentedon Aug 22, 2025
Complaint is vague and does not provide an example. However, an inspection of the analysis marker output code shows two things:
AaronGreenhouse commentedon Aug 25, 2025
So, combining the two points above, there are spurious warnings when a thread group is a subcomponent of an abstract component. I have make this happen with the following example:
When
X1.iis instantiated and analyzed, there are "No net weight" warnings on subcompnentstg,tg.a1andtg.a2.AaronGreenhouse commentedon Aug 25, 2025
Fixed weight analysis to also ignore threads and thread groups.