Opened 5 years ago

Closed 4 years ago

#5864 closed defect (wontfix)

Bug during compilation, just after the installation

Reported by: jean.noel@… Owned by: Jean NOEL
Priority: high Milestone: 1.14.1
Component: Installation program Version:
Keywords: Cc:

Description

Hello,
I have installed OpenModelica in order to evaluate the software.
I have downloaded the package and just used the setup.
Then I have loaded an example from the Block Library (PID_Controller) and I wanted to make a compilation, which immediatly failed (see the report at the end of the message).
It seems that the gcc compiler is not correctly installed ? Maybe another bug ? but I can't find a solution ...
Can you help me ?
Thanks in advance !
Jean


Modelica.Blocks.Examples.PID_Controller_01exo.c
<builtin>: recipe for target 'Modelica.Blocks.Examples.PID_Controller_records.o' failed
mingw32-make: * [Modelica.Blocks.Examples.PID_Controller_records.o] Error -1073741502
mingw32-make:
* Waiting for unfinished jobs....
mingw32-make: Leaving directory 'C:/Users/noel/AppData/Local/Temp/OPENMO~1/OMEdit/MODELI~1.PID'
Compilation process failed. Exited with code 2.

Change History (5)

comment:1 Changed 5 years ago by adrpo

Can you post the entire log? This is just the last part.

comment:2 Changed 5 years ago by casella

Which version of Windows are you on?

comment:3 Changed 5 years ago by jean.noel@…

Your question was :
Can you check in:
%TEMP%\OpenModelica/OMEdit\
if any of the .o files are generated?
Modelica.Blocks.Examples.PID_Controller.o
Modelica.Blocks.Examples.PID_Controller_functions.o
Modelica.Blocks.Examples.PID_Controller_records.o
Modelica.Blocks.Examples.PID_Controller_01exo.o
These should be compiled in parallel by GCC
and the one that fails is currently is:
Modelica.Blocks.Examples.PID_Controller_functions.c

My answer :
It's very strange ! I've made a few trials (I run the simulation and I count the created *.o files). Sometimes there are 4 created files, sometimes 3 or only 2.
Thanks for your help
Jean

comment:4 Changed 5 years ago by adrpo

Ok then, we're making some progress.

When you have the model open, instead of clicking "->" to simulate the model, click "S" for simulation setup, then change "Number of Processors:" from 4 to 1. Then try to simulate again.

comment:5 Changed 4 years ago by casella

  • Resolution set to wontfix
  • Status changed from new to closed

No more feedback provided on this ticket, so I'm closing it now. Feel free to reopen if the problem is still not solved with the latest 1.16.0 nightly build.

Note: See TracTickets for help on using tickets.