﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4378	OpenModelica seems to not support correctly packages saved in directories (as opposed to “single-file”), especially in case of model duplication	giorgio.simonini@…	Adeel Asghar	"I got some errors doing the following (it shows some random behavior, so the error messages may change):

1.	Create a package “Test” and uncheck the “save in single file” option.
2.	Create a connector “c1” within the package.
3.	Duplicate “c1” to “c2”. The “within Test;” line is not copied and the following error message is prompt:

[1] 15:16:46 Syntaxe Erreur
[Test.c2: 1:12-1:18]: Parser error: Unexpected token near: within (WITHIN)

4.	Adding the “within” text by hand leads (generally) to errors not accepted by the text editor.
5.	Create a model “test” using the two connectors.
6.	Checking the model leads to the following error messages:

[1] 15:22:08 Traduction Erreur
[Test: 1:1-9:9]: Class c1 not found in scope Test.

[2] 15:22:08 Traduction Erreur
[Test.test: 0:0-0:0]: Class Test.c1 not found in scope Test.test.

[3] 15:22:08 Traduction Erreur
Error occurred while flattening model Test.test

Closing and loading back the package I got the following message:

[1] 15:27:37 Grammaire Avertissement
[C:\Users\D24676\Desktop\/Test/package.order: 0:0-0:0]: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory.
Missing names are:
        c1
"	defect	closed	blocker	Future	OMEdit	v1.11.0	fixed	Package, directories	audrey.jardin@… daniel.bouskela@…
