Opened 10 years ago
Last modified 9 years ago
#3199 closed defect
ParModelica does not expect usage of parallel variables — at Version 1
Reported by: | Gustaf Thorslund | Owned by: | Mahder Alemseged Gebremedhin |
---|---|---|---|
Priority: | high | Milestone: | never |
Component: | ParModelica | Version: | trunk |
Keywords: | ParModelica | Cc: |
Description (last modified by )
Given a slightly updated exampled like:
function parvar input Integer m = 1000; input Integer A[m]; input Integer B[m]; protected Integer q; parallel Integer pm; // <-- Error: Missing token: FUNCTION parallel Integer pn; parallel Integer pA[m]; parallel Integer pB[m]; end parvar;
Trying to compile it using ParModelica gives:
$ omc -g=ParModelica parvar.mo Error processing file: parvar.mo Failed to parse file: parvar.mo! [/home/gustaf/kurser/exjobb/test/parmodelica/parvar.mo:7:12-7:12:writable] Error: Missing token: FUNCTION # Error encountered! Exiting... # Please check the error message and the flags. Failed to parse file: parvar.mo! Execution failed!
$ omc --version
1.9.2+dev (r24991)
Note:
See TracTickets
for help on using tickets.