Opened 8 years ago

Closed 6 years ago

Last modified 4 years ago

#4167 closed defect (wontfix)

Getting error as "Compilation process failed. Exited with code 2" while simulating any models from Modelica library

Reported by: nayak.priyam22@… Owned by: Adeel Asghar
Priority: blocker Milestone:
Component: OMEdit Version: v1.12.0
Keywords: Compilation process failed. Cc:

Description

Error: Getting error as "Compilation process failed. Exited with code 2" while simulating any models from Modelica library

Steps to Reproduce:
1) Expand Modelica library
2) Expand Thermal
3) Expand HeatTransfer
4) Expand Examples
5) Open class "TwoMasses"
6) Click Simulate

Expected Result: Simulation should be successful and variables browser should be displayed in plotting window

Actual Result: Getting error as "Compilation process failed. Exited with code 2" while simulating any models from Modelica library and not displaying any output

Attachments (1)

OMEdit_Defect.jpg (901.9 KB ) - added by nayak.priyam22@… 8 years ago.
Defect Screenshot

Download all attachments as: .zip

Change History (12)

by nayak.priyam22@…, 8 years ago

Attachment: OMEdit_Defect.jpg added

Defect Screenshot

comment:1 by Adrian Pop, 8 years ago

We just discovered this today and we built new 1.11-dev.beta1 installers.
We forgot to pack some binaries in the installer that's why you get this error.

Please uninstall and download again the 1.11beta1 an reinstall it:
https://build.openmodelica.org/omc/builds/windows/releases/1.11/beta1/

comment:2 by Adeel Asghar, 8 years ago

Resolution: fixed
Status: newclosed

comment:3 by lars.schellhas@…, 8 years ago

I get this error, too. But with the recent release versoin.

comment:4 by Adrian Pop, 8 years ago

Is this on windows? Have you logout or restart after installing OpenModelica?

If is windows, can you look into %TEMP%\OpenModelica\OMEdit\ for your
Model.log if is there (where Model is the model you tried to simulate) and attach the log here?

Last edited 8 years ago by Adrian Pop (previous) (diff)

comment:5 by lars.schellhas@…, 8 years ago

Yes, Windows 10 (newest release version).
Seems to only happen with Visual Studio 2010 compiler.
using GCC works.

comment:6 by jez0, 7 years ago

Milestone: 1.11.0
Resolution: fixed
Status: closedreopened
Version: v1.11.0v1.12.0

I have just run into this again in the v1.12 release. Turns out it is caused when the user does not have administrative permissions. When ran as administrator, it works perfectly fine.

How to reproduce:

  1. log on to system as a non-administrator user
  2. run any model

System: W8.1 64b, OM: 1.12 64b

comment:7 by anonymous, 7 years ago

I just tried running on v1.12 release as administrator but still has the same issue.
Windows 7.

comment:8 by Francesco Casella, 6 years ago

Resolution: wontfix
Status: reopenedclosed

With the release of 1.13.0 this ticket is now obsolete.

Feel free to re-open it if you still have issues with 1.13.0.

comment:9 by anonymous, 4 years ago

Hello,
I've got the same in the last released version OM_V1.14.1
I wish to know how to fixe it.
The error appears with, especially, one model that I am trying to developpe. I think it's tricky because I saw at least three versions having the same issue.

Hope to get any solution from you.

Thanks in advance

in reply to:  9 ; comment:10 by Francesco Casella, 4 years ago

Replying to anonymous:

Hello,
I've got the same in the last released version OM_V1.14.1
I wish to know how to fixe it.
The error appears with, especially, one model that I am trying to developpe. I think it's tricky because I saw at least three versions having the same issue.

Please provide more information on your system: operating system, version, username.

You can also try out the stable 1.16.0-dev.03 version

in reply to:  10 comment:11 by Amazigh, 4 years ago

Replying to casella:

Replying to anonymous:

Hello,
I've got the same in the last released version OM_V1.14.1
I wish to know how to fixe it.
The error appears with, especially, one model that I am trying to developpe. I think it's tricky because I saw at least three versions having the same issue.

Please provide more information on your system: operating system, version, username.

You can also try out the stable 1.16.0-dev.03 version

I am working on Windows10, 64 bit

Note: See TracTickets for help on using tickets.