-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assertion failures in Petri Net backends on incomplete models #10
Comments
I agree the message is not user friendly. Basically your model is incomplete: your model is made of systems and processes, two categories of components without behavior. Hence, the backend bugs on an incomplete model, you needs threads to have a working model. Please review the examples in Ocarina distribution. |
Thanks. Perhaps you might answer one further question about an error. I'm getting a Thread Implementation unknown error after adding in the threads and an appropriate subprogram.
The exact error with line number and stack trace is:
Finally, I look at a several of the examples. Most of them, as far as I can tell, fail to pass through Ocarina. Is there an example within the distribution (written in AADLv2) that will successfully return? If so, would you mind posting the path to it within the distribution. |
I updated an AADL1.0 example to v2 in commit d1c0a47 Note your second model is also incomplete, I'll update the error message as well |
Regarding the second test case, Ocarina now reports this: and actually, ports of the threads are not connected to the corresponding ports of the enclosing process. |
Thank you very much for the upgraded example. I understand now what was causing the code to fail. Thanks for the quick responses and upgraded error messages. |
While trying to compile aadl v2 code into a petri net I run into the following error.
The aadl code is as follows:
The command used to launch ocarina is
Not sure if the error is on my end or if this is something wrong in ocarina. Thanks for any assistance that you are able to offer.
The text was updated successfully, but these errors were encountered: