I've installed today JModelica, especially because I want to optimize one of my models, anyway I was trying to compile one model, but the compiling process failed I don't know exactly why, but here it is the error output. It seems that there is a illegal character, but in that line there is no such character.
Thanks in advance.
In [9]: compile_jmu(model_name,mo_file)
---------------------------------------------------------------------------
CompilerError Traceback (most recent call last)
C:\Documents and Settings\All Users\Documentos\JModelica.org\diss\ in ()
C:\JModelica.org-1.4\Python\jmodelica\jmi.pyc in compile_jmu(class_name, file_na
me, compiler, target, compiler_options, compile_to)
5995
5996 #compile model
-> 5997 comp.compile_model(class_name, file_name, target=target)
5998
5999 # pack JMU file
C:\JModelica.org-1.4\Python\jmodelica\compiler.pyc in compile_model(self, model_
class_name, model_file_name, target)
451
452 except jpype.JavaException, ex:
--> 453 self._handle_exception(ex)
454
455 def parse_model(self,model_file_name):
C:\JModelica.org-1.4\Python\jmodelica\compiler.pyc in _handle_exception(self, ex
)
719 errors.append(p)
720
--> 721 raise CompilerError(errors,compliance_errors,warnings)
722
723 if ex.javaClass() is \
CompilerError:
1 error(s), 0 compliance error(s) and 0 warning(s) found:
Error: in file 'DISS_Last.mo':
Lexical error at line 3777, column 26:
Illegal character """