Bug Summary

File:OMCompiler/Compiler/boot/build/HpcOmSimCodeMain.c
Warning:line 3087, column 11
Value stored to '_schedulerInfo' is never read

Annotated Source Code

[?] Use j/k keys for keyboard navigation

1#ifdef OMC_BASE_FILE
2 #define OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c" OMC_BASE_FILE
3#else
4 #define OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c" "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
5#endif
6#include "omc_simulation_settings.h"
7#include "HpcOmSimCodeMain.h"
8#define _OMC_LIT0_data"task" "task"
9static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT0,4,_OMC_LIT0_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT0
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "task"
}
;
10#define _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT0)((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3))
11#define _OMC_LIT1_data"-> measured: " "-> measured: "
12static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT1,13,_OMC_LIT1_data)struct { mmc_uint_t header; const char data[(13)+1]; } _OMC_LIT_STRUCT1
= { ((((mmc_uint_t)13)<<(3))+((1<<(3+3))+5)), "-> measured: "
}
;
13#define _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT1)((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))
14#define _OMC_LIT2_data" and estimated: " " and estimated: "
15static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT2,16,_OMC_LIT2_data)struct { mmc_uint_t header; const char data[(16)+1]; } _OMC_LIT_STRUCT2
= { ((((mmc_uint_t)16)<<(3))+((1<<(3+3))+5)), " and estimated: "
}
;
16#define _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT2)((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))
17#define _OMC_LIT3_data"\n\n" "\n\n"
18static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT3,2,_OMC_LIT3_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT3
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "\n\n"
}
;
19#define _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT3)((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3))
20#define _OMC_LIT4_data"start cost benchmark\n" "start cost benchmark\n"
21static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT4,21,_OMC_LIT4_data)struct { mmc_uint_t header; const char data[(21)+1]; } _OMC_LIT_STRUCT4
= { ((((mmc_uint_t)21)<<(3))+((1<<(3+3))+5)), "start cost benchmark\n"
}
;
22#define _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT4)((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))
23#define _OMC_LIT5_data"finish cost benchmark\n" "finish cost benchmark\n"
24static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT5,22,_OMC_LIT5_data)struct { mmc_uint_t header; const char data[(22)+1]; } _OMC_LIT_STRUCT5
= { ((((mmc_uint_t)22)<<(3))+((1<<(3+3))+5)), "finish cost benchmark\n"
}
;
25#define _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT5)((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))
26#define _OMC_LIT6_data"the number of equations in the " "the number of equations in the "
27static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT6,31,_OMC_LIT6_data)struct { mmc_uint_t header; const char data[(31)+1]; } _OMC_LIT_STRUCT6
= { ((((mmc_uint_t)31)<<(3))+((1<<(3+3))+5)), "the number of equations in the "
}
;
28#define _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT6)((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3))
29#define _OMC_LIT7_data" task graph (" " task graph ("
30static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT7,13,_OMC_LIT7_data)struct { mmc_uint_t header; const char data[(13)+1]; } _OMC_LIT_STRUCT7
= { ((((mmc_uint_t)13)<<(3))+((1<<(3+3))+5)), " task graph ("
}
;
31#define _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT7)((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))
32#define _OMC_LIT8_data") is distinguished from the expected number of equations (" ") is distinguished from the expected number of equations ("
33static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT8,58,_OMC_LIT8_data)struct { mmc_uint_t header; const char data[(58)+1]; } _OMC_LIT_STRUCT8
= { ((((mmc_uint_t)58)<<(3))+((1<<(3+3))+5)), ") is distinguished from the expected number of equations ("
}
;
34#define _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT8)((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3))
35#define _OMC_LIT9_data")\n" ")\n"
36static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT9,2,_OMC_LIT9_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT9
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), ")\n"
}
;
37#define _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT9)((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3))
38#define _OMC_LIT10_data"the number of nodes in the " "the number of nodes in the "
39static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT10,27,_OMC_LIT10_data)struct { mmc_uint_t header; const char data[(27)+1]; } _OMC_LIT_STRUCT10
= { ((((mmc_uint_t)27)<<(3))+((1<<(3+3))+5)), "the number of nodes in the "
}
;
40#define _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT10)((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))
41#define _OMC_LIT11_data") is distinguished from the number of nodes in task graph meta (" ") is distinguished from the number of nodes in task graph meta ("
42static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT11,64,_OMC_LIT11_data)struct { mmc_uint_t header; const char data[(64)+1]; } _OMC_LIT_STRUCT11
= { ((((mmc_uint_t)64)<<(3))+((1<<(3+3))+5)), ") is distinguished from the number of nodes in task graph meta ("
}
;
43#define _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT11)((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3))
44#define _OMC_LIT12_data"There are simCode-equations multiple times in the graph structure.\n" "There are simCode-equations multiple times in the graph structure.\n"
45static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT12,67,_OMC_LIT12_data)struct { mmc_uint_t header; const char data[(67)+1]; } _OMC_LIT_STRUCT12
= { ((((mmc_uint_t)67)<<(3))+((1<<(3+3))+5)), "There are simCode-equations multiple times in the graph structure.\n"
}
;
46#define _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT12)((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))
47#define _OMC_LIT13_data"the size of the ODE-system should be " "the size of the ODE-system should be "
48static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT13,37,_OMC_LIT13_data)struct { mmc_uint_t header; const char data[(37)+1]; } _OMC_LIT_STRUCT13
= { ((((mmc_uint_t)37)<<(3))+((1<<(3+3))+5)), "the size of the ODE-system should be "
}
;
49#define _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT13)((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))
50#define _OMC_LIT14_data" but it is " " but it is "
51static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT14,11,_OMC_LIT14_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT14
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), " but it is "
}
;
52#define _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT14)((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))
53#define _OMC_LIT15_data"!\n" "!\n"
54static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT15,2,_OMC_LIT15_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT15
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "!\n"
}
;
55#define _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT15)((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3))
56#define _OMC_LIT16_data"expected the following sim code equations: " "expected the following sim code equations: "
57static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT16,43,_OMC_LIT16_data)struct { mmc_uint_t header; const char data[(43)+1]; } _OMC_LIT_STRUCT16
= { ((((mmc_uint_t)43)<<(3))+((1<<(3+3))+5)), "expected the following sim code equations: "
}
;
58#define _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT16)((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))
59#define _OMC_LIT17_data"," ","
60static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT17,1,_OMC_LIT17_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT17
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), ","
}
;
61#define _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT17)((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))
62#define _OMC_LIT18_data"\n" "\n"
63static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT18,1,_OMC_LIT18_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT18
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "\n"
}
;
64#define _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT18)((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))
65#define _OMC_LIT19_data"the ODE-system is NOT correct\n" "the ODE-system is NOT correct\n"
66static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT19,30,_OMC_LIT19_data)struct { mmc_uint_t header; const char data[(30)+1]; } _OMC_LIT_STRUCT19
= { ((((mmc_uint_t)30)<<(3))+((1<<(3+3))+5)), "the ODE-system is NOT correct\n"
}
;
67#define _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT19)((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3))
68#define _OMC_LIT20_data"Using serial code for the " "Using serial code for the "
69static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT20,26,_OMC_LIT20_data)struct { mmc_uint_t header; const char data[(26)+1]; } _OMC_LIT_STRUCT20
= { ((((mmc_uint_t)26)<<(3))+((1<<(3+3))+5)), "Using serial code for the "
}
;
70#define _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT20)((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3))
71#define _OMC_LIT21_data"Using level Scheduler for the " "Using level Scheduler for the "
72static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT21,30,_OMC_LIT21_data)struct { mmc_uint_t header; const char data[(30)+1]; } _OMC_LIT_STRUCT21
= { ((((mmc_uint_t)30)<<(3))+((1<<(3+3))+5)), "Using level Scheduler for the "
}
;
73#define _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT21)((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))
74#define _OMC_LIT22_data"Using fixed level Scheduler (experimental) for the " "Using fixed level Scheduler (experimental) for the "
75static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT22,51,_OMC_LIT22_data)struct { mmc_uint_t header; const char data[(51)+1]; } _OMC_LIT_STRUCT22
= { ((((mmc_uint_t)51)<<(3))+((1<<(3+3))+5)), "Using fixed level Scheduler (experimental) for the "
}
;
76#define _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT22)((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))
77#define _OMC_LIT23_data"Using external Scheduler for the " "Using external Scheduler for the "
78static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT23,33,_OMC_LIT23_data)struct { mmc_uint_t header; const char data[(33)+1]; } _OMC_LIT_STRUCT23
= { ((((mmc_uint_t)33)<<(3))+((1<<(3+3))+5)), "Using external Scheduler for the "
}
;
79#define _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT23)((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3))
80#define _OMC_LIT24_data"taskGraph" "taskGraph"
81static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT24,9,_OMC_LIT24_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT24
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "taskGraph"
}
;
82#define _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT24)((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))
83#define _OMC_LIT25_data"_ext.graphml" "_ext.graphml"
84static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT25,12,_OMC_LIT25_data)struct { mmc_uint_t header; const char data[(12)+1]; } _OMC_LIT_STRUCT25
= { ((((mmc_uint_t)12)<<(3))+((1<<(3+3))+5)), "_ext.graphml"
}
;
85#define _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT25)((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))
86#define _OMC_LIT26_data"Using METIS Scheduler for the " "Using METIS Scheduler for the "
87static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT26,30,_OMC_LIT26_data)struct { mmc_uint_t header; const char data[(30)+1]; } _OMC_LIT_STRUCT26
= { ((((mmc_uint_t)30)<<(3))+((1<<(3+3))+5)), "Using METIS Scheduler for the "
}
;
88#define _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT26)((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))
89#define _OMC_LIT27_data"Using hMETIS Scheduler for the " "Using hMETIS Scheduler for the "
90static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT27,31,_OMC_LIT27_data)struct { mmc_uint_t header; const char data[(31)+1]; } _OMC_LIT_STRUCT27
= { ((((mmc_uint_t)31)<<(3))+((1<<(3+3))+5)), "Using hMETIS Scheduler for the "
}
;
91#define _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT27)((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))
92#define _OMC_LIT28_data"Using list reverse Scheduler for the " "Using list reverse Scheduler for the "
93static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT28,37,_OMC_LIT28_data)struct { mmc_uint_t header; const char data[(37)+1]; } _OMC_LIT_STRUCT28
= { ((((mmc_uint_t)37)<<(3))+((1<<(3+3))+5)), "Using list reverse Scheduler for the "
}
;
94#define _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT28)((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3))
95#define _OMC_LIT29_data"Using Random Scheduler for the " "Using Random Scheduler for the "
96static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT29,31,_OMC_LIT29_data)struct { mmc_uint_t header; const char data[(31)+1]; } _OMC_LIT_STRUCT29
= { ((((mmc_uint_t)31)<<(3))+((1<<(3+3))+5)), "Using Random Scheduler for the "
}
;
97#define _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT29)((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3))
98#define _OMC_LIT30_data"Using list Scheduler for the " "Using list Scheduler for the "
99static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT30,29,_OMC_LIT30_data)struct { mmc_uint_t header; const char data[(29)+1]; } _OMC_LIT_STRUCT30
= { ((((mmc_uint_t)29)<<(3))+((1<<(3+3))+5)), "Using list Scheduler for the "
}
;
100#define _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT30)((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))
101#define _OMC_LIT31_data"Using Modified Critical Path Scheduler for the " "Using Modified Critical Path Scheduler for the "
102static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT31,47,_OMC_LIT31_data)struct { mmc_uint_t header; const char data[(47)+1]; } _OMC_LIT_STRUCT31
= { ((((mmc_uint_t)47)<<(3))+((1<<(3+3))+5)), "Using Modified Critical Path Scheduler for the "
}
;
103#define _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT31)((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3))
104#define _OMC_LIT32_data"Using partition Scheduler for the " "Using partition Scheduler for the "
105static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT32,34,_OMC_LIT32_data)struct { mmc_uint_t header; const char data[(34)+1]; } _OMC_LIT_STRUCT32
= { ((((mmc_uint_t)34)<<(3))+((1<<(3+3))+5)), "Using partition Scheduler for the "
}
;
106#define _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT32)((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))
107#define _OMC_LIT33_data"Using dynamic task dependencies for the " "Using dynamic task dependencies for the "
108static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT33,40,_OMC_LIT33_data)struct { mmc_uint_t header; const char data[(40)+1]; } _OMC_LIT_STRUCT33
= { ((((mmc_uint_t)40)<<(3))+((1<<(3+3))+5)), "Using dynamic task dependencies for the "
}
;
109#define _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT33)((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3))
110#define _OMC_LIT34_data"Using Task Duplication-based Scheduling for the " "Using Task Duplication-based Scheduling for the "
111static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT34,48,_OMC_LIT34_data)struct { mmc_uint_t header; const char data[(48)+1]; } _OMC_LIT_STRUCT34
= { ((((mmc_uint_t)48)<<(3))+((1<<(3+3))+5)), "Using Task Duplication-based Scheduling for the "
}
;
112#define _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT34)((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3))
113#define _OMC_LIT35_data"Using Balanced Level Scheduling for the " "Using Balanced Level Scheduling for the "
114static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT35,40,_OMC_LIT35_data)struct { mmc_uint_t header; const char data[(40)+1]; } _OMC_LIT_STRUCT35
= { ((((mmc_uint_t)40)<<(3))+((1<<(3+3))+5)), "Using Balanced Level Scheduling for the "
}
;
115#define _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT35)((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3))
116#define _OMC_LIT36_data"Using Single Block Scheduling for the " "Using Single Block Scheduling for the "
117static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT36,38,_OMC_LIT36_data)struct { mmc_uint_t header; const char data[(38)+1]; } _OMC_LIT_STRUCT36
= { ((((mmc_uint_t)38)<<(3))+((1<<(3+3))+5)), "Using Single Block Scheduling for the "
}
;
118#define _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT36)((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))
119#define _OMC_LIT37_data"Using Single Thread Scheduling for the " "Using Single Thread Scheduling for the "
120static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT37,39,_OMC_LIT37_data)struct { mmc_uint_t header; const char data[(39)+1]; } _OMC_LIT_STRUCT37
= { ((((mmc_uint_t)39)<<(3))+((1<<(3+3))+5)), "Using Single Thread Scheduling for the "
}
;
121#define _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT37)((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3))
122#define _OMC_LIT38_data"HpcOmSimCode.createSchedule failed!\n" "HpcOmSimCode.createSchedule failed!\n"
123static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT38,36,_OMC_LIT38_data)struct { mmc_uint_t header; const char data[(36)+1]; } _OMC_LIT_STRUCT38
= { ((((mmc_uint_t)36)<<(3))+((1<<(3+3))+5)), "HpcOmSimCode.createSchedule failed!\n"
}
;
124#define _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT38)((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))
125#define _OMC_LIT39_data"none" "none"
126static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT39,4,_OMC_LIT39_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT39
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "none"
}
;
127#define _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT39)((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3))
128#define _OMC_LIT40_data"level" "level"
129static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT40,5,_OMC_LIT40_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT40
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "level"
}
;
130#define _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT40)((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))
131#define _OMC_LIT41_data"levelfix" "levelfix"
132static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT41,8,_OMC_LIT41_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT41
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "levelfix"
}
;
133#define _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT41)((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))
134#define _OMC_LIT42_data"ext" "ext"
135static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT42,3,_OMC_LIT42_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT42
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "ext"
}
;
136#define _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT42)((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))
137#define _OMC_LIT43_data"metis" "metis"
138static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT43,5,_OMC_LIT43_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT43
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "metis"
}
;
139#define _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT43)((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3))
140#define _OMC_LIT44_data"hmet" "hmet"
141static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT44,4,_OMC_LIT44_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT44
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "hmet"
}
;
142#define _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT44)((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))
143#define _OMC_LIT45_data"listr" "listr"
144static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT45,5,_OMC_LIT45_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT45
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "listr"
}
;
145#define _OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT45)((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))
146#define _OMC_LIT46_data"rand" "rand"
147static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT46,4,_OMC_LIT46_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT46
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "rand"
}
;
148#define _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT46)((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))
149#define _OMC_LIT47_data"list" "list"
150static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT47,4,_OMC_LIT47_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT47
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "list"
}
;
151#define _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT47)((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))
152#define _OMC_LIT48_data"mcp" "mcp"
153static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT48,3,_OMC_LIT48_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT48
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "mcp"
}
;
154#define _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT48)((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))
155#define _OMC_LIT49_data"part" "part"
156static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT49,4,_OMC_LIT49_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT49
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "part"
}
;
157#define _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT49)((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3))
158#define _OMC_LIT50_data"taskdep" "taskdep"
159static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT50,7,_OMC_LIT50_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT50
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "taskdep"
}
;
160#define _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT50)((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3))
161#define _OMC_LIT51_data"tds" "tds"
162static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT51,3,_OMC_LIT51_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT51
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "tds"
}
;
163#define _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT51)((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3))
164#define _OMC_LIT52_data"bls" "bls"
165static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT52,3,_OMC_LIT52_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT52
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "bls"
}
;
166#define _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT52)((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3))
167#define _OMC_LIT53_data"sbs" "sbs"
168static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT53,3,_OMC_LIT53_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT53
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "sbs"
}
;
169#define _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT53)((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3))
170#define _OMC_LIT54_data"sts" "sts"
171static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT54,3,_OMC_LIT54_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT54
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "sts"
}
;
172#define _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT54)((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))
173static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT55,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT55
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
174#define _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT55)((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3))
175static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT56,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT56
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)),_OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3))}};
176#define _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT56)((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3))
177static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT57,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT57
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)),_OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3))}};
178#define _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT57)((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3))
179static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT58,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT58
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)),_OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3))}};
180#define _OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT58)((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3))
181static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT59,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT59
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)),_OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3))}};
182#define _OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT59)((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3))
183static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT60,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT60
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)),_OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3))}};
184#define _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT60)((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3))
185static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT61,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT61
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)),_OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3))}};
186#define _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT61)((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3))
187static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT62,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT62
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)),_OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3))}};
188#define _OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT62)((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3))
189static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT63,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT63
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)),_OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3))}};
190#define _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT63)((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3))
191static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT64,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT64
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)),_OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3))}};
192#define _OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT64)((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3))
193static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT65,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT65
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)),_OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3))}};
194#define _OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT65)((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3))
195static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT66,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT66
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)),_OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3))}};
196#define _OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT66)((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3))
197static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT67,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT67
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)),_OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3))}};
198#define _OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT67)((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3))
199static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT68,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT68
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)),_OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3))}};
200#define _OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT68)((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3))
201static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT69,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT69
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)),_OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3))}};
202#define _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT69)((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3))
203static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT70,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT70
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)),_OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3))}};
204#define _OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT70)((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3))
205#define _OMC_LIT71_data"HpcOmScheduler.createSchedule warning: The scheduler '" "HpcOmScheduler.createSchedule warning: The scheduler '"
206static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT71,54,_OMC_LIT71_data)struct { mmc_uint_t header; const char data[(54)+1]; } _OMC_LIT_STRUCT71
= { ((((mmc_uint_t)54)<<(3))+((1<<(3+3))+5)), "HpcOmScheduler.createSchedule warning: The scheduler '"
}
;
207#define _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT71)((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3))
208#define _OMC_LIT72_data"' is unknown. The list-scheduling algorithm is used instead for the " "' is unknown. The list-scheduling algorithm is used instead for the "
209static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT72,68,_OMC_LIT72_data)struct { mmc_uint_t header; const char data[(68)+1]; } _OMC_LIT_STRUCT72
= { ((((mmc_uint_t)68)<<(3))+((1<<(3+3))+5)), "' is unknown. The list-scheduling algorithm is used instead for the "
}
;
210#define _OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT72)((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3))
211#define _OMC_LIT73_data".\n" ".\n"
212static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT73,2,_OMC_LIT73_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT73
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), ".\n"
}
;
213#define _OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT73)((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3))
214#define _OMC_LIT74_data"HpcOmScheduler.createSchedule warning: Cannot schedule the the task graph to " "HpcOmScheduler.createSchedule warning: Cannot schedule the the task graph to "
215static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT74,77,_OMC_LIT74_data)struct { mmc_uint_t header; const char data[(77)+1]; } _OMC_LIT_STRUCT74
= { ((((mmc_uint_t)77)<<(3))+((1<<(3+3))+5)), "HpcOmScheduler.createSchedule warning: Cannot schedule the the task graph to "
}
;
216#define _OMC_LIT74((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT74)((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3))
217#define _OMC_LIT75_data" processors, because the number is larger than the available processors (" " processors, because the number is larger than the available processors ("
218static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT75,73,_OMC_LIT75_data)struct { mmc_uint_t header; const char data[(73)+1]; } _OMC_LIT_STRUCT75
= { ((((mmc_uint_t)73)<<(3))+((1<<(3+3))+5)), " processors, because the number is larger than the available processors ("
}
;
219#define _OMC_LIT75((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT75)((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3))
220#define _OMC_LIT76_data").\n" ").\n"
221static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT76,3,_OMC_LIT76_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT76
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), ").\n"
}
;
222#define _OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT76)((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3))
223#define _OMC_LIT77_data"hpcomScheduler" "hpcomScheduler"
224static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT77,14,_OMC_LIT77_data)struct { mmc_uint_t header; const char data[(14)+1]; } _OMC_LIT_STRUCT77
= { ((((mmc_uint_t)14)<<(3))+((1<<(3+3))+5)), "hpcomScheduler"
}
;
225#define _OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT77)((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3))
226static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT78,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT78
= { (((1) << 10) + (((4) & 255) << 2)),
{&Flags_FlagVisibility_EXTERNAL__desc,}};
227#define _OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT78)((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3))
228static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT79,2,8)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT79
= { (((2) << 10) + (((8) & 255) << 2)),
{&Flags_FlagData_STRING__FLAG__desc,_OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))}};
229#define _OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT79)((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3))
230#define _OMC_LIT80_data"Sets the scheduler for task graph scheduling (list | listr | level | levelfix | ext | metis | mcp | taskdep | tds | bls | rand | none). Default: level." "Sets the scheduler for task graph scheduling (list | listr | level | levelfix | ext | metis | mcp | taskdep | tds | bls | rand | none). Default: level."
231static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT80,151,_OMC_LIT80_data)struct { mmc_uint_t header; const char data[(151)+1]; } _OMC_LIT_STRUCT80
= { ((((mmc_uint_t)151)<<(3))+((1<<(3+3))+5)), "Sets the scheduler for task graph scheduling (list | listr | level | levelfix | ext | metis | mcp | taskdep | tds | bls | rand | none). Default: level."
}
;
232#define _OMC_LIT80((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT80)((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3))
233static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT81,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT81
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT80((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3))}};
234#define _OMC_LIT81((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT81)((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3))
235static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT82,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT82
= { (((8) << 10) + (((3) & 255) << 2)),
{&Flags_ConfigFlag_CONFIG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(51))((void*)(((((mmc_uint_t) (51)) << 1)+0))),_OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3)),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3)),_OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3)),_OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3)),_OMC_LIT81((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3))}};
236#define _OMC_LIT82((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT82)((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3))
237#define _OMC_LIT83_data"You did not choose a number of cores. Since there is no ODE-System, the number of cores is set to 1!\n" "You did not choose a number of cores. Since there is no ODE-System, the number of cores is set to 1!\n"
238static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT83,101,_OMC_LIT83_data)struct { mmc_uint_t header; const char data[(101)+1]; } _OMC_LIT_STRUCT83
= { ((((mmc_uint_t)101)<<(3))+((1<<(3+3))+5)), "You did not choose a number of cores. Since there is no ODE-System, the number of cores is set to 1!\n"
}
;
239#define _OMC_LIT83((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT83)((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3))
240#define _OMC_LIT84_data"Your system provides only " "Your system provides only "
241static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT84,26,_OMC_LIT84_data)struct { mmc_uint_t header; const char data[(26)+1]; } _OMC_LIT_STRUCT84
= { ((((mmc_uint_t)26)<<(3))+((1<<(3+3))+5)), "Your system provides only "
}
;
242#define _OMC_LIT84((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT84)((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3))
243#define _OMC_LIT85_data" processors!\n" " processors!\n"
244static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT85,13,_OMC_LIT85_data)struct { mmc_uint_t header; const char data[(13)+1]; } _OMC_LIT_STRUCT85
= { ((((mmc_uint_t)13)<<(3))+((1<<(3+3))+5)), " processors!\n"
}
;
245#define _OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT85)((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3))
246#define _OMC_LIT86_data" processors might be a reasonable number of processors.\n" " processors might be a reasonable number of processors.\n"
247static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT86,56,_OMC_LIT86_data)struct { mmc_uint_t header; const char data[(56)+1]; } _OMC_LIT_STRUCT86
= { ((((mmc_uint_t)56)<<(3))+((1<<(3+3))+5)), " processors might be a reasonable number of processors.\n"
}
;
248#define _OMC_LIT86((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT86)((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3))
249#define _OMC_LIT87_data"Please set the number of processors you want to use!\n" "Please set the number of processors you want to use!\n"
250static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT87,53,_OMC_LIT87_data)struct { mmc_uint_t header; const char data[(53)+1]; } _OMC_LIT_STRUCT87
= { ((((mmc_uint_t)53)<<(3))+((1<<(3+3))+5)), "Please set the number of processors you want to use!\n"
}
;
251#define _OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT87)((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3))
252#define _OMC_LIT88_data"numProcs" "numProcs"
253static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT88,8,_OMC_LIT88_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT88
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "numProcs"
}
;
254#define _OMC_LIT88((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT88)((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3))
255#define _OMC_LIT89_data"n" "n"
256static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT89,1,_OMC_LIT89_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT89
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "n"
}
;
257#define _OMC_LIT89((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT89)((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3))
258static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT90,1,1)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT90
= { (((1) << 10) + (((1) & 255) << 2)),
{_OMC_LIT89((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3))}};
259#define _OMC_LIT90((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT90)((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3))
260static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT91,2,5)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT91
= { (((2) << 10) + (((5) & 255) << 2)),
{&Flags_FlagData_INT__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
261#define _OMC_LIT91((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT91)((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3))
262#define _OMC_LIT92_data"Sets the number of processors to use (0=default=auto)." "Sets the number of processors to use (0=default=auto)."
263static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT92,54,_OMC_LIT92_data)struct { mmc_uint_t header; const char data[(54)+1]; } _OMC_LIT_STRUCT92
= { ((((mmc_uint_t)54)<<(3))+((1<<(3+3))+5)), "Sets the number of processors to use (0=default=auto)."
}
;
264#define _OMC_LIT92((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT92)((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3))
265static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT93,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT93
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT92((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3))}};
266#define _OMC_LIT93((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT93)((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3))
267static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT94,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT94
= { (((8) << 10) + (((3) & 255) << 2)),
{&Flags_ConfigFlag_CONFIG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(24))((void*)(((((mmc_uint_t) (24)) << 1)+0))),_OMC_LIT88((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3)),_OMC_LIT90((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3)),_OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3)),_OMC_LIT91((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3)),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3)),_OMC_LIT93((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3))}};
268#define _OMC_LIT94((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT94)((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3))
269#define _OMC_LIT95_data"Warning: Your system provides only " "Warning: Your system provides only "
270static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT95,35,_OMC_LIT95_data)struct { mmc_uint_t header; const char data[(35)+1]; } _OMC_LIT_STRUCT95
= { ((((mmc_uint_t)35)<<(3))+((1<<(3+3))+5)), "Warning: Your system provides only "
}
;
271#define _OMC_LIT95((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT95)((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3))
272#define _OMC_LIT96_data"hpcomDump" "hpcomDump"
273static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT96,9,_OMC_LIT96_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT96
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "hpcomDump"
}
;
274#define _OMC_LIT96((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT96)((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3))
275#define _OMC_LIT97_data"Dumps additional information on the parallel execution with hpcom." "Dumps additional information on the parallel execution with hpcom."
276static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT97,66,_OMC_LIT97_data)struct { mmc_uint_t header; const char data[(66)+1]; } _OMC_LIT_STRUCT97
= { ((((mmc_uint_t)66)<<(3))+((1<<(3+3))+5)), "Dumps additional information on the parallel execution with hpcom."
}
;
277#define _OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT97)((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3))
278static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT98,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT98
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3))}};
279#define _OMC_LIT98((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT98)((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3))
280static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT99,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT99
= { (((5) << 10) + (((3) & 255) << 2)),
{&Flags_DebugFlag_DEBUG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(97))((void*)(((((mmc_uint_t) (97)) << 1)+0))),_OMC_LIT96((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT98((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3))}};
281#define _OMC_LIT99((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT99)((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3))
282#define _OMC_LIT100_data"_init.graphml" "_init.graphml"
283static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT100,13,_OMC_LIT100_data)struct { mmc_uint_t header; const char data[(13)+1]; } _OMC_LIT_STRUCT100
= { ((((mmc_uint_t)13)<<(3))+((1<<(3+3))+5)), "_init.graphml"
}
;
284#define _OMC_LIT100((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT100)((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3))
285static const MMC_DEFREALLIT(_OMC_LIT_STRUCT101,-1.0)struct mmc_real_lit _OMC_LIT_STRUCT101 = {0,(((8/8) << 10
) + 9),-1.0}
;
286#define _OMC_LIT101((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT101)((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3))
287static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT102,3,0)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT102
= { (((3) << 10) + (((0) & 255) << 2)),
{MMC_IMMEDIATE(MMC_TAGFIXNUM(-1))((void*)(((((mmc_uint_t) (-1)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(-1))((void*)(((((mmc_uint_t) (-1)) << 1)+0))),_OMC_LIT101((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3))}};
288#define _OMC_LIT102((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT102)((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3))
289#define _OMC_LIT103_data"" ""
290static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT103,0,_OMC_LIT103_data)struct { mmc_uint_t header; const char data[(0)+1]; } _OMC_LIT_STRUCT103
= { ((((mmc_uint_t)0)<<(3))+((1<<(3+3))+5)), "" }
;
291#define _OMC_LIT103((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT103)((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3))
292static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT104,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT104
= { (((5) << 10) + (((3) & 255) << 2)),
{&HpcOmTaskGraph_GraphDumpOptions_GRAPHDUMPOPTIONS__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0)))}};
293#define _OMC_LIT104((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT104)((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3))
294#define _OMC_LIT105_data"multirate" "multirate"
295static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT105,9,_OMC_LIT105_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT105
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "multirate"
}
;
296#define _OMC_LIT105((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT105)((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3))
297#define _OMC_LIT106_data"The solver can switch partitions in the system." "The solver can switch partitions in the system."
298static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT106,47,_OMC_LIT106_data)struct { mmc_uint_t header; const char data[(47)+1]; } _OMC_LIT_STRUCT106
= { ((((mmc_uint_t)47)<<(3))+((1<<(3+3))+5)), "The solver can switch partitions in the system."
}
;
299#define _OMC_LIT106((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT106)((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3))
300static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT107,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT107
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT106((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3))}};
301#define _OMC_LIT107((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT107)((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3))
302static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT108,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT108
= { (((5) << 10) + (((3) & 255) << 2)),
{&Flags_DebugFlag_DEBUG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(149))((void*)(((((mmc_uint_t) (149)) << 1)+0))),_OMC_LIT105((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT107((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3))}};
303#define _OMC_LIT108((void*)((char*)(&(_OMC_LIT_STRUCT108).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT108)((void*)((char*)(&(_OMC_LIT_STRUCT108).header) + 3))
304#define _OMC_LIT109_data"DO MULTIRATE\n" "DO MULTIRATE\n"
305static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT109,13,_OMC_LIT109_data)struct { mmc_uint_t header; const char data[(13)+1]; } _OMC_LIT_STRUCT109
= { ((((mmc_uint_t)13)<<(3))+((1<<(3+3))+5)), "DO MULTIRATE\n"
}
;
306#define _OMC_LIT109((void*)((char*)(&(_OMC_LIT_STRUCT109).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT109)((void*)((char*)(&(_OMC_LIT_STRUCT109).header) + 3))
307#define _OMC_LIT110_data"hpcom setup" "hpcom setup"
308static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT110,11,_OMC_LIT110_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT110
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "hpcom setup"
}
;
309#define _OMC_LIT110((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT110)((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3))
310#define _OMC_LIT111_data"_eqs_prof" "_eqs_prof"
311static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT111,9,_OMC_LIT111_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT111
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "_eqs_prof"
}
;
312#define _OMC_LIT111((void*)((char*)(&(_OMC_LIT_STRUCT111).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT111)((void*)((char*)(&(_OMC_LIT_STRUCT111).header) + 3))
313#define _OMC_LIT112_data"_ODE.graphml" "_ODE.graphml"
314static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT112,12,_OMC_LIT112_data)struct { mmc_uint_t header; const char data[(12)+1]; } _OMC_LIT_STRUCT112
= { ((((mmc_uint_t)12)<<(3))+((1<<(3+3))+5)), "_ODE.graphml"
}
;
315#define _OMC_LIT112((void*)((char*)(&(_OMC_LIT_STRUCT112).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT112)((void*)((char*)(&(_OMC_LIT_STRUCT112).header) + 3))
316#define _OMC_LIT113_data"hpcom" "hpcom"
317static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT113,5,_OMC_LIT113_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT113
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "hpcom"
}
;
318#define _OMC_LIT113((void*)((char*)(&(_OMC_LIT_STRUCT113).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT113)((void*)((char*)(&(_OMC_LIT_STRUCT113).header) + 3))
319#define _OMC_LIT114_data"Enables parallel calculation based on task-graphs." "Enables parallel calculation based on task-graphs."
320static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT114,50,_OMC_LIT114_data)struct { mmc_uint_t header; const char data[(50)+1]; } _OMC_LIT_STRUCT114
= { ((((mmc_uint_t)50)<<(3))+((1<<(3+3))+5)), "Enables parallel calculation based on task-graphs."
}
;
321#define _OMC_LIT114((void*)((char*)(&(_OMC_LIT_STRUCT114).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT114)((void*)((char*)(&(_OMC_LIT_STRUCT114).header) + 3))
322static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT115,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT115
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT114((void*)((char*)(&(_OMC_LIT_STRUCT114).header) + 3))}};
323#define _OMC_LIT115((void*)((char*)(&(_OMC_LIT_STRUCT115).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT115)((void*)((char*)(&(_OMC_LIT_STRUCT115).header) + 3))
324static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT116,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT116
= { (((5) << 10) + (((3) & 255) << 2)),
{&Flags_DebugFlag_DEBUG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(88))((void*)(((((mmc_uint_t) (88)) << 1)+0))),_OMC_LIT113((void*)((char*)(&(_OMC_LIT_STRUCT113).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT115((void*)((char*)(&(_OMC_LIT_STRUCT115).header) + 3))}};
325#define _OMC_LIT116((void*)((char*)(&(_OMC_LIT_STRUCT116).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT116)((void*)((char*)(&(_OMC_LIT_STRUCT116).header) + 3))
326#define _OMC_LIT117_data"hpcom create DAE TaskGraph" "hpcom create DAE TaskGraph"
327static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT117,26,_OMC_LIT117_data)struct { mmc_uint_t header; const char data[(26)+1]; } _OMC_LIT_STRUCT117
= { ((((mmc_uint_t)26)<<(3))+((1<<(3+3))+5)), "hpcom create DAE TaskGraph"
}
;
328#define _OMC_LIT117((void*)((char*)(&(_OMC_LIT_STRUCT117).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT117)((void*)((char*)(&(_OMC_LIT_STRUCT117).header) + 3))
329#define _OMC_LIT118_data"DAE system" "DAE system"
330static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT118,10,_OMC_LIT118_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT118
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "DAE system"
}
;
331#define _OMC_LIT118((void*)((char*)(&(_OMC_LIT_STRUCT118).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT118)((void*)((char*)(&(_OMC_LIT_STRUCT118).header) + 3))
332#define _OMC_LIT119_data"hpcom validate DAE TaskGraph" "hpcom validate DAE TaskGraph"
333static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT119,28,_OMC_LIT119_data)struct { mmc_uint_t header; const char data[(28)+1]; } _OMC_LIT_STRUCT119
= { ((((mmc_uint_t)28)<<(3))+((1<<(3+3))+5)), "hpcom validate DAE TaskGraph"
}
;
334#define _OMC_LIT119((void*)((char*)(&(_OMC_LIT_STRUCT119).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT119)((void*)((char*)(&(_OMC_LIT_STRUCT119).header) + 3))
335#define _OMC_LIT120_data"hpcom create costs" "hpcom create costs"
336static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT120,18,_OMC_LIT120_data)struct { mmc_uint_t header; const char data[(18)+1]; } _OMC_LIT_STRUCT120
= { ((((mmc_uint_t)18)<<(3))+((1<<(3+3))+5)), "hpcom create costs"
}
;
337#define _OMC_LIT120((void*)((char*)(&(_OMC_LIT_STRUCT120).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT120)((void*)((char*)(&(_OMC_LIT_STRUCT120).header) + 3))
338#define _OMC_LIT121_data"hpcom create ODE TaskGraph" "hpcom create ODE TaskGraph"
339static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT121,26,_OMC_LIT121_data)struct { mmc_uint_t header; const char data[(26)+1]; } _OMC_LIT_STRUCT121
= { ((((mmc_uint_t)26)<<(3))+((1<<(3+3))+5)), "hpcom create ODE TaskGraph"
}
;
340#define _OMC_LIT121((void*)((char*)(&(_OMC_LIT_STRUCT121).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT121)((void*)((char*)(&(_OMC_LIT_STRUCT121).header) + 3))
341#define _OMC_LIT122_data"TaskgraphMeta ODE invalid\n" "TaskgraphMeta ODE invalid\n"
342static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT122,26,_OMC_LIT122_data)struct { mmc_uint_t header; const char data[(26)+1]; } _OMC_LIT_STRUCT122
= { ((((mmc_uint_t)26)<<(3))+((1<<(3+3))+5)), "TaskgraphMeta ODE invalid\n"
}
;
343#define _OMC_LIT122((void*)((char*)(&(_OMC_LIT_STRUCT122).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT122)((void*)((char*)(&(_OMC_LIT_STRUCT122).header) + 3))
344#define _OMC_LIT123_data"hpcom validate ODE TaskGraph" "hpcom validate ODE TaskGraph"
345static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT123,28,_OMC_LIT123_data)struct { mmc_uint_t header; const char data[(28)+1]; } _OMC_LIT_STRUCT123
= { ((((mmc_uint_t)28)<<(3))+((1<<(3+3))+5)), "hpcom validate ODE TaskGraph"
}
;
346#define _OMC_LIT123((void*)((char*)(&(_OMC_LIT_STRUCT123).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT123)((void*)((char*)(&(_OMC_LIT_STRUCT123).header) + 3))
347static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT124,3,0)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT124
= { (((3) << 10) + (((0) & 255) << 2)),
{MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
348#define _OMC_LIT124((void*)((char*)(&(_OMC_LIT_STRUCT124).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT124)((void*)((char*)(&(_OMC_LIT_STRUCT124).header) + 3))
349#define _OMC_LIT125_data"_ZeroFuncs.graphml" "_ZeroFuncs.graphml"
350static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT125,18,_OMC_LIT125_data)struct { mmc_uint_t header; const char data[(18)+1]; } _OMC_LIT_STRUCT125
= { ((((mmc_uint_t)18)<<(3))+((1<<(3+3))+5)), "_ZeroFuncs.graphml"
}
;
351#define _OMC_LIT125((void*)((char*)(&(_OMC_LIT_STRUCT125).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT125)((void*)((char*)(&(_OMC_LIT_STRUCT125).header) + 3))
352#define _OMC_LIT126_data"hpcom create and dump zeroFuncs TaskGraph" "hpcom create and dump zeroFuncs TaskGraph"
353static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT126,41,_OMC_LIT126_data)struct { mmc_uint_t header; const char data[(41)+1]; } _OMC_LIT_STRUCT126
= { ((((mmc_uint_t)41)<<(3))+((1<<(3+3))+5)), "hpcom create and dump zeroFuncs TaskGraph"
}
;
354#define _OMC_LIT126((void*)((char*)(&(_OMC_LIT_STRUCT126).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT126)((void*)((char*)(&(_OMC_LIT_STRUCT126).header) + 3))
355static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT127,3,0)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT127
= { (((3) << 10) + (((0) & 255) << 2)),
{MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
356#define _OMC_LIT127((void*)((char*)(&(_OMC_LIT_STRUCT127).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT127)((void*)((char*)(&(_OMC_LIT_STRUCT127).header) + 3))
357#define _OMC_LIT128_data"ZeroFunc system" "ZeroFunc system"
358static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT128,15,_OMC_LIT128_data)struct { mmc_uint_t header; const char data[(15)+1]; } _OMC_LIT_STRUCT128
= { ((((mmc_uint_t)15)<<(3))+((1<<(3+3))+5)), "ZeroFunc system"
}
;
359#define _OMC_LIT128((void*)((char*)(&(_OMC_LIT_STRUCT128).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT128)((void*)((char*)(&(_OMC_LIT_STRUCT128).header) + 3))
360#define _OMC_LIT129_data"DAE.graphml" "DAE.graphml"
361static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT129,11,_OMC_LIT129_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT129
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "DAE.graphml"
}
;
362#define _OMC_LIT129((void*)((char*)(&(_OMC_LIT_STRUCT129).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT129)((void*)((char*)(&(_OMC_LIT_STRUCT129).header) + 3))
363#define _OMC_LIT130_data"hpcom dump DAE TaskGraph" "hpcom dump DAE TaskGraph"
364static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT130,24,_OMC_LIT130_data)struct { mmc_uint_t header; const char data[(24)+1]; } _OMC_LIT_STRUCT130
= { ((((mmc_uint_t)24)<<(3))+((1<<(3+3))+5)), "hpcom dump DAE TaskGraph"
}
;
365#define _OMC_LIT130((void*)((char*)(&(_OMC_LIT_STRUCT130).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT130)((void*)((char*)(&(_OMC_LIT_STRUCT130).header) + 3))
366#define _OMC_LIT131_data" sum: (" " sum: ("
367static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT131,7,_OMC_LIT131_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT131
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), " sum: ("
}
;
368#define _OMC_LIT131((void*)((char*)(&(_OMC_LIT_STRUCT131).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT131)((void*)((char*)(&(_OMC_LIT_STRUCT131).header) + 3))
369#define _OMC_LIT132_data" ; " " ; "
370static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT132,3,_OMC_LIT132_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT132
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), " ; "
}
;
371#define _OMC_LIT132((void*)((char*)(&(_OMC_LIT_STRUCT132).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT132)((void*)((char*)(&(_OMC_LIT_STRUCT132).header) + 3))
372#define _OMC_LIT133_data")" ")"
373static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT133,1,_OMC_LIT133_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT133
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), ")"
}
;
374#define _OMC_LIT133((void*)((char*)(&(_OMC_LIT_STRUCT133).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT133)((void*)((char*)(&(_OMC_LIT_STRUCT133).header) + 3))
375#define _OMC_LIT134_data"ODE.graphml" "ODE.graphml"
376static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT134,11,_OMC_LIT134_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT134
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "ODE.graphml"
}
;
377#define _OMC_LIT134((void*)((char*)(&(_OMC_LIT_STRUCT134).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT134)((void*)((char*)(&(_OMC_LIT_STRUCT134).header) + 3))
378#define _OMC_LIT135_data"hpcom assign levels / get crit. path" "hpcom assign levels / get crit. path"
379static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT135,36,_OMC_LIT135_data)struct { mmc_uint_t header; const char data[(36)+1]; } _OMC_LIT_STRUCT135
= { ((((mmc_uint_t)36)<<(3))+((1<<(3+3))+5)), "hpcom assign levels / get crit. path"
}
;
380#define _OMC_LIT135((void*)((char*)(&(_OMC_LIT_STRUCT135).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT135)((void*)((char*)(&(_OMC_LIT_STRUCT135).header) + 3))
381static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT136,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT136
= { (((5) << 10) + (((3) & 255) << 2)),
{&HpcOmTaskGraph_GraphDumpOptions_GRAPHDUMPOPTIONS__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0)))}};
382#define _OMC_LIT136((void*)((char*)(&(_OMC_LIT_STRUCT136).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT136)((void*)((char*)(&(_OMC_LIT_STRUCT136).header) + 3))
383#define _OMC_LIT137_data"hpcom dump ODE TaskGraph" "hpcom dump ODE TaskGraph"
384static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT137,24,_OMC_LIT137_data)struct { mmc_uint_t header; const char data[(24)+1]; } _OMC_LIT_STRUCT137
= { ((((mmc_uint_t)24)<<(3))+((1<<(3+3))+5)), "hpcom dump ODE TaskGraph"
}
;
385#define _OMC_LIT137((void*)((char*)(&(_OMC_LIT_STRUCT137).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT137)((void*)((char*)(&(_OMC_LIT_STRUCT137).header) + 3))
386#define _OMC_LIT138_data"Critical Path successfully calculated\n" "Critical Path successfully calculated\n"
387static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT138,38,_OMC_LIT138_data)struct { mmc_uint_t header; const char data[(38)+1]; } _OMC_LIT_STRUCT138
= { ((((mmc_uint_t)38)<<(3))+((1<<(3+3))+5)), "Critical Path successfully calculated\n"
}
;
388#define _OMC_LIT138((void*)((char*)(&(_OMC_LIT_STRUCT138).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT138)((void*)((char*)(&(_OMC_LIT_STRUCT138).header) + 3))
389#define _OMC_LIT139_data"hpcom GRS" "hpcom GRS"
390static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT139,9,_OMC_LIT139_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT139
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "hpcom GRS"
}
;
391#define _OMC_LIT139((void*)((char*)(&(_OMC_LIT_STRUCT139).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT139)((void*)((char*)(&(_OMC_LIT_STRUCT139).header) + 3))
392#define _OMC_LIT140_data"ODE_merged.graphml" "ODE_merged.graphml"
393static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT140,18,_OMC_LIT140_data)struct { mmc_uint_t header; const char data[(18)+1]; } _OMC_LIT_STRUCT140
= { ((((mmc_uint_t)18)<<(3))+((1<<(3+3))+5)), "ODE_merged.graphml"
}
;
394#define _OMC_LIT140((void*)((char*)(&(_OMC_LIT_STRUCT140).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT140)((void*)((char*)(&(_OMC_LIT_STRUCT140).header) + 3))
395#define _OMC_LIT141_data"hpcom dump simplified TaskGraph" "hpcom dump simplified TaskGraph"
396static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT141,31,_OMC_LIT141_data)struct { mmc_uint_t header; const char data[(31)+1]; } _OMC_LIT_STRUCT141
= { ((((mmc_uint_t)31)<<(3))+((1<<(3+3))+5)), "hpcom dump simplified TaskGraph"
}
;
397#define _OMC_LIT141((void*)((char*)(&(_OMC_LIT_STRUCT141).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT141)((void*)((char*)(&(_OMC_LIT_STRUCT141).header) + 3))
398#define _OMC_LIT142_data"Filter successfully applied. Merged " "Filter successfully applied. Merged "
399static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT142,36,_OMC_LIT142_data)struct { mmc_uint_t header; const char data[(36)+1]; } _OMC_LIT_STRUCT142
= { ((((mmc_uint_t)36)<<(3))+((1<<(3+3))+5)), "Filter successfully applied. Merged "
}
;
400#define _OMC_LIT142((void*)((char*)(&(_OMC_LIT_STRUCT142).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT142)((void*)((char*)(&(_OMC_LIT_STRUCT142).header) + 3))
401#define _OMC_LIT143_data" tasks.\n" " tasks.\n"
402static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT143,8,_OMC_LIT143_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT143
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), " tasks.\n"
}
;
403#define _OMC_LIT143((void*)((char*)(&(_OMC_LIT_STRUCT143).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT143)((void*)((char*)(&(_OMC_LIT_STRUCT143).header) + 3))
404#define _OMC_LIT144_data"ODE system" "ODE system"
405static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT144,10,_OMC_LIT144_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT144
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "ODE system"
}
;
406#define _OMC_LIT144((void*)((char*)(&(_OMC_LIT_STRUCT144).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT144)((void*)((char*)(&(_OMC_LIT_STRUCT144).header) + 3))
407#define _OMC_LIT145_data"hpcom create schedule" "hpcom create schedule"
408static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT145,21,_OMC_LIT145_data)struct { mmc_uint_t header; const char data[(21)+1]; } _OMC_LIT_STRUCT145
= { ((((mmc_uint_t)21)<<(3))+((1<<(3+3))+5)), "hpcom create schedule"
}
;
409#define _OMC_LIT145((void*)((char*)(&(_OMC_LIT_STRUCT145).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT145)((void*)((char*)(&(_OMC_LIT_STRUCT145).header) + 3))
410#define _OMC_LIT146_data"ODE_schedule.graphml" "ODE_schedule.graphml"
411static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT146,20,_OMC_LIT146_data)struct { mmc_uint_t header; const char data[(20)+1]; } _OMC_LIT_STRUCT146
= { ((((mmc_uint_t)20)<<(3))+((1<<(3+3))+5)), "ODE_schedule.graphml"
}
;
412#define _OMC_LIT146((void*)((char*)(&(_OMC_LIT_STRUCT146).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT146)((void*)((char*)(&(_OMC_LIT_STRUCT146).header) + 3))
413#define _OMC_LIT147_data"hpcom dump schedule TaskGraph" "hpcom dump schedule TaskGraph"
414static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT147,29,_OMC_LIT147_data)struct { mmc_uint_t header; const char data[(29)+1]; } _OMC_LIT_STRUCT147
= { ((((mmc_uint_t)29)<<(3))+((1<<(3+3))+5)), "hpcom dump schedule TaskGraph"
}
;
415#define _OMC_LIT147((void*)((char*)(&(_OMC_LIT_STRUCT147).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT147)((void*)((char*)(&(_OMC_LIT_STRUCT147).header) + 3))
416#define _OMC_LIT148_data"Schedule created\n" "Schedule created\n"
417static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT148,17,_OMC_LIT148_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT148
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "Schedule created\n"
}
;
418#define _OMC_LIT148((void*)((char*)(&(_OMC_LIT_STRUCT148).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT148)((void*)((char*)(&(_OMC_LIT_STRUCT148).header) + 3))
419#define _OMC_LIT149_data"hpcom check ODE system size" "hpcom check ODE system size"
420static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT149,27,_OMC_LIT149_data)struct { mmc_uint_t header; const char data[(27)+1]; } _OMC_LIT_STRUCT149
= { ((((mmc_uint_t)27)<<(3))+((1<<(3+3))+5)), "hpcom check ODE system size"
}
;
421#define _OMC_LIT149((void*)((char*)(&(_OMC_LIT_STRUCT149).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT149)((void*)((char*)(&(_OMC_LIT_STRUCT149).header) + 3))
422#define _OMC_LIT150_data"hpcom create memory map" "hpcom create memory map"
423static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT150,23,_OMC_LIT150_data)struct { mmc_uint_t header; const char data[(23)+1]; } _OMC_LIT_STRUCT150
= { ((((mmc_uint_t)23)<<(3))+((1<<(3+3))+5)), "hpcom create memory map"
}
;
424#define _OMC_LIT150((void*)((char*)(&(_OMC_LIT_STRUCT150).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT150)((void*)((char*)(&(_OMC_LIT_STRUCT150).header) + 3))
425#define _OMC_LIT151_data"hpcom other" "hpcom other"
426static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT151,11,_OMC_LIT151_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT151
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "hpcom other"
}
;
427#define _OMC_LIT151((void*)((char*)(&(_OMC_LIT_STRUCT151).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT151)((void*)((char*)(&(_OMC_LIT_STRUCT151).header) + 3))
428#define _OMC_LIT152_data"HpcOm is still under construction.\n" "HpcOm is still under construction.\n"
429static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT152,35,_OMC_LIT152_data)struct { mmc_uint_t header; const char data[(35)+1]; } _OMC_LIT_STRUCT152
= { ((((mmc_uint_t)35)<<(3))+((1<<(3+3))+5)), "HpcOm is still under construction.\n"
}
;
430#define _OMC_LIT152((void*)((char*)(&(_OMC_LIT_STRUCT152).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT152)((void*)((char*)(&(_OMC_LIT_STRUCT152).header) + 3))
431static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT153,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT153
= { (((1) << 10) + (((5) & 255) << 2)),
{&ErrorTypes_MessageType_TRANSLATION__desc,}};
432#define _OMC_LIT153((void*)((char*)(&(_OMC_LIT_STRUCT153).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT153)((void*)((char*)(&(_OMC_LIT_STRUCT153).header) + 3))
433static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT154,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT154
= { (((1) << 10) + (((4) & 255) << 2)),
{&ErrorTypes_Severity_ERROR__desc,}};
434#define _OMC_LIT154((void*)((char*)(&(_OMC_LIT_STRUCT154).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT154)((void*)((char*)(&(_OMC_LIT_STRUCT154).header) + 3))
435#define _OMC_LIT155_data"Internal error %s" "Internal error %s"
436static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT155,17,_OMC_LIT155_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT155
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "Internal error %s"
}
;
437#define _OMC_LIT155((void*)((char*)(&(_OMC_LIT_STRUCT155).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT155)((void*)((char*)(&(_OMC_LIT_STRUCT155).header) + 3))
438static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT156,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT156
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT155((void*)((char*)(&(_OMC_LIT_STRUCT155).header) + 3))}};
439#define _OMC_LIT156((void*)((char*)(&(_OMC_LIT_STRUCT156).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT156)((void*)((char*)(&(_OMC_LIT_STRUCT156).header) + 3))
440static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT157,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT157
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(63))((void*)(((((mmc_uint_t) (63)) << 1)+0))),_OMC_LIT153((void*)((char*)(&(_OMC_LIT_STRUCT153).header) + 3)),_OMC_LIT154((void*)((char*)(&(_OMC_LIT_STRUCT154).header) + 3)),_OMC_LIT156((void*)((char*)(&(_OMC_LIT_STRUCT156).header) + 3))}};
441#define _OMC_LIT157((void*)((char*)(&(_OMC_LIT_STRUCT157).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT157)((void*)((char*)(&(_OMC_LIT_STRUCT157).header) + 3))
442#define _OMC_LIT158_data"function createSimCode failed." "function createSimCode failed."
443static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT158,30,_OMC_LIT158_data)struct { mmc_uint_t header; const char data[(30)+1]; } _OMC_LIT_STRUCT158
= { ((((mmc_uint_t)30)<<(3))+((1<<(3+3))+5)), "function createSimCode failed."
}
;
444#define _OMC_LIT158((void*)((char*)(&(_OMC_LIT_STRUCT158).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT158)((void*)((char*)(&(_OMC_LIT_STRUCT158).header) + 3))
445static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT159,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT159
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT158((void*)((char*)(&(_OMC_LIT_STRUCT158).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
446#define _OMC_LIT159((void*)((char*)(&(_OMC_LIT_STRUCT159).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT159)((void*)((char*)(&(_OMC_LIT_STRUCT159).header) + 3))
447#include "util/modelica.h"
448
449#include "HpcOmSimCodeMain_includes.h"
450
451
452/* default, do not make protected functions static */
453#if !defined(PROTECTED_FUNCTION_STATIC)
454#define PROTECTED_FUNCTION_STATIC
455#endif
456PROTECTED_FUNCTION_STATIC void omc_HpcOmSimCodeMain_outputTimeBenchmark2(threadData_t *threadData, modelica_metatype _compsIn, modelica_metatype _numCycles, modelica_metatype _eqSystemsIn, modelica_metatype _shared, modelica_integer _compIdx);
457PROTECTED_FUNCTION_STATIC void boxptr_HpcOmSimCodeMain_outputTimeBenchmark2(threadData_t *threadData, modelica_metatype _compsIn, modelica_metatype _numCycles, modelica_metatype _eqSystemsIn, modelica_metatype _shared, modelica_metatype _compIdx);
458static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmSimCodeMain_outputTimeBenchmark2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmSimCodeMain_outputTimeBenchmark2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmSimCodeMain_outputTimeBenchmark2,0}};
459#define boxvar_HpcOmSimCodeMain_outputTimeBenchmark2((void*)((char*)(&(boxvar_lit_HpcOmSimCodeMain_outputTimeBenchmark2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmSimCodeMain_outputTimeBenchmark2)((void*)((char*)(&(boxvar_lit_HpcOmSimCodeMain_outputTimeBenchmark2
).header) + 3))
460PROTECTED_FUNCTION_STATIC modelica_boolean omc_HpcOmSimCodeMain_checkEquationCount(threadData_t *threadData, modelica_metatype _iTaskGraphMeta, modelica_string _iSystemName, modelica_integer _iExpectedNumberOfEqs, modelica_metatype _iSccSimEqMapping);
461PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmSimCodeMain_checkEquationCount(threadData_t *threadData, modelica_metatype _iTaskGraphMeta, modelica_metatype _iSystemName, modelica_metatype _iExpectedNumberOfEqs, modelica_metatype _iSccSimEqMapping);
462static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmSimCodeMain_checkEquationCount,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmSimCodeMain_checkEquationCount
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmSimCodeMain_checkEquationCount,0}};
463#define boxvar_HpcOmSimCodeMain_checkEquationCount((void*)((char*)(&(boxvar_lit_HpcOmSimCodeMain_checkEquationCount
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmSimCodeMain_checkEquationCount)((void*)((char*)(&(boxvar_lit_HpcOmSimCodeMain_checkEquationCount
).header) + 3))
464PROTECTED_FUNCTION_STATIC modelica_boolean omc_HpcOmSimCodeMain_checkTaskGraphMetaConsistency(threadData_t *threadData, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphMeta, modelica_string _iSystemName);
465PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmSimCodeMain_checkTaskGraphMetaConsistency(threadData_t *threadData, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphMeta, modelica_metatype _iSystemName);
466static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmSimCodeMain_checkTaskGraphMetaConsistency,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmSimCodeMain_checkTaskGraphMetaConsistency
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmSimCodeMain_checkTaskGraphMetaConsistency,0}};
467#define boxvar_HpcOmSimCodeMain_checkTaskGraphMetaConsistency((void*)((char*)(&(boxvar_lit_HpcOmSimCodeMain_checkTaskGraphMetaConsistency
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmSimCodeMain_checkTaskGraphMetaConsistency)((void*)((char*)(&(boxvar_lit_HpcOmSimCodeMain_checkTaskGraphMetaConsistency
).header) + 3))
468PROTECTED_FUNCTION_STATIC modelica_boolean omc_HpcOmSimCodeMain_checkOdeSystemSize(threadData_t *threadData, modelica_metatype _iTaskGraphMeta, modelica_metatype _iOdeEqs, modelica_metatype _iSccSimEqMapping);
469PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmSimCodeMain_checkOdeSystemSize(threadData_t *threadData, modelica_metatype _iTaskGraphMeta, modelica_metatype _iOdeEqs, modelica_metatype _iSccSimEqMapping);
470static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmSimCodeMain_checkOdeSystemSize,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmSimCodeMain_checkOdeSystemSize
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmSimCodeMain_checkOdeSystemSize,0}};
471#define boxvar_HpcOmSimCodeMain_checkOdeSystemSize((void*)((char*)(&(boxvar_lit_HpcOmSimCodeMain_checkOdeSystemSize
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmSimCodeMain_checkOdeSystemSize)((void*)((char*)(&(boxvar_lit_HpcOmSimCodeMain_checkOdeSystemSize
).header) + 3))
472PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmSimCodeMain_createSchedule1(threadData_t *threadData, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphMeta, modelica_metatype _iSccSimEqMapping, modelica_metatype _iSimVarMapping, modelica_string _iFilenamePrefix, modelica_integer _iNumProc, modelica_metatype _iSimCode, modelica_metatype _iScheduledTasks, modelica_string _iSystemName, modelica_string _iSchedulerName, modelica_metatype *out_oSimCode, modelica_metatype *out_oTaskGraph, modelica_metatype *out_oTaskGraphMeta, modelica_metatype *out_oSccSimEqMapping);
473PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmSimCodeMain_createSchedule1(threadData_t *threadData, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphMeta, modelica_metatype _iSccSimEqMapping, modelica_metatype _iSimVarMapping, modelica_metatype _iFilenamePrefix, modelica_metatype _iNumProc, modelica_metatype _iSimCode, modelica_metatype _iScheduledTasks, modelica_metatype _iSystemName, modelica_metatype _iSchedulerName, modelica_metatype *out_oSimCode, modelica_metatype *out_oTaskGraph, modelica_metatype *out_oTaskGraphMeta, modelica_metatype *out_oSccSimEqMapping);
474static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmSimCodeMain_createSchedule1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmSimCodeMain_createSchedule1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmSimCodeMain_createSchedule1,0}};
475#define boxvar_HpcOmSimCodeMain_createSchedule1((void*)((char*)(&(boxvar_lit_HpcOmSimCodeMain_createSchedule1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmSimCodeMain_createSchedule1)((void*)((char*)(&(boxvar_lit_HpcOmSimCodeMain_createSchedule1
).header) + 3))
476PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmSimCodeMain_createSchedule(threadData_t *threadData, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphMeta, modelica_metatype _iSccSimEqMapping, modelica_metatype _iSimVarMapping, modelica_string _iFilenamePrefix, modelica_integer _iNumProc, modelica_integer _iNumProcToUse, modelica_metatype _iSimCode, modelica_metatype _iScheduledTasks, modelica_string _iSystemName, modelica_string _iSchedulerName, modelica_metatype *out_oSimCode, modelica_metatype *out_oTaskGraph, modelica_metatype *out_oTaskGraphMeta, modelica_metatype *out_oSccSimEqMapping);
477PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmSimCodeMain_createSchedule(threadData_t *threadData, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphMeta, modelica_metatype _iSccSimEqMapping, modelica_metatype _iSimVarMapping, modelica_metatype _iFilenamePrefix, modelica_metatype _iNumProc, modelica_metatype _iNumProcToUse, modelica_metatype _iSimCode, modelica_metatype _iScheduledTasks, modelica_metatype _iSystemName, modelica_metatype _iSchedulerName, modelica_metatype *out_oSimCode, modelica_metatype *out_oTaskGraph, modelica_metatype *out_oTaskGraphMeta, modelica_metatype *out_oSccSimEqMapping);
478static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmSimCodeMain_createSchedule,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmSimCodeMain_createSchedule
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmSimCodeMain_createSchedule,0}};
479#define boxvar_HpcOmSimCodeMain_createSchedule((void*)((char*)(&(boxvar_lit_HpcOmSimCodeMain_createSchedule
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmSimCodeMain_createSchedule)((void*)((char*)(&(boxvar_lit_HpcOmSimCodeMain_createSchedule
).header) + 3))
480PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmSimCodeMain_GRS__newGraph2(threadData_t *threadData, modelica_metatype _origNodes, modelica_metatype _removedNodes, modelica_metatype _contrTasks, modelica_metatype _origGraph, modelica_metatype _origInComps, modelica_metatype _newGraph, modelica_metatype _newInComps, modelica_integer _newNode, modelica_metatype *out_inCompsOut);
481PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmSimCodeMain_GRS__newGraph2(threadData_t *threadData, modelica_metatype _origNodes, modelica_metatype _removedNodes, modelica_metatype _contrTasks, modelica_metatype _origGraph, modelica_metatype _origInComps, modelica_metatype _newGraph, modelica_metatype _newInComps, modelica_metatype _newNode, modelica_metatype *out_inCompsOut);
482static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmSimCodeMain_GRS__newGraph2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmSimCodeMain_GRS__newGraph2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmSimCodeMain_GRS__newGraph2,0}};
483#define boxvar_HpcOmSimCodeMain_GRS__newGraph2((void*)((char*)(&(boxvar_lit_HpcOmSimCodeMain_GRS__newGraph2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmSimCodeMain_GRS__newGraph2)((void*)((char*)(&(boxvar_lit_HpcOmSimCodeMain_GRS__newGraph2
).header) + 3))
484PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmSimCodeMain_GRS__newGraph(threadData_t *threadData, modelica_metatype _graphIn, modelica_metatype _metaIn, modelica_metatype _contrTasks, modelica_metatype *out_metaOut);
485static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmSimCodeMain_GRS__newGraph,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmSimCodeMain_GRS__newGraph
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmSimCodeMain_GRS__newGraphomc_HpcOmSimCodeMain_GRS__newGraph,0}};
486#define boxvar_HpcOmSimCodeMain_GRS__newGraph((void*)((char*)(&(boxvar_lit_HpcOmSimCodeMain_GRS__newGraph
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmSimCodeMain_GRS__newGraph)((void*)((char*)(&(boxvar_lit_HpcOmSimCodeMain_GRS__newGraph
).header) + 3))
487PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmSimCodeMain_applyGRSForScheduler(threadData_t *threadData, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphT, modelica_metatype _iTaskGraphMeta, modelica_metatype _iContractedTasks, modelica_metatype *out_oTaskGraphT, modelica_metatype *out_oTaskGraphMeta);
488static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmSimCodeMain_applyGRSForScheduler,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmSimCodeMain_applyGRSForScheduler
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmSimCodeMain_applyGRSForScheduleromc_HpcOmSimCodeMain_applyGRSForScheduler,0}};
489#define boxvar_HpcOmSimCodeMain_applyGRSForScheduler((void*)((char*)(&(boxvar_lit_HpcOmSimCodeMain_applyGRSForScheduler
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmSimCodeMain_applyGRSForScheduler)((void*)((char*)(&(boxvar_lit_HpcOmSimCodeMain_applyGRSForScheduler
).header) + 3))
490PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmSimCodeMain_applyGRS1(threadData_t *threadData, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphT, modelica_metatype _iTaskGraphMeta, modelica_metatype _iContractedTasks, modelica_boolean _again, modelica_metatype *out_oTaskGraphT, modelica_metatype *out_oTaskGraphMeta);
491PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmSimCodeMain_applyGRS1(threadData_t *threadData, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphT, modelica_metatype _iTaskGraphMeta, modelica_metatype _iContractedTasks, modelica_metatype _again, modelica_metatype *out_oTaskGraphT, modelica_metatype *out_oTaskGraphMeta);
492static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmSimCodeMain_applyGRS1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmSimCodeMain_applyGRS1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmSimCodeMain_applyGRS1,0}};
493#define boxvar_HpcOmSimCodeMain_applyGRS1((void*)((char*)(&(boxvar_lit_HpcOmSimCodeMain_applyGRS1)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmSimCodeMain_applyGRS1)((void*)((char*)(&(boxvar_lit_HpcOmSimCodeMain_applyGRS1)
.header) + 3))
494PROTECTED_FUNCTION_STATIC modelica_integer omc_HpcOmSimCodeMain_setNumProc(threadData_t *threadData, modelica_integer _numProcFlag, modelica_real _cpCosts, modelica_metatype _taskGraphMetaIn, modelica_boolean *out_numFixed);
495PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmSimCodeMain_setNumProc(threadData_t *threadData, modelica_metatype _numProcFlag, modelica_metatype _cpCosts, modelica_metatype _taskGraphMetaIn, modelica_metatype *out_numFixed);
496static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmSimCodeMain_setNumProc,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmSimCodeMain_setNumProc
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmSimCodeMain_setNumProc,0}};
497#define boxvar_HpcOmSimCodeMain_setNumProc((void*)((char*)(&(boxvar_lit_HpcOmSimCodeMain_setNumProc
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmSimCodeMain_setNumProc)((void*)((char*)(&(boxvar_lit_HpcOmSimCodeMain_setNumProc
).header) + 3))
498PROTECTED_FUNCTION_STATIC void omc_HpcOmSimCodeMain_createAndExportInitialSystemTaskGraph(threadData_t *threadData, modelica_metatype _iInitDae, modelica_string _iFileNamePrefix);
499static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmSimCodeMain_createAndExportInitialSystemTaskGraph,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmSimCodeMain_createAndExportInitialSystemTaskGraph
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmSimCodeMain_createAndExportInitialSystemTaskGraphomc_HpcOmSimCodeMain_createAndExportInitialSystemTaskGraph,0}};
500#define boxvar_HpcOmSimCodeMain_createAndExportInitialSystemTaskGraph((void*)((char*)(&(boxvar_lit_HpcOmSimCodeMain_createAndExportInitialSystemTaskGraph
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmSimCodeMain_createAndExportInitialSystemTaskGraph)((void*)((char*)(&(boxvar_lit_HpcOmSimCodeMain_createAndExportInitialSystemTaskGraph
).header) + 3))
501
502PROTECTED_FUNCTION_STATIC void omc_HpcOmSimCodeMain_outputTimeBenchmark2(threadData_t *threadData, modelica_metatype _compsIn, modelica_metatype _numCycles, modelica_metatype _eqSystemsIn, modelica_metatype _shared, modelica_integer _compIdx)
503{
504 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
505 MMC_SO()mmc_check_stackoverflow(threadData);
506 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
507#line 507 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
508 { /* matchcontinue expression */
509 volatile modelica_metatype tmp3_1;volatile modelica_metatype tmp3_2;volatile modelica_metatype tmp3_3;
510 tmp3_1 = _compsIn;
511 tmp3_2 = _numCycles;
512 tmp3_3 = _eqSystemsIn;
513 {
514 modelica_real _exeCost;
515 modelica_real _estimate;
516 modelica_metatype _restCosts = NULL((void*)0);
517 modelica_metatype _compInfo = NULL((void*)0);
518 modelica_metatype _eqSys = NULL((void*)0);
519 modelica_metatype _comp = NULL((void*)0);
520 modelica_metatype _eqSysRest = NULL((void*)0);
521 modelica_metatype _comps = NULL((void*)0);
522 volatile mmc_switch_type tmp3;
523 int tmp4;
524 // _exeCost has no default value.
525 // _estimate has no default value.
526 // _restCosts has no default value.
527 // _compInfo has no default value.
528 // _eqSys has no default value.
529 // _comp has no default value.
530 // _eqSysRest has no default value.
531 // _comps has no default value.
532 tmp3 = 0;
533 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
534 tmp2_top:
535 threadData->mmc_jumper = &new_mmc_jumper;
536 for (; tmp3 < 4; tmp3++) {
537 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
538 case 0: {
539 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
540 if (listEmpty(tmp3_3)((*(mmc_uint_t*)((void*)((char*)(tmp3_3) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
541 tmpMeta[0] = MMC_CAR(tmp3_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(1)))))
;
542 tmpMeta[1] = MMC_CDR(tmp3_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(2)))))
;
543 if (!listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
544
545 /* Pattern matching succeeded */
546#line 546 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
547 goto tmp2_done;
548 }
549 case 1: {
550 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
551 if (listEmpty(tmp3_3)((*(mmc_uint_t*)((void*)((char*)(tmp3_3) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
552 tmpMeta[0] = MMC_CAR(tmp3_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(1)))))
;
553 tmpMeta[1] = MMC_CDR(tmp3_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(2)))))
;
554
555 _eqSysRest = tmpMeta[1];
556 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
557#line 1089 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
558 _comps = omc_BackendDAEUtil_getStrongComponents(threadData, listHead(_eqSysRest)boxptr_listHead(threadData,_eqSysRest));
559#line 559 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
560
561#line 1090 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
562 omc_HpcOmSimCodeMain_outputTimeBenchmark2(threadData, _comps, _numCycles, _eqSysRest, _shared, _compIdx);
563#line 563 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
564#line 564 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
565 goto tmp2_done;
566 }
567 case 2: {
568 modelica_real tmp5;
569 modelica_real tmp6;
570 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
571 tmpMeta[0] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
572 tmpMeta[1] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
573 if (listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
574 tmpMeta[2] = MMC_CAR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
575 tmpMeta[3] = MMC_CDR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
576 tmp5 = mmc_unbox_real(tmpMeta[2])mmc_prim_get_real(tmpMeta[2]);
577 if (listEmpty(tmp3_3)((*(mmc_uint_t*)((void*)((char*)(tmp3_3) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
578 tmpMeta[4] = MMC_CAR(tmp3_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(1)))))
;
579 tmpMeta[5] = MMC_CDR(tmp3_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(2)))))
;
580 _comp = tmpMeta[0];
581 _comps = tmpMeta[1];
582 _exeCost = tmp5 /* pattern as ty=Real */;
583 _restCosts = tmpMeta[3];
584 _eqSys = tmpMeta[4];
585 /* Pattern matching succeeded */
586#line 1094 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
587 /* Pattern-matching assignment */
588#line 1094 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
589 tmpMeta[0] = mmc_mk_cons(_comp, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
590#line 1094 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
591 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
592#line 1094 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
593 tmpMeta[2] = omc_BackendDAEOptimize_countOperationstraverseComps(threadData, tmpMeta[0], _eqSys, _shared, tmpMeta[1]);
594#line 1094 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
595 if (listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto goto_1;
596#line 1094 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
597 tmpMeta[3] = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
598#line 1094 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
599 tmpMeta[4] = MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
600#line 1094 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
601 if (!listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto goto_1;
602#line 1094 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
603 _compInfo = tmpMeta[3];
604#line 604 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
605
606#line 1095 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
607 /* Pattern-matching assignment */
608#line 1095 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
609 tmpMeta[0] = omc_HpcOmTaskGraph_calculateCosts(threadData, _compInfo);
610#line 1095 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
611 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
612#line 1095 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
613 tmp6 = mmc_unbox_real(tmpMeta[1])mmc_prim_get_real(tmpMeta[1]);
614#line 1095 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
615 _estimate = tmp6 /* pattern as ty=Real */;
616#line 616 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
617
618#line 1096 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
619 omc_BackendDump_dumpCompInfo(threadData, _compInfo);
620#line 620 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
621
622#line 1097 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
623 tmpMeta[0] = stringAppend(_OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)),intString(_compIdx));
624#line 1097 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
625 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
626#line 1097 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
627 tmpMeta[2] = stringAppend(tmpMeta[1],intString(((modelica_integer)floor(_exeCost))));
628#line 1097 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
629 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)));
630#line 1097 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
631 tmpMeta[4] = stringAppend(tmpMeta[3],intString(((modelica_integer)floor(_estimate))));
632#line 1097 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
633 tmpMeta[5] = stringAppend(tmpMeta[4],_OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
634#line 1097 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
635 fputs(MMC_STRINGDATA(tmpMeta[5])(((struct mmc_string*)((void*)((char*)(tmpMeta[5]) - 3)))->
data)
,stdoutstdout);
636#line 636 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
637
638#line 1098 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
639 omc_HpcOmSimCodeMain_outputTimeBenchmark2(threadData, _comps, _restCosts, _eqSystemsIn, _shared, ((modelica_integer) 1) + _compIdx);
640#line 640 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
641#line 641 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
642 goto tmp2_done;
643 }
644 case 3: {
645
646 /* Pattern matching succeeded */
647#line 647 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
648 goto tmp2_done;
649 }
650 }
651 goto tmp2_end;
652 tmp2_end: ;
653 }
654 goto goto_1;
655 tmp2_done:
656 (void)tmp3;
657 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
658 goto tmp2_done2;
659 goto_1:;
660 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
661 if (++tmp3 < 4) {
662 goto tmp2_top;
663 }
664 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
665 tmp2_done2:;
666 }
667 }
668 ;
669 _return: OMC_LABEL_UNUSED__attribute__((unused))
670 return;
671}
672PROTECTED_FUNCTION_STATIC void boxptr_HpcOmSimCodeMain_outputTimeBenchmark2(threadData_t *threadData, modelica_metatype _compsIn, modelica_metatype _numCycles, modelica_metatype _eqSystemsIn, modelica_metatype _shared, modelica_metatype _compIdx)
673{
674 modelica_integer tmp1;
675 tmp1 = mmc_unbox_integer(_compIdx)(((mmc_sint_t) (_compIdx)) >> 1);
676 omc_HpcOmSimCodeMain_outputTimeBenchmark2(threadData, _compsIn, _numCycles, _eqSystemsIn, _shared, tmp1);
677 return;
678}
679
680DLLExport
681void omc_HpcOmSimCodeMain_outputTimeBenchmark(threadData_t *threadData, modelica_metatype _graphData, modelica_metatype _dae)
682{
683 modelica_metatype _eqSystems = NULL((void*)0);
684 modelica_metatype _exeCosts = NULL((void*)0);
685 modelica_metatype _numCycles = NULL((void*)0);
686 modelica_metatype _shared = NULL((void*)0);
687 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
688 MMC_SO()mmc_check_stackoverflow(threadData);
689 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
690 // _eqSystems has no default value.
691 // _exeCosts has no default value.
692 // _numCycles has no default value.
693 // _shared has no default value.
694#line 1059 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
695 /* Pattern-matching assignment */
696#line 1059 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
697 tmpMeta[0] = _dae;
698#line 1059 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
699 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
700#line 1059 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
701 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
702#line 1059 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
703 _eqSystems = tmpMeta[1];
704#line 1059 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
705 _shared = tmpMeta[2];
706#line 706 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
707
708#line 1060 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
709 /* Pattern-matching assignment */
710#line 1060 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
711 tmpMeta[0] = _graphData;
712#line 1060 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
713 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (8)))))
;
714#line 1060 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
715 _exeCosts = tmpMeta[1];
716#line 716 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
717
718#line 1061 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
719 _numCycles = omc_List_map(threadData, arrayList(_exeCosts), boxvar_Util_tuple22((void*)((char*)(&(boxvar_lit_Util_tuple22).header) + 3)));
720#line 720 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
721
722#line 1062 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
723 fputs(MMC_STRINGDATA(_OMC_LIT4)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT4).header) + 3))) - 3)))->data)
,stdoutstdout);
724#line 724 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
725
726#line 1063 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
727 omc_HpcOmSimCodeMain_outputTimeBenchmark2(threadData, omc_BackendDAEUtil_getStrongComponents(threadData, listHead(_eqSystems)boxptr_listHead(threadData,_eqSystems)), _numCycles, _eqSystems, _shared, ((modelica_integer) 1));
728#line 728 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
729
730#line 1064 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
731 fputs(MMC_STRINGDATA(_OMC_LIT5)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT5).header) + 3))) - 3)))->data)
,stdoutstdout);
732#line 732 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
733 _return: OMC_LABEL_UNUSED__attribute__((unused))
734 return;
735}
736
737PROTECTED_FUNCTION_STATIC modelica_boolean omc_HpcOmSimCodeMain_checkEquationCount(threadData_t *threadData, modelica_metatype _iTaskGraphMeta, modelica_string _iSystemName, modelica_integer _iExpectedNumberOfEqs, modelica_metatype _iSccSimEqMapping)
738{
739 modelica_boolean _oIsCorrect;
740 modelica_integer _inCompsIdx;
741 modelica_integer _eqCount;
742 modelica_metatype _inComps = NULL((void*)0);
743 modelica_metatype _comps = NULL((void*)0);
744 modelica_metatype _compEqs = NULL((void*)0);
745 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
746 MMC_SO()mmc_check_stackoverflow(threadData);
747 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
748 // _oIsCorrect has no default value.
749 // _inCompsIdx has no default value.
750 // _eqCount has no default value.
751 // _inComps has no default value.
752 // _comps has no default value.
753 // _compEqs has no default value.
754#line 943 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
755 /* Pattern-matching assignment */
756#line 943 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
757 tmpMeta[0] = _iTaskGraphMeta;
758#line 943 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
759 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
760#line 943 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
761 _inComps = tmpMeta[1];
762#line 762 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
763
764#line 944 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
765 _inCompsIdx = arrayLength(_inComps);
766#line 766 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
767
768#line 945 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
769 _eqCount = ((modelica_integer) 0);
770#line 770 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
771
772#line 946 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
773 while(1)
774#line 946 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
775 {
776#line 946 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
777 if(!(_inCompsIdx > ((modelica_integer) 0))) break;
778#line 947 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
779 _comps = arrayGet(_inComps, _inCompsIdx)nobox_arrayGet(threadData,_inComps,_inCompsIdx);
780#line 780 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
781
782#line 948 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
783 {
784#line 948 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
785 modelica_metatype _comp;
786#line 948 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
787 for (tmpMeta[0] = _comps; !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
788#line 948 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
789 {
790#line 948 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
791 _comp = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
792#line 949 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
793 _compEqs = arrayGet(_iSccSimEqMapping, mmc_unbox_integer(_comp))nobox_arrayGet(threadData,_iSccSimEqMapping,(((mmc_sint_t) (_comp
)) >> 1))
;
794#line 794 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
795
796#line 950 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
797 _eqCount = _eqCount + listLength(_compEqs);
798#line 798 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
799 }
800 }
801
802#line 952 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
803 _inCompsIdx = ((modelica_integer) -1) + _inCompsIdx;
804#line 804 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
805 }
806
807#line 955 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
808 _oIsCorrect = (_iExpectedNumberOfEqs == _eqCount);
809#line 809 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
810
811#line 956 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
812 if((!_oIsCorrect))
813#line 956 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
814 {
815#line 957 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
816 tmpMeta[0] = stringAppend(_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)),_iSystemName);
817#line 957 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
818 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)));
819#line 957 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
820 tmpMeta[2] = stringAppend(tmpMeta[1],intString(_eqCount));
821#line 957 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
822 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)));
823#line 957 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
824 tmpMeta[4] = stringAppend(tmpMeta[3],intString(_iExpectedNumberOfEqs));
825#line 957 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
826 tmpMeta[5] = stringAppend(tmpMeta[4],_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)));
827#line 957 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
828 fputs(MMC_STRINGDATA(tmpMeta[5])(((struct mmc_string*)((void*)((char*)(tmpMeta[5]) - 3)))->
data)
,stdoutstdout);
829#line 829 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
830 }
831 _return: OMC_LABEL_UNUSED__attribute__((unused))
832 return _oIsCorrect;
833}
834PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmSimCodeMain_checkEquationCount(threadData_t *threadData, modelica_metatype _iTaskGraphMeta, modelica_metatype _iSystemName, modelica_metatype _iExpectedNumberOfEqs, modelica_metatype _iSccSimEqMapping)
835{
836 modelica_integer tmp1;
837 modelica_boolean _oIsCorrect;
838 modelica_metatype out_oIsCorrect;
839 tmp1 = mmc_unbox_integer(_iExpectedNumberOfEqs)(((mmc_sint_t) (_iExpectedNumberOfEqs)) >> 1);
840 _oIsCorrect = omc_HpcOmSimCodeMain_checkEquationCount(threadData, _iTaskGraphMeta, _iSystemName, tmp1, _iSccSimEqMapping);
841 out_oIsCorrect = mmc_mk_icon(_oIsCorrect);
842 return out_oIsCorrect;
843}
844
845PROTECTED_FUNCTION_STATIC modelica_boolean omc_HpcOmSimCodeMain_checkTaskGraphMetaConsistency(threadData_t *threadData, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphMeta, modelica_string _iSystemName)
846{
847 modelica_boolean _oIsCorrect;
848 modelica_integer _numberOfNodes;
849 modelica_metatype _inComps = NULL((void*)0);
850 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
851 MMC_SO()mmc_check_stackoverflow(threadData);
852 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
853 // _oIsCorrect has no default value.
854 // _numberOfNodes has no default value.
855 // _inComps has no default value.
856#line 920 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
857 _numberOfNodes = arrayLength(_iTaskGraph);
858#line 858 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
859
860#line 921 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
861 /* Pattern-matching assignment */
862#line 921 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
863 tmpMeta[0] = _iTaskGraphMeta;
864#line 921 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
865 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
866#line 921 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
867 _inComps = tmpMeta[1];
868#line 868 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
869
870#line 922 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
871 if((!(_numberOfNodes == arrayLength(_inComps))))
872#line 922 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
873 {
874#line 923 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
875 tmpMeta[0] = stringAppend(_OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)),_iSystemName);
876#line 923 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
877 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)));
878#line 923 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
879 tmpMeta[2] = stringAppend(tmpMeta[1],intString(_numberOfNodes));
880#line 923 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
881 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)));
882#line 923 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
883 tmpMeta[4] = stringAppend(tmpMeta[3],intString(arrayLength(_inComps)));
884#line 923 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
885 tmpMeta[5] = stringAppend(tmpMeta[4],_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)));
886#line 923 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
887 fputs(MMC_STRINGDATA(tmpMeta[5])(((struct mmc_string*)((void*)((char*)(tmpMeta[5]) - 3)))->
data)
,stdoutstdout);
888#line 888 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
889
890#line 924 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
891 _oIsCorrect = 0;
892#line 892 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
893 }
894 else
895 {
896#line 926 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
897 _oIsCorrect = 1;
898#line 898 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
899 }
900 _return: OMC_LABEL_UNUSED__attribute__((unused))
901 return _oIsCorrect;
902}
903PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmSimCodeMain_checkTaskGraphMetaConsistency(threadData_t *threadData, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphMeta, modelica_metatype _iSystemName)
904{
905 modelica_boolean _oIsCorrect;
906 modelica_metatype out_oIsCorrect;
907 _oIsCorrect = omc_HpcOmSimCodeMain_checkTaskGraphMetaConsistency(threadData, _iTaskGraph, _iTaskGraphMeta, _iSystemName);
908 out_oIsCorrect = mmc_mk_icon(_oIsCorrect);
909 return out_oIsCorrect;
910}
911
912PROTECTED_FUNCTION_STATIC modelica_boolean omc_HpcOmSimCodeMain_checkOdeSystemSize(threadData_t *threadData, modelica_metatype _iTaskGraphMeta, modelica_metatype _iOdeEqs, modelica_metatype _iSccSimEqMapping)
913{
914 modelica_boolean _oIsCorrect;
915 modelica_integer _scc;
916 modelica_metatype _sccs = NULL((void*)0);
917 modelica_integer _actualSizePre;
918 modelica_integer _actualSize;
919 modelica_integer _targetSize;
920 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
921 MMC_SO()mmc_check_stackoverflow(threadData);
922 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
923 // _oIsCorrect has no default value.
924 // _scc has no default value.
925 // _sccs has no default value.
926 // _actualSizePre has no default value.
927 // _actualSize has no default value.
928 // _targetSize has no default value.
929#line 888 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
930 _sccs = omc_List_sort(threadData, omc_HpcOmTaskGraph_getAllSCCsOfGraph(threadData, _iTaskGraphMeta), boxvar_intGt((void*)((char*)(&(boxvar_lit_intGt).header) + 3)));
931#line 931 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
932
933#line 889 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
934 _actualSizePre = listLength(_sccs);
935#line 935 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
936
937#line 890 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
938 _actualSize = listLength(omc_List_sortedUnique(threadData, _sccs, boxvar_intEq((void*)((char*)(&(boxvar_lit_intEq).header) + 3))));
939#line 939 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
940
941#line 891 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
942 if((_actualSizePre != _actualSize))
943#line 891 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
944 {
945#line 892 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
946 fputs(MMC_STRINGDATA(_OMC_LIT12)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT12).header) + 3))) - 3)))->data)
,stdoutstdout);
947#line 947 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
948 }
949
950#line 894 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
951 _actualSize = ((modelica_integer) 0);
952#line 952 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
953
954#line 895 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
955 {
956#line 895 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
957 modelica_metatype _scc;
958#line 895 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
959 for (tmpMeta[0] = _sccs; !listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[0]=MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
)
960#line 895 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
961 {
962#line 895 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
963 _scc = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
964#line 896 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
965 _actualSize = _actualSize + listLength(arrayGet(_iSccSimEqMapping, mmc_unbox_integer(_scc))nobox_arrayGet(threadData,_iSccSimEqMapping,(((mmc_sint_t) (_scc
)) >> 1))
);
966#line 966 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
967 }
968 }
969
970#line 899 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
971 _targetSize = listLength(omc_List_flatten(threadData, _iOdeEqs));
972#line 972 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
973
974#line 900 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
975 _oIsCorrect = (_targetSize == _actualSize);
976#line 976 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
977
978#line 901 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
979 if(_oIsCorrect)
980#line 901 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
981 {
982#line 901 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
983 }
984#line 901 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
985 else
986#line 901 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
987 {
988#line 904 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
989 tmpMeta[0] = stringAppend(_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)),intString(_targetSize));
990#line 904 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
991 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)));
992#line 904 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
993 tmpMeta[2] = stringAppend(tmpMeta[1],intString(_actualSize));
994#line 904 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
995 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)));
996#line 904 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
997 fputs(MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
,stdoutstdout);
998#line 998 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
999
1000#line 905 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1001 tmpMeta[0] = stringAppend(_OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)),stringDelimitList(omc_List_map(threadData, omc_List_map(threadData, omc_List_flatten(threadData, _iOdeEqs), boxvar_SimCodeUtil_simEqSystemIndex((void*)((char*)(&(boxvar_lit_SimCodeUtil_simEqSystemIndex
).header) + 3))
), boxvar_intString((void*)((char*)(&(boxvar_lit_intString).header) + 3))), _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))));
1002#line 905 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1003 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
1004#line 905 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1005 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
1006#line 1006 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1007
1008#line 906 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1009 fputs(MMC_STRINGDATA(_OMC_LIT19)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT19).header) + 3))) - 3)))->data)
,stdoutstdout);
1010#line 1010 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1011 }
1012 _return: OMC_LABEL_UNUSED__attribute__((unused))
1013 return _oIsCorrect;
1014}
1015PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmSimCodeMain_checkOdeSystemSize(threadData_t *threadData, modelica_metatype _iTaskGraphMeta, modelica_metatype _iOdeEqs, modelica_metatype _iSccSimEqMapping)
1016{
1017 modelica_boolean _oIsCorrect;
1018 modelica_metatype out_oIsCorrect;
1019 _oIsCorrect = omc_HpcOmSimCodeMain_checkOdeSystemSize(threadData, _iTaskGraphMeta, _iOdeEqs, _iSccSimEqMapping);
1020 out_oIsCorrect = mmc_mk_icon(_oIsCorrect);
1021 return out_oIsCorrect;
1022}
1023
1024PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmSimCodeMain_createSchedule1(threadData_t *threadData, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphMeta, modelica_metatype _iSccSimEqMapping, modelica_metatype _iSimVarMapping, modelica_string _iFilenamePrefix, modelica_integer _iNumProc, modelica_metatype _iSimCode, modelica_metatype _iScheduledTasks, modelica_string _iSystemName, modelica_string _iSchedulerName, modelica_metatype *out_oSimCode, modelica_metatype *out_oTaskGraph, modelica_metatype *out_oTaskGraphMeta, modelica_metatype *out_oSccSimEqMapping)
1025{
1026 modelica_metatype _oSchedule = NULL((void*)0);
1027 modelica_metatype _oSimCode = NULL((void*)0);
1028 modelica_metatype _oTaskGraph = NULL((void*)0);
1029 modelica_metatype _oTaskGraphMeta = NULL((void*)0);
1030 modelica_metatype _oSccSimEqMapping = NULL((void*)0);
1031 modelica_metatype _lst = NULL((void*)0);
1032 modelica_metatype _sccSimEqMap = NULL((void*)0);
1033 modelica_metatype _schedule = NULL((void*)0);
1034 modelica_metatype _taskGraph1 = NULL((void*)0);
1035 modelica_metatype _taskGraphMeta1 = NULL((void*)0);
1036 modelica_metatype _simCode = NULL((void*)0);
1037 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
1038 MMC_SO()mmc_check_stackoverflow(threadData);
1039 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1040 // _oSchedule has no default value.
1041 // _oSimCode has no default value.
1042 // _oTaskGraph has no default value.
1043 // _oTaskGraphMeta has no default value.
1044 // _oSccSimEqMapping has no default value.
1045 // _lst has no default value.
1046 // _sccSimEqMap has no default value.
1047 // _schedule has no default value.
1048 // _taskGraph1 has no default value.
1049 // _taskGraphMeta1 has no default value.
1050 // _simCode has no default value.
1051#line 780 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1052
1053#line 780 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1054
1055#line 780 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1056
1057#line 780 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1058
1059#line 780 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1060
1061#line 1061 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1062 { /* matchcontinue expression */
1063 volatile modelica_string tmp4_1;
1064 tmp4_1 = _iSchedulerName;
1065 {
1066 volatile mmc_switch_type tmp4;
1067 int tmp5;
1068 tmp4 = 0;
1069 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
1070 tmp3_top:
1071 threadData->mmc_jumper = &new_mmc_jumper;
1072 for (; tmp4 < 17; tmp4++) {
1073 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1074 case 0: {
1075 if (4 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT39)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT39).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
1076 tmp4 += 15; /* Pattern matching succeeded; we may skip some cases if we fail */
1077#line 783 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1078 tmpMeta[5] = stringAppend(_OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)),_iSystemName);
1079#line 783 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1080 tmpMeta[6] = stringAppend(tmpMeta[5],_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
1081#line 783 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1082 fputs(MMC_STRINGDATA(tmpMeta[6])(((struct mmc_string*)((void*)((char*)(tmpMeta[6]) - 3)))->
data)
,stdoutstdout);
1083#line 1083 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1084
1085#line 784 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1086 _schedule = omc_HpcOmScheduler_createEmptySchedule(threadData, _iTaskGraph, _iTaskGraphMeta, _iSccSimEqMapping);
1087#line 1087 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1088#line 785 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1089 tmpMeta[0+0] = _schedule;
1090#line 785 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1091 tmpMeta[0+1] = _iSimCode;
1092#line 785 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1093 tmpMeta[0+2] = _iTaskGraph;
1094#line 785 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1095 tmpMeta[0+3] = _iTaskGraphMeta;
1096#line 785 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1097 tmpMeta[0+4] = _iSccSimEqMapping;
1098#line 1098 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1099 goto tmp3_done;
1100 }
1101 case 1: {
1102 if (5 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT40)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT40).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
1103 tmp4 += 14; /* Pattern matching succeeded; we may skip some cases if we fail */
1104#line 789 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1105 tmpMeta[5] = stringAppend(_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)),_iSystemName);
1106#line 789 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1107 tmpMeta[6] = stringAppend(tmpMeta[5],_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
1108#line 789 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1109 fputs(MMC_STRINGDATA(tmpMeta[6])(((struct mmc_string*)((void*)((char*)(tmpMeta[6]) - 3)))->
data)
,stdoutstdout);
1110#line 1110 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1111
1112#line 790 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1113 _schedule = omc_HpcOmScheduler_createLevelSchedule(threadData, _iTaskGraph, _iTaskGraphMeta, _iSccSimEqMapping ,&_taskGraphMeta1);
1114#line 1114 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1115#line 791 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1116 tmpMeta[0+0] = _schedule;
1117#line 791 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1118 tmpMeta[0+1] = _iSimCode;
1119#line 791 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1120 tmpMeta[0+2] = _iTaskGraph;
1121#line 791 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1122 tmpMeta[0+3] = _taskGraphMeta1;
1123#line 791 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1124 tmpMeta[0+4] = _iSccSimEqMapping;
1125#line 1125 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1126 goto tmp3_done;
1127 }
1128 case 2: {
1129 if (8 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT41)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT41).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
1130 tmp4 += 13; /* Pattern matching succeeded; we may skip some cases if we fail */
1131#line 794 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1132 tmpMeta[5] = stringAppend(_OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)),_iSystemName);
1133#line 794 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1134 tmpMeta[6] = stringAppend(tmpMeta[5],_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
1135#line 794 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1136 fputs(MMC_STRINGDATA(tmpMeta[6])(((struct mmc_string*)((void*)((char*)(tmpMeta[6]) - 3)))->
data)
,stdoutstdout);
1137#line 1137 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1138
1139#line 795 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1140 _schedule = omc_HpcOmScheduler_createFixedLevelSchedule(threadData, _iTaskGraph, _iTaskGraphMeta, _iNumProc, _iSccSimEqMapping ,&_taskGraphMeta1);
1141#line 1141 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1142#line 796 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1143 tmpMeta[0+0] = _schedule;
1144#line 796 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1145 tmpMeta[0+1] = _iSimCode;
1146#line 796 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1147 tmpMeta[0+2] = _iTaskGraph;
1148#line 796 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1149 tmpMeta[0+3] = _taskGraphMeta1;
1150#line 796 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1151 tmpMeta[0+4] = _iSccSimEqMapping;
1152#line 1152 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1153 goto tmp3_done;
1154 }
1155 case 3: {
1156 if (3 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT42)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT42).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
1157 tmp4 += 12; /* Pattern matching succeeded; we may skip some cases if we fail */
1158#line 799 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1159 tmpMeta[5] = stringAppend(_OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)),_iSystemName);
1160#line 799 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1161 tmpMeta[6] = stringAppend(tmpMeta[5],_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
1162#line 799 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1163 fputs(MMC_STRINGDATA(tmpMeta[6])(((struct mmc_string*)((void*)((char*)(tmpMeta[6]) - 3)))->
data)
,stdoutstdout);
1164#line 1164 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1165
1166#line 800 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1167 tmpMeta[5] = stringAppend(_OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)),_iFilenamePrefix);
1168#line 800 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1169 tmpMeta[6] = stringAppend(tmpMeta[5],_OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)));
1170#line 800 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1171 _schedule = omc_HpcOmScheduler_createExtSchedule(threadData, _iTaskGraph, _iTaskGraphMeta, _iNumProc, _iSccSimEqMapping, _iSimVarMapping, tmpMeta[6]);
1172#line 1172 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1173#line 801 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1174 tmpMeta[0+0] = _schedule;
1175#line 801 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1176 tmpMeta[0+1] = _iSimCode;
1177#line 801 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1178 tmpMeta[0+2] = _iTaskGraph;
1179#line 801 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1180 tmpMeta[0+3] = _iTaskGraphMeta;
1181#line 801 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1182 tmpMeta[0+4] = _iSccSimEqMapping;
1183#line 1183 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1184 goto tmp3_done;
1185 }
1186 case 4: {
1187 if (5 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT43)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT43).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
1188 tmp4 += 11; /* Pattern matching succeeded; we may skip some cases if we fail */
1189#line 804 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1190 tmpMeta[5] = stringAppend(_OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)),_iSystemName);
1191#line 804 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1192 tmpMeta[6] = stringAppend(tmpMeta[5],_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
1193#line 804 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1194 fputs(MMC_STRINGDATA(tmpMeta[6])(((struct mmc_string*)((void*)((char*)(tmpMeta[6]) - 3)))->
data)
,stdoutstdout);
1195#line 1195 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1196
1197#line 805 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1198 _schedule = omc_HpcOmScheduler_createMetisSchedule(threadData, _iTaskGraph, _iTaskGraphMeta, _iNumProc, _iSccSimEqMapping, _iSimVarMapping);
1199#line 1199 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1200#line 806 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1201 tmpMeta[0+0] = _schedule;
1202#line 806 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1203 tmpMeta[0+1] = _iSimCode;
1204#line 806 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1205 tmpMeta[0+2] = _iTaskGraph;
1206#line 806 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1207 tmpMeta[0+3] = _iTaskGraphMeta;
1208#line 806 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1209 tmpMeta[0+4] = _iSccSimEqMapping;
1210#line 1210 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1211 goto tmp3_done;
1212 }
1213 case 5: {
1214 if (4 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT44)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT44).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
1215 tmp4 += 10; /* Pattern matching succeeded; we may skip some cases if we fail */
1216#line 809 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1217 tmpMeta[5] = stringAppend(_OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)),_iSystemName);
1218#line 809 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1219 tmpMeta[6] = stringAppend(tmpMeta[5],_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
1220#line 809 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1221 fputs(MMC_STRINGDATA(tmpMeta[6])(((struct mmc_string*)((void*)((char*)(tmpMeta[6]) - 3)))->
data)
,stdoutstdout);
1222#line 1222 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1223
1224#line 810 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1225 _schedule = omc_HpcOmScheduler_createHMetisSchedule(threadData, _iTaskGraph, _iTaskGraphMeta, _iNumProc, _iSccSimEqMapping, _iSimVarMapping);
1226#line 1226 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1227#line 811 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1228 tmpMeta[0+0] = _schedule;
1229#line 811 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1230 tmpMeta[0+1] = _iSimCode;
1231#line 811 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1232 tmpMeta[0+2] = _iTaskGraph;
1233#line 811 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1234 tmpMeta[0+3] = _iTaskGraphMeta;
1235#line 811 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1236 tmpMeta[0+4] = _iSccSimEqMapping;
1237#line 1237 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1238 goto tmp3_done;
1239 }
1240 case 6: {
1241 if (5 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT45)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT45).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
1242 tmp4 += 9; /* Pattern matching succeeded; we may skip some cases if we fail */
1243#line 814 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1244 tmpMeta[5] = stringAppend(_OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)),_iSystemName);
1245#line 814 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1246 tmpMeta[6] = stringAppend(tmpMeta[5],_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
1247#line 814 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1248 fputs(MMC_STRINGDATA(tmpMeta[6])(((struct mmc_string*)((void*)((char*)(tmpMeta[6]) - 3)))->
data)
,stdoutstdout);
1249#line 1249 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1250
1251#line 815 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1252 _schedule = omc_HpcOmScheduler_createListScheduleReverse(threadData, _iTaskGraph, _iTaskGraphMeta, _iNumProc, _iSccSimEqMapping, _iSimVarMapping);
1253#line 1253 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1254#line 816 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1255 tmpMeta[0+0] = _schedule;
1256#line 816 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1257 tmpMeta[0+1] = _iSimCode;
1258#line 816 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1259 tmpMeta[0+2] = _iTaskGraph;
1260#line 816 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1261 tmpMeta[0+3] = _iTaskGraphMeta;
1262#line 816 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1263 tmpMeta[0+4] = _iSccSimEqMapping;
1264#line 1264 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1265 goto tmp3_done;
1266 }
1267 case 7: {
1268 if (4 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT46)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT46).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
1269 tmp4 += 8; /* Pattern matching succeeded; we may skip some cases if we fail */
1270#line 819 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1271 tmpMeta[5] = stringAppend(_OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)),_iSystemName);
1272#line 819 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1273 tmpMeta[6] = stringAppend(tmpMeta[5],_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
1274#line 819 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1275 fputs(MMC_STRINGDATA(tmpMeta[6])(((struct mmc_string*)((void*)((char*)(tmpMeta[6]) - 3)))->
data)
,stdoutstdout);
1276#line 1276 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1277
1278#line 820 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1279 _schedule = omc_HpcOmScheduler_createRandomSchedule(threadData, _iTaskGraph, _iTaskGraphMeta, _iNumProc, _iSccSimEqMapping, _iSimVarMapping);
1280#line 1280 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1281#line 821 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1282 tmpMeta[0+0] = _schedule;
1283#line 821 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1284 tmpMeta[0+1] = _iSimCode;
1285#line 821 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1286 tmpMeta[0+2] = _iTaskGraph;
1287#line 821 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1288 tmpMeta[0+3] = _iTaskGraphMeta;
1289#line 821 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1290 tmpMeta[0+4] = _iSccSimEqMapping;
1291#line 1291 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1292 goto tmp3_done;
1293 }
1294 case 8: {
1295 if (4 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT47)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT47).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
1296 tmp4 += 7; /* Pattern matching succeeded; we may skip some cases if we fail */
1297#line 824 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1298 tmpMeta[5] = stringAppend(_OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)),_iSystemName);
1299#line 824 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1300 tmpMeta[6] = stringAppend(tmpMeta[5],_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
1301#line 824 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1302 fputs(MMC_STRINGDATA(tmpMeta[6])(((struct mmc_string*)((void*)((char*)(tmpMeta[6]) - 3)))->
data)
,stdoutstdout);
1303#line 1303 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1304
1305#line 825 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1306 _schedule = omc_HpcOmScheduler_createListSchedule(threadData, _iTaskGraph, _iTaskGraphMeta, _iNumProc, _iSccSimEqMapping, _iSimVarMapping);
1307#line 1307 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1308#line 826 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1309 tmpMeta[0+0] = _schedule;
1310#line 826 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1311 tmpMeta[0+1] = _iSimCode;
1312#line 826 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1313 tmpMeta[0+2] = _iTaskGraph;
1314#line 826 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1315 tmpMeta[0+3] = _iTaskGraphMeta;
1316#line 826 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1317 tmpMeta[0+4] = _iSccSimEqMapping;
1318#line 1318 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1319 goto tmp3_done;
1320 }
1321 case 9: {
1322 if (3 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT48)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT48).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
1323 tmp4 += 6; /* Pattern matching succeeded; we may skip some cases if we fail */
1324#line 829 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1325 tmpMeta[5] = stringAppend(_OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)),_iSystemName);
1326#line 829 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1327 tmpMeta[6] = stringAppend(tmpMeta[5],_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
1328#line 829 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1329 fputs(MMC_STRINGDATA(tmpMeta[6])(((struct mmc_string*)((void*)((char*)(tmpMeta[6]) - 3)))->
data)
,stdoutstdout);
1330#line 1330 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1331
1332#line 830 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1333 _schedule = omc_HpcOmScheduler_createMCPschedule(threadData, _iTaskGraph, _iTaskGraphMeta, _iNumProc, _iSccSimEqMapping, _iSimVarMapping);
1334#line 1334 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1335#line 831 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1336 tmpMeta[0+0] = _schedule;
1337#line 831 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1338 tmpMeta[0+1] = _iSimCode;
1339#line 831 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1340 tmpMeta[0+2] = _iTaskGraph;
1341#line 831 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1342 tmpMeta[0+3] = _iTaskGraphMeta;
1343#line 831 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1344 tmpMeta[0+4] = _iSccSimEqMapping;
1345#line 1345 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1346 goto tmp3_done;
1347 }
1348 case 10: {
1349 if (4 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT49)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT49).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
1350 tmp4 += 5; /* Pattern matching succeeded; we may skip some cases if we fail */
1351#line 834 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1352 tmpMeta[5] = stringAppend(_OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)),_iSystemName);
1353#line 834 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1354 tmpMeta[6] = stringAppend(tmpMeta[5],_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
1355#line 834 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1356 fputs(MMC_STRINGDATA(tmpMeta[6])(((struct mmc_string*)((void*)((char*)(tmpMeta[6]) - 3)))->
data)
,stdoutstdout);
1357#line 1357 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1358
1359#line 835 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1360 _schedule = omc_HpcOmScheduler_createPartSchedule(threadData, _iTaskGraph, _iTaskGraphMeta, _iNumProc, _iSccSimEqMapping, _iSimVarMapping);
1361#line 1361 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1362#line 836 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1363 tmpMeta[0+0] = _schedule;
1364#line 836 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1365 tmpMeta[0+1] = _iSimCode;
1366#line 836 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1367 tmpMeta[0+2] = _iTaskGraph;
1368#line 836 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1369 tmpMeta[0+3] = _iTaskGraphMeta;
1370#line 836 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1371 tmpMeta[0+4] = _iSccSimEqMapping;
1372#line 1372 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1373 goto tmp3_done;
1374 }
1375 case 11: {
1376 if (7 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT50)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT50).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
1377 tmp4 += 4; /* Pattern matching succeeded; we may skip some cases if we fail */
1378#line 839 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1379 tmpMeta[5] = stringAppend(_OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)),_iSystemName);
1380#line 839 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1381 tmpMeta[6] = stringAppend(tmpMeta[5],_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
1382#line 839 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1383 fputs(MMC_STRINGDATA(tmpMeta[6])(((struct mmc_string*)((void*)((char*)(tmpMeta[6]) - 3)))->
data)
,stdoutstdout);
1384#line 1384 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1385
1386#line 840 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1387 _schedule = omc_HpcOmScheduler_createTaskDepSchedule(threadData, _iTaskGraph, _iTaskGraphMeta, _iSccSimEqMapping);
1388#line 1388 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1389#line 841 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1390 tmpMeta[0+0] = _schedule;
1391#line 841 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1392 tmpMeta[0+1] = _iSimCode;
1393#line 841 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1394 tmpMeta[0+2] = _iTaskGraph;
1395#line 841 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1396 tmpMeta[0+3] = _iTaskGraphMeta;
1397#line 841 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1398 tmpMeta[0+4] = _iSccSimEqMapping;
1399#line 1399 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1400 goto tmp3_done;
1401 }
1402 case 12: {
1403 if (3 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT51)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT51).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
1404 tmp4 += 3; /* Pattern matching succeeded; we may skip some cases if we fail */
1405#line 844 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1406 tmpMeta[5] = stringAppend(_OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)),_iSystemName);
1407#line 844 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1408 tmpMeta[6] = stringAppend(tmpMeta[5],_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
1409#line 844 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1410 fputs(MMC_STRINGDATA(tmpMeta[6])(((struct mmc_string*)((void*)((char*)(tmpMeta[6]) - 3)))->
data)
,stdoutstdout);
1411#line 1411 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1412#line 845 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1413 tmpMeta[0+0] = omc_HpcOmScheduler_TDS__schedule(threadData, _iTaskGraph, _iTaskGraphMeta, _iNumProc, _iSccSimEqMapping, _iSimVarMapping, _iSimCode, &tmpMeta[0+1], &tmpMeta[0+2], &tmpMeta[0+3], &tmpMeta[0+4]);
1414#line 1414 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1415 goto tmp3_done;
1416 }
1417 case 13: {
1418 if (3 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT52)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT52).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
1419 tmp4 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
1420#line 849 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1421 tmpMeta[5] = stringAppend(_OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)),_iSystemName);
1422#line 849 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1423 tmpMeta[6] = stringAppend(tmpMeta[5],_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
1424#line 849 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1425 fputs(MMC_STRINGDATA(tmpMeta[6])(((struct mmc_string*)((void*)((char*)(tmpMeta[6]) - 3)))->
data)
,stdoutstdout);
1426#line 1426 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1427
1428#line 850 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1429 _schedule = omc_HpcOmScheduler_createBalancedLevelScheduling(threadData, _iTaskGraph, _iTaskGraphMeta, _iSccSimEqMapping ,&_taskGraphMeta1);
1430#line 1430 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1431#line 851 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1432 tmpMeta[0+0] = _schedule;
1433#line 851 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1434 tmpMeta[0+1] = _iSimCode;
1435#line 851 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1436 tmpMeta[0+2] = _iTaskGraph;
1437#line 851 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1438 tmpMeta[0+3] = _taskGraphMeta1;
1439#line 851 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1440 tmpMeta[0+4] = _iSccSimEqMapping;
1441#line 1441 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1442 goto tmp3_done;
1443 }
1444 case 14: {
1445 if (3 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT53)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT53).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
1446 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
1447#line 854 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1448 tmpMeta[5] = stringAppend(_OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)),_iSystemName);
1449#line 854 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1450 tmpMeta[6] = stringAppend(tmpMeta[5],_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
1451#line 854 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1452 fputs(MMC_STRINGDATA(tmpMeta[6])(((struct mmc_string*)((void*)((char*)(tmpMeta[6]) - 3)))->
data)
,stdoutstdout);
1453#line 1453 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1454
1455#line 855 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1456 _schedule = omc_HpcOmEqSystems_createSingleBlockSchedule(threadData, _iTaskGraph, _iTaskGraphMeta, _iScheduledTasks, _iSccSimEqMapping);
1457#line 1457 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1458#line 856 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1459 tmpMeta[0+0] = _schedule;
1460#line 856 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1461 tmpMeta[0+1] = _iSimCode;
1462#line 856 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1463 tmpMeta[0+2] = _iTaskGraph;
1464#line 856 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1465 tmpMeta[0+3] = _iTaskGraphMeta;
1466#line 856 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1467 tmpMeta[0+4] = _iSccSimEqMapping;
1468#line 1468 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1469 goto tmp3_done;
1470 }
1471 case 15: {
1472 if (3 != MMC_STRLEN(tmp4_1)(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> (
3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT54)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT54).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmp4_1)(((struct mmc_string*)((void*)((char*)(tmp4_1) - 3)))->data
)
) != 0) goto tmp3_end;
1473 /* Pattern matching succeeded */
1474#line 859 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1475 tmpMeta[5] = stringAppend(_OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)),_iSystemName);
1476#line 859 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1477 tmpMeta[6] = stringAppend(tmpMeta[5],_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
1478#line 859 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1479 fputs(MMC_STRINGDATA(tmpMeta[6])(((struct mmc_string*)((void*)((char*)(tmpMeta[6]) - 3)))->
data)
,stdoutstdout);
1480#line 1480 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1481
1482#line 860 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1483 _schedule = omc_HpcOmScheduler_createSingleThreadSchedule(threadData, _iTaskGraph, _iTaskGraphMeta, _iSccSimEqMapping, _iNumProc);
1484#line 1484 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1485#line 861 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1486 tmpMeta[0+0] = _schedule;
1487#line 861 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1488 tmpMeta[0+1] = _iSimCode;
1489#line 861 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1490 tmpMeta[0+2] = _iTaskGraph;
1491#line 861 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1492 tmpMeta[0+3] = _iTaskGraphMeta;
1493#line 861 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1494 tmpMeta[0+4] = _iSccSimEqMapping;
1495#line 1495 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1496 goto tmp3_done;
1497 }
1498 case 16: {
1499
1500 /* Pattern matching succeeded */
1501#line 864 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1502 fputs(MMC_STRINGDATA(_OMC_LIT38)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT38).header) + 3))) - 3)))->data)
,stdoutstdout);
1503#line 1503 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1504
1505#line 865 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1506 _schedule = omc_HpcOmScheduler_createEmptySchedule(threadData, _iTaskGraph, _iTaskGraphMeta, _iSccSimEqMapping);
1507#line 1507 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1508#line 866 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1509 tmpMeta[0+0] = _schedule;
1510#line 866 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1511 tmpMeta[0+1] = _iSimCode;
1512#line 866 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1513 tmpMeta[0+2] = _iTaskGraph;
1514#line 866 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1515 tmpMeta[0+3] = _iTaskGraphMeta;
1516#line 866 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1517 tmpMeta[0+4] = _iSccSimEqMapping;
1518#line 1518 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1519 goto tmp3_done;
1520 }
1521 }
1522 goto tmp3_end;
1523 tmp3_end: ;
1524 }
1525 goto goto_2;
1526 tmp3_done:
1527 (void)tmp4;
1528 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1529 goto tmp3_done2;
1530 goto_2:;
1531 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1532 if (++tmp4 < 17) {
1533 goto tmp3_top;
1534 }
1535 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1536 tmp3_done2:;
1537 }
1538 }
1539 _oSchedule = tmpMeta[0+0];
1540 _oSimCode = tmpMeta[0+1];
1541 _oTaskGraph = tmpMeta[0+2];
1542 _oTaskGraphMeta = tmpMeta[0+3];
1543 _oSccSimEqMapping = tmpMeta[0+4];
1544 _return: OMC_LABEL_UNUSED__attribute__((unused))
1545 if (out_oSimCode) { *out_oSimCode = _oSimCode; }
1546 if (out_oTaskGraph) { *out_oTaskGraph = _oTaskGraph; }
1547 if (out_oTaskGraphMeta) { *out_oTaskGraphMeta = _oTaskGraphMeta; }
1548 if (out_oSccSimEqMapping) { *out_oSccSimEqMapping = _oSccSimEqMapping; }
1549 return _oSchedule;
1550}
1551PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmSimCodeMain_createSchedule1(threadData_t *threadData, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphMeta, modelica_metatype _iSccSimEqMapping, modelica_metatype _iSimVarMapping, modelica_metatype _iFilenamePrefix, modelica_metatype _iNumProc, modelica_metatype _iSimCode, modelica_metatype _iScheduledTasks, modelica_metatype _iSystemName, modelica_metatype _iSchedulerName, modelica_metatype *out_oSimCode, modelica_metatype *out_oTaskGraph, modelica_metatype *out_oTaskGraphMeta, modelica_metatype *out_oSccSimEqMapping)
1552{
1553 modelica_integer tmp1;
1554 modelica_metatype _oSchedule = NULL((void*)0);
1555 tmp1 = mmc_unbox_integer(_iNumProc)(((mmc_sint_t) (_iNumProc)) >> 1);
1556 _oSchedule = omc_HpcOmSimCodeMain_createSchedule1(threadData, _iTaskGraph, _iTaskGraphMeta, _iSccSimEqMapping, _iSimVarMapping, _iFilenamePrefix, tmp1, _iSimCode, _iScheduledTasks, _iSystemName, _iSchedulerName, out_oSimCode, out_oTaskGraph, out_oTaskGraphMeta, out_oSccSimEqMapping);
1557 /* skip box _oSchedule; HpcOmSimCode.Schedule */
1558 /* skip box _oSimCode; SimCode.SimCode */
1559 /* skip box _oTaskGraph; array<list<#Integer>> */
1560 /* skip box _oTaskGraphMeta; HpcOmTaskGraph.TaskGraphMeta */
1561 /* skip box _oSccSimEqMapping; array<list<#Integer>> */
1562 return _oSchedule;
1563}
1564
1565PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmSimCodeMain_createSchedule(threadData_t *threadData, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphMeta, modelica_metatype _iSccSimEqMapping, modelica_metatype _iSimVarMapping, modelica_string _iFilenamePrefix, modelica_integer _iNumProc, modelica_integer _iNumProcToUse, modelica_metatype _iSimCode, modelica_metatype _iScheduledTasks, modelica_string _iSystemName, modelica_string _iSchedulerName, modelica_metatype *out_oSimCode, modelica_metatype *out_oTaskGraph, modelica_metatype *out_oTaskGraphMeta, modelica_metatype *out_oSccSimEqMapping)
1566{
1567 modelica_metatype _oSchedule = NULL((void*)0);
1568 modelica_metatype _oSimCode = NULL((void*)0);
1569 modelica_metatype _oTaskGraph = NULL((void*)0);
1570 modelica_metatype _oTaskGraphMeta = NULL((void*)0);
1571 modelica_metatype _oSccSimEqMapping = NULL((void*)0);
1572 modelica_metatype _knownScheduler = NULL((void*)0);
1573 modelica_string _schedulerName = NULL((void*)0);
1574 modelica_metatype _tmpSchedule = NULL((void*)0);
1575 modelica_integer _numProcToUse;
1576 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1577 MMC_SO()mmc_check_stackoverflow(threadData);
1578 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1579 // _oSchedule has no default value.
1580 // _oSimCode has no default value.
1581 // _oTaskGraph has no default value.
1582 // _oTaskGraphMeta has no default value.
1583 // _oSccSimEqMapping has no default value.
1584 _knownScheduler = _OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3));
1585 _schedulerName = _iSchedulerName;
1586 // _tmpSchedule has no default value.
1587 _numProcToUse = _iNumProcToUse;
1588#line 743 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1589 if((!omc_List_exist1(threadData, _knownScheduler, boxvar_stringEq((void*)((char*)(&(boxvar_lit_stringEq).header) + 3)), _schedulerName)))
1590#line 743 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1591 {
1592#line 744 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1593 tmpMeta[0] = stringAppend(_OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)),_iSchedulerName);
1594#line 744 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1595 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3)));
1596#line 744 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1597 tmpMeta[2] = stringAppend(tmpMeta[1],_iSystemName);
1598#line 744 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1599 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3)));
1600#line 744 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1601 fputs(MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
,stdoutstdout);
1602#line 1602 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1603
1604#line 745 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1605 _schedulerName = _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3));
1606#line 1606 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1607 }
1608
1609#line 747 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1610 if((_iNumProcToUse > _iNumProc))
1611#line 747 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1612 {
1613#line 748 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1614 tmpMeta[0] = stringAppend(_OMC_LIT74((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3)),intString(_iNumProcToUse));
1615#line 748 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1616 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT75((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3)));
1617#line 748 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1618 tmpMeta[2] = stringAppend(tmpMeta[1],intString(_iNumProc));
1619#line 748 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1620 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3)));
1621#line 748 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1622 fputs(MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
,stdoutstdout);
1623#line 1623 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1624
1625#line 749 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1626 _numProcToUse = _iNumProc;
1627#line 1627 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1628 }
1629
1630#line 751 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1631 _tmpSchedule = omc_HpcOmSimCodeMain_createSchedule1(threadData, _iTaskGraph, _iTaskGraphMeta, _iSccSimEqMapping, _iSimVarMapping, _iFilenamePrefix, _numProcToUse, _iSimCode, _iScheduledTasks, _iSystemName, _schedulerName ,&_oSimCode ,&_oTaskGraph ,&_oTaskGraphMeta ,&_oSccSimEqMapping);
1632#line 1632 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1633
1634#line 752 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1635 _oSchedule = omc_HpcOmScheduler_expandSchedule(threadData, _iNumProc, _numProcToUse, _tmpSchedule);
1636#line 1636 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1637 _return: OMC_LABEL_UNUSED__attribute__((unused))
1638 if (out_oSimCode) { *out_oSimCode = _oSimCode; }
1639 if (out_oTaskGraph) { *out_oTaskGraph = _oTaskGraph; }
1640 if (out_oTaskGraphMeta) { *out_oTaskGraphMeta = _oTaskGraphMeta; }
1641 if (out_oSccSimEqMapping) { *out_oSccSimEqMapping = _oSccSimEqMapping; }
1642 return _oSchedule;
1643}
1644PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmSimCodeMain_createSchedule(threadData_t *threadData, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphMeta, modelica_metatype _iSccSimEqMapping, modelica_metatype _iSimVarMapping, modelica_metatype _iFilenamePrefix, modelica_metatype _iNumProc, modelica_metatype _iNumProcToUse, modelica_metatype _iSimCode, modelica_metatype _iScheduledTasks, modelica_metatype _iSystemName, modelica_metatype _iSchedulerName, modelica_metatype *out_oSimCode, modelica_metatype *out_oTaskGraph, modelica_metatype *out_oTaskGraphMeta, modelica_metatype *out_oSccSimEqMapping)
1645{
1646 modelica_integer tmp1;
1647 modelica_integer tmp2;
1648 modelica_metatype _oSchedule = NULL((void*)0);
1649 tmp1 = mmc_unbox_integer(_iNumProc)(((mmc_sint_t) (_iNumProc)) >> 1);
1650 tmp2 = mmc_unbox_integer(_iNumProcToUse)(((mmc_sint_t) (_iNumProcToUse)) >> 1);
1651 _oSchedule = omc_HpcOmSimCodeMain_createSchedule(threadData, _iTaskGraph, _iTaskGraphMeta, _iSccSimEqMapping, _iSimVarMapping, _iFilenamePrefix, tmp1, tmp2, _iSimCode, _iScheduledTasks, _iSystemName, _iSchedulerName, out_oSimCode, out_oTaskGraph, out_oTaskGraphMeta, out_oSccSimEqMapping);
1652 /* skip box _oSchedule; HpcOmSimCode.Schedule */
1653 /* skip box _oSimCode; SimCode.SimCode */
1654 /* skip box _oTaskGraph; array<list<#Integer>> */
1655 /* skip box _oTaskGraphMeta; HpcOmTaskGraph.TaskGraphMeta */
1656 /* skip box _oSccSimEqMapping; array<list<#Integer>> */
1657 return _oSchedule;
1658}
1659
1660PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmSimCodeMain_GRS__newGraph2(threadData_t *threadData, modelica_metatype _origNodes, modelica_metatype _removedNodes, modelica_metatype _contrTasks, modelica_metatype _origGraph, modelica_metatype _origInComps, modelica_metatype _newGraph, modelica_metatype _newInComps, modelica_integer _newNode, modelica_metatype *out_inCompsOut)
1661{
1662 modelica_metatype _graphOut = NULL((void*)0);
1663 modelica_metatype _inCompsOut = NULL((void*)0);
1664 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1665 MMC_SO()mmc_check_stackoverflow(threadData);
1666 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1667 // _graphOut has no default value.
1668 // _inCompsOut has no default value.
1669#line 696 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1670
1671#line 696 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1672
1673#line 1673 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1674 { /* match expression */
1675 modelica_metatype tmp4_1;
1676 tmp4_1 = _origNodes;
1677 {
1678 modelica_integer _node;
1679 modelica_metatype _rest = NULL((void*)0);
1680 modelica_metatype _row = NULL((void*)0);
1681 modelica_metatype _comps = NULL((void*)0);
1682 volatile mmc_switch_type tmp4;
1683 int tmp5;
1684 // _node has no default value.
1685 // _rest has no default value.
1686 // _row has no default value.
1687 // _comps has no default value.
1688 tmp4 = 0;
1689 for (; tmp4 < 2; tmp4++) {
1690 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1691 case 0: {
1692 if (!listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
1693 /* Pattern matching succeeded */
1694#line 702 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1695 tmpMeta[0+0] = _newGraph;
1696#line 702 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1697 tmpMeta[0+1] = _newInComps;
1698#line 1698 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1699 goto tmp3_done;
1700 }
1701 case 1: {
1702 modelica_integer tmp6;
1703 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
1704 tmpMeta[2] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
1705 tmpMeta[3] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
1706 tmp6 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
1707 _node = tmp6 /* pattern as ty=Integer */;
1708 _rest = tmpMeta[3];
1709 /* Pattern matching succeeded */
1710#line 706 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1711 _row = arrayGet(_origGraph, _node)nobox_arrayGet(threadData,_origGraph,_node);
1712#line 1712 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1713
1714#line 707 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1715 _row = omc_HpcOmTaskGraph_filterContractedNodes(threadData, _row, _contrTasks);
1716#line 1716 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1717
1718#line 708 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1719 _row = omc_HpcOmTaskGraph_updateContinuousEntriesInList(threadData, _row, _removedNodes);
1720#line 1720 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1721
1722#line 710 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1723 _comps = arrayGet(_origInComps, _node)nobox_arrayGet(threadData,_origInComps,_node);
1724#line 1724 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1725
1726#line 712 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1727 arrayUpdate(_newGraph, _newNode, _row)boxptr_arrayUpdate(threadData,_newGraph,mmc_mk_icon(_newNode)
,_row)
;
1728#line 1728 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1729
1730#line 714 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1731 arrayUpdate(_newInComps, _newNode, _comps)boxptr_arrayUpdate(threadData,_newInComps,mmc_mk_icon(_newNode
),_comps)
;
1732#line 1732 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1733#line 715 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1734 /* Tail recursive call */
1735#line 715 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1736 _origNodes = _rest;
1737#line 715 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1738 _newNode = ((modelica_integer) 1) + _newNode;
1739#line 715 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1740 goto _tailrecursive;
1741#line 715 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1742 /* TODO: Make sure any eventual dead code below is never generated */
1743#line 1743 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1744 goto tmp3_done;
1745 }
1746 }
1747 goto tmp3_end;
1748 tmp3_end: ;
1749 }
1750 goto goto_2;
1751 goto_2:;
1752 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1753 goto tmp3_done;
1754 tmp3_done:;
1755 }
1756 }
1757 _graphOut = tmpMeta[0+0];
1758 _inCompsOut = tmpMeta[0+1];
1759 _return: OMC_LABEL_UNUSED__attribute__((unused))
1760 if (out_inCompsOut) { *out_inCompsOut = _inCompsOut; }
1761 return _graphOut;
1762}
1763PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmSimCodeMain_GRS__newGraph2(threadData_t *threadData, modelica_metatype _origNodes, modelica_metatype _removedNodes, modelica_metatype _contrTasks, modelica_metatype _origGraph, modelica_metatype _origInComps, modelica_metatype _newGraph, modelica_metatype _newInComps, modelica_metatype _newNode, modelica_metatype *out_inCompsOut)
1764{
1765 modelica_integer tmp1;
1766 modelica_metatype _graphOut = NULL((void*)0);
1767 tmp1 = mmc_unbox_integer(_newNode)(((mmc_sint_t) (_newNode)) >> 1);
1768 _graphOut = omc_HpcOmSimCodeMain_GRS__newGraph2(threadData, _origNodes, _removedNodes, _contrTasks, _origGraph, _origInComps, _newGraph, _newInComps, tmp1, out_inCompsOut);
1769 /* skip box _graphOut; array<list<#Integer>> */
1770 /* skip box _inCompsOut; array<list<#Integer>> */
1771 return _graphOut;
1772}
1773
1774PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmSimCodeMain_GRS__newGraph(threadData_t *threadData, modelica_metatype _graphIn, modelica_metatype _metaIn, modelica_metatype _contrTasks, modelica_metatype *out_metaOut)
1775{
1776 modelica_metatype _graphOut = NULL((void*)0);
1777 modelica_metatype _metaOut = NULL((void*)0);
1778 modelica_integer _newSize;
1779 modelica_metatype _notRemovedNodes = NULL((void*)0);
1780 modelica_metatype _removedNodes = NULL((void*)0);
1781 modelica_metatype _inComps = NULL((void*)0);
1782 modelica_metatype _inCompsNew = NULL((void*)0);
1783 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1784 MMC_SO()mmc_check_stackoverflow(threadData);
1785 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1786 // _graphOut has no default value.
1787 // _metaOut has no default value.
1788 // _newSize has no default value.
1789 // _notRemovedNodes has no default value.
1790 // _removedNodes has no default value.
1791 // _inComps has no default value.
1792 // _inCompsNew has no default value.
1793#line 673 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1794 /* Pattern-matching assignment */
1795#line 673 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1796 tmpMeta[0] = _metaIn;
1797#line 673 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1798 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1799#line 673 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1800 _inComps = tmpMeta[1];
1801#line 1801 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1802
1803#line 674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1804 _notRemovedNodes = omc_HpcOmTaskGraph_filterContractedNodes(threadData, omc_List_intRange(threadData, arrayLength(_graphIn)), _contrTasks);
1805#line 1805 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1806
1807#line 675 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1808 _removedNodes = omc_HpcOmTaskGraph_filterNonContractedNodes(threadData, omc_List_intRange(threadData, arrayLength(_graphIn)), _contrTasks);
1809#line 1809 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1810
1811#line 676 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1812 _newSize = listLength(_notRemovedNodes);
1813#line 1813 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1814
1815#line 677 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1816 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1817#line 677 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1818 _graphOut = arrayCreate(_newSize, tmpMeta[0]);
1819#line 1819 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1820
1821#line 678 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1822 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1823#line 678 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1824 _inCompsNew = arrayCreate(_newSize, tmpMeta[0]);
1825#line 1825 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1826
1827#line 679 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1828 _graphOut = omc_HpcOmSimCodeMain_GRS__newGraph2(threadData, _notRemovedNodes, _removedNodes, _contrTasks, _graphIn, _inComps, _graphOut, _inCompsNew, ((modelica_integer) 1) ,&_inCompsNew);
1829#line 1829 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1830
1831#line 680 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1832 _metaOut = omc_HpcOmTaskGraph_setInCompsInMeta(threadData, _inCompsNew, _metaIn);
1833#line 1833 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1834 _return: OMC_LABEL_UNUSED__attribute__((unused))
1835 if (out_metaOut) { *out_metaOut = _metaOut; }
1836 return _graphOut;
1837}
1838
1839DLLExport
1840modelica_metatype omc_HpcOmSimCodeMain_applyGRSForLevelFixSchedulerLevel(threadData_t *threadData, modelica_metatype _iTaskGraphMeta, modelica_metatype _iContractedTasks, modelica_integer _iCriticalSize, modelica_metatype _iSortedLevelTasks, modelica_integer _iCurrentSmallTask, modelica_metatype _iCurrentBigTask, modelica_metatype _iContractedLevelfixTasks)
1841{
1842 modelica_metatype _oContractedLevelfixTasks = NULL((void*)0);
1843 modelica_metatype _exeCosts = NULL((void*)0);
1844 modelica_metatype _tmpContractedTasks = NULL((void*)0);
1845 modelica_metatype _head = NULL((void*)0);
1846 modelica_metatype _bigTaskChilds = NULL((void*)0);
1847 modelica_real _mergedGroupExecTime;
1848 modelica_integer _bigTaskIdx;
1849 modelica_metatype _tmpTaskGraph = NULL((void*)0);
1850 modelica_metatype _tmpTaskGraphT = NULL((void*)0);
1851 modelica_metatype _tmpTaskGraphMeta = NULL((void*)0);
1852 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1853 MMC_SO()mmc_check_stackoverflow(threadData);
1854 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1855 // _oContractedLevelfixTasks has no default value.
1856 // _exeCosts has no default value.
1857 // _tmpContractedTasks has no default value.
1858 // _head has no default value.
1859 // _bigTaskChilds has no default value.
1860 // _mergedGroupExecTime has no default value.
1861 // _bigTaskIdx has no default value.
1862 // _tmpTaskGraph has no default value.
1863 // _tmpTaskGraphT has no default value.
1864 // _tmpTaskGraphMeta has no default value.
1865#line 1865 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1866 { /* matchcontinue expression */
1867 volatile modelica_metatype tmp3_1;volatile modelica_metatype tmp3_2;
1868 tmp3_1 = _iCurrentBigTask;
1869 tmp3_2 = _iContractedLevelfixTasks;
1870 {
1871 volatile mmc_switch_type tmp3;
1872 int tmp4;
1873 tmp3 = 0;
1874 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
1875 tmp2_top:
1876 threadData->mmc_jumper = &new_mmc_jumper;
1877 for (; tmp3 < 5; tmp3++) {
1878 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1879 case 0: {
1880 modelica_integer tmp5;
1881 modelica_real tmp6;
1882 modelica_boolean tmp7;
1883 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1884 tmp5 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
1885 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1886 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1887 tmp6 = mmc_unbox_real(tmpMeta[3])mmc_prim_get_real(tmpMeta[3]);
1888
1889 _bigTaskIdx = tmp5 /* pattern as ty=Integer */;
1890 _bigTaskChilds = tmpMeta[2];
1891 _mergedGroupExecTime = tmp6 /* pattern as ty=Real */;
1892 _tmpContractedTasks = tmp3_2;
1893 /* Pattern matching succeeded */
1894#line 606 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1895 /* Pattern-matching assignment */
1896#line 606 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1897 tmp7 = (_bigTaskIdx <= _iCurrentSmallTask);
1898#line 606 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1899 if (1 != tmp7) goto goto_1;
1900#line 1900 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1901
1902#line 608 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1903 if((listLength(_bigTaskChilds) > ((modelica_integer) 0)))
1904#line 608 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1905 {
1906#line 610 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1907 tmpMeta[2] = mmc_mk_cons(arrayGet(_iSortedLevelTasks, _bigTaskIdx)nobox_arrayGet(threadData,_iSortedLevelTasks,_bigTaskIdx), _bigTaskChilds);
1908#line 610 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1909 tmpMeta[1] = mmc_mk_cons(tmpMeta[2], _tmpContractedTasks);
1910#line 610 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1911 _tmpContractedTasks = tmpMeta[1];
1912#line 1912 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1913 }
1914#line 612 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1915 tmpMeta[0] = _tmpContractedTasks;
1916#line 1916 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1917 goto tmp2_done;
1918 }
1919 case 1: {
1920 modelica_integer tmp8;
1921 modelica_real tmp9;
1922 modelica_boolean tmp10;
1923 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1924 tmp8 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
1925 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1926 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1927 tmp9 = mmc_unbox_real(tmpMeta[3])mmc_prim_get_real(tmpMeta[3]);
1928
1929 _bigTaskIdx = tmp8 /* pattern as ty=Integer */;
1930 _bigTaskChilds = tmpMeta[2];
1931 _mergedGroupExecTime = tmp9 /* pattern as ty=Real */;
1932 /* Pattern matching succeeded */
1933#line 615 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1934 /* Pattern-matching assignment */
1935#line 615 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1936 tmp10 = omc_HpcOmTaskGraph_isNodeContracted(threadData, _bigTaskIdx, _iContractedTasks);
1937#line 615 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1938 if (1 != tmp10) goto goto_1;
1939#line 1939 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1940
1941#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1942 if((_bigTaskIdx > ((modelica_integer) 1)))
1943#line 617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1944 {
1945#line 618 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1946 _mergedGroupExecTime = omc_HpcOmTaskGraph_getExeCostReqCycles(threadData, mmc_unbox_integer(arrayGet(_iSortedLevelTasks, ((modelica_integer) -1) + _bigTaskIdx))(((mmc_sint_t) (nobox_arrayGet(threadData,_iSortedLevelTasks,
((modelica_integer) -1) + _bigTaskIdx))) >> 1)
, _iTaskGraphMeta);
1947#line 1947 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1948 }
1949 else
1950 {
1951#line 620 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1952 _mergedGroupExecTime = 0.0;
1953#line 1953 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1954 }
1955#line 623 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1956 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1957#line 623 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1958 tmpMeta[2] = mmc_mk_box3(0, mmc_mk_integermmc_mk_icon(((modelica_integer) -1) + _bigTaskIdx), tmpMeta[1], mmc_mk_realmmc_mk_rcon(_mergedGroupExecTime));
1959#line 623 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1960 tmpMeta[0] = omc_HpcOmSimCodeMain_applyGRSForLevelFixSchedulerLevel(threadData, _iTaskGraphMeta, _iContractedTasks, _iCriticalSize, _iSortedLevelTasks, _iCurrentSmallTask, tmpMeta[2], _iContractedLevelfixTasks);
1961#line 1961 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1962 goto tmp2_done;
1963 }
1964 case 2: {
1965 modelica_integer tmp11;
1966 modelica_real tmp12;
1967 modelica_boolean tmp13;
1968 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1969 tmp11 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
1970 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1971 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1972 tmp12 = mmc_unbox_real(tmpMeta[3])mmc_prim_get_real(tmpMeta[3]);
1973
1974 _bigTaskIdx = tmp11 /* pattern as ty=Integer */;
1975 _bigTaskChilds = tmpMeta[2];
1976 _mergedGroupExecTime = tmp12 /* pattern as ty=Real */;
1977 /* Pattern matching succeeded */
1978#line 627 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1979 /* Pattern-matching assignment */
1980#line 627 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1981 tmp13 = omc_HpcOmTaskGraph_isNodeContracted(threadData, _iCurrentSmallTask, _iContractedTasks);
1982#line 627 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1983 if (1 != tmp13) goto goto_1;
1984#line 1984 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1985#line 630 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1986 tmpMeta[1] = mmc_mk_box3(0, mmc_mk_integermmc_mk_icon(_bigTaskIdx), _bigTaskChilds, mmc_mk_realmmc_mk_rcon(_mergedGroupExecTime));
1987#line 630 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
1988 tmpMeta[0] = omc_HpcOmSimCodeMain_applyGRSForLevelFixSchedulerLevel(threadData, _iTaskGraphMeta, _iContractedTasks, _iCriticalSize, _iSortedLevelTasks, ((modelica_integer) 1) + _iCurrentSmallTask, tmpMeta[1], _iContractedLevelfixTasks);
1989#line 1989 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
1990 goto tmp2_done;
1991 }
1992 case 3: {
1993 modelica_integer tmp14;
1994 modelica_real tmp15;
1995 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1996 tmp14 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
1997 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1998 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1999 tmp15 = mmc_unbox_real(tmpMeta[3])mmc_prim_get_real(tmpMeta[3]);
2000
2001 _bigTaskIdx = tmp14 /* pattern as ty=Integer */;
2002 _bigTaskChilds = tmpMeta[2];
2003 _mergedGroupExecTime = tmp15 /* pattern as ty=Real */;
2004 _tmpContractedTasks = tmp3_2;
2005 /* Pattern matching succeeded */
2006#line 635 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2007 _mergedGroupExecTime = _mergedGroupExecTime + omc_HpcOmTaskGraph_getExeCostReqCycles(threadData, mmc_unbox_integer(arrayGet(_iSortedLevelTasks, _iCurrentSmallTask))(((mmc_sint_t) (nobox_arrayGet(threadData,_iSortedLevelTasks,
_iCurrentSmallTask))) >> 1)
, _iTaskGraphMeta);
2008#line 2008 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2009
2010#line 636 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2011 if((_mergedGroupExecTime >= ((modelica_real)_iCriticalSize)))
2012#line 636 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2013 {
2014#line 637 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2015 if((listLength(_bigTaskChilds) > ((modelica_integer) 0)))
2016#line 637 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2017 {
2018#line 639 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2019 tmpMeta[2] = mmc_mk_cons(arrayGet(_iSortedLevelTasks, _bigTaskIdx)nobox_arrayGet(threadData,_iSortedLevelTasks,_bigTaskIdx), _bigTaskChilds);
2020#line 639 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2021 tmpMeta[1] = mmc_mk_cons(tmpMeta[2], _tmpContractedTasks);
2022#line 639 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2023 _tmpContractedTasks = tmpMeta[1];
2024#line 2024 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2025 }
2026
2027#line 642 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2028 if((_bigTaskIdx > ((modelica_integer) 1)))
2029#line 642 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2030 {
2031#line 643 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2032 _mergedGroupExecTime = omc_HpcOmTaskGraph_getExeCostReqCycles(threadData, mmc_unbox_integer(arrayGet(_iSortedLevelTasks, ((modelica_integer) -1) + _bigTaskIdx))(((mmc_sint_t) (nobox_arrayGet(threadData,_iSortedLevelTasks,
((modelica_integer) -1) + _bigTaskIdx))) >> 1)
, _iTaskGraphMeta);
2033#line 2033 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2034 }
2035 else
2036 {
2037#line 645 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2038 _mergedGroupExecTime = 0.0;
2039#line 2039 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2040 }
2041
2042#line 648 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2043 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2044#line 648 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2045 tmpMeta[2] = mmc_mk_box3(0, mmc_mk_integermmc_mk_icon(((modelica_integer) -1) + _bigTaskIdx), tmpMeta[1], mmc_mk_realmmc_mk_rcon(_mergedGroupExecTime));
2046#line 648 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2047 _tmpContractedTasks = omc_HpcOmSimCodeMain_applyGRSForLevelFixSchedulerLevel(threadData, _iTaskGraphMeta, _iContractedTasks, _iCriticalSize, _iSortedLevelTasks, _iCurrentSmallTask, tmpMeta[2], _tmpContractedTasks);
2048#line 2048 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2049 }
2050 else
2051 {
2052#line 653 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2053 tmpMeta[1] = mmc_mk_cons(arrayGet(_iSortedLevelTasks, _iCurrentSmallTask)nobox_arrayGet(threadData,_iSortedLevelTasks,_iCurrentSmallTask
)
, _bigTaskChilds);
2054#line 653 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2055 tmpMeta[2] = mmc_mk_box3(0, mmc_mk_integermmc_mk_icon(_bigTaskIdx), tmpMeta[1], mmc_mk_realmmc_mk_rcon(_mergedGroupExecTime));
2056#line 653 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2057 _tmpContractedTasks = omc_HpcOmSimCodeMain_applyGRSForLevelFixSchedulerLevel(threadData, _iTaskGraphMeta, _iContractedTasks, _iCriticalSize, _iSortedLevelTasks, ((modelica_integer) 1) + _iCurrentSmallTask, tmpMeta[2], _tmpContractedTasks);
2058#line 2058 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2059 }
2060#line 655 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2061 tmpMeta[0] = _tmpContractedTasks;
2062#line 2062 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2063 goto tmp2_done;
2064 }
2065 case 4: {
2066
2067 /* Pattern matching succeeded */
2068#line 656 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2069 tmpMeta[0] = _iContractedLevelfixTasks;
2070#line 2070 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2071 goto tmp2_done;
2072 }
2073 }
2074 goto tmp2_end;
2075 tmp2_end: ;
2076 }
2077 goto goto_1;
2078 tmp2_done:
2079 (void)tmp3;
2080 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2081 goto tmp2_done2;
2082 goto_1:;
2083 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2084 if (++tmp3 < 5) {
2085 goto tmp2_top;
2086 }
2087 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2088 tmp2_done2:;
2089 }
2090 }
2091 _oContractedLevelfixTasks = tmpMeta[0];
2092 _return: OMC_LABEL_UNUSED__attribute__((unused))
2093 return _oContractedLevelfixTasks;
2094}
2095modelica_metatype boxptr_HpcOmSimCodeMain_applyGRSForLevelFixSchedulerLevel(threadData_t *threadData, modelica_metatype _iTaskGraphMeta, modelica_metatype _iContractedTasks, modelica_metatype _iCriticalSize, modelica_metatype _iSortedLevelTasks, modelica_metatype _iCurrentSmallTask, modelica_metatype _iCurrentBigTask, modelica_metatype _iContractedLevelfixTasks)
2096{
2097 modelica_integer tmp1;
2098 modelica_integer tmp2;
2099 modelica_metatype _oContractedLevelfixTasks = NULL((void*)0);
2100 tmp1 = mmc_unbox_integer(_iCriticalSize)(((mmc_sint_t) (_iCriticalSize)) >> 1);
2101 tmp2 = mmc_unbox_integer(_iCurrentSmallTask)(((mmc_sint_t) (_iCurrentSmallTask)) >> 1);
2102 _oContractedLevelfixTasks = omc_HpcOmSimCodeMain_applyGRSForLevelFixSchedulerLevel(threadData, _iTaskGraphMeta, _iContractedTasks, tmp1, _iSortedLevelTasks, tmp2, _iCurrentBigTask, _iContractedLevelfixTasks);
2103 /* skip box _oContractedLevelfixTasks; list<list<#Integer>> */
2104 return _oContractedLevelfixTasks;
2105}
2106
2107static modelica_metatype closure0_HpcOmTaskGraph_compareTasksByExecTime(threadData_t *thData, modelica_metatype closure, modelica_metatype iTask1, modelica_metatype iTask2)
2108{
2109 modelica_metatype iTaskComps = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),1))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (1)))))
;
2110 modelica_metatype iExeCosts = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),2))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (2)))))
;
2111 modelica_metatype iDescending = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),3))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (3)))))
;
2112 return boxptr_HpcOmTaskGraph_compareTasksByExecTime(thData, iTask1, iTask2, iTaskComps, iExeCosts, iDescending);
2113}
2114DLLExport
2115modelica_metatype omc_HpcOmSimCodeMain_applyGRSForLevelFixScheduler(threadData_t *threadData, modelica_metatype _iTaskGraphMeta, modelica_metatype _iContractedTasks, modelica_metatype _iLevelNodes, modelica_metatype _iContractedLevelfixTasks)
2116{
2117 modelica_metatype _oContractedLevelfixTasks = NULL((void*)0);
2118 modelica_metatype _rest = NULL((void*)0);
2119 modelica_metatype _head = NULL((void*)0);
2120 modelica_metatype _sortedHead = NULL((void*)0);
2121 modelica_metatype _sortedHeadArray = NULL((void*)0);
2122 modelica_metatype _tmpContractedLevelfixTasks = NULL((void*)0);
2123 modelica_metatype _exeCosts = NULL((void*)0);
2124 modelica_real _bigTaskExecTime;
2125 modelica_metatype _inComps = NULL((void*)0);
2126 modelica_metatype _tmpTaskGraph = NULL((void*)0);
2127 modelica_metatype _tmpTaskGraphT = NULL((void*)0);
2128 modelica_metatype _tmpTaskGraphMeta = NULL((void*)0);
2129 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
2130 MMC_SO()mmc_check_stackoverflow(threadData);
2131 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2132 // _oContractedLevelfixTasks has no default value.
2133 // _rest has no default value.
2134 // _head has no default value.
2135 // _sortedHead has no default value.
2136 // _sortedHeadArray has no default value.
2137 // _tmpContractedLevelfixTasks has no default value.
2138 // _exeCosts has no default value.
2139 // _bigTaskExecTime has no default value.
2140 // _inComps has no default value.
2141 // _tmpTaskGraph has no default value.
2142 // _tmpTaskGraphT has no default value.
2143 // _tmpTaskGraphMeta has no default value.
2144#line 2144 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2145 { /* match expression */
2146 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
2147 tmp3_1 = _iTaskGraphMeta;
2148 tmp3_2 = _iLevelNodes;
2149 {
2150 volatile mmc_switch_type tmp3;
2151 int tmp4;
2152 tmp3 = 0;
2153 for (; tmp3 < 2; tmp3++) {
2154 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2155 case 0: {
2156 if (listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2157 tmpMeta[1] = MMC_CAR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
2158 tmpMeta[2] = MMC_CDR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
2159 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2160 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(8)))))
;
2161
2162 _head = tmpMeta[1];
2163 _rest = tmpMeta[2];
2164 _inComps = tmpMeta[3];
2165 _exeCosts = tmpMeta[4];
2166 /* Pattern matching succeeded */
2167#line 567 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2168 tmpMeta[1] = mmc_mk_box3(0, _inComps, _exeCosts, mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
2169#line 567 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2170 _sortedHead = omc_List_sort(threadData, _head, (modelica_fnptr) mmc_mk_box2(0,closure0_HpcOmTaskGraph_compareTasksByExecTime,tmpMeta[1]));
2171#line 2171 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2172
2173#line 569 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2174 _sortedHeadArray = listArray(_sortedHead);
2175#line 2175 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2176
2177#line 571 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2178 if((arrayLength(_sortedHeadArray) > ((modelica_integer) 0)))
2179#line 571 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2180 {
2181#line 572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2182 _bigTaskExecTime = omc_HpcOmTaskGraph_getExeCostReqCycles(threadData, mmc_unbox_integer(arrayGet(_sortedHeadArray, arrayLength(_sortedHeadArray)))(((mmc_sint_t) (nobox_arrayGet(threadData,_sortedHeadArray,arrayLength
(_sortedHeadArray)))) >> 1)
, _iTaskGraphMeta);
2183#line 2183 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2184 }
2185 else
2186 {
2187#line 574 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2188 _bigTaskExecTime = 0.0;
2189#line 2189 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2190 }
2191
2192#line 577 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2193 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2194#line 577 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2195 tmpMeta[2] = mmc_mk_box3(0, mmc_mk_integermmc_mk_icon(arrayLength(_sortedHeadArray)), tmpMeta[1], mmc_mk_realmmc_mk_rcon(_bigTaskExecTime));
2196#line 577 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2197 _tmpContractedLevelfixTasks = omc_HpcOmSimCodeMain_applyGRSForLevelFixSchedulerLevel(threadData, _iTaskGraphMeta, _iContractedTasks, ((modelica_integer) 500), _sortedHeadArray, ((modelica_integer) 1), tmpMeta[2], _iContractedLevelfixTasks);
2198#line 2198 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2199#line 578 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2200 /* Tail recursive call */
2201#line 578 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2202 _iLevelNodes = _rest;
2203#line 578 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2204 _iContractedLevelfixTasks = _tmpContractedLevelfixTasks;
2205#line 578 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2206 goto _tailrecursive;
2207#line 578 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2208 /* TODO: Make sure any eventual dead code below is never generated */
2209#line 2209 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2210 goto tmp2_done;
2211 }
2212 case 1: {
2213
2214 /* Pattern matching succeeded */
2215#line 580 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2216 tmpMeta[0] = _iContractedLevelfixTasks;
2217#line 2217 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2218 goto tmp2_done;
2219 }
2220 }
2221 goto tmp2_end;
2222 tmp2_end: ;
2223 }
2224 goto goto_1;
2225 goto_1:;
2226 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2227 goto tmp2_done;
2228 tmp2_done:;
2229 }
2230 }
2231 _oContractedLevelfixTasks = tmpMeta[0];
2232 _return: OMC_LABEL_UNUSED__attribute__((unused))
2233 return _oContractedLevelfixTasks;
2234}
2235
2236PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmSimCodeMain_applyGRSForScheduler(threadData_t *threadData, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphT, modelica_metatype _iTaskGraphMeta, modelica_metatype _iContractedTasks, modelica_metatype *out_oTaskGraphT, modelica_metatype *out_oTaskGraphMeta)
2237{
2238 modelica_metatype _oTaskGraph = NULL((void*)0);
2239 modelica_metatype _oTaskGraphT = NULL((void*)0);
2240 modelica_metatype _oTaskGraphMeta = NULL((void*)0);
2241 modelica_string _flagValue = NULL((void*)0);
2242 modelica_metatype _levelNodes = NULL((void*)0);
2243 modelica_metatype _contractedNodes = NULL((void*)0);
2244 modelica_metatype _tmpTaskGraph = NULL((void*)0);
2245 modelica_metatype _tmpTaskGraphT = NULL((void*)0);
2246 modelica_metatype _tmpTaskGraphMeta = NULL((void*)0);
2247 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2248 MMC_SO()mmc_check_stackoverflow(threadData);
2249 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2250 // _oTaskGraph has no default value.
2251 // _oTaskGraphT has no default value.
2252 // _oTaskGraphMeta has no default value.
2253 // _flagValue has no default value.
2254 // _levelNodes has no default value.
2255 // _contractedNodes has no default value.
2256 // _tmpTaskGraph has no default value.
2257 // _tmpTaskGraphT has no default value.
2258 // _tmpTaskGraphMeta has no default value.
2259#line 532 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2260
2261#line 532 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2262
2263#line 532 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2264
2265#line 2265 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2266 { /* matchcontinue expression */
2267 {
2268 volatile mmc_switch_type tmp4;
2269 int tmp5;
2270 tmp4 = 0;
2271 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
2272 tmp3_top:
2273 threadData->mmc_jumper = &new_mmc_jumper;
2274 for (; tmp4 < 2; tmp4++) {
2275 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2276 case 0: {
2277 modelica_boolean tmp6;
2278 /* Pattern matching succeeded */
2279#line 535 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2280 _flagValue = omc_Flags_getConfigString(threadData, _OMC_LIT82((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3)));
2281#line 2281 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2282
2283#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2284 /* Pattern-matching assignment */
2285#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2286 tmp6 = (stringEqual(_flagValue, _OMC_LIT41)((((((*(mmc_uint_t*)((void*)((char*)(_flagValue) - 3)))) >>
(3)) - 8)) == (((((*(mmc_uint_t*)((void*)((char*)(((void*)((
char*)(&(_OMC_LIT_STRUCT41).header) + 3))) - 3)))) >>
(3)) - 8)) && !mmc_stringCompare(_flagValue,((void*)
((char*)(&(_OMC_LIT_STRUCT41).header) + 3))))
);
2287#line 536 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2288 if (1 != tmp6) goto goto_2;
2289#line 2289 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2290
2291#line 537 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2292 _levelNodes = omc_HpcOmTaskGraph_getLevelNodes(threadData, _iTaskGraph);
2293#line 2293 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2294
2295#line 538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2296 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2297#line 538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2298 _contractedNodes = omc_HpcOmSimCodeMain_applyGRSForLevelFixScheduler(threadData, _iTaskGraphMeta, _iContractedTasks, _levelNodes, tmpMeta[3]);
2299#line 2299 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2300
2301#line 540 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2302 _tmpTaskGraph = omc_HpcOmTaskGraph_contractNodesInGraph(threadData, _contractedNodes, _iTaskGraph, _iTaskGraphT, _iTaskGraphMeta, _iContractedTasks ,&_tmpTaskGraphT ,&_tmpTaskGraphMeta ,NULL((void*)0));
2303#line 2303 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2304#line 541 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2305 tmpMeta[0+0] = _tmpTaskGraph;
2306#line 541 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2307 tmpMeta[0+1] = _tmpTaskGraphT;
2308#line 541 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2309 tmpMeta[0+2] = _tmpTaskGraphMeta;
2310#line 2310 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2311 goto tmp3_done;
2312 }
2313 case 1: {
2314 /* Pattern matching succeeded */
2315#line 542 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2316 tmpMeta[0+0] = _iTaskGraph;
2317#line 542 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2318 tmpMeta[0+1] = _iTaskGraphT;
2319#line 542 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2320 tmpMeta[0+2] = _iTaskGraphMeta;
2321#line 2321 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2322 goto tmp3_done;
2323 }
2324 }
2325 goto tmp3_end;
2326 tmp3_end: ;
2327 }
2328 goto goto_2;
2329 tmp3_done:
2330 (void)tmp4;
2331 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2332 goto tmp3_done2;
2333 goto_2:;
2334 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2335 if (++tmp4 < 2) {
2336 goto tmp3_top;
2337 }
2338 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2339 tmp3_done2:;
2340 }
2341 }
2342 _oTaskGraph = tmpMeta[0+0];
2343 _oTaskGraphT = tmpMeta[0+1];
2344 _oTaskGraphMeta = tmpMeta[0+2];
2345 _return: OMC_LABEL_UNUSED__attribute__((unused))
2346 if (out_oTaskGraphT) { *out_oTaskGraphT = _oTaskGraphT; }
2347 if (out_oTaskGraphMeta) { *out_oTaskGraphMeta = _oTaskGraphMeta; }
2348 return _oTaskGraph;
2349}
2350
2351PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmSimCodeMain_applyGRS1(threadData_t *threadData, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphT, modelica_metatype _iTaskGraphMeta, modelica_metatype _iContractedTasks, modelica_boolean _again, modelica_metatype *out_oTaskGraphT, modelica_metatype *out_oTaskGraphMeta)
2352{
2353 modelica_metatype _oTaskGraph = NULL((void*)0);
2354 modelica_metatype _oTaskGraphT = NULL((void*)0);
2355 modelica_metatype _oTaskGraphMeta = NULL((void*)0);
2356 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
2357 MMC_SO()mmc_check_stackoverflow(threadData);
2358 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2359 // _oTaskGraph has no default value.
2360 // _oTaskGraphT has no default value.
2361 // _oTaskGraphMeta has no default value.
2362#line 499 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2363
2364#line 499 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2365
2366#line 499 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2367
2368#line 2368 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2369 { /* match expression */
2370 modelica_boolean tmp4_1;
2371 tmp4_1 = _again;
2372 {
2373 modelica_boolean _changed;
2374 modelica_boolean _changed2;
2375 modelica_metatype _tmpTaskGraph = NULL((void*)0);
2376 modelica_metatype _tmpTaskGraphT = NULL((void*)0);
2377 modelica_metatype _tmpTaskGraphMeta = NULL((void*)0);
2378 modelica_metatype _tmpContractedTasks = NULL((void*)0);
2379 volatile mmc_switch_type tmp4;
2380 int tmp5;
2381 // _changed has no default value.
2382 // _changed2 has no default value.
2383 // _tmpTaskGraph has no default value.
2384 // _tmpTaskGraphT has no default value.
2385 // _tmpTaskGraphMeta has no default value.
2386 // _tmpContractedTasks has no default value.
2387 tmp4 = 0;
2388 for (; tmp4 < 2; tmp4++) {
2389 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2390 case 0: {
2391 if (1 != tmp4_1) goto tmp3_end;
2392 /* Pattern matching succeeded */
2393#line 508 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2394 _tmpTaskGraph = omc_HpcOmTaskGraph_mergeSimpleNodes(threadData, _iTaskGraph, _iTaskGraphT, _iTaskGraphMeta, _iContractedTasks ,&_tmpTaskGraphT ,&_tmpTaskGraphMeta ,&_tmpContractedTasks ,&_changed);
2395#line 2395 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2396
2397#line 509 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2398 _tmpTaskGraph = omc_HpcOmTaskGraph_mergeParentNodes(threadData, _tmpTaskGraph, _tmpTaskGraphT, _tmpTaskGraphMeta, _tmpContractedTasks ,&_tmpTaskGraphT ,&_tmpTaskGraphMeta ,&_tmpContractedTasks ,&_changed2);
2399#line 2399 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2400
2401#line 510 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2402 _changed = (_changed || _changed2);
2403#line 2403 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2404#line 512 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2405 /* Tail recursive call */
2406#line 512 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2407 _iTaskGraph = _tmpTaskGraph;
2408#line 512 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2409 _iTaskGraphT = _tmpTaskGraphT;
2410#line 512 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2411 _iTaskGraphMeta = _tmpTaskGraphMeta;
2412#line 512 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2413 _iContractedTasks = _tmpContractedTasks;
2414#line 512 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2415 _again = _changed;
2416#line 512 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2417 goto _tailrecursive;
2418#line 512 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2419 /* TODO: Make sure any eventual dead code below is never generated */
2420#line 2420 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2421 goto tmp3_done;
2422 }
2423 case 1: {
2424
2425 /* Pattern matching succeeded */
2426#line 513 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2427 tmpMeta[0+0] = _iTaskGraph;
2428#line 513 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2429 tmpMeta[0+1] = _iTaskGraphT;
2430#line 513 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2431 tmpMeta[0+2] = _iTaskGraphMeta;
2432#line 2432 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2433 goto tmp3_done;
2434 }
2435 }
2436 goto tmp3_end;
2437 tmp3_end: ;
2438 }
2439 goto goto_2;
2440 goto_2:;
2441 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2442 goto tmp3_done;
2443 tmp3_done:;
2444 }
2445 }
2446 _oTaskGraph = tmpMeta[0+0];
2447 _oTaskGraphT = tmpMeta[0+1];
2448 _oTaskGraphMeta = tmpMeta[0+2];
2449 _return: OMC_LABEL_UNUSED__attribute__((unused))
2450 if (out_oTaskGraphT) { *out_oTaskGraphT = _oTaskGraphT; }
2451 if (out_oTaskGraphMeta) { *out_oTaskGraphMeta = _oTaskGraphMeta; }
2452 return _oTaskGraph;
2453}
2454PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmSimCodeMain_applyGRS1(threadData_t *threadData, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphT, modelica_metatype _iTaskGraphMeta, modelica_metatype _iContractedTasks, modelica_metatype _again, modelica_metatype *out_oTaskGraphT, modelica_metatype *out_oTaskGraphMeta)
2455{
2456 modelica_integer tmp1;
2457 modelica_metatype _oTaskGraph = NULL((void*)0);
2458 tmp1 = mmc_unbox_integer(_again)(((mmc_sint_t) (_again)) >> 1);
2459 _oTaskGraph = omc_HpcOmSimCodeMain_applyGRS1(threadData, _iTaskGraph, _iTaskGraphT, _iTaskGraphMeta, _iContractedTasks, tmp1, out_oTaskGraphT, out_oTaskGraphMeta);
2460 /* skip box _oTaskGraph; array<list<#Integer>> */
2461 /* skip box _oTaskGraphT; array<list<#Integer>> */
2462 /* skip box _oTaskGraphMeta; HpcOmTaskGraph.TaskGraphMeta */
2463 return _oTaskGraph;
2464}
2465
2466DLLExport
2467modelica_metatype omc_HpcOmSimCodeMain_applyGRS(threadData_t *threadData, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphMeta, modelica_metatype *out_oTaskGraphMeta)
2468{
2469 modelica_metatype _oTaskGraph = NULL((void*)0);
2470 modelica_metatype _oTaskGraphMeta = NULL((void*)0);
2471 modelica_metatype _taskGraph1 = NULL((void*)0);
2472 modelica_metatype _taskGraphT = NULL((void*)0);
2473 modelica_metatype _taskGraphMeta1 = NULL((void*)0);
2474 modelica_metatype _contractedTasks = NULL((void*)0);
2475 modelica_metatype _schedulerInfo = NULL((void*)0);
2476 modelica_string _fileName = NULL((void*)0);
2477 MMC_SO()mmc_check_stackoverflow(threadData);
2478 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2479 // _oTaskGraph has no default value.
2480 // _oTaskGraphMeta has no default value.
2481 // _taskGraph1 has no default value.
2482 // _taskGraphT has no default value.
2483 // _taskGraphMeta1 has no default value.
2484 // _contractedTasks has no default value.
2485 // _schedulerInfo has no default value.
2486 // _fileName has no default value.
2487#line 464 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2488 _taskGraph1 = arrayCopy(_iTaskGraph);
2489#line 2489 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2490
2491#line 465 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2492 _taskGraphT = omc_AdjacencyMatrix_transposeAdjacencyMatrix(threadData, _taskGraph1, arrayLength(_taskGraph1));
2493#line 2493 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2494
2495#line 466 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2496 _taskGraphMeta1 = omc_HpcOmTaskGraph_copyTaskGraphMeta(threadData, _iTaskGraphMeta);
2497#line 2497 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2498
2499#line 467 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2500 _contractedTasks = arrayCreate(arrayLength(_taskGraph1), mmc_mk_integermmc_mk_icon(((modelica_integer) 0)));
2501#line 2501 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2502
2503#line 469 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2504 _taskGraph1 = omc_HpcOmSimCodeMain_applyGRS1(threadData, _taskGraph1, _taskGraphT, _taskGraphMeta1, _contractedTasks, 1 ,&_taskGraphT ,&_taskGraphMeta1);
2505#line 2505 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2506
2507#line 484 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2508 _oTaskGraph = omc_HpcOmSimCodeMain_GRS__newGraph(threadData, _taskGraph1, _taskGraphMeta1, _contractedTasks ,&_oTaskGraphMeta);
2509#line 2509 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2510 _return: OMC_LABEL_UNUSED__attribute__((unused))
2511 if (out_oTaskGraphMeta) { *out_oTaskGraphMeta = _oTaskGraphMeta; }
2512 return _oTaskGraph;
2513}
2514
2515PROTECTED_FUNCTION_STATIC modelica_integer omc_HpcOmSimCodeMain_setNumProc(threadData_t *threadData, modelica_integer _numProcFlag, modelica_real _cpCosts, modelica_metatype _taskGraphMetaIn, modelica_boolean *out_numFixed)
2516{
2517 modelica_integer _numProcOut;
2518 modelica_boolean _numFixed;
2519 modelica_integer tmp1_c0 __attribute__((unused)) = 0;
2520 modelica_boolean tmp1_c1 __attribute__((unused)) = 0;
2521 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2522 MMC_SO()mmc_check_stackoverflow(threadData);
2523 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2524 // _numProcOut has no default value.
2525 // _numFixed has no default value.
2526#line 412 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2527
2528#line 412 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2529
2530#line 2530 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2531 { /* match expression */
2532 modelica_integer tmp4_1;
2533 tmp4_1 = _numProcFlag;
2534 {
2535 modelica_integer _numProcSys;
2536 modelica_integer _numProc;
2537 modelica_integer _numProcSched;
2538 modelica_real _serCosts;
2539 modelica_real _maxSpeedUp;
2540 modelica_string _string1 = NULL((void*)0);
2541 modelica_string _string2 = NULL((void*)0);
2542 volatile mmc_switch_type tmp4;
2543 int tmp5;
2544 // _numProcSys has no default value.
2545 // _numProc has no default value.
2546 // _numProcSched has no default value.
2547 // _serCosts has no default value.
2548 // _maxSpeedUp has no default value.
2549 // _string1 has no default value.
2550 // _string2 has no default value.
2551 tmp4 = 0;
2552 for (; tmp4 < 2; tmp4++) {
2553 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2554 case 0: {
2555 modelica_real tmp6;
2556 if (0 != tmp4_1) goto tmp3_end;
2557 /* Pattern matching succeeded */
2558#line 420 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2559 _serCosts = omc_HpcOmScheduler_getSerialExecutionTime(threadData, _taskGraphMetaIn);
2560#line 2560 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2561
2562#line 421 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2563 if((_serCosts != 0.0))
2564#line 421 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2565 {
2566#line 422 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2567 tmp6 = _cpCosts;
2568#line 422 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2569 if (tmp6 == 0) {goto goto_2;}
2570#line 422 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2571 _maxSpeedUp = (_serCosts) / tmp6;
2572#line 2572 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2573
2574#line 423 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2575 _numProcSched = ((modelica_integer)floor(1.0 + _maxSpeedUp));
2576#line 2576 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2577
2578#line 424 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2579 _numProcSys = omc_System_numProcessors(threadData);
2580#line 2580 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2581
2582#line 425 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2583 _numProc = modelica_integer_min((modelica_integer)(_numProcSched),(modelica_integer)(_numProcSys));
2584#line 2584 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2585
2586#line 426 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2587 tmpMeta[2] = stringAppend(_OMC_LIT84((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3)),intString(_numProcSys));
2588#line 426 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2589 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)));
2590#line 426 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2591 _string1 = tmpMeta[3];
2592#line 2592 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2593
2594#line 427 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2595 tmpMeta[2] = stringAppend(intString(_numProcSched),_OMC_LIT86((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3)));
2596#line 427 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2597 _string2 = tmpMeta[2];
2598#line 2598 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2599
2600#line 428 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2601 _string1 = ((_numProcSched > _numProcSys)?_string1:_string2);
2602#line 2602 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2603
2604#line 429 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2605 fputs(MMC_STRINGDATA(_OMC_LIT87)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT87).header) + 3))) - 3)))->data)
,stdoutstdout);
2606#line 2606 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2607
2608#line 430 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2609 fputs(MMC_STRINGDATA(_string1)(((struct mmc_string*)((void*)((char*)(_string1) - 3)))->data
)
,stdoutstdout);
2610#line 2610 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2611 }
2612 else
2613 {
2614#line 432 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2615 _numProc = ((modelica_integer) 1);
2616#line 2616 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2617
2618#line 433 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2619 fputs(MMC_STRINGDATA(_OMC_LIT83)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT83).header) + 3))) - 3)))->data)
,stdoutstdout);
2620#line 2620 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2621 }
2622
2623#line 435 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2624 omc_FlagsUtil_setConfigInt(threadData, _OMC_LIT94((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3)), _numProc);
2625#line 2625 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2626#line 436 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2627 tmp1_c0 = _numProc;
2628#line 436 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2629 tmp1_c1 = 1;
2630#line 2630 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2631 goto tmp3_done;
2632 }
2633 case 1: {
2634
2635 /* Pattern matching succeeded */
2636#line 440 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2637 _numProcSys = omc_System_numProcessors(threadData);
2638#line 2638 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2639
2640#line 441 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2641 if(((_numProcFlag > _numProcSys) && omc_Flags_isSet(threadData, _OMC_LIT99((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3)))))
2642#line 441 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2643 {
2644#line 442 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2645 tmpMeta[2] = stringAppend(_OMC_LIT95((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3)),intString(_numProcSys));
2646#line 442 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2647 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)));
2648#line 442 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2649 fputs(MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
,stdoutstdout);
2650#line 2650 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2651 }
2652#line 444 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2653 tmp1_c0 = _numProcFlag;
2654#line 444 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2655 tmp1_c1 = 1;
2656#line 2656 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2657 goto tmp3_done;
2658 }
2659 }
2660 goto tmp3_end;
2661 tmp3_end: ;
2662 }
2663 goto goto_2;
2664 goto_2:;
2665 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2666 goto tmp3_done;
2667 tmp3_done:;
2668 }
2669 }
2670 _numProcOut = tmp1_c0;
2671 _numFixed = tmp1_c1;
2672 _return: OMC_LABEL_UNUSED__attribute__((unused))
2673 if (out_numFixed) { *out_numFixed = _numFixed; }
2674 return _numProcOut;
2675}
2676PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmSimCodeMain_setNumProc(threadData_t *threadData, modelica_metatype _numProcFlag, modelica_metatype _cpCosts, modelica_metatype _taskGraphMetaIn, modelica_metatype *out_numFixed)
2677{
2678 modelica_integer tmp1;
2679 modelica_real tmp2;
2680 modelica_boolean _numFixed;
2681 modelica_integer _numProcOut;
2682 modelica_metatype out_numProcOut;
2683 tmp1 = mmc_unbox_integer(_numProcFlag)(((mmc_sint_t) (_numProcFlag)) >> 1);
2684 tmp2 = mmc_unbox_real(_cpCosts)mmc_prim_get_real(_cpCosts);
2685 _numProcOut = omc_HpcOmSimCodeMain_setNumProc(threadData, tmp1, tmp2, _taskGraphMetaIn, &_numFixed);
2686 out_numProcOut = mmc_mk_icon(_numProcOut);
2687 if (out_numFixed) { *out_numFixed = mmc_mk_icon(_numFixed); }
2688 return out_numProcOut;
2689}
2690
2691PROTECTED_FUNCTION_STATIC void omc_HpcOmSimCodeMain_createAndExportInitialSystemTaskGraph(threadData_t *threadData, modelica_metatype _iInitDae, modelica_string _iFileNamePrefix)
2692{
2693 modelica_metatype _initDAE = NULL((void*)0);
2694 modelica_metatype _tmpTaskGraph = NULL((void*)0);
2695 modelica_metatype _tmpTaskGraphMeta = NULL((void*)0);
2696 modelica_string _fileName = NULL((void*)0);
2697 modelica_metatype _sccSimEqMapping = NULL((void*)0);
2698 modelica_metatype _schedulerInfo = NULL((void*)0);
2699 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2700 MMC_SO()mmc_check_stackoverflow(threadData);
2701 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2702 // _initDAE has no default value.
2703 // _tmpTaskGraph has no default value.
2704 // _tmpTaskGraphMeta has no default value.
2705 // _fileName has no default value.
2706 // _sccSimEqMapping has no default value.
2707 // _schedulerInfo has no default value.
2708#line 2708 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2709 { /* match expression */
2710 modelica_metatype tmp3_1;
2711 tmp3_1 = _iInitDae;
2712 {
2713 volatile mmc_switch_type tmp3;
2714 int tmp4;
2715 tmp3 = 0;
2716 for (; tmp3 < 2; tmp3++) {
2717 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2718 case 0: {
2719 if (optionNone(tmp3_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
2720 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
2721 _initDAE = tmpMeta[0];
2722 /* Pattern matching succeeded */
2723#line 393 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2724 _tmpTaskGraph = omc_HpcOmTaskGraph_createTaskGraph(threadData, _initDAE, 0 ,&_tmpTaskGraphMeta);
2725#line 2725 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2726
2727#line 394 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2728 tmpMeta[0] = stringAppend(_OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)),_iFileNamePrefix);
2729#line 394 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2730 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT100((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3)));
2731#line 394 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2732 _fileName = tmpMeta[1];
2733#line 2733 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2734
2735#line 395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2736 _schedulerInfo = arrayCreate(arrayLength(_tmpTaskGraph), _OMC_LIT102((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3)));
2737#line 2737 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2738
2739#line 396 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2740 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2741#line 396 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2742 _sccSimEqMapping = arrayCreate(arrayLength(_tmpTaskGraph), tmpMeta[0]);
2743#line 2743 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2744
2745#line 397 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2746 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2747#line 397 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2748 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2749#line 397 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2750 omc_HpcOmTaskGraph_dumpAsGraphMLSccLevel(threadData, _tmpTaskGraph, _tmpTaskGraphMeta, _fileName, _OMC_LIT103((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3)), tmpMeta[0], tmpMeta[1], _sccSimEqMapping, _schedulerInfo, _OMC_LIT104((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3)));
2751#line 2751 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2752#line 2752 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2753 goto tmp2_done;
2754 }
2755 case 1: {
2756
2757 /* Pattern matching succeeded */
2758#line 2758 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2759 goto tmp2_done;
2760 }
2761 }
2762 goto tmp2_end;
2763 tmp2_end: ;
2764 }
2765 goto goto_1;
2766 goto_1:;
2767 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2768 goto tmp2_done;
2769 tmp2_done:;
2770 }
2771 }
2772 ;
2773 _return: OMC_LABEL_UNUSED__attribute__((unused))
2774 return;
2775}
2776
2777DLLExport
2778modelica_metatype omc_HpcOmSimCodeMain_createSimCode(threadData_t *threadData, modelica_metatype _inBackendDAE, modelica_metatype _inInitDAE, modelica_metatype _inInitDAE_lambda0, modelica_metatype _inRemovedInitialEquationLst, modelica_metatype _inClassName, modelica_string _filenamePrefix, modelica_string _inString11, modelica_metatype _functions, modelica_metatype _externalFunctionIncludes, modelica_metatype _includeDirs, modelica_metatype _libs, modelica_metatype _libPaths, modelica_metatype _program, modelica_metatype _simSettingsOpt, modelica_metatype _recordDecls, modelica_metatype _literals, modelica_metatype _args)
2779{
2780 modelica_metatype _simCode = NULL((void*)0);
2781 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
2782 MMC_SO()mmc_check_stackoverflow(threadData);
2783 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2784 // _simCode has no default value.
2785#line 2785 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2786 { /* matchcontinue expression */
2787 volatile modelica_metatype tmp3_1;
2788 tmp3_1 = _inBackendDAE;
2789 {
2790 modelica_integer _lastEqMappingIdx;
2791 modelica_metatype _eqs = NULL((void*)0);
2792 modelica_metatype _equationSccMapping = NULL((void*)0);
2793 modelica_metatype _sccSimEqMapping = NULL((void*)0);
2794 modelica_metatype _daeSccSimEqMapping = NULL((void*)0);
2795 modelica_metatype _simeqCompMapping = NULL((void*)0);
2796 modelica_metatype _taskGraph = NULL((void*)0);
2797 modelica_metatype _taskGraphDae = NULL((void*)0);
2798 modelica_metatype _taskGraphOde = NULL((void*)0);
2799 modelica_metatype _taskGraphZeroFuncs = NULL((void*)0);
2800 modelica_metatype _taskGraphOdeSimplified = NULL((void*)0);
2801 modelica_metatype _taskGraphDaeSimplified = NULL((void*)0);
2802 modelica_metatype _taskGraphZeroFuncSimplified = NULL((void*)0);
2803 modelica_metatype _taskGraphOdeScheduled = NULL((void*)0);
2804 modelica_metatype _taskGraphData = NULL((void*)0);
2805 modelica_metatype _taskGraphDataDae = NULL((void*)0);
2806 modelica_metatype _taskGraphDataOde = NULL((void*)0);
2807 modelica_metatype _taskGraphDataZeroFuncs = NULL((void*)0);
2808 modelica_metatype _taskGraphDataOdeSimplified = NULL((void*)0);
2809 modelica_metatype _taskGraphDataDaeSimplified = NULL((void*)0);
2810 modelica_metatype _taskGraphDataZeroFuncSimplified = NULL((void*)0);
2811 modelica_metatype _taskGraphDataOdeScheduled = NULL((void*)0);
2812 modelica_string _fileName = NULL((void*)0);
2813 modelica_integer _numProc;
2814 modelica_metatype _criticalPaths = NULL((void*)0);
2815 modelica_metatype _criticalPathsWoC = NULL((void*)0);
2816 modelica_real _cpCosts;
2817 modelica_real _cpCostsWoC;
2818 modelica_metatype _scheduledTasksOde = NULL((void*)0);
2819 modelica_metatype _scheduledTasksDae = NULL((void*)0);
2820 modelica_metatype _scheduledTasksZeroFunc = NULL((void*)0);
2821 modelica_metatype _zeroFuncsSimEqIdc = NULL((void*)0);
2822 modelica_boolean _taskGraphMetaValid;
2823 modelica_string _criticalPathInfo = NULL((void*)0);
2824 modelica_metatype _schedulerInfo = NULL((void*)0);
2825 modelica_metatype _scheduleOde = NULL((void*)0);
2826 modelica_metatype _scheduleDae = NULL((void*)0);
2827 modelica_metatype _scheduleZeroFunc = NULL((void*)0);
2828 modelica_real _graphCosts;
2829 modelica_integer _graphOps;
2830 modelica_metatype _optTmpMemoryMap = NULL((void*)0);
2831 modelica_metatype _simVarMapping = NULL((void*)0);
2832 modelica_metatype _hpcomData = NULL((void*)0);
2833 modelica_metatype _varToArrayIndexMapping = NULL((void*)0);
2834 modelica_metatype _varToIndexMapping = NULL((void*)0);
2835 modelica_metatype _partData = NULL((void*)0);
2836 volatile mmc_switch_type tmp3;
2837 int tmp4;
2838 // _lastEqMappingIdx has no default value.
2839 // _eqs has no default value.
2840 // _equationSccMapping has no default value.
2841 // _sccSimEqMapping has no default value.
2842 // _daeSccSimEqMapping has no default value.
2843 // _simeqCompMapping has no default value.
2844 // _taskGraph has no default value.
2845 // _taskGraphDae has no default value.
2846 // _taskGraphOde has no default value.
2847 // _taskGraphZeroFuncs has no default value.
2848 // _taskGraphOdeSimplified has no default value.
2849 // _taskGraphDaeSimplified has no default value.
2850 // _taskGraphZeroFuncSimplified has no default value.
2851 // _taskGraphOdeScheduled has no default value.
2852 // _taskGraphData has no default value.
2853 // _taskGraphDataDae has no default value.
2854 // _taskGraphDataOde has no default value.
2855 // _taskGraphDataZeroFuncs has no default value.
2856 // _taskGraphDataOdeSimplified has no default value.
2857 // _taskGraphDataDaeSimplified has no default value.
2858 // _taskGraphDataZeroFuncSimplified has no default value.
2859 // _taskGraphDataOdeScheduled has no default value.
2860 // _fileName has no default value.
2861 // _numProc has no default value.
2862 // _criticalPaths has no default value.
2863 // _criticalPathsWoC has no default value.
2864 // _cpCosts has no default value.
2865 // _cpCostsWoC has no default value.
2866 // _scheduledTasksOde has no default value.
2867 // _scheduledTasksDae has no default value.
2868 // _scheduledTasksZeroFunc has no default value.
2869 // _zeroFuncsSimEqIdc has no default value.
2870 // _taskGraphMetaValid has no default value.
2871 // _criticalPathInfo has no default value.
2872 // _schedulerInfo has no default value.
2873 // _scheduleOde has no default value.
2874 // _scheduleDae has no default value.
2875 // _scheduleZeroFunc has no default value.
2876 // _graphCosts has no default value.
2877 // _graphOps has no default value.
2878 // _optTmpMemoryMap has no default value.
2879 // _simVarMapping has no default value.
2880 // _hpcomData has no default value.
2881 // _varToArrayIndexMapping has no default value.
2882 // _varToIndexMapping has no default value.
2883 // _partData has no default value.
2884 tmp3 = 0;
2885 MMC_TRY_INTERNAL(mmc_jumper){ jmp_buf new_mmc_jumper, *old_jumper __attribute__((unused))
= threadData->mmc_jumper; threadData->mmc_jumper = &
new_mmc_jumper; if (_setjmp (new_mmc_jumper) == 0) {
2886 tmp2_top:
2887 threadData->mmc_jumper = &new_mmc_jumper;
2888 for (; tmp3 < 3; tmp3++) {
2889 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2890 case 0: {
2891 modelica_boolean tmp5;
2892 modelica_integer tmp6;
2893
2894 /* Pattern matching succeeded */
2895#line 130 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2896 /* Pattern-matching assignment */
2897#line 130 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2898 tmp5 = omc_Flags_isSet(threadData, _OMC_LIT108((void*)((char*)(&(_OMC_LIT_STRUCT108).header) + 3)));
2899#line 130 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2900 if (1 != tmp5) goto goto_1;
2901#line 2901 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2902
2903#line 131 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2904 fputs(MMC_STRINGDATA(_OMC_LIT109)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT109).header) + 3))) - 3)))->data)
,stdoutstdout);
2905#line 2905 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2906
2907#line 135 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2908 /* Pattern-matching tuple assignment */
2909#line 135 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2910 tmpMeta[4] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2911#line 135 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2912 tmpMeta[5] = omc_SimCodeUtil_createSimCode(threadData, _inBackendDAE, _inInitDAE, _inInitDAE_lambda0, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _inRemovedInitialEquationLst, _inClassName, _filenamePrefix, _inString11, _functions, _externalFunctionIncludes, _includeDirs, _libs, _libPaths, _program, _simSettingsOpt, _recordDecls, _literals, _args, 0, _OMC_LIT103((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3)), _OMC_LIT103((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3)), tmpMeta[4], &tmpMeta[1]);
2913#line 135 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2914 _simCode = tmpMeta[5];
2915#line 135 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2916 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
2917#line 135 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2918 tmp6 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
2919#line 135 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2920 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
2921#line 135 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2922 _lastEqMappingIdx = tmp6 /* pattern as ty=Integer */;
2923#line 135 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2924 _equationSccMapping = tmpMeta[3];
2925#line 2925 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2926
2927#line 141 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2928 omc_SimCodeUtil_getSimVarMappingOfBackendMapping(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_simCode), 44))(*(void**)(((void*)((void**)(((void*)((char*)(_simCode) - 3))
) + (44)))))
));
2929#line 2929 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2930
2931#line 142 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2932 _simeqCompMapping = omc_HpcOmTaskGraph_setUpHpcOmMapping(threadData, _inBackendDAE, _simCode, _lastEqMappingIdx, _equationSccMapping ,&_sccSimEqMapping ,&_daeSccSimEqMapping);
2933#line 2933 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2934
2935#line 143 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2936 omc_ExecStat_execStat(threadData, _OMC_LIT110((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3)));
2937#line 2937 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2938
2939#line 147 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2940 _taskGraph = omc_HpcOmTaskGraph_createTaskGraph(threadData, _inBackendDAE, 0 ,&_taskGraphData);
2941#line 2941 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2942
2943#line 151 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2944 _taskGraphDae = arrayCopy(_taskGraph);
2945#line 2945 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2946
2947#line 152 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2948 _taskGraphDataDae = omc_HpcOmTaskGraph_copyTaskGraphMeta(threadData, _taskGraphData);
2949#line 2949 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2950
2951#line 153 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2952 _taskGraphDae = omc_HpcOmTaskGraph_appendRemovedEquations(threadData, _inBackendDAE, _taskGraphDae, _taskGraphDataDae ,&_taskGraphDataDae);
2953#line 2953 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2954
2955#line 157 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2956 tmpMeta[1] = stringAppend(_filenamePrefix,_OMC_LIT111((void*)((char*)(&(_OMC_LIT_STRUCT111).header) + 3)));
2957#line 157 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2958 _taskGraphDataDae = omc_HpcOmTaskGraph_createCosts(threadData, _inBackendDAE, tmpMeta[1], _simeqCompMapping, _taskGraphDataDae);
2959#line 2959 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2960
2961#line 158 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2962 _taskGraphData = omc_HpcOmTaskGraph_copyCosts(threadData, _taskGraphDataDae, _taskGraphData);
2963#line 2963 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2964
2965#line 162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2966 _taskGraphOde = arrayCopy(_taskGraph);
2967#line 2967 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2968
2969#line 163 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2970 _taskGraphDataOde = omc_HpcOmTaskGraph_copyTaskGraphMeta(threadData, _taskGraphData);
2971#line 2971 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2972
2973#line 164 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2974 _taskGraphOde = omc_HpcOmTaskGraph_getOdeSystem(threadData, _taskGraphOde, _taskGraphDataOde, _inBackendDAE ,&_taskGraphDataOde);
2975#line 2975 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2976
2977#line 166 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2978 tmpMeta[1] = stringAppend(_OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)),_filenamePrefix);
2979#line 166 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2980 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT112((void*)((char*)(&(_OMC_LIT_STRUCT112).header) + 3)));
2981#line 166 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2982 _fileName = tmpMeta[2];
2983#line 2983 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2984
2985#line 167 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2986 _schedulerInfo = arrayCreate(arrayLength(_taskGraphOde), _OMC_LIT102((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3)));
2987#line 2987 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2988
2989#line 168 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2990 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2991#line 168 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2992 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2993#line 168 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2994 omc_HpcOmTaskGraph_dumpAsGraphMLSccLevel(threadData, _taskGraphOde, _taskGraphDataOde, _fileName, _OMC_LIT103((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3)), tmpMeta[1], tmpMeta[2], _daeSccSimEqMapping, _schedulerInfo, _OMC_LIT104((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3)));
2995#line 2995 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
2996
2997#line 172 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
2998 _partData = omc_HpcOmTaskGraph_multirate__partitioning(threadData, _taskGraphOde, _taskGraphDataOde, _inBackendDAE, _simCode, _sccSimEqMapping);
2999#line 2999 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3000
3001#line 175 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3002 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(50))((void*)((char*)(mmc_alloc_words(50)) + 3));
3003#line 175 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3004 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_simCode)((void*)((char*)(_simCode) - 3)), 50*sizeof(modelica_metatype));
3005#line 175 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3006 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[46] = _partData;
3007#line 175 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3008 _simCode = tmpMeta[1];
3009#line 3009 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3010#line 176 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3011 tmpMeta[0] = _simCode;
3012#line 3012 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3013 goto tmp2_done;
3014 }
3015 case 1: {
3016 modelica_boolean tmp7;
3017 modelica_integer tmp8;
3018 modelica_real tmp9;
3019 modelica_real tmp10;
3020 modelica_integer tmp11;
3021 modelica_real tmp12;
3022 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3023
3024 _eqs = tmpMeta[1];
3025 /* Pattern matching succeeded */
3026#line 181 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3027 /* Pattern-matching assignment */
3028#line 181 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3029 tmp7 = omc_Flags_isSet(threadData, _OMC_LIT116((void*)((char*)(&(_OMC_LIT_STRUCT116).header) + 3)));
3030#line 181 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3031 if (1 != tmp7) goto goto_1;
3032#line 3032 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3033
3034#line 189 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3035 omc_System_realtimeTick(threadData, ((modelica_integer) 24));
3036#line 3036 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3037
3038#line 190 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3039 /* Pattern-matching tuple assignment */
3040#line 190 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3041 tmpMeta[4] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3042#line 190 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3043 tmpMeta[5] = omc_SimCodeUtil_createSimCode(threadData, _inBackendDAE, _inInitDAE, _inInitDAE_lambda0, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _inRemovedInitialEquationLst, _inClassName, _filenamePrefix, _inString11, _functions, _externalFunctionIncludes, _includeDirs, _libs, _libPaths, _program, _simSettingsOpt, _recordDecls, _literals, _args, 0, _OMC_LIT103((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3)), _OMC_LIT103((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3)), tmpMeta[4], &tmpMeta[1]);
3044#line 190 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3045 _simCode = tmpMeta[5];
3046#line 190 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3047 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
3048#line 190 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3049 tmp8 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
3050#line 190 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3051 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
3052#line 190 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3053 _lastEqMappingIdx = tmp8 /* pattern as ty=Integer */;
3054#line 190 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3055 _equationSccMapping = tmpMeta[3];
3056#line 3056 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3057
3058#line 196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3059 _simVarMapping = omc_SimCodeUtil_getSimVarMappingOfBackendMapping(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_simCode), 44))(*(void**)(((void*)((void**)(((void*)((char*)(_simCode) - 3))
) + (44)))))
));
3060#line 3060 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3061
3062#line 197 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3063 _simeqCompMapping = omc_HpcOmTaskGraph_setUpHpcOmMapping(threadData, _inBackendDAE, _simCode, _lastEqMappingIdx, _equationSccMapping ,&_sccSimEqMapping ,&_daeSccSimEqMapping);
3064#line 3064 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3065
3066#line 198 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3067 omc_ExecStat_execStat(threadData, _OMC_LIT110((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3)));
3068#line 3068 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3069
3070#line 202 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3071 _taskGraph = omc_HpcOmTaskGraph_createTaskGraph(threadData, _inBackendDAE, 0 ,&_taskGraphData);
3072#line 3072 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3073
3074#line 209 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3075 _taskGraphDae = arrayCopy(_taskGraph);
3076#line 3076 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3077
3078#line 210 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3079 _taskGraphDataDae = omc_HpcOmTaskGraph_copyTaskGraphMeta(threadData, _taskGraphData);
3080#line 3080 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3081
3082#line 211 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3083 _taskGraphDae = omc_HpcOmTaskGraph_appendRemovedEquations(threadData, _inBackendDAE, _taskGraphDae, _taskGraphDataDae ,&_taskGraphDataDae);
3084#line 3084 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3085
3086#line 213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3087 _schedulerInfo = arrayCreate(arrayLength(_taskGraphDae), _OMC_LIT102((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3)));
Value stored to '_schedulerInfo' is never read
3088#line 3088 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3089
3090#line 214 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3091 omc_ExecStat_execStat(threadData, _OMC_LIT117((void*)((char*)(&(_OMC_LIT_STRUCT117).header) + 3)));
3092#line 3092 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3093
3094#line 216 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3095 omc_HpcOmSimCodeMain_checkTaskGraphMetaConsistency(threadData, _taskGraphDae, _taskGraphDataDae, _OMC_LIT118((void*)((char*)(&(_OMC_LIT_STRUCT118).header) + 3)));
3096#line 3096 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3097
3098#line 217 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3099 omc_ExecStat_execStat(threadData, _OMC_LIT119((void*)((char*)(&(_OMC_LIT_STRUCT119).header) + 3)));
3100#line 3100 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3101
3102#line 221 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3103 tmpMeta[1] = stringAppend(_filenamePrefix,_OMC_LIT111((void*)((char*)(&(_OMC_LIT_STRUCT111).header) + 3)));
3104#line 221 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3105 _taskGraphDataDae = omc_HpcOmTaskGraph_createCosts(threadData, _inBackendDAE, tmpMeta[1], _simeqCompMapping, _taskGraphDataDae);
3106#line 3106 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3107
3108#line 222 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3109 _taskGraphData = omc_HpcOmTaskGraph_copyCosts(threadData, _taskGraphDataDae, _taskGraphData);
3110#line 3110 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3111
3112#line 223 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3113 omc_ExecStat_execStat(threadData, _OMC_LIT120((void*)((char*)(&(_OMC_LIT_STRUCT120).header) + 3)));
3114#line 3114 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3115
3116#line 229 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3117 _taskGraphOde = arrayCopy(_taskGraph);
3118#line 3118 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3119
3120#line 230 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3121 _taskGraphDataOde = omc_HpcOmTaskGraph_copyTaskGraphMeta(threadData, _taskGraphData);
3122#line 3122 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3123
3124#line 231 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3125 _taskGraphOde = omc_HpcOmTaskGraph_getOdeSystem(threadData, _taskGraphOde, _taskGraphDataOde, _inBackendDAE ,&_taskGraphDataOde);
3126#line 3126 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3127
3128#line 232 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3129 omc_ExecStat_execStat(threadData, _OMC_LIT121((void*)((char*)(&(_OMC_LIT_STRUCT121).header) + 3)));
3130#line 3130 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3131
3132#line 234 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3133 _taskGraphMetaValid = omc_HpcOmTaskGraph_validateTaskGraphMeta(threadData, _taskGraphDataOde, _inBackendDAE);
3134#line 3134 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3135
3136#line 235 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3137 if((!_taskGraphMetaValid))
3138#line 235 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3139 {
3140#line 236 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3141 fputs(MMC_STRINGDATA(_OMC_LIT122)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT122).header) + 3))) - 3)))->data)
,stdoutstdout);
3142#line 3142 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3143 }
3144
3145#line 238 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3146 omc_ExecStat_execStat(threadData, _OMC_LIT123((void*)((char*)(&(_OMC_LIT_STRUCT123).header) + 3)));
3147#line 3147 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3148
3149#line 245 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3150 _taskGraphDataDae = omc_HpcOmTaskGraph_markSystemComponents(threadData, _taskGraphOde, _taskGraphDataOde, _OMC_LIT124((void*)((char*)(&(_OMC_LIT_STRUCT124).header) + 3)), _taskGraphDataDae);
3151#line 3151 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3152
3153#line 249 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3154 _taskGraphZeroFuncs = arrayCopy(_taskGraphDae);
3155#line 3155 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3156
3157#line 250 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3158 _taskGraphDataZeroFuncs = omc_HpcOmTaskGraph_copyTaskGraphMeta(threadData, _taskGraphDataDae);
3159#line 3159 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3160
3161#line 251 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3162 _zeroFuncsSimEqIdc = omc_List_map(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_simCode), 21))(*(void**)(((void*)((void**)(((void*)((char*)(_simCode) - 3))
) + (21)))))
), boxvar_SimCodeUtil_simEqSystemIndex((void*)((char*)(&(boxvar_lit_SimCodeUtil_simEqSystemIndex
).header) + 3))
);
3163#line 3163 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3164
3165#line 252 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3166 _taskGraphZeroFuncs = omc_HpcOmTaskGraph_getZeroFuncsSystem(threadData, _taskGraphZeroFuncs, _taskGraphDataZeroFuncs, _inBackendDAE, arrayLength(_daeSccSimEqMapping), _zeroFuncsSimEqIdc, _simeqCompMapping ,&_taskGraphDataZeroFuncs);
3167#line 3167 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3168
3169#line 254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3170 tmpMeta[1] = stringAppend(_OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)),_filenamePrefix);
3171#line 254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3172 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT125((void*)((char*)(&(_OMC_LIT_STRUCT125).header) + 3)));
3173#line 254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3174 _fileName = tmpMeta[2];
3175#line 3175 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3176
3177#line 255 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3178 _schedulerInfo = arrayCreate(arrayLength(_taskGraphZeroFuncs), _OMC_LIT102((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3)));
3179#line 3179 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3180
3181#line 256 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3182 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3183#line 256 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3184 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3185#line 256 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3186 omc_HpcOmTaskGraph_dumpAsGraphMLSccLevel(threadData, _taskGraphZeroFuncs, _taskGraphDataZeroFuncs, _fileName, _OMC_LIT103((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3)), tmpMeta[1], tmpMeta[2], _daeSccSimEqMapping, _schedulerInfo, _OMC_LIT104((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3)));
3187#line 3187 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3188
3189#line 257 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3190 omc_ExecStat_execStat(threadData, _OMC_LIT126((void*)((char*)(&(_OMC_LIT_STRUCT126).header) + 3)));
3191#line 3191 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3192
3193#line 260 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3194 _taskGraphDataDae = omc_HpcOmTaskGraph_markSystemComponents(threadData, _taskGraphZeroFuncs, _taskGraphDataZeroFuncs, _OMC_LIT127((void*)((char*)(&(_OMC_LIT_STRUCT127).header) + 3)), _taskGraphDataDae);
3195#line 3195 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3196
3197#line 262 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3198 omc_HpcOmSimCodeMain_checkTaskGraphMetaConsistency(threadData, _taskGraphZeroFuncs, _taskGraphDataZeroFuncs, _OMC_LIT128((void*)((char*)(&(_OMC_LIT_STRUCT128).header) + 3)));
3199#line 3199 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3200
3201#line 263 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3202 omc_HpcOmSimCodeMain_checkEquationCount(threadData, _taskGraphDataZeroFuncs, _OMC_LIT128((void*)((char*)(&(_OMC_LIT_STRUCT128).header) + 3)), listLength(_zeroFuncsSimEqIdc), _sccSimEqMapping);
3203#line 3203 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3204
3205#line 271 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3206 tmpMeta[1] = stringAppend(_OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)),_filenamePrefix);
3207#line 271 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3208 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT129((void*)((char*)(&(_OMC_LIT_STRUCT129).header) + 3)));
3209#line 271 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3210 _fileName = tmpMeta[2];
3211#line 3211 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3212
3213#line 272 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3214 _schedulerInfo = arrayCreate(arrayLength(_taskGraphDae), _OMC_LIT102((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3)));
3215#line 3215 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3216
3217#line 273 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3218 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3219#line 273 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3220 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3221#line 273 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3222 omc_HpcOmTaskGraph_dumpAsGraphMLSccLevel(threadData, _taskGraphDae, _taskGraphDataDae, _fileName, _OMC_LIT103((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3)), tmpMeta[1], tmpMeta[2], _daeSccSimEqMapping, _schedulerInfo, _OMC_LIT104((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3)));
3223#line 3223 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3224
3225#line 274 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3226 omc_ExecStat_execStat(threadData, _OMC_LIT130((void*)((char*)(&(_OMC_LIT_STRUCT130).header) + 3)));
3227#line 3227 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3228
3229#line 278 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3230 /* Pattern-matching tuple assignment */
3231#line 278 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3232 tmpMeta[4] = omc_HpcOmTaskGraph_getCriticalPaths(threadData, _taskGraphOde, _taskGraphDataOde, &tmpMeta[1]);
3233#line 278 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3234 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
3235#line 278 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3236 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
3237#line 278 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3238 tmp10 = mmc_unbox_real(tmpMeta[6])mmc_prim_get_real(tmpMeta[6]);
3239#line 278 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3240 _criticalPaths = tmpMeta[5];
3241#line 278 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3242 _cpCosts = tmp10 /* pattern as ty=Real */;
3243#line 278 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3244 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
3245#line 278 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3246 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
3247#line 278 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3248 tmp9 = mmc_unbox_real(tmpMeta[3])mmc_prim_get_real(tmpMeta[3]);
3249#line 278 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3250 _criticalPathsWoC = tmpMeta[2];
3251#line 278 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3252 _cpCostsWoC = tmp9 /* pattern as ty=Real */;
3253#line 3253 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3254
3255#line 279 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3256 tmpMeta[1] = mmc_mk_box2(0, _criticalPaths, mmc_mk_realmmc_mk_rcon(_cpCosts));
3257#line 279 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3258 tmpMeta[2] = mmc_mk_box2(0, _criticalPathsWoC, mmc_mk_realmmc_mk_rcon(_cpCostsWoC));
3259#line 279 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3260 _criticalPathInfo = omc_HpcOmTaskGraph_dumpCriticalPathInfo(threadData, tmpMeta[1], tmpMeta[2]);
3261#line 3261 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3262
3263#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3264 /* Pattern-matching assignment */
3265#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3266 tmpMeta[1] = omc_HpcOmTaskGraph_sumUpExeCosts(threadData, _taskGraphOde, _taskGraphDataOde);
3267#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3268 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
3269#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3270 tmp11 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
3271#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3272 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
3273#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3274 tmp12 = mmc_unbox_real(tmpMeta[3])mmc_prim_get_real(tmpMeta[3]);
3275#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3276 _graphOps = tmp11 /* pattern as ty=Integer */;
3277#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3278 _graphCosts = tmp12 /* pattern as ty=Real */;
3279#line 3279 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3280
3281#line 281 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3282 _graphCosts = omc_HpcOmTaskGraph_roundReal(threadData, _graphCosts, ((modelica_integer) 2));
3283#line 3283 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3284
3285#line 282 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3286 tmpMeta[1] = stringAppend(_criticalPathInfo,_OMC_LIT131((void*)((char*)(&(_OMC_LIT_STRUCT131).header) + 3)));
3287#line 282 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3288 tmpMeta[2] = stringAppend(tmpMeta[1],realString(_graphCosts));
3289#line 282 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3290 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT132((void*)((char*)(&(_OMC_LIT_STRUCT132).header) + 3)));
3291#line 282 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3292 tmpMeta[4] = stringAppend(tmpMeta[3],intString(_graphOps));
3293#line 282 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3294 tmpMeta[5] = stringAppend(tmpMeta[4],_OMC_LIT133((void*)((char*)(&(_OMC_LIT_STRUCT133).header) + 3)));
3295#line 282 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3296 _criticalPathInfo = tmpMeta[5];
3297#line 3297 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3298
3299#line 283 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3300 tmpMeta[1] = stringAppend(_OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)),_filenamePrefix);
3301#line 283 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3302 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT134((void*)((char*)(&(_OMC_LIT_STRUCT134).header) + 3)));
3303#line 283 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3304 _fileName = tmpMeta[2];
3305#line 3305 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3306
3307#line 284 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3308 _schedulerInfo = arrayCreate(arrayLength(_taskGraphOde), _OMC_LIT102((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3)));
3309#line 3309 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3310
3311#line 285 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3312 omc_ExecStat_execStat(threadData, _OMC_LIT135((void*)((char*)(&(_OMC_LIT_STRUCT135).header) + 3)));
3313#line 3313 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3314
3315#line 286 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3316 omc_HpcOmTaskGraph_dumpAsGraphMLSccLevel(threadData, _taskGraphOde, _taskGraphDataOde, _fileName, _criticalPathInfo, omc_HpcOmTaskGraph_convertNodeListToEdgeTuples(threadData, listHead(_criticalPaths)boxptr_listHead(threadData,_criticalPaths)), omc_HpcOmTaskGraph_convertNodeListToEdgeTuples(threadData, listHead(_criticalPathsWoC)boxptr_listHead(threadData,_criticalPathsWoC)), _sccSimEqMapping, _schedulerInfo, _OMC_LIT136((void*)((char*)(&(_OMC_LIT_STRUCT136).header) + 3)));
3317#line 3317 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3318
3319#line 287 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3320 omc_ExecStat_execStat(threadData, _OMC_LIT137((void*)((char*)(&(_OMC_LIT_STRUCT137).header) + 3)));
3321#line 3321 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3322
3323#line 289 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3324 if(omc_Flags_isSet(threadData, _OMC_LIT99((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3))))
3325#line 289 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3326 {
3327#line 290 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3328 fputs(MMC_STRINGDATA(_OMC_LIT138)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT138).header) + 3))) - 3)))->data)
,stdoutstdout);
3329#line 3329 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3330 }
3331
3332#line 295 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3333 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3334#line 295 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3335 _scheduledTasksDae = tmpMeta[1];
3336#line 3336 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3337
3338#line 296 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3339 _scheduledTasksOde = omc_HpcOmEqSystems_parallelizeTornSystems(threadData, _taskGraphOde, _taskGraphDataOde, _sccSimEqMapping, _simVarMapping, _inBackendDAE, NULL((void*)0));
3340#line 3340 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3341
3342#line 297 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3343 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3344#line 297 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3345 _scheduledTasksZeroFunc = tmpMeta[1];
3346#line 3346 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3347
3348#line 301 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3349 _taskGraphDaeSimplified = omc_HpcOmSimCodeMain_applyGRS(threadData, _taskGraphDae, _taskGraphDataDae ,&_taskGraphDataDaeSimplified);
3350#line 3350 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3351
3352#line 302 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3353 _taskGraphOdeSimplified = omc_HpcOmSimCodeMain_applyGRS(threadData, _taskGraphOde, _taskGraphDataOde ,&_taskGraphDataOdeSimplified);
3354#line 3354 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3355
3356#line 303 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3357 _taskGraphZeroFuncSimplified = omc_HpcOmSimCodeMain_applyGRS(threadData, _taskGraphZeroFuncs, _taskGraphDataZeroFuncs ,&_taskGraphDataZeroFuncSimplified);
3358#line 3358 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3359
3360#line 304 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3361 omc_ExecStat_execStat(threadData, _OMC_LIT139((void*)((char*)(&(_OMC_LIT_STRUCT139).header) + 3)));
3362#line 3362 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3363
3364#line 306 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3365 tmpMeta[1] = stringAppend(_OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)),_filenamePrefix);
3366#line 306 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3367 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT140((void*)((char*)(&(_OMC_LIT_STRUCT140).header) + 3)));
3368#line 306 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3369 _fileName = tmpMeta[2];
3370#line 3370 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3371
3372#line 307 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3373 omc_HpcOmTaskGraph_dumpAsGraphMLSccLevel(threadData, _taskGraphOdeSimplified, _taskGraphDataOdeSimplified, _fileName, _criticalPathInfo, omc_HpcOmTaskGraph_convertNodeListToEdgeTuples(threadData, listHead(_criticalPaths)boxptr_listHead(threadData,_criticalPaths)), omc_HpcOmTaskGraph_convertNodeListToEdgeTuples(threadData, listHead(_criticalPathsWoC)boxptr_listHead(threadData,_criticalPathsWoC)), _sccSimEqMapping, _schedulerInfo, _OMC_LIT136((void*)((char*)(&(_OMC_LIT_STRUCT136).header) + 3)));
3374#line 3374 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3375
3376#line 308 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3377 omc_ExecStat_execStat(threadData, _OMC_LIT141((void*)((char*)(&(_OMC_LIT_STRUCT141).header) + 3)));
3378#line 3378 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3379
3380#line 310 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3381 if(omc_Flags_isSet(threadData, _OMC_LIT99((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3))))
3382#line 310 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3383 {
3384#line 311 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3385 tmpMeta[1] = stringAppend(_OMC_LIT142((void*)((char*)(&(_OMC_LIT_STRUCT142).header) + 3)),intString(arrayLength(_taskGraphOde) - arrayLength(_taskGraphOdeSimplified)));
3386#line 311 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3387 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT143((void*)((char*)(&(_OMC_LIT_STRUCT143).header) + 3)));
3388#line 311 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3389 fputs(MMC_STRINGDATA(tmpMeta[2])(((struct mmc_string*)((void*)((char*)(tmpMeta[2]) - 3)))->
data)
,stdoutstdout);
3390#line 3390 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3391 }
3392
3393#line 316 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3394 _numProc = omc_Flags_getConfigInt(threadData, _OMC_LIT94((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3)));
3395#line 3395 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3396
3397#line 317 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3398 _numProc = omc_HpcOmSimCodeMain_setNumProc(threadData, _numProc, _cpCostsWoC, _taskGraphDataOde, NULL((void*)0));
3399#line 3399 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3400
3401#line 319 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3402 _scheduleDae = omc_HpcOmSimCodeMain_createSchedule(threadData, _taskGraphDaeSimplified, _taskGraphDataDaeSimplified, _daeSccSimEqMapping, _simVarMapping, _filenamePrefix, _numProc, _numProc, _simCode, _scheduledTasksDae, _OMC_LIT118((void*)((char*)(&(_OMC_LIT_STRUCT118).header) + 3)), omc_Flags_getConfigString(threadData, _OMC_LIT82((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3))) ,&_simCode ,NULL((void*)0) ,NULL((void*)0) ,&_sccSimEqMapping);
3403#line 3403 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3404
3405#line 324 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3406 _scheduleOde = omc_HpcOmSimCodeMain_createSchedule(threadData, _taskGraphOdeSimplified, _taskGraphDataOdeSimplified, _sccSimEqMapping, _simVarMapping, _filenamePrefix, _numProc, _numProc, _simCode, _scheduledTasksOde, _OMC_LIT144((void*)((char*)(&(_OMC_LIT_STRUCT144).header) + 3)), omc_Flags_getConfigString(threadData, _OMC_LIT82((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3))) ,&_simCode ,&_taskGraphOdeScheduled ,&_taskGraphDataOdeScheduled ,&_sccSimEqMapping);
3407#line 3407 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3408
3409#line 329 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3410 _scheduleZeroFunc = omc_HpcOmSimCodeMain_createSchedule(threadData, _taskGraphZeroFuncSimplified, _taskGraphDataZeroFuncSimplified, _daeSccSimEqMapping, _simVarMapping, _filenamePrefix, _numProc, _numProc, _simCode, _scheduledTasksZeroFunc, _OMC_LIT128((void*)((char*)(&(_OMC_LIT_STRUCT128).header) + 3)), omc_Flags_getConfigString(threadData, _OMC_LIT82((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3))) ,&_simCode ,NULL((void*)0) ,NULL((void*)0) ,&_sccSimEqMapping);
3411#line 3411 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3412
3413#line 335 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3414 _numProc = omc_Flags_getConfigInt(threadData, _OMC_LIT94((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3)));
3415#line 3415 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3416
3417#line 336 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3418 _criticalPathInfo = omc_HpcOmScheduler_analyseScheduledTaskGraph(threadData, _scheduleOde, _numProc, _taskGraphOdeScheduled, _taskGraphDataOdeScheduled, _OMC_LIT144((void*)((char*)(&(_OMC_LIT_STRUCT144).header) + 3)));
3419#line 3419 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3420
3421#line 337 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3422 _schedulerInfo = omc_HpcOmScheduler_convertScheduleStrucToInfo(threadData, _scheduleOde, arrayLength(_taskGraphOdeScheduled));
3423#line 3423 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3424
3425#line 338 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3426 omc_ExecStat_execStat(threadData, _OMC_LIT145((void*)((char*)(&(_OMC_LIT_STRUCT145).header) + 3)));
3427#line 3427 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3428
3429#line 340 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3430 tmpMeta[1] = stringAppend(_OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)),_filenamePrefix);
3431#line 340 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3432 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT146((void*)((char*)(&(_OMC_LIT_STRUCT146).header) + 3)));
3433#line 340 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3434 _fileName = tmpMeta[2];
3435#line 3435 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3436
3437#line 341 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3438 omc_HpcOmTaskGraph_dumpAsGraphMLSccLevel(threadData, _taskGraphOdeScheduled, _taskGraphDataOdeScheduled, _fileName, _criticalPathInfo, omc_HpcOmTaskGraph_convertNodeListToEdgeTuples(threadData, listHead(_criticalPaths)boxptr_listHead(threadData,_criticalPaths)), omc_HpcOmTaskGraph_convertNodeListToEdgeTuples(threadData, listHead(_criticalPathsWoC)boxptr_listHead(threadData,_criticalPathsWoC)), _sccSimEqMapping, _schedulerInfo, _OMC_LIT136((void*)((char*)(&(_OMC_LIT_STRUCT136).header) + 3)));
3439#line 3439 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3440
3441#line 343 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3442 omc_ExecStat_execStat(threadData, _OMC_LIT147((void*)((char*)(&(_OMC_LIT_STRUCT147).header) + 3)));
3443#line 3443 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3444
3445#line 345 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3446 if(omc_Flags_isSet(threadData, _OMC_LIT99((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3))))
3447#line 345 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3448 {
3449#line 346 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3450 fputs(MMC_STRINGDATA(_OMC_LIT148)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT148).header) + 3))) - 3)))->data)
,stdoutstdout);
3451#line 3451 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3452 }
3453
3454#line 351 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3455 omc_System_realtimeTick(threadData, ((modelica_integer) 24));
3456#line 3456 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3457
3458#line 354 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3459 omc_HpcOmSimCodeMain_checkOdeSystemSize(threadData, _taskGraphDataOdeScheduled, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_simCode), 8))(*(void**)(((void*)((void**)(((void*)((char*)(_simCode) - 3))
) + (8)))))
), _sccSimEqMapping);
3460#line 3460 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3461
3462#line 355 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3463 omc_ExecStat_execStat(threadData, _OMC_LIT149((void*)((char*)(&(_OMC_LIT_STRUCT149).header) + 3)));
3464#line 3464 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3465
3466#line 359 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3467 _optTmpMemoryMap = omc_HpcOmMemory_createMemoryMap(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_simCode), 2))(*(void**)(((void*)((void**)(((void*)((char*)(_simCode) - 3))
) + (2)))))
), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_simCode), 40))(*(void**)(((void*)((void**)(((void*)((char*)(_simCode) - 3))
) + (40)))))
), (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_simCode), 41))(*(void**)(((void*)((void**)(((void*)((char*)(_simCode) - 3))
) + (41)))))
), _taskGraphOdeSimplified, omc_AdjacencyMatrix_transposeAdjacencyMatrix(threadData, _taskGraphOdeSimplified, arrayLength(_taskGraphOdeSimplified)), _taskGraphDataOdeSimplified, _eqs, _filenamePrefix, _schedulerInfo, _scheduleOde, _sccSimEqMapping, _criticalPaths, _criticalPathsWoC, _criticalPathInfo, _numProc, omc_HpcOmTaskGraph_getSystemComponents(threadData, _inBackendDAE, NULL((void*)0)), omc_BackendDAEUtil_isInitializationDAE(threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_inBackendDAE), 3))(*(void**)(((void*)((void**)(((void*)((char*)(_inBackendDAE) -
3))) + (3)))))
)) ,&_varToArrayIndexMapping ,&_varToIndexMapping);
3468#line 3468 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3469
3470#line 363 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3471 omc_ExecStat_execStat(threadData, _OMC_LIT150((void*)((char*)(&(_OMC_LIT_STRUCT150).header) + 3)));
3472#line 3472 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3473
3474#line 364 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3475 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(50))((void*)((char*)(mmc_alloc_words(50)) + 3));
3476#line 364 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3477 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_simCode)((void*)((char*)(_simCode) - 3)), 50*sizeof(modelica_metatype));
3478#line 364 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3479 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[40] = _varToArrayIndexMapping;
3480#line 364 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3481 _simCode = tmpMeta[1];
3482#line 3482 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3483
3484#line 365 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3485 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(50))((void*)((char*)(mmc_alloc_words(50)) + 3));
3486#line 365 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3487 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_simCode)((void*)((char*)(_simCode) - 3)), 50*sizeof(modelica_metatype));
3488#line 365 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3489 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[41] = _varToIndexMapping;
3490#line 365 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3491 _simCode = tmpMeta[1];
3492#line 3492 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3493
3494#line 367 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3495 tmpMeta[2] = mmc_mk_box3(0, _scheduleOde, _scheduleDae, _scheduleZeroFunc);
3496#line 367 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3497 tmpMeta[3] = mmc_mk_box3(3, &HpcOmSimCode_HpcOmData_HPCOMDATA__desc, mmc_mk_some(tmpMeta[2]), _optTmpMemoryMap);
3498#line 367 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3499 tmpMeta[1] = MMC_TAGPTR(mmc_alloc_words(50))((void*)((char*)(mmc_alloc_words(50)) + 3));
3500#line 367 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3501 memcpy(MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)), MMC_UNTAGPTR(_simCode)((void*)((char*)(_simCode) - 3)), 50*sizeof(modelica_metatype));
3502#line 367 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3503 ((modelica_metatype*)MMC_UNTAGPTR(tmpMeta[1])((void*)((char*)(tmpMeta[1]) - 3)))[38] = tmpMeta[3];
3504#line 367 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3505 _simCode = tmpMeta[1];
3506#line 3506 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3507
3508#line 369 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3509 omc_ExecStat_execStat(threadData, _OMC_LIT151((void*)((char*)(&(_OMC_LIT_STRUCT151).header) + 3)));
3510#line 3510 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3511
3512#line 370 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3513 fputs(MMC_STRINGDATA(_OMC_LIT152)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT152).header) + 3))) - 3)))->data)
,stdoutstdout);
3514#line 3514 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3515#line 371 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3516 tmpMeta[0] = _simCode;
3517#line 3517 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3518 goto tmp2_done;
3519 }
3520 case 2: {
3521
3522 /* Pattern matching succeeded */
3523#line 373 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3524 omc_Error_addMessage(threadData, _OMC_LIT157((void*)((char*)(&(_OMC_LIT_STRUCT157).header) + 3)), _OMC_LIT159((void*)((char*)(&(_OMC_LIT_STRUCT159).header) + 3)));
3525#line 3525 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3526#line 374 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/SimCode/HpcOmSimCodeMain.mo"
3527 goto goto_1;
3528#line 3528 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmSimCodeMain.c"
3529 goto tmp2_done;
3530 }
3531 }
3532 goto tmp2_end;
3533 tmp2_end: ;
3534 }
3535 goto goto_1;
3536 tmp2_done:
3537 (void)tmp3;
3538 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3539 goto tmp2_done2;
3540 goto_1:;
3541 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3542 if (++tmp3 < 3) {
3543 goto tmp2_top;
3544 }
3545 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3546 tmp2_done2:;
3547 }
3548 }
3549 _simCode = tmpMeta[0];
3550 _return: OMC_LABEL_UNUSED__attribute__((unused))
3551 return _simCode;
3552}
3553