﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1456	compiling bigger models	Willi Braun	Willi Braun	"For example a model from Siemens:  
{{{$wc -l *.cpp
640284 SiemensPower_Components_Pipes_Tests_tube_ownMedia_testSimpleSlow_OMC.conv.cpp
320142 SiemensPower_Components_Pipes_Tests_tube_ownMedia_testSimpleSlow_OMC.cpp
278 SiemensPower_Components_Pipes_Tests_tube_ownMedia_testSimpleSlow_OMC_functions.cpp
$ls -al
-rw-r--r-- 1 wbraun wbraun 81310251 2011-03-19 15:28 SiemensPower_Components_Pipes_Tests_tube_ownMedia_testSimpleSlow_OMC.conv.cpp
-rw-r--r-- 1 wbraun wbraun 53248860 2011-03-19 15:28 SiemensPower_Components_Pipes_Tests_tube_ownMedia_testSimpleSlow_OMC.cpp
-rw-r--r-- 1 wbraun wbraun       30 2011-03-19 15:28 SiemensPower_Components_Pipes_Tests_tube_ownMedia_testSimpleSlow_OMC.libs
-rw-r--r-- 1 wbraun wbraun     1095 2011-03-19 15:58 SiemensPower_Components_Pipes_Tests_tube_ownMedia_testSimpleSlow_OMC.log
-rw-r--r-- 1 wbraun wbraun     1718 2011-03-19 15:28 SiemensPower_Components_Pipes_Tests_tube_ownMedia_testSimpleSlow_OMC.makefile
}}}

We need only around 8 min to produce the code, but the gcc compiler fails  after 40 minutes: 

{{{Simulation failed for model: SiemensPower_Components_Pipes_Tests_tube_ownMedia_testSimpleSlow_OMC
Error: Error building simulator. Buildlog: perl /home/wbraun/workspace/OM/OMtrunk/build//share/omc/scripts/convert_lines.pl SiemensPower_Components_Pipes_Tests_tube_ownMedia_testSimpleSlow_OMC.cpp SiemensPower_Components_Pipes_Tests_tube_ownMedia_testSimpleSlow_OMC.conv.cpp.tmp
g++ -I. -o SiemensPower_Components_Pipes_Tests_tube_ownMedia_testSimpleSlow_OMC SiemensPower_Components_Pipes_Tests_tube_ownMedia_testSimpleSlow_OMC.conv.cpp SiemensPower_Components_Pipes_Tests_tube_ownMedia_testSimpleSlow_OMC_functions.cpp -L\""../Modelica\""  -lTTSEf2c -lTTSEGCC -lgfortran -lsim -linteractive  -I\""/home/wbraun/workspace/OM/OMtrunk/build//include/omc\"" -O3 -falign-functions -march=native -mfpmath=sse  -lsendData -lQtNetwork -lQtCore -lQtGui -lrt -lpthread -L\""/home/wbraun/workspace/OM/OMtrunk/build//lib/omc\"" -lc_runtime -lf2c SiemensPower_Components_Pipes_Tests_tube_ownMedia_testSimpleSlow_OMC_records.c
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.}}}"	defect	closed	high		Backend	trunk	fixed		Willi Braun
