Bug Summary

File:OMCompiler/Compiler/boot/build/HpcOmMemory.c
Warning:line 9580, column 11
Value stored to '_cacheLineMap' 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/HpcOmMemory.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/HpcOmMemory.c" "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
5#endif
6#include "omc_simulation_settings.h"
7#include "HpcOmMemory.h"
8#define _OMC_LIT0_data"getTaskListTasks failed!\n" "getTaskListTasks failed!\n"
9static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT0,25,_OMC_LIT0_data)struct { mmc_uint_t header; const char data[(25)+1]; } _OMC_LIT_STRUCT0
= { ((((mmc_uint_t)25)<<(3))+((1<<(3+3))+5)), "getTaskListTasks failed!\n"
}
;
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"createArrayIndexCref_impl failed!\n" "createArrayIndexCref_impl failed!\n"
12static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT1,34,_OMC_LIT1_data)struct { mmc_uint_t header; const char data[(34)+1]; } _OMC_LIT_STRUCT1
= { ((((mmc_uint_t)34)<<(3))+((1<<(3+3))+5)), "createArrayIndexCref_impl failed!\n"
}
;
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"HpcOmMemory.getCrefDims failed!\n" "HpcOmMemory.getCrefDims failed!\n"
15static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT2,32,_OMC_LIT2_data)struct { mmc_uint_t header; const char data[(32)+1]; } _OMC_LIT_STRUCT2
= { ((((mmc_uint_t)32)<<(3))+((1<<(3+3))+5)), "HpcOmMemory.getCrefDims failed!\n"
}
;
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"getDimStringOfDimElement: unsupported Dimension-type given!\n" "getDimStringOfDimElement: unsupported Dimension-type given!\n"
18static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT3,60,_OMC_LIT3_data)struct { mmc_uint_t header; const char data[(60)+1]; } _OMC_LIT_STRUCT3
= { ((((mmc_uint_t)60)<<(3))+((1<<(3+3))+5)), "getDimStringOfDimElement: unsupported Dimension-type given!\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"" ""
21static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT4,0,_OMC_LIT4_data)struct { mmc_uint_t header; const char data[(0)+1]; } _OMC_LIT_STRUCT4
= { ((((mmc_uint_t)0)<<(3))+((1<<(3+3))+5)), "" }
;
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"Variable " "Variable "
24static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT5,9,_OMC_LIT5_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT5
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "Variable "
}
;
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" has data type " " has data type "
27static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT6,15,_OMC_LIT6_data)struct { mmc_uint_t header; const char data[(15)+1]; } _OMC_LIT_STRUCT6
= { ((((mmc_uint_t)15)<<(3))+((1<<(3+3))+5)), " has data type "
}
;
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" and size " " and size "
30static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT7,10,_OMC_LIT7_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT7
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), " and size "
}
;
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" and type " " and type "
33static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT8,10,_OMC_LIT8_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT8
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), " and type "
}
;
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,1,_OMC_LIT9_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT9
= { ((((mmc_uint_t)1)<<(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"dumpScVarsByIdx: Failed to find simcode-variable with index " "dumpScVarsByIdx: Failed to find simcode-variable with index "
39static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT10,60,_OMC_LIT10_data)struct { mmc_uint_t header; const char data[(60)+1]; } _OMC_LIT_STRUCT10
= { ((((mmc_uint_t)60)<<(3))+((1<<(3+3))+5)), "dumpScVarsByIdx: Failed to find simcode-variable with index "
}
;
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"NONE" "NONE"
42static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT11,4,_OMC_LIT11_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT11
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "NONE"
}
;
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"--------------------\nScVar - Infos\n--------------------\n" "--------------------\nScVar - Infos\n--------------------\n"
45static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT12,56,_OMC_LIT12_data)struct { mmc_uint_t header; const char data[(56)+1]; } _OMC_LIT_STRUCT12
= { ((((mmc_uint_t)56)<<(3))+((1<<(3+3))+5)), "--------------------\nScVar - Infos\n--------------------\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"ScVar " "ScVar "
48static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT13,6,_OMC_LIT13_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT13
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "ScVar "
}
;
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" has thread owner " " has thread owner "
51static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT14,18,_OMC_LIT14_data)struct { mmc_uint_t header; const char data[(18)+1]; } _OMC_LIT_STRUCT14
= { ((((mmc_uint_t)18)<<(3))+((1<<(3+3))+5)), " has thread owner "
}
;
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" and shared state " " and shared state "
54static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT15,18,_OMC_LIT15_data)struct { mmc_uint_t header; const char data[(18)+1]; } _OMC_LIT_STRUCT15
= { ((((mmc_uint_t)18)<<(3))+((1<<(3+3))+5)), " and shared state "
}
;
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"true" "true"
57static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT16,4,_OMC_LIT16_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT16
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "true"
}
;
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"false" "false"
60static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT17,5,_OMC_LIT17_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT17
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "false"
}
;
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"Scc " "Scc "
63static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT18,4,_OMC_LIT18_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT18
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "Scc "
}
;
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" is solved by node " " is solved by node "
66static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT19,19,_OMC_LIT19_data)struct { mmc_uint_t header; const char data[(19)+1]; } _OMC_LIT_STRUCT19
= { ((((mmc_uint_t)19)<<(3))+((1<<(3+3))+5)), " is solved by node "
}
;
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"--------------------\nScc - Node - Mapping\n--------------------\n" "--------------------\nScc - Node - Mapping\n--------------------\n"
69static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT20,63,_OMC_LIT20_data)struct { mmc_uint_t header; const char data[(63)+1]; } _OMC_LIT_STRUCT20
= { ((((mmc_uint_t)63)<<(3))+((1<<(3+3))+5)), "--------------------\nScc - Node - Mapping\n--------------------\n"
}
;
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"System " "System "
72static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT21,7,_OMC_LIT21_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT21
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "System "
}
;
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"Tasks that are writing to cacheline " "Tasks that are writing to cacheline "
75static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT22,36,_OMC_LIT22_data)struct { mmc_uint_t header; const char data[(36)+1]; } _OMC_LIT_STRUCT22
= { ((((mmc_uint_t)36)<<(3))+((1<<(3+3))+5)), "Tasks that are writing to cacheline "
}
;
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": " ": "
78static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT23,2,_OMC_LIT23_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT23
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), ": "
}
;
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"," ","
81static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT24,1,_OMC_LIT24_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT24
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), ","
}
;
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"SCVar " "SCVar "
84static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT25,6,_OMC_LIT25_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT25
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "SCVar "
}
;
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" is solved in task: " " is solved in task: "
87static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT26,20,_OMC_LIT26_data)struct { mmc_uint_t header; const char data[(20)+1]; } _OMC_LIT_STRUCT26
= { ((((mmc_uint_t)20)<<(3))+((1<<(3+3))+5)), " is solved in task: "
}
;
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"----------------------\nSCVar - Task - Mapping\n----------------------\n" "----------------------\nSCVar - Task - Mapping\n----------------------\n"
90static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT27,69,_OMC_LIT27_data)struct { mmc_uint_t header; const char data[(69)+1]; } _OMC_LIT_STRUCT27
= { ((((mmc_uint_t)69)<<(3))+((1<<(3+3))+5)), "----------------------\nSCVar - Task - Mapping\n----------------------\n"
}
;
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"Node " "Node "
93static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT28,5,_OMC_LIT28_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT28
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "Node "
}
;
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" uses sc-vars: " " uses sc-vars: "
96static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT29,15,_OMC_LIT29_data)struct { mmc_uint_t header; const char data[(15)+1]; } _OMC_LIT_STRUCT29
= { ((((mmc_uint_t)15)<<(3))+((1<<(3+3))+5)), " uses sc-vars: "
}
;
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"Node - SimCodeVar - Mapping\n------------------\n" "Node - SimCodeVar - Mapping\n------------------\n"
99static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT30,47,_OMC_LIT30_data)struct { mmc_uint_t header; const char data[(47)+1]; } _OMC_LIT_STRUCT30
= { ((((mmc_uint_t)47)<<(3))+((1<<(3+3))+5)), "Node - SimCodeVar - Mapping\n------------------\n"
}
;
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"| " "| "
102static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT31,2,_OMC_LIT31_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT31
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "| "
}
;
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" " " "
105static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT32,1,_OMC_LIT32_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT32
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), " "
}
;
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" [" " ["
108static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT33,2,_OMC_LIT33_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT33
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), " ["
}
;
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"]" "]"
111static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT34,1,_OMC_LIT34_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT34
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "]"
}
;
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" | " " | "
114static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT35,3,_OMC_LIT35_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT35
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), " | "
}
;
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" CacheLineMap " " CacheLineMap "
117static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT36,15,_OMC_LIT36_data)struct { mmc_uint_t header; const char data[(15)+1]; } _OMC_LIT_STRUCT36
= { ((((mmc_uint_t)15)<<(3))+((1<<(3+3))+5)), " CacheLineMap "
}
;
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" (" " ("
120static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT37,2,_OMC_LIT37_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT37
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), " ("
}
;
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" entries)\n" " entries)\n"
123static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT38,10,_OMC_LIT38_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT38
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), " entries)\n"
}
;
124#define _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT38)((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))
125static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT39,2,0)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT39
= { (((2) << 10) + (((0) & 255) << 2)),
{_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)),_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))}};
126#define _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT39)((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3))
127#define _OMC_LIT40_data" " " "
128static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT40,4,_OMC_LIT40_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT40
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), " "
}
;
129#define _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT40)((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))
130#define _OMC_LIT41_data"\n\nCacheMap\n---------------\n" "\n\nCacheMap\n---------------\n"
131static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT41,27,_OMC_LIT41_data)struct { mmc_uint_t header; const char data[(27)+1]; } _OMC_LIT_STRUCT41
= { ((((mmc_uint_t)27)<<(3))+((1<<(3+3))+5)), "\n\nCacheMap\n---------------\n"
}
;
132#define _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT41)((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))
133#define _OMC_LIT42_data" Variables\n" " Variables\n"
134static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT42,12,_OMC_LIT42_data)struct { mmc_uint_t header; const char data[(12)+1]; } _OMC_LIT_STRUCT42
= { ((((mmc_uint_t)12)<<(3))+((1<<(3+3))+5)), " Variables\n"
}
;
135#define _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT42)((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))
136#define _OMC_LIT43_data" Float Cache Lines\n" " Float Cache Lines\n"
137static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT43,20,_OMC_LIT43_data)struct { mmc_uint_t header; const char data[(20)+1]; } _OMC_LIT_STRUCT43
= { ((((mmc_uint_t)20)<<(3))+((1<<(3+3))+5)), " Float Cache Lines\n"
}
;
138#define _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT43)((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3))
139#define _OMC_LIT44_data" Int Cache Lines\n" " Int Cache Lines\n"
140static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT44,18,_OMC_LIT44_data)struct { mmc_uint_t header; const char data[(18)+1]; } _OMC_LIT_STRUCT44
= { ((((mmc_uint_t)18)<<(3))+((1<<(3+3))+5)), " Int Cache Lines\n"
}
;
141#define _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT44)((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))
142#define _OMC_LIT45_data" Bool Cache Lines\n" " Bool Cache Lines\n"
143static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT45,19,_OMC_LIT45_data)struct { mmc_uint_t header; const char data[(19)+1]; } _OMC_LIT_STRUCT45
= { ((((mmc_uint_t)19)<<(3))+((1<<(3+3))+5)), " Bool Cache Lines\n"
}
;
144#define _OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT45)((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))
145#define _OMC_LIT46_data"\n\nUniform CacheMap\n---------------\n" "\n\nUniform CacheMap\n---------------\n"
146static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT46,35,_OMC_LIT46_data)struct { mmc_uint_t header; const char data[(35)+1]; } _OMC_LIT_STRUCT46
= { ((((mmc_uint_t)35)<<(3))+((1<<(3+3))+5)), "\n\nUniform CacheMap\n---------------\n"
}
;
147#define _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT46)((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))
148#define _OMC_LIT47_data" Variables.\n" " Variables.\n"
149static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT47,13,_OMC_LIT47_data)struct { mmc_uint_t header; const char data[(13)+1]; } _OMC_LIT_STRUCT47
= { ((((mmc_uint_t)13)<<(3))+((1<<(3+3))+5)), " Variables.\n"
}
;
150#define _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT47)((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))
151#define _OMC_LIT48_data"printCacheMap: Unsupported cache map type!\n" "printCacheMap: Unsupported cache map type!\n"
152static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT48,43,_OMC_LIT48_data)struct { mmc_uint_t header; const char data[(43)+1]; } _OMC_LIT_STRUCT48
= { ((((mmc_uint_t)43)<<(3))+((1<<(3+3))+5)), "printCacheMap: Unsupported cache map type!\n"
}
;
153#define _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT48)((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))
154#define _OMC_LIT49_data"var" "var"
155static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT49,3,_OMC_LIT49_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT49
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "var"
}
;
156#define _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT49)((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3))
157#define _OMC_LIT50_data"Th " "Th "
158static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT50,3,_OMC_LIT50_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT50
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "Th "
}
;
159#define _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT50)((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3))
160static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT51,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT51
= { (((1) << 10) + (((3) & 255) << 2)),
{&GraphML_FontStyle_FONTPLAIN__desc,}};
161#define _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT51)((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3))
162#define _OMC_LIT52_data"98B954" "98B954"
163static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT52,6,_OMC_LIT52_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT52
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "98B954"
}
;
164#define _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT52)((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3))
165static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT53,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT53
= { (((1) << 10) + (((5) & 255) << 2)),
{&GraphML_ShapeType_ELLIPSE__desc,}};
166#define _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT53)((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3))
167#define _OMC_LIT54_data"CL_Meta_" "CL_Meta_"
168static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT54,8,_OMC_LIT54_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT54
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "CL_Meta_"
}
;
169#define _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT54)((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))
170#define _OMC_LIT55_data"CL" "CL"
171static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT55,2,_OMC_LIT55_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT55
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "CL"
}
;
172#define _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT55)((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3))
173#define _OMC_LIT56_data"varEdge_" "varEdge_"
174static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT56,8,_OMC_LIT56_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT56
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "varEdge_"
}
;
175#define _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT56)((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3))
176#define _OMC_LIT57_data"_" "_"
177static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT57,1,_OMC_LIT57_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT57
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "_"
}
;
178#define _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT57)((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3))
179#define _OMC_LIT58_data"Node" "Node"
180static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT58,4,_OMC_LIT58_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT58
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "Node"
}
;
181#define _OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT58)((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3))
182#define _OMC_LIT59_data"000000" "000000"
183static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT59,6,_OMC_LIT59_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT59
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "000000"
}
;
184#define _OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT59)((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3))
185static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT60,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT60
= { (((1) << 10) + (((3) & 255) << 2)),
{&GraphML_LineType_LINE__desc,}};
186#define _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT60)((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3))
187static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT61,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT61
= { (((1) << 10) + (((4) & 255) << 2)),
{&GraphML_ArrowType_ARROWNONE__desc,}};
188#define _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT61)((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3))
189static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT62,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT62
= { (((1) << 10) + (((3) & 255) << 2)),
{&GraphML_ArrowType_ARROWSTANDART__desc,}};
190#define _OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT62)((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3))
191static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT63,2,0)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT63
= { (((2) << 10) + (((0) & 255) << 2)),
{_OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)),_OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3))}};
192#define _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT63)((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3))
193#define _OMC_LIT64_data"unknown" "unknown"
194static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT64,7,_OMC_LIT64_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT64
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "unknown"
}
;
195#define _OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT64)((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3))
196#define _OMC_LIT65_data"Th -1" "Th -1"
197static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT65,5,_OMC_LIT65_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT65
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "Th -1"
}
;
198#define _OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT65)((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3))
199#define _OMC_LIT66_data"CL_GoupNode" "CL_GoupNode"
200static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT66,11,_OMC_LIT66_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT66
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "CL_GoupNode"
}
;
201#define _OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT66)((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3))
202#define _OMC_LIT67_data"HpcOmSimCode.appendCacheLinesToGraph failed!\n" "HpcOmSimCode.appendCacheLinesToGraph failed!\n"
203static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT67,45,_OMC_LIT67_data)struct { mmc_uint_t header; const char data[(45)+1]; } _OMC_LIT_STRUCT67
= { ((((mmc_uint_t)45)<<(3))+((1<<(3+3))+5)), "HpcOmSimCode.appendCacheLinesToGraph failed!\n"
}
;
204#define _OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT67)((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3))
205#define _OMC_LIT68_data"HpcOmMemory.getTaskSimVarMapping failed" "HpcOmMemory.getTaskSimVarMapping failed"
206static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT68,39,_OMC_LIT68_data)struct { mmc_uint_t header; const char data[(39)+1]; } _OMC_LIT_STRUCT68
= { ((((mmc_uint_t)39)<<(3))+((1<<(3+3))+5)), "HpcOmMemory.getTaskSimVarMapping failed"
}
;
207#define _OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT68)((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3))
208#define _OMC_LIT69_data"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo" "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
209static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT69,96,_OMC_LIT69_data)struct { mmc_uint_t header; const char data[(96)+1]; } _OMC_LIT_STRUCT69
= { ((((mmc_uint_t)96)<<(3))+((1<<(3+3))+5)), "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
}
;
210#define _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT69)((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3))
211static const MMC_DEFREALLIT(_OMC_LIT_STRUCT70_6,1580577680.0)struct mmc_real_lit _OMC_LIT_STRUCT70_6 = {0,(((8/8) <<
10) + 9),1580577680.0}
;
212#define _OMC_LIT70_6((void*)((char*)(&(_OMC_LIT_STRUCT70_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT70_6)((void*)((char*)(&(_OMC_LIT_STRUCT70_6).header) + 3))
213static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT70,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT70
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(2818))((void*)(((((mmc_uint_t) (2818)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(7))((void*)(((((mmc_uint_t) (7)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(2818))((void*)(((((mmc_uint_t) (2818)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(74))((void*)(((((mmc_uint_t) (74)) << 1)+0))),_OMC_LIT70_6((void*)((char*)(&(_OMC_LIT_STRUCT70_6).header) + 3))}};
214#define _OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT70)((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3))
215#define _OMC_LIT71_data"$DER" "$DER"
216static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT71,4,_OMC_LIT71_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT71
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "$DER"
}
;
217#define _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT71)((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3))
218static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT72,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT72
= { (((2) << 10) + (((4) & 255) << 2)),
{&DAE_Type_T__REAL__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
219#define _OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT72)((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3))
220static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT73,2,0)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT73
= { (((2) << 10) + (((0) & 255) << 2)),
{MMC_IMMEDIATE(MMC_TAGFIXNUM(-1))((void*)(((((mmc_uint_t) (-1)) << 1)+0))),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
221#define _OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT73)((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3))
222#define _OMC_LIT74_data"der" "der"
223static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT74,3,_OMC_LIT74_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT74
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "der"
}
;
224#define _OMC_LIT74((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT74)((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3))
225static const MMC_DEFREALLIT(_OMC_LIT_STRUCT75,0.0)struct mmc_real_lit _OMC_LIT_STRUCT75 = {0,(((8/8) << 10
) + 9),0.0}
;
226#define _OMC_LIT75((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT75)((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3))
227static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT76,4,0)struct { mmc_uint_t header; const void *data[4]; } _OMC_LIT_STRUCT76
= { (((4) << 10) + (((0) & 255) << 2)),
{MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
228#define _OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT76)((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3))
229static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT77,2,0)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT77
= { (((2) << 10) + (((0) & 255) << 2)),
{_OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0)))}};
230#define _OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT77)((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3))
231static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT78,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT78
= { (((1) << 10) + (((5) & 255) << 2)),
{&ErrorTypes_MessageType_TRANSLATION__desc,}};
232#define _OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT78)((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3))
233static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT79,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT79
= { (((1) << 10) + (((4) & 255) << 2)),
{&ErrorTypes_Severity_ERROR__desc,}};
234#define _OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT79)((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3))
235#define _OMC_LIT80_data"Internal error %s" "Internal error %s"
236static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT80,17,_OMC_LIT80_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT80
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "Internal error %s"
}
;
237#define _OMC_LIT80((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT80)((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3))
238static 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))}};
239#define _OMC_LIT81((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT81)((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3))
240static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT82,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT82
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(63))((void*)(((((mmc_uint_t) (63)) << 1)+0))),_OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3)),_OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)),_OMC_LIT81((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3))}};
241#define _OMC_LIT82((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT82)((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3))
242#define _OMC_LIT83_data"addCacheLineEntryToVarArrayMapping failed! Unsupported entry-type\n" "addCacheLineEntryToVarArrayMapping failed! Unsupported entry-type\n"
243static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT83,66,_OMC_LIT83_data)struct { mmc_uint_t header; const char data[(66)+1]; } _OMC_LIT_STRUCT83
= { ((((mmc_uint_t)66)<<(3))+((1<<(3+3))+5)), "addCacheLineEntryToVarArrayMapping failed! Unsupported entry-type\n"
}
;
244#define _OMC_LIT83((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT83)((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3))
245static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT84,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT84
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT83((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
246#define _OMC_LIT84((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT84)((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3))
247#define _OMC_LIT85_data"addCacheLineMapToVarArrayMapping failed! CacheLineMap-Type not supported!" "addCacheLineMapToVarArrayMapping failed! CacheLineMap-Type not supported!"
248static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT85,73,_OMC_LIT85_data)struct { mmc_uint_t header; const char data[(73)+1]; } _OMC_LIT_STRUCT85
= { ((((mmc_uint_t)73)<<(3))+((1<<(3+3))+5)), "addCacheLineMapToVarArrayMapping failed! CacheLineMap-Type not supported!"
}
;
249#define _OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT85)((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3))
250static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT86,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT86
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
251#define _OMC_LIT86((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT86)((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3))
252#define _OMC_LIT87_data"ConvertCacheToVarArrayMapping: Uniform-CacheMap not supported!" "ConvertCacheToVarArrayMapping: Uniform-CacheMap not supported!"
253static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT87,62,_OMC_LIT87_data)struct { mmc_uint_t header; const char data[(62)+1]; } _OMC_LIT_STRUCT87
= { ((((mmc_uint_t)62)<<(3))+((1<<(3+3))+5)), "ConvertCacheToVarArrayMapping: Uniform-CacheMap not supported!"
}
;
254#define _OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT87)((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3))
255static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT88,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT88
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
256#define _OMC_LIT88((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT88)((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3))
257#define _OMC_LIT89_data"ConvertCacheToVarArrayMapping: CacheMap-Type not supported!" "ConvertCacheToVarArrayMapping: CacheMap-Type not supported!"
258static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT89,59,_OMC_LIT89_data)struct { mmc_uint_t header; const char data[(59)+1]; } _OMC_LIT_STRUCT89
= { ((((mmc_uint_t)59)<<(3))+((1<<(3+3))+5)), "ConvertCacheToVarArrayMapping: CacheMap-Type not supported!"
}
;
259#define _OMC_LIT89((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT89)((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3))
260static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT90,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT90
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT89((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
261#define _OMC_LIT90((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT90)((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3))
262#define _OMC_LIT91_data"appendSCVarToCacheMap failed! Variable skipped.\n" "appendSCVarToCacheMap failed! Variable skipped.\n"
263static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT91,48,_OMC_LIT91_data)struct { mmc_uint_t header; const char data[(48)+1]; } _OMC_LIT_STRUCT91
= { ((((mmc_uint_t)48)<<(3))+((1<<(3+3))+5)), "appendSCVarToCacheMap failed! Variable skipped.\n"
}
;
264#define _OMC_LIT91((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT91)((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3))
265#define _OMC_LIT92_data"appendNodeVarsToCacheMap0 failed!\n" "appendNodeVarsToCacheMap0 failed!\n"
266static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT92,34,_OMC_LIT92_data)struct { mmc_uint_t header; const char data[(34)+1]; } _OMC_LIT_STRUCT92
= { ((((mmc_uint_t)34)<<(3))+((1<<(3+3))+5)), "appendNodeVarsToCacheMap0 failed!\n"
}
;
267#define _OMC_LIT92((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT92)((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3))
268static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT93,2,0)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT93
= { (((2) << 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)))}};
269#define _OMC_LIT93((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT93)((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3))
270#define _OMC_LIT94_data"Cpp" "Cpp"
271static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT94,3,_OMC_LIT94_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT94
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "Cpp"
}
;
272#define _OMC_LIT94((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT94)((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3))
273#define _OMC_LIT95_data"findMatchingSharedCLLevelfix0: Unknown partly filled cache line type given.\n" "findMatchingSharedCLLevelfix0: Unknown partly filled cache line type given.\n"
274static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT95,76,_OMC_LIT95_data)struct { mmc_uint_t header; const char data[(76)+1]; } _OMC_LIT_STRUCT95
= { ((((mmc_uint_t)76)<<(3))+((1<<(3+3))+5)), "findMatchingSharedCLLevelfix0: Unknown partly filled cache line type given.\n"
}
;
275#define _OMC_LIT95((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT95)((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3))
276#define _OMC_LIT96_data"getCacheLineForVarType: Found Variable with unknown type ( " "getCacheLineForVarType: Found Variable with unknown type ( "
277static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT96,59,_OMC_LIT96_data)struct { mmc_uint_t header; const char data[(59)+1]; } _OMC_LIT_STRUCT96
= { ((((mmc_uint_t)59)<<(3))+((1<<(3+3))+5)), "getCacheLineForVarType: Found Variable with unknown type ( "
}
;
278#define _OMC_LIT96((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT96)((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3))
279#define _OMC_LIT97_data")!\n" ")!\n"
280static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT97,3,_OMC_LIT97_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT97
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), ")!\n"
}
;
281#define _OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT97)((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3))
282static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT98,3,3)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT98
= { (((3) << 10) + (((3) & 255) << 2)),
{&HpcOmMemory_ScVarInfo_SCVARINFO__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)))}};
283#define _OMC_LIT98((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT98)((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3))
284#define _OMC_LIT99_data"createCacheMapThreadOptimizedForTask failed!\n" "createCacheMapThreadOptimizedForTask failed!\n"
285static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT99,45,_OMC_LIT99_data)struct { mmc_uint_t header; const char data[(45)+1]; } _OMC_LIT_STRUCT99
= { ((((mmc_uint_t)45)<<(3))+((1<<(3+3))+5)), "createCacheMapThreadOptimizedForTask failed!\n"
}
;
286#define _OMC_LIT99((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT99)((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3))
287static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT100,3,0)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT100
= { (((3) << 10) + (((0) & 255) << 2)),
{MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
288#define _OMC_LIT100((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT100)((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3))
289static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT101,2,0)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT101
= { (((2) << 10) + (((0) & 255) << 2)),
{_OMC_LIT100((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3)),_OMC_LIT100((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3))}};
290#define _OMC_LIT101((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT101)((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3))
291#define _OMC_LIT102_data"createCacheMapLevelOptimized1: Calctask without threadIdx given\n" "createCacheMapLevelOptimized1: Calctask without threadIdx given\n"
292static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT102,64,_OMC_LIT102_data)struct { mmc_uint_t header; const char data[(64)+1]; } _OMC_LIT_STRUCT102
= { ((((mmc_uint_t)64)<<(3))+((1<<(3+3))+5)), "createCacheMapLevelOptimized1: Calctask without threadIdx given\n"
}
;
293#define _OMC_LIT102((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT102)((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3))
294#define _OMC_LIT103_data"createCacheMapLevelOptimized1: Unsupported task type\n" "createCacheMapLevelOptimized1: Unsupported task type\n"
295static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT103,53,_OMC_LIT103_data)struct { mmc_uint_t header; const char data[(53)+1]; } _OMC_LIT_STRUCT103
= { ((((mmc_uint_t)53)<<(3))+((1<<(3+3))+5)), "createCacheMapLevelOptimized1: Unsupported task type\n"
}
;
296#define _OMC_LIT103((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT103)((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3))
297#define _OMC_LIT104_data"Creating optimized cache map for fixed level scheduler\n" "Creating optimized cache map for fixed level scheduler\n"
298static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT104,55,_OMC_LIT104_data)struct { mmc_uint_t header; const char data[(55)+1]; } _OMC_LIT_STRUCT104
= { ((((mmc_uint_t)55)<<(3))+((1<<(3+3))+5)), "Creating optimized cache map for fixed level scheduler\n"
}
;
299#define _OMC_LIT104((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT104)((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3))
300#define _OMC_LIT105_data"Creating optimized cache map for thread scheduler\n" "Creating optimized cache map for thread scheduler\n"
301static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT105,50,_OMC_LIT105_data)struct { mmc_uint_t header; const char data[(50)+1]; } _OMC_LIT_STRUCT105
= { ((((mmc_uint_t)50)<<(3))+((1<<(3+3))+5)), "Creating optimized cache map for thread scheduler\n"
}
;
302#define _OMC_LIT105((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT105)((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3))
303#define _OMC_LIT106_data"Creating optimized cache map for empty scheduler\n" "Creating optimized cache map for empty scheduler\n"
304static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT106,49,_OMC_LIT106_data)struct { mmc_uint_t header; const char data[(49)+1]; } _OMC_LIT_STRUCT106
= { ((((mmc_uint_t)49)<<(3))+((1<<(3+3))+5)), "Creating optimized cache map for empty scheduler\n"
}
;
305#define _OMC_LIT106((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT106)((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3))
306#define _OMC_LIT107_data"No optimized cache map for the selected scheduler avaiable. Using default cacheMap!\n" "No optimized cache map for the selected scheduler avaiable. Using default cacheMap!\n"
307static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT107,84,_OMC_LIT107_data)struct { mmc_uint_t header; const char data[(84)+1]; } _OMC_LIT_STRUCT107
= { ((((mmc_uint_t)84)<<(3))+((1<<(3+3))+5)), "No optimized cache map for the selected scheduler avaiable. Using default cacheMap!\n"
}
;
308#define _OMC_LIT107((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT107)((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3))
309static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT108,3,0)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT108
= { (((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))),MMC_IMMEDIATE(MMC_TAGFIXNUM(-1))((void*)(((((mmc_uint_t) (-1)) << 1)+0)))}};
310#define _OMC_LIT108((void*)((char*)(&(_OMC_LIT_STRUCT108).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT108)((void*)((char*)(&(_OMC_LIT_STRUCT108).header) + 3))
311#define _OMC_LIT109_data"hpcomMemoryOpt" "hpcomMemoryOpt"
312static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT109,14,_OMC_LIT109_data)struct { mmc_uint_t header; const char data[(14)+1]; } _OMC_LIT_STRUCT109
= { ((((mmc_uint_t)14)<<(3))+((1<<(3+3))+5)), "hpcomMemoryOpt"
}
;
313#define _OMC_LIT109((void*)((char*)(&(_OMC_LIT_STRUCT109).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT109)((void*)((char*)(&(_OMC_LIT_STRUCT109).header) + 3))
314#define _OMC_LIT110_data"Optimize the memory structure regarding the selected scheduler" "Optimize the memory structure regarding the selected scheduler"
315static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT110,62,_OMC_LIT110_data)struct { mmc_uint_t header; const char data[(62)+1]; } _OMC_LIT_STRUCT110
= { ((((mmc_uint_t)62)<<(3))+((1<<(3+3))+5)), "Optimize the memory structure regarding the selected scheduler"
}
;
316#define _OMC_LIT110((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT110)((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3))
317static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT111,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT111
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT110((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3))}};
318#define _OMC_LIT111((void*)((char*)(&(_OMC_LIT_STRUCT111).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT111)((void*)((char*)(&(_OMC_LIT_STRUCT111).header) + 3))
319static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT112,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT112
= { (((5) << 10) + (((3) & 255) << 2)),
{&Flags_DebugFlag_DEBUG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(108))((void*)(((((mmc_uint_t) (108)) << 1)+0))),_OMC_LIT109((void*)((char*)(&(_OMC_LIT_STRUCT109).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT111((void*)((char*)(&(_OMC_LIT_STRUCT111).header) + 3))}};
320#define _OMC_LIT112((void*)((char*)(&(_OMC_LIT_STRUCT112).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT112)((void*)((char*)(&(_OMC_LIT_STRUCT112).header) + 3))
321#define _OMC_LIT113_data"TasksGroupGraph" "TasksGroupGraph"
322static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT113,15,_OMC_LIT113_data)struct { mmc_uint_t header; const char data[(15)+1]; } _OMC_LIT_STRUCT113
= { ((((mmc_uint_t)15)<<(3))+((1<<(3+3))+5)), "TasksGroupGraph"
}
;
323#define _OMC_LIT113((void*)((char*)(&(_OMC_LIT_STRUCT113).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT113)((void*)((char*)(&(_OMC_LIT_STRUCT113).header) + 3))
324#define _OMC_LIT114_data"TasksGroup" "TasksGroup"
325static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT114,10,_OMC_LIT114_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT114
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "TasksGroup"
}
;
326#define _OMC_LIT114((void*)((char*)(&(_OMC_LIT_STRUCT114).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT114)((void*)((char*)(&(_OMC_LIT_STRUCT114).header) + 3))
327#define _OMC_LIT115_data"TG" "TG"
328static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT115,2,_OMC_LIT115_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT115
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "TG"
}
;
329#define _OMC_LIT115((void*)((char*)(&(_OMC_LIT_STRUCT115).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT115)((void*)((char*)(&(_OMC_LIT_STRUCT115).header) + 3))
330#define _OMC_LIT116_data"nothing" "nothing"
331static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT116,7,_OMC_LIT116_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT116
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "nothing"
}
;
332#define _OMC_LIT116((void*)((char*)(&(_OMC_LIT_STRUCT116).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT116)((void*)((char*)(&(_OMC_LIT_STRUCT116).header) + 3))
333static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT117,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT117
= { (((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)))}};
334#define _OMC_LIT117((void*)((char*)(&(_OMC_LIT_STRUCT117).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT117)((void*)((char*)(&(_OMC_LIT_STRUCT117).header) + 3))
335#define _OMC_LIT118_data"ThreadId" "ThreadId"
336static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT118,8,_OMC_LIT118_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT118
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "ThreadId"
}
;
337#define _OMC_LIT118((void*)((char*)(&(_OMC_LIT_STRUCT118).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT118)((void*)((char*)(&(_OMC_LIT_STRUCT118).header) + 3))
338static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT119,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT119
= { (((1) << 10) + (((3) & 255) << 2)),
{&GraphML_AttributeTarget_TARGET__NODE__desc,}};
339#define _OMC_LIT119((void*)((char*)(&(_OMC_LIT_STRUCT119).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT119)((void*)((char*)(&(_OMC_LIT_STRUCT119).header) + 3))
340static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT120,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT120
= { (((1) << 10) + (((3) & 255) << 2)),
{&BackendDAE_IndexType_ABSOLUTE__desc,}};
341#define _OMC_LIT120((void*)((char*)(&(_OMC_LIT_STRUCT120).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT120)((void*)((char*)(&(_OMC_LIT_STRUCT120).header) + 3))
342#define _OMC_LIT121_data"taskGraph" "taskGraph"
343static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT121,9,_OMC_LIT121_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT121
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "taskGraph"
}
;
344#define _OMC_LIT121((void*)((char*)(&(_OMC_LIT_STRUCT121).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT121)((void*)((char*)(&(_OMC_LIT_STRUCT121).header) + 3))
345#define _OMC_LIT122_data"ODE_schedule_CL.graphml" "ODE_schedule_CL.graphml"
346static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT122,23,_OMC_LIT122_data)struct { mmc_uint_t header; const char data[(23)+1]; } _OMC_LIT_STRUCT122
= { ((((mmc_uint_t)23)<<(3))+((1<<(3+3))+5)), "ODE_schedule_CL.graphml"
}
;
347#define _OMC_LIT122((void*)((char*)(&(_OMC_LIT_STRUCT122).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT122)((void*)((char*)(&(_OMC_LIT_STRUCT122).header) + 3))
348#define _OMC_LIT123_data"ODE_schedule_vars.graphml" "ODE_schedule_vars.graphml"
349static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT123,25,_OMC_LIT123_data)struct { mmc_uint_t header; const char data[(25)+1]; } _OMC_LIT_STRUCT123
= { ((((mmc_uint_t)25)<<(3))+((1<<(3+3))+5)), "ODE_schedule_vars.graphml"
}
;
350#define _OMC_LIT123((void*)((char*)(&(_OMC_LIT_STRUCT123).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT123)((void*)((char*)(&(_OMC_LIT_STRUCT123).header) + 3))
351#define _OMC_LIT124_data"CreateMemoryMap failed!" "CreateMemoryMap failed!"
352static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT124,23,_OMC_LIT124_data)struct { mmc_uint_t header; const char data[(23)+1]; } _OMC_LIT_STRUCT124
= { ((((mmc_uint_t)23)<<(3))+((1<<(3+3))+5)), "CreateMemoryMap failed!"
}
;
353#define _OMC_LIT124((void*)((char*)(&(_OMC_LIT_STRUCT124).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT124)((void*)((char*)(&(_OMC_LIT_STRUCT124).header) + 3))
354static const MMC_DEFREALLIT(_OMC_LIT_STRUCT125_6,1580577680.0)struct mmc_real_lit _OMC_LIT_STRUCT125_6 = {0,(((8/8) <<
10) + 9),1580577680.0}
;
355#define _OMC_LIT125_6((void*)((char*)(&(_OMC_LIT_STRUCT125_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT125_6)((void*)((char*)(&(_OMC_LIT_STRUCT125_6).header) + 3))
356static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT125,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT125
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(408))((void*)(((((mmc_uint_t) (408)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(11))((void*)(((((mmc_uint_t) (11)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(408))((void*)(((((mmc_uint_t) (408)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(74))((void*)(((((mmc_uint_t) (74)) << 1)+0))),_OMC_LIT125_6((void*)((char*)(&(_OMC_LIT_STRUCT125_6).header) + 3))}};
357#define _OMC_LIT125((void*)((char*)(&(_OMC_LIT_STRUCT125).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT125)((void*)((char*)(&(_OMC_LIT_STRUCT125).header) + 3))
358#include "util/modelica.h"
359
360#include "HpcOmMemory_includes.h"
361
362
363/* default, do not make protected functions static */
364#if !defined(PROTECTED_FUNCTION_STATIC)
365#define PROTECTED_FUNCTION_STATIC
366#endif
367PROTECTED_FUNCTION_STATIC modelica_integer omc_HpcOmMemory_getCacheLineSizeOfCacheMap(threadData_t *threadData, modelica_metatype _iCacheMap);
368PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_getCacheLineSizeOfCacheMap(threadData_t *threadData, modelica_metatype _iCacheMap);
369static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_getCacheLineSizeOfCacheMap,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_getCacheLineSizeOfCacheMap
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_getCacheLineSizeOfCacheMap,0}};
370#define boxvar_HpcOmMemory_getCacheLineSizeOfCacheMap((void*)((char*)(&(boxvar_lit_HpcOmMemory_getCacheLineSizeOfCacheMap
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_getCacheLineSizeOfCacheMap)((void*)((char*)(&(boxvar_lit_HpcOmMemory_getCacheLineSizeOfCacheMap
).header) + 3))
371PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getCacheVariablesOfCacheMap(threadData_t *threadData, modelica_metatype _iCacheMap);
372static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_getCacheVariablesOfCacheMap,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_getCacheVariablesOfCacheMap
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_getCacheVariablesOfCacheMapomc_HpcOmMemory_getCacheVariablesOfCacheMap,0}};
373#define boxvar_HpcOmMemory_getCacheVariablesOfCacheMap((void*)((char*)(&(boxvar_lit_HpcOmMemory_getCacheVariablesOfCacheMap
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_getCacheVariablesOfCacheMap)((void*)((char*)(&(boxvar_lit_HpcOmMemory_getCacheVariablesOfCacheMap
).header) + 3))
374PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getAllCacheLinesOfCacheMap(threadData_t *threadData, modelica_metatype _iCacheMap);
375static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_getAllCacheLinesOfCacheMap,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_getAllCacheLinesOfCacheMap
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_getAllCacheLinesOfCacheMapomc_HpcOmMemory_getAllCacheLinesOfCacheMap,0}};
376#define boxvar_HpcOmMemory_getAllCacheLinesOfCacheMap((void*)((char*)(&(boxvar_lit_HpcOmMemory_getAllCacheLinesOfCacheMap
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_getAllCacheLinesOfCacheMap)((void*)((char*)(&(boxvar_lit_HpcOmMemory_getAllCacheLinesOfCacheMap
).header) + 3))
377PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getCacheLineMapOfPartlyFilledCacheLine(threadData_t *threadData, modelica_metatype _iPartlyFilledCacheLine);
378static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_getCacheLineMapOfPartlyFilledCacheLine,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_getCacheLineMapOfPartlyFilledCacheLine
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_getCacheLineMapOfPartlyFilledCacheLineomc_HpcOmMemory_getCacheLineMapOfPartlyFilledCacheLine,0}};
379#define boxvar_HpcOmMemory_getCacheLineMapOfPartlyFilledCacheLine((void*)((char*)(&(boxvar_lit_HpcOmMemory_getCacheLineMapOfPartlyFilledCacheLine
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_getCacheLineMapOfPartlyFilledCacheLine)((void*)((char*)(&(boxvar_lit_HpcOmMemory_getCacheLineMapOfPartlyFilledCacheLine
).header) + 3))
380PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getTaskListTasks(threadData_t *threadData, modelica_metatype _iTaskList);
381static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_getTaskListTasks,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_getTaskListTasks
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_getTaskListTasksomc_HpcOmMemory_getTaskListTasks,0}};
382#define boxvar_HpcOmMemory_getTaskListTasks((void*)((char*)(&(boxvar_lit_HpcOmMemory_getTaskListTasks
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_getTaskListTasks)((void*)((char*)(&(boxvar_lit_HpcOmMemory_getTaskListTasks
).header) + 3))
383PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createArrayIndexCref__impl(threadData_t *threadData, modelica_integer _iIdx, modelica_metatype _iDimElemCount, modelica_metatype _iRefCurrentDim);
384PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_createArrayIndexCref__impl(threadData_t *threadData, modelica_metatype _iIdx, modelica_metatype _iDimElemCount, modelica_metatype _iRefCurrentDim);
385static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_createArrayIndexCref__impl,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_createArrayIndexCref__impl
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_createArrayIndexCref__impl,0}};
386#define boxvar_HpcOmMemory_createArrayIndexCref__impl((void*)((char*)(&(boxvar_lit_HpcOmMemory_createArrayIndexCref__impl
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_createArrayIndexCref__impl)((void*)((char*)(&(boxvar_lit_HpcOmMemory_createArrayIndexCref__impl
).header) + 3))
387PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createArrayIndexCref(threadData_t *threadData, modelica_integer _iIdx, modelica_metatype _iDimElemCount, modelica_metatype _iCref);
388PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_createArrayIndexCref(threadData_t *threadData, modelica_metatype _iIdx, modelica_metatype _iDimElemCount, modelica_metatype _iCref);
389static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_createArrayIndexCref,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_createArrayIndexCref
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_createArrayIndexCref,0}};
390#define boxvar_HpcOmMemory_createArrayIndexCref((void*)((char*)(&(boxvar_lit_HpcOmMemory_createArrayIndexCref
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_createArrayIndexCref)((void*)((char*)(&(boxvar_lit_HpcOmMemory_createArrayIndexCref
).header) + 3))
391PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_expandCref1(threadData_t *threadData, modelica_metatype _iCref, modelica_integer _iElems, modelica_metatype _iDimElemCount);
392PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_expandCref1(threadData_t *threadData, modelica_metatype _iCref, modelica_metatype _iElems, modelica_metatype _iDimElemCount);
393static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_expandCref1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_expandCref1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_expandCref1,0}};
394#define boxvar_HpcOmMemory_expandCref1((void*)((char*)(&(boxvar_lit_HpcOmMemory_expandCref1).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_expandCref1)((void*)((char*)(&(boxvar_lit_HpcOmMemory_expandCref1).header
) + 3))
395PROTECTED_FUNCTION_STATIC modelica_integer omc_HpcOmMemory_getCrefDims(threadData_t *threadData, modelica_metatype _iCref);
396PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_getCrefDims(threadData_t *threadData, modelica_metatype _iCref);
397static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_getCrefDims,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_getCrefDims
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_getCrefDims,0}};
398#define boxvar_HpcOmMemory_getCrefDims((void*)((char*)(&(boxvar_lit_HpcOmMemory_getCrefDims).header
) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_getCrefDims)((void*)((char*)(&(boxvar_lit_HpcOmMemory_getCrefDims).header
) + 3))
399PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getDimElemCount(threadData_t *threadData, modelica_metatype _iNumArrayElems, modelica_integer _iDims);
400PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_getDimElemCount(threadData_t *threadData, modelica_metatype _iNumArrayElems, modelica_metatype _iDims);
401static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_getDimElemCount,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_getDimElemCount
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_getDimElemCount,0}};
402#define boxvar_HpcOmMemory_getDimElemCount((void*)((char*)(&(boxvar_lit_HpcOmMemory_getDimElemCount
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_getDimElemCount)((void*)((char*)(&(boxvar_lit_HpcOmMemory_getDimElemCount
).header) + 3))
403PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_removeSubscripts(threadData_t *threadData, modelica_metatype _iCref);
404static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_removeSubscripts,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_removeSubscripts
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_removeSubscriptsomc_HpcOmMemory_removeSubscripts,0}};
405#define boxvar_HpcOmMemory_removeSubscripts((void*)((char*)(&(boxvar_lit_HpcOmMemory_removeSubscripts
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_removeSubscripts)((void*)((char*)(&(boxvar_lit_HpcOmMemory_removeSubscripts
).header) + 3))
406PROTECTED_FUNCTION_STATIC modelica_string omc_HpcOmMemory_getDimStringOfDimElement(threadData_t *threadData, modelica_metatype _iDim);
407static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_getDimStringOfDimElement,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_getDimStringOfDimElement
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_getDimStringOfDimElementomc_HpcOmMemory_getDimStringOfDimElement,0}};
408#define boxvar_HpcOmMemory_getDimStringOfDimElement((void*)((char*)(&(boxvar_lit_HpcOmMemory_getDimStringOfDimElement
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_getDimStringOfDimElement)((void*)((char*)(&(boxvar_lit_HpcOmMemory_getDimStringOfDimElement
).header) + 3))
409PROTECTED_FUNCTION_STATIC void omc_HpcOmMemory_printSimCodeVarTypes(threadData_t *threadData, modelica_metatype _iSimCodeVarTypes);
410static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_printSimCodeVarTypes,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_printSimCodeVarTypes
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_printSimCodeVarTypesomc_HpcOmMemory_printSimCodeVarTypes,0}};
411#define boxvar_HpcOmMemory_printSimCodeVarTypes((void*)((char*)(&(boxvar_lit_HpcOmMemory_printSimCodeVarTypes
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_printSimCodeVarTypes)((void*)((char*)(&(boxvar_lit_HpcOmMemory_printSimCodeVarTypes
).header) + 3))
412PROTECTED_FUNCTION_STATIC modelica_string omc_HpcOmMemory_dumpScVarsByIdx(threadData_t *threadData, modelica_integer _iSimCodeVarIdx, modelica_metatype _iAllSCVarsMapping);
413PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_dumpScVarsByIdx(threadData_t *threadData, modelica_metatype _iSimCodeVarIdx, modelica_metatype _iAllSCVarsMapping);
414static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_dumpScVarsByIdx,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_dumpScVarsByIdx
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_dumpScVarsByIdx,0}};
415#define boxvar_HpcOmMemory_dumpScVarsByIdx((void*)((char*)(&(boxvar_lit_HpcOmMemory_dumpScVarsByIdx
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_dumpScVarsByIdx)((void*)((char*)(&(boxvar_lit_HpcOmMemory_dumpScVarsByIdx
).header) + 3))
416PROTECTED_FUNCTION_STATIC void omc_HpcOmMemory_printScVarInfos(threadData_t *threadData, modelica_metatype _iScVarInfos);
417static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_printScVarInfos,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_printScVarInfos
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_printScVarInfosomc_HpcOmMemory_printScVarInfos,0}};
418#define boxvar_HpcOmMemory_printScVarInfos((void*)((char*)(&(boxvar_lit_HpcOmMemory_printScVarInfos
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_printScVarInfos)((void*)((char*)(&(boxvar_lit_HpcOmMemory_printScVarInfos
).header) + 3))
419PROTECTED_FUNCTION_STATIC modelica_integer omc_HpcOmMemory_printSccNodeMapping0(threadData_t *threadData, modelica_integer _iMappingEntry, modelica_integer _iIdx);
420PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_printSccNodeMapping0(threadData_t *threadData, modelica_metatype _iMappingEntry, modelica_metatype _iIdx);
421static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_printSccNodeMapping0,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_printSccNodeMapping0
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_printSccNodeMapping0,0}};
422#define boxvar_HpcOmMemory_printSccNodeMapping0((void*)((char*)(&(boxvar_lit_HpcOmMemory_printSccNodeMapping0
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_printSccNodeMapping0)((void*)((char*)(&(boxvar_lit_HpcOmMemory_printSccNodeMapping0
).header) + 3))
423PROTECTED_FUNCTION_STATIC void omc_HpcOmMemory_printSccNodeMapping(threadData_t *threadData, modelica_metatype _iMapping);
424static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_printSccNodeMapping,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_printSccNodeMapping
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_printSccNodeMappingomc_HpcOmMemory_printSccNodeMapping,0}};
425#define boxvar_HpcOmMemory_printSccNodeMapping((void*)((char*)(&(boxvar_lit_HpcOmMemory_printSccNodeMapping
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_printSccNodeMapping)((void*)((char*)(&(boxvar_lit_HpcOmMemory_printSccNodeMapping
).header) + 3))
426PROTECTED_FUNCTION_STATIC void omc_HpcOmMemory_printEqSimCodeVarMapping(threadData_t *threadData, modelica_metatype _iMapping);
427static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_printEqSimCodeVarMapping,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_printEqSimCodeVarMapping
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_printEqSimCodeVarMappingomc_HpcOmMemory_printEqSimCodeVarMapping,0}};
428#define boxvar_HpcOmMemory_printEqSimCodeVarMapping((void*)((char*)(&(boxvar_lit_HpcOmMemory_printEqSimCodeVarMapping
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_printEqSimCodeVarMapping)((void*)((char*)(&(boxvar_lit_HpcOmMemory_printEqSimCodeVarMapping
).header) + 3))
429PROTECTED_FUNCTION_STATIC modelica_integer omc_HpcOmMemory_printCacheLineTaskMapping0(threadData_t *threadData, modelica_metatype _iTasks, modelica_integer _iCacheLineIdx);
430PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_printCacheLineTaskMapping0(threadData_t *threadData, modelica_metatype _iTasks, modelica_metatype _iCacheLineIdx);
431static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_printCacheLineTaskMapping0,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_printCacheLineTaskMapping0
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_printCacheLineTaskMapping0,0}};
432#define boxvar_HpcOmMemory_printCacheLineTaskMapping0((void*)((char*)(&(boxvar_lit_HpcOmMemory_printCacheLineTaskMapping0
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_printCacheLineTaskMapping0)((void*)((char*)(&(boxvar_lit_HpcOmMemory_printCacheLineTaskMapping0
).header) + 3))
433PROTECTED_FUNCTION_STATIC void omc_HpcOmMemory_printCacheLineTaskMapping(threadData_t *threadData, modelica_metatype _iCacheLineTaskMapping);
434static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_printCacheLineTaskMapping,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_printCacheLineTaskMapping
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_printCacheLineTaskMappingomc_HpcOmMemory_printCacheLineTaskMapping,0}};
435#define boxvar_HpcOmMemory_printCacheLineTaskMapping((void*)((char*)(&(boxvar_lit_HpcOmMemory_printCacheLineTaskMapping
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_printCacheLineTaskMapping)((void*)((char*)(&(boxvar_lit_HpcOmMemory_printCacheLineTaskMapping
).header) + 3))
436PROTECTED_FUNCTION_STATIC modelica_integer omc_HpcOmMemory_printScVarTaskMapping0(threadData_t *threadData, modelica_integer _iMappingEntry, modelica_integer _iScVarIdx);
437PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_printScVarTaskMapping0(threadData_t *threadData, modelica_metatype _iMappingEntry, modelica_metatype _iScVarIdx);
438static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_printScVarTaskMapping0,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_printScVarTaskMapping0
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_printScVarTaskMapping0,0}};
439#define boxvar_HpcOmMemory_printScVarTaskMapping0((void*)((char*)(&(boxvar_lit_HpcOmMemory_printScVarTaskMapping0
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_printScVarTaskMapping0)((void*)((char*)(&(boxvar_lit_HpcOmMemory_printScVarTaskMapping0
).header) + 3))
440PROTECTED_FUNCTION_STATIC void omc_HpcOmMemory_printScVarTaskMapping(threadData_t *threadData, modelica_metatype _iMapping);
441static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_printScVarTaskMapping,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_printScVarTaskMapping
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_printScVarTaskMappingomc_HpcOmMemory_printScVarTaskMapping,0}};
442#define boxvar_HpcOmMemory_printScVarTaskMapping((void*)((char*)(&(boxvar_lit_HpcOmMemory_printScVarTaskMapping
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_printScVarTaskMapping)((void*)((char*)(&(boxvar_lit_HpcOmMemory_printScVarTaskMapping
).header) + 3))
443PROTECTED_FUNCTION_STATIC modelica_integer omc_HpcOmMemory_printNodeSimCodeVarMapping0(threadData_t *threadData, modelica_metatype _iMappingEntry, modelica_integer _iNodeIdx);
444PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_printNodeSimCodeVarMapping0(threadData_t *threadData, modelica_metatype _iMappingEntry, modelica_metatype _iNodeIdx);
445static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_printNodeSimCodeVarMapping0,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_printNodeSimCodeVarMapping0
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_printNodeSimCodeVarMapping0,0}};
446#define boxvar_HpcOmMemory_printNodeSimCodeVarMapping0((void*)((char*)(&(boxvar_lit_HpcOmMemory_printNodeSimCodeVarMapping0
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_printNodeSimCodeVarMapping0)((void*)((char*)(&(boxvar_lit_HpcOmMemory_printNodeSimCodeVarMapping0
).header) + 3))
447PROTECTED_FUNCTION_STATIC void omc_HpcOmMemory_printNodeSimCodeVarMapping(threadData_t *threadData, modelica_metatype _iMapping);
448static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_printNodeSimCodeVarMapping,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_printNodeSimCodeVarMapping
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_printNodeSimCodeVarMappingomc_HpcOmMemory_printNodeSimCodeVarMapping,0}};
449#define boxvar_HpcOmMemory_printNodeSimCodeVarMapping((void*)((char*)(&(boxvar_lit_HpcOmMemory_printNodeSimCodeVarMapping
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_printNodeSimCodeVarMapping)((void*)((char*)(&(boxvar_lit_HpcOmMemory_printNodeSimCodeVarMapping
).header) + 3))
450PROTECTED_FUNCTION_STATIC modelica_string omc_HpcOmMemory_dumpSimCodeVar(threadData_t *threadData, modelica_metatype _iVar);
451static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_dumpSimCodeVar,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_dumpSimCodeVar
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_dumpSimCodeVaromc_HpcOmMemory_dumpSimCodeVar,0}};
452#define boxvar_HpcOmMemory_dumpSimCodeVar((void*)((char*)(&(boxvar_lit_HpcOmMemory_dumpSimCodeVar)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_dumpSimCodeVar)((void*)((char*)(&(boxvar_lit_HpcOmMemory_dumpSimCodeVar)
.header) + 3))
453PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_cacheLineEntryToStringClean(threadData_t *threadData, modelica_metatype _iCacheLineEntry, modelica_metatype _iString);
454static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_cacheLineEntryToStringClean,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_cacheLineEntryToStringClean
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_cacheLineEntryToStringCleanomc_HpcOmMemory_cacheLineEntryToStringClean,0}};
455#define boxvar_HpcOmMemory_cacheLineEntryToStringClean((void*)((char*)(&(boxvar_lit_HpcOmMemory_cacheLineEntryToStringClean
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_cacheLineEntryToStringClean)((void*)((char*)(&(boxvar_lit_HpcOmMemory_cacheLineEntryToStringClean
).header) + 3))
456PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_cacheLineEntryToString(threadData_t *threadData, modelica_metatype _iCacheLineEntry, modelica_metatype _iCacheVariables, modelica_metatype _iString);
457static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_cacheLineEntryToString,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_cacheLineEntryToString
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_cacheLineEntryToStringomc_HpcOmMemory_cacheLineEntryToString,0}};
458#define boxvar_HpcOmMemory_cacheLineEntryToString((void*)((char*)(&(boxvar_lit_HpcOmMemory_cacheLineEntryToString
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_cacheLineEntryToString)((void*)((char*)(&(boxvar_lit_HpcOmMemory_cacheLineEntryToString
).header) + 3))
459PROTECTED_FUNCTION_STATIC void omc_HpcOmMemory_printCacheLineMapClean(threadData_t *threadData, modelica_metatype _iCacheLineMap);
460static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_printCacheLineMapClean,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_printCacheLineMapClean
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_printCacheLineMapCleanomc_HpcOmMemory_printCacheLineMapClean,0}};
461#define boxvar_HpcOmMemory_printCacheLineMapClean((void*)((char*)(&(boxvar_lit_HpcOmMemory_printCacheLineMapClean
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_printCacheLineMapClean)((void*)((char*)(&(boxvar_lit_HpcOmMemory_printCacheLineMapClean
).header) + 3))
462PROTECTED_FUNCTION_STATIC void omc_HpcOmMemory_printCacheLineMap(threadData_t *threadData, modelica_metatype _iCacheLineMap, modelica_metatype _iCacheVariables);
463static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_printCacheLineMap,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_printCacheLineMap
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_printCacheLineMapomc_HpcOmMemory_printCacheLineMap,0}};
464#define boxvar_HpcOmMemory_printCacheLineMap((void*)((char*)(&(boxvar_lit_HpcOmMemory_printCacheLineMap
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_printCacheLineMap)((void*)((char*)(&(boxvar_lit_HpcOmMemory_printCacheLineMap
).header) + 3))
465PROTECTED_FUNCTION_STATIC modelica_integer omc_HpcOmMemory_printCacheVariable(threadData_t *threadData, modelica_metatype _iCacheVariable, modelica_integer _iIdx);
466PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_printCacheVariable(threadData_t *threadData, modelica_metatype _iCacheVariable, modelica_metatype _iIdx);
467static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_printCacheVariable,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_printCacheVariable
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_printCacheVariable,0}};
468#define boxvar_HpcOmMemory_printCacheVariable((void*)((char*)(&(boxvar_lit_HpcOmMemory_printCacheVariable
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_printCacheVariable)((void*)((char*)(&(boxvar_lit_HpcOmMemory_printCacheVariable
).header) + 3))
469PROTECTED_FUNCTION_STATIC void omc_HpcOmMemory_printCacheMap(threadData_t *threadData, modelica_metatype _iCacheMap);
470static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_printCacheMap,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_printCacheMap
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_printCacheMapomc_HpcOmMemory_printCacheMap,0}};
471#define boxvar_HpcOmMemory_printCacheMap((void*)((char*)(&(boxvar_lit_HpcOmMemory_printCacheMap).
header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_printCacheMap)((void*)((char*)(&(boxvar_lit_HpcOmMemory_printCacheMap).
header) + 3))
472PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_appendCacheLineEntryToGraph(threadData_t *threadData, modelica_metatype _iCacheLineEntry, modelica_metatype _iCacheVariables, modelica_metatype _iAddedVariables, modelica_metatype _iSchedulerInfo, modelica_metatype _iTopGraphAttThreadIdIdx, modelica_metatype _iScVarTaskMapping, modelica_metatype _iVarNameSCVarIdxMapping, modelica_metatype _iScVarInfos, modelica_metatype _iGraphInfo);
473static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_appendCacheLineEntryToGraph,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_appendCacheLineEntryToGraph
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_appendCacheLineEntryToGraphomc_HpcOmMemory_appendCacheLineEntryToGraph,0}};
474#define boxvar_HpcOmMemory_appendCacheLineEntryToGraph((void*)((char*)(&(boxvar_lit_HpcOmMemory_appendCacheLineEntryToGraph
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_appendCacheLineEntryToGraph)((void*)((char*)(&(boxvar_lit_HpcOmMemory_appendCacheLineEntryToGraph
).header) + 3))
475PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_appendCacheLineMapToGraph(threadData_t *threadData, modelica_metatype _iCacheLineMap, modelica_metatype _iCacheVariables, modelica_metatype _iAddedVariables, modelica_metatype _iSchedulerInfo, modelica_metatype _iTopGraphAttThreadIdIdx, modelica_metatype _iScVarTaskMapping, modelica_metatype _iVarNameSCVarIdxMapping, modelica_metatype _iScVarInfos, modelica_metatype _iGraphInfo);
476static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_appendCacheLineMapToGraph,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_appendCacheLineMapToGraph
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_appendCacheLineMapToGraphomc_HpcOmMemory_appendCacheLineMapToGraph,0}};
477#define boxvar_HpcOmMemory_appendCacheLineMapToGraph((void*)((char*)(&(boxvar_lit_HpcOmMemory_appendCacheLineMapToGraph
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_appendCacheLineMapToGraph)((void*)((char*)(&(boxvar_lit_HpcOmMemory_appendCacheLineMapToGraph
).header) + 3))
478PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_appendUnmappedVariablesToGraph(threadData_t *threadData, modelica_metatype _iScVarCLMapping, modelica_metatype _iGraphInfo);
479static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_appendUnmappedVariablesToGraph,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_appendUnmappedVariablesToGraph
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_appendUnmappedVariablesToGraphomc_HpcOmMemory_appendUnmappedVariablesToGraph,0}};
480#define boxvar_HpcOmMemory_appendUnmappedVariablesToGraph((void*)((char*)(&(boxvar_lit_HpcOmMemory_appendUnmappedVariablesToGraph
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_appendUnmappedVariablesToGraph)((void*)((char*)(&(boxvar_lit_HpcOmMemory_appendUnmappedVariablesToGraph
).header) + 3))
481PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_appendTaskVarEdgesToGraph(threadData_t *threadData, modelica_metatype _iTaskSolvedVarsMapping, modelica_metatype _iTaskUnsolvedVarsMapping, modelica_metatype _iGraphInfo);
482static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_appendTaskVarEdgesToGraph,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_appendTaskVarEdgesToGraph
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_appendTaskVarEdgesToGraphomc_HpcOmMemory_appendTaskVarEdgesToGraph,0}};
483#define boxvar_HpcOmMemory_appendTaskVarEdgesToGraph((void*)((char*)(&(boxvar_lit_HpcOmMemory_appendTaskVarEdgesToGraph
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_appendTaskVarEdgesToGraph)((void*)((char*)(&(boxvar_lit_HpcOmMemory_appendTaskVarEdgesToGraph
).header) + 3))
484PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_appendVariablesToGraph(threadData_t *threadData, modelica_metatype _iTaskSolvedVarsMapping, modelica_metatype _iTaskUnsolvedVarsMapping, modelica_integer _iNumberOfScVars, modelica_integer _iGraphIdx, modelica_integer _iThreadIdAttributeIdx, modelica_metatype _iVarNameSCVarIdxMapping, modelica_metatype _iAllVarsMapping, modelica_metatype _iScVarInfos, modelica_metatype _iGraphInfo);
485PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_appendVariablesToGraph(threadData_t *threadData, modelica_metatype _iTaskSolvedVarsMapping, modelica_metatype _iTaskUnsolvedVarsMapping, modelica_metatype _iNumberOfScVars, modelica_metatype _iGraphIdx, modelica_metatype _iThreadIdAttributeIdx, modelica_metatype _iVarNameSCVarIdxMapping, modelica_metatype _iAllVarsMapping, modelica_metatype _iScVarInfos, modelica_metatype _iGraphInfo);
486static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_appendVariablesToGraph,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_appendVariablesToGraph
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_appendVariablesToGraph,0}};
487#define boxvar_HpcOmMemory_appendVariablesToGraph((void*)((char*)(&(boxvar_lit_HpcOmMemory_appendVariablesToGraph
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_appendVariablesToGraph)((void*)((char*)(&(boxvar_lit_HpcOmMemory_appendVariablesToGraph
).header) + 3))
488PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_appendCacheLinesToGraph(threadData_t *threadData, modelica_metatype _iCacheMap, modelica_integer _iNumberOfNodes, modelica_metatype _iEqSimCodeVarMapping, modelica_metatype _iEqSystems, modelica_metatype _iVarNameSCVarIdxMapping, modelica_metatype _ieqCompMapping, modelica_metatype _iScVarTaskMapping, modelica_metatype _iSchedulerInfo, modelica_integer _iThreadIdAttributeIdx, modelica_metatype _iCompNodeMapping, modelica_metatype _iTaskSolvedVarsMapping, modelica_metatype _iTaskUnsolvedVarsMapping, modelica_metatype _iScVarCLMapping, modelica_metatype _iScVarInfos, modelica_metatype _iGraphInfo);
489PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_appendCacheLinesToGraph(threadData_t *threadData, modelica_metatype _iCacheMap, modelica_metatype _iNumberOfNodes, modelica_metatype _iEqSimCodeVarMapping, modelica_metatype _iEqSystems, modelica_metatype _iVarNameSCVarIdxMapping, modelica_metatype _ieqCompMapping, modelica_metatype _iScVarTaskMapping, modelica_metatype _iSchedulerInfo, modelica_metatype _iThreadIdAttributeIdx, modelica_metatype _iCompNodeMapping, modelica_metatype _iTaskSolvedVarsMapping, modelica_metatype _iTaskUnsolvedVarsMapping, modelica_metatype _iScVarCLMapping, modelica_metatype _iScVarInfos, modelica_metatype _iGraphInfo);
490static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_appendCacheLinesToGraph,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_appendCacheLinesToGraph
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_appendCacheLinesToGraph,0}};
491#define boxvar_HpcOmMemory_appendCacheLinesToGraph((void*)((char*)(&(boxvar_lit_HpcOmMemory_appendCacheLinesToGraph
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_appendCacheLinesToGraph)((void*)((char*)(&(boxvar_lit_HpcOmMemory_appendCacheLinesToGraph
).header) + 3))
492PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getTaskSimVarMapping(threadData_t *threadData, modelica_metatype _iSccEqMapping, modelica_metatype _iNodeSccMapping, modelica_metatype _iEqSimCodeVarMapping, modelica_metatype _iScVarTaskMapping, modelica_metatype _iSimCodeVarTypes, modelica_metatype *out_oNotSolvedVars);
493static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_getTaskSimVarMapping,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_getTaskSimVarMapping
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_getTaskSimVarMappingomc_HpcOmMemory_getTaskSimVarMapping,0}};
494#define boxvar_HpcOmMemory_getTaskSimVarMapping((void*)((char*)(&(boxvar_lit_HpcOmMemory_getTaskSimVarMapping
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_getTaskSimVarMapping)((void*)((char*)(&(boxvar_lit_HpcOmMemory_getTaskSimVarMapping
).header) + 3))
495PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getCacheLineTaskMapping0(threadData_t *threadData, modelica_metatype _iNodeIdx, modelica_metatype _iEqSystems, modelica_metatype _iVarNameSCVarIdxMapping, modelica_metatype _iSCVarCLMapping, modelica_metatype _iCLTaskMappingVarIdx);
496static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_getCacheLineTaskMapping0,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_getCacheLineTaskMapping0
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_getCacheLineTaskMapping0omc_HpcOmMemory_getCacheLineTaskMapping0,0}};
497#define boxvar_HpcOmMemory_getCacheLineTaskMapping0((void*)((char*)(&(boxvar_lit_HpcOmMemory_getCacheLineTaskMapping0
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_getCacheLineTaskMapping0)((void*)((char*)(&(boxvar_lit_HpcOmMemory_getCacheLineTaskMapping0
).header) + 3))
498PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getCacheLineTaskMapping(threadData_t *threadData, modelica_metatype _iTaskGraphMeta, modelica_metatype _iEqSystems, modelica_metatype _iVarNameSCVarIdxMapping, modelica_integer _iNumCacheLines, modelica_metatype _iSCVarCLMapping, modelica_metatype *out_oScVarTaskMapping);
499PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_getCacheLineTaskMapping(threadData_t *threadData, modelica_metatype _iTaskGraphMeta, modelica_metatype _iEqSystems, modelica_metatype _iVarNameSCVarIdxMapping, modelica_metatype _iNumCacheLines, modelica_metatype _iSCVarCLMapping, modelica_metatype *out_oScVarTaskMapping);
500static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_getCacheLineTaskMapping,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_getCacheLineTaskMapping
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_getCacheLineTaskMapping,0}};
501#define boxvar_HpcOmMemory_getCacheLineTaskMapping((void*)((char*)(&(boxvar_lit_HpcOmMemory_getCacheLineTaskMapping
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_getCacheLineTaskMapping)((void*)((char*)(&(boxvar_lit_HpcOmMemory_getCacheLineTaskMapping
).header) + 3))
502PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getModifiedVarName(threadData_t *threadData, modelica_metatype _iVar);
503static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_getModifiedVarName,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_getModifiedVarName
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_getModifiedVarNameomc_HpcOmMemory_getModifiedVarName,0}};
504#define boxvar_HpcOmMemory_getModifiedVarName((void*)((char*)(&(boxvar_lit_HpcOmMemory_getModifiedVarName
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_getModifiedVarName)((void*)((char*)(&(boxvar_lit_HpcOmMemory_getModifiedVarName
).header) + 3))
505PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_flattenEqSimCodeVarMapping(threadData_t *threadData, modelica_metatype _iEqSimCodeVarMapping);
506static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_flattenEqSimCodeVarMapping,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_flattenEqSimCodeVarMapping
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_flattenEqSimCodeVarMappingomc_HpcOmMemory_flattenEqSimCodeVarMapping,0}};
507#define boxvar_HpcOmMemory_flattenEqSimCodeVarMapping((void*)((char*)(&(boxvar_lit_HpcOmMemory_flattenEqSimCodeVarMapping
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_flattenEqSimCodeVarMapping)((void*)((char*)(&(boxvar_lit_HpcOmMemory_flattenEqSimCodeVarMapping
).header) + 3))
508PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_invertSccNodeMapping(threadData_t *threadData, modelica_metatype _iSccNodeMapping, modelica_integer _iNumberOfNodes);
509PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_invertSccNodeMapping(threadData_t *threadData, modelica_metatype _iSccNodeMapping, modelica_metatype _iNumberOfNodes);
510static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_invertSccNodeMapping,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_invertSccNodeMapping
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_invertSccNodeMapping,0}};
511#define boxvar_HpcOmMemory_invertSccNodeMapping((void*)((char*)(&(boxvar_lit_HpcOmMemory_invertSccNodeMapping
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_invertSccNodeMapping)((void*)((char*)(&(boxvar_lit_HpcOmMemory_invertSccNodeMapping
).header) + 3))
512PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_invertEqCompMapping(threadData_t *threadData, modelica_metatype _iEqCompMapping, modelica_integer _iNumOfComps);
513PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_invertEqCompMapping(threadData_t *threadData, modelica_metatype _iEqCompMapping, modelica_metatype _iNumOfComps);
514static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_invertEqCompMapping,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_invertEqCompMapping
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_invertEqCompMapping,0}};
515#define boxvar_HpcOmMemory_invertEqCompMapping((void*)((char*)(&(boxvar_lit_HpcOmMemory_invertEqCompMapping
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_invertEqCompMapping)((void*)((char*)(&(boxvar_lit_HpcOmMemory_invertEqCompMapping
).header) + 3))
516PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getSimCodeVarNodeMapping0(threadData_t *threadData, modelica_metatype _iCompIdx, modelica_metatype _iEqSystems, modelica_metatype _iVarNameSCVarIdxMapping, modelica_metatype _iCompNodeMapping, modelica_metatype _iScVarTaskMappingVarIdx);
517static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_getSimCodeVarNodeMapping0,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_getSimCodeVarNodeMapping0
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_getSimCodeVarNodeMapping0omc_HpcOmMemory_getSimCodeVarNodeMapping0,0}};
518#define boxvar_HpcOmMemory_getSimCodeVarNodeMapping0((void*)((char*)(&(boxvar_lit_HpcOmMemory_getSimCodeVarNodeMapping0
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_getSimCodeVarNodeMapping0)((void*)((char*)(&(boxvar_lit_HpcOmMemory_getSimCodeVarNodeMapping0
).header) + 3))
519PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getSimCodeVarNodeMapping(threadData_t *threadData, modelica_metatype _iTaskGraphMeta, modelica_metatype _iEqSystems, modelica_integer _iNumScVars, modelica_metatype _iCompNodeMapping, modelica_metatype _iVarNameSCVarIdxMapping);
520PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_getSimCodeVarNodeMapping(threadData_t *threadData, modelica_metatype _iTaskGraphMeta, modelica_metatype _iEqSystems, modelica_metatype _iNumScVars, modelica_metatype _iCompNodeMapping, modelica_metatype _iVarNameSCVarIdxMapping);
521static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_getSimCodeVarNodeMapping,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_getSimCodeVarNodeMapping
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_getSimCodeVarNodeMapping,0}};
522#define boxvar_HpcOmMemory_getSimCodeVarNodeMapping((void*)((char*)(&(boxvar_lit_HpcOmMemory_getSimCodeVarNodeMapping
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_getSimCodeVarNodeMapping)((void*)((char*)(&(boxvar_lit_HpcOmMemory_getSimCodeVarNodeMapping
).header) + 3))
523PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createMemoryMapTraverse0(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_metatype *out_oTpl);
524static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_createMemoryMapTraverse0,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_createMemoryMapTraverse0
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_createMemoryMapTraverse0omc_HpcOmMemory_createMemoryMapTraverse0,0}};
525#define boxvar_HpcOmMemory_createMemoryMapTraverse0((void*)((char*)(&(boxvar_lit_HpcOmMemory_createMemoryMapTraverse0
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_createMemoryMapTraverse0)((void*)((char*)(&(boxvar_lit_HpcOmMemory_createMemoryMapTraverse0
).header) + 3))
526PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getEqSCVarMapping0(threadData_t *threadData, modelica_metatype _iEquation, modelica_metatype _iHt);
527static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_getEqSCVarMapping0,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_getEqSCVarMapping0
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_getEqSCVarMapping0omc_HpcOmMemory_getEqSCVarMapping0,0}};
528#define boxvar_HpcOmMemory_getEqSCVarMapping0((void*)((char*)(&(boxvar_lit_HpcOmMemory_getEqSCVarMapping0
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_getEqSCVarMapping0)((void*)((char*)(&(boxvar_lit_HpcOmMemory_getEqSCVarMapping0
).header) + 3))
529PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getEqSCVarMappingByEqSystem(threadData_t *threadData, modelica_metatype _iEqSystem, modelica_metatype _iHt);
530static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_getEqSCVarMappingByEqSystem,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_getEqSCVarMappingByEqSystem
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_getEqSCVarMappingByEqSystemomc_HpcOmMemory_getEqSCVarMappingByEqSystem,0}};
531#define boxvar_HpcOmMemory_getEqSCVarMappingByEqSystem((void*)((char*)(&(boxvar_lit_HpcOmMemory_getEqSCVarMappingByEqSystem
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_getEqSCVarMappingByEqSystem)((void*)((char*)(&(boxvar_lit_HpcOmMemory_getEqSCVarMappingByEqSystem
).header) + 3))
532PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getEqSCVarMapping(threadData_t *threadData, modelica_metatype _iEqSystems, modelica_metatype _iHt);
533static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_getEqSCVarMapping,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_getEqSCVarMapping
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_getEqSCVarMappingomc_HpcOmMemory_getEqSCVarMapping,0}};
534#define boxvar_HpcOmMemory_getEqSCVarMapping((void*)((char*)(&(boxvar_lit_HpcOmMemory_getEqSCVarMapping
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_getEqSCVarMapping)((void*)((char*)(&(boxvar_lit_HpcOmMemory_getEqSCVarMapping
).header) + 3))
535PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_transposeTasksScVarsMapping(threadData_t *threadData, modelica_metatype _iTasksScVarMapping, modelica_integer _iNumberOfScVars);
536PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_transposeTasksScVarsMapping(threadData_t *threadData, modelica_metatype _iTasksScVarMapping, modelica_metatype _iNumberOfScVars);
537static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_transposeTasksScVarsMapping,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_transposeTasksScVarsMapping
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_transposeTasksScVarsMapping,0}};
538#define boxvar_HpcOmMemory_transposeTasksScVarsMapping((void*)((char*)(&(boxvar_lit_HpcOmMemory_transposeTasksScVarsMapping
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_transposeTasksScVarsMapping)((void*)((char*)(&(boxvar_lit_HpcOmMemory_transposeTasksScVarsMapping
).header) + 3))
539PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_transposeScVarTaskMapping(threadData_t *threadData, modelica_metatype _iScVarTaskMapping, modelica_metatype _iTaskGraph);
540static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_transposeScVarTaskMapping,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_transposeScVarTaskMapping
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_transposeScVarTaskMappingomc_HpcOmMemory_transposeScVarTaskMapping,0}};
541#define boxvar_HpcOmMemory_transposeScVarTaskMapping((void*)((char*)(&(boxvar_lit_HpcOmMemory_transposeScVarTaskMapping
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_transposeScVarTaskMapping)((void*)((char*)(&(boxvar_lit_HpcOmMemory_transposeScVarTaskMapping
).header) + 3))
542PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_fillSimVarHashTable(threadData_t *threadData, modelica_metatype _iSimVars, modelica_integer _iOffset, modelica_integer _iType, modelica_metatype _iHt);
543PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_fillSimVarHashTable(threadData_t *threadData, modelica_metatype _iSimVars, modelica_metatype _iOffset, modelica_metatype _iType, modelica_metatype _iHt);
544static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_fillSimVarHashTable,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_fillSimVarHashTable
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_fillSimVarHashTable,0}};
545#define boxvar_HpcOmMemory_fillSimVarHashTable((void*)((char*)(&(boxvar_lit_HpcOmMemory_fillSimVarHashTable
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_fillSimVarHashTable)((void*)((char*)(&(boxvar_lit_HpcOmMemory_fillSimVarHashTable
).header) + 3))
546PROTECTED_FUNCTION_STATIC modelica_real omc_HpcOmMemory_calculateLocCoForTask(threadData_t *threadData, modelica_integer _iTaskIdx, modelica_integer _iThreadIdx, modelica_metatype _iNodeSimCodeVarMapping, modelica_metatype _iScVarCLMapping, modelica_metatype _iCacheLineThreadProperties);
547PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_calculateLocCoForTask(threadData_t *threadData, modelica_metatype _iTaskIdx, modelica_metatype _iThreadIdx, modelica_metatype _iNodeSimCodeVarMapping, modelica_metatype _iScVarCLMapping, modelica_metatype _iCacheLineThreadProperties);
548static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_calculateLocCoForTask,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_calculateLocCoForTask
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_calculateLocCoForTask,0}};
549#define boxvar_HpcOmMemory_calculateLocCoForTask((void*)((char*)(&(boxvar_lit_HpcOmMemory_calculateLocCoForTask
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_calculateLocCoForTask)((void*)((char*)(&(boxvar_lit_HpcOmMemory_calculateLocCoForTask
).header) + 3))
550PROTECTED_FUNCTION_STATIC modelica_real omc_HpcOmMemory_calculateLocCoWrite(threadData_t *threadData, modelica_metatype _iNodeSimCodeVarMapping, modelica_metatype _iScVarCLMapping, modelica_metatype _cacheLineThreadProperties, modelica_metatype _iSchedulerInfo);
551PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_calculateLocCoWrite(threadData_t *threadData, modelica_metatype _iNodeSimCodeVarMapping, modelica_metatype _iScVarCLMapping, modelica_metatype _cacheLineThreadProperties, modelica_metatype _iSchedulerInfo);
552static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_calculateLocCoWrite,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_calculateLocCoWrite
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_calculateLocCoWrite,0}};
553#define boxvar_HpcOmMemory_calculateLocCoWrite((void*)((char*)(&(boxvar_lit_HpcOmMemory_calculateLocCoWrite
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_calculateLocCoWrite)((void*)((char*)(&(boxvar_lit_HpcOmMemory_calculateLocCoWrite
).header) + 3))
554PROTECTED_FUNCTION_STATIC modelica_real omc_HpcOmMemory_calculateLocCoReadForTask(threadData_t *threadData, modelica_integer _iNodeIdx, modelica_integer _iThreadIdx, modelica_metatype _iTaskGraphT, modelica_metatype _iNodeSimCodeVarMapping, modelica_metatype _iScVarCLMapping, modelica_metatype _iCacheLineThreadProperties);
555PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_calculateLocCoReadForTask(threadData_t *threadData, modelica_metatype _iNodeIdx, modelica_metatype _iThreadIdx, modelica_metatype _iTaskGraphT, modelica_metatype _iNodeSimCodeVarMapping, modelica_metatype _iScVarCLMapping, modelica_metatype _iCacheLineThreadProperties);
556static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_calculateLocCoReadForTask,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_calculateLocCoReadForTask
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_calculateLocCoReadForTask,0}};
557#define boxvar_HpcOmMemory_calculateLocCoReadForTask((void*)((char*)(&(boxvar_lit_HpcOmMemory_calculateLocCoReadForTask
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_calculateLocCoReadForTask)((void*)((char*)(&(boxvar_lit_HpcOmMemory_calculateLocCoReadForTask
).header) + 3))
558PROTECTED_FUNCTION_STATIC modelica_real omc_HpcOmMemory_calculateLocCoRead(threadData_t *threadData, modelica_metatype _iTaskGraphT, modelica_metatype _iNodeSimCodeVarMapping, modelica_metatype _iScVarCLMapping, modelica_metatype _cacheLineThreadProperties, modelica_metatype _iSchedulerInfo);
559PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_calculateLocCoRead(threadData_t *threadData, modelica_metatype _iTaskGraphT, modelica_metatype _iNodeSimCodeVarMapping, modelica_metatype _iScVarCLMapping, modelica_metatype _cacheLineThreadProperties, modelica_metatype _iSchedulerInfo);
560static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_calculateLocCoRead,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_calculateLocCoRead
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_calculateLocCoRead,0}};
561#define boxvar_HpcOmMemory_calculateLocCoRead((void*)((char*)(&(boxvar_lit_HpcOmMemory_calculateLocCoRead
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_calculateLocCoRead)((void*)((char*)(&(boxvar_lit_HpcOmMemory_calculateLocCoRead
).header) + 3))
562PROTECTED_FUNCTION_STATIC void omc_HpcOmMemory_createCacheLineThreadProperties(threadData_t *threadData, modelica_metatype _iCacheLine, modelica_integer _iNumberOfThreads, modelica_integer _iCacheLineSize, modelica_metatype _iCacheLineThreadProperties);
563PROTECTED_FUNCTION_STATIC void boxptr_HpcOmMemory_createCacheLineThreadProperties(threadData_t *threadData, modelica_metatype _iCacheLine, modelica_metatype _iNumberOfThreads, modelica_metatype _iCacheLineSize, modelica_metatype _iCacheLineThreadProperties);
564static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheLineThreadProperties,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_createCacheLineThreadProperties
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_createCacheLineThreadProperties,0}};
565#define boxvar_HpcOmMemory_createCacheLineThreadProperties((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheLineThreadProperties
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheLineThreadProperties)((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheLineThreadProperties
).header) + 3))
566PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createVarCLMappingFromVarArrayIndexHashTable(threadData_t *threadData, modelica_metatype _iVarToIndexMappingHashTable, modelica_metatype _iSimVarIdxMappingHashTable, modelica_integer _iCacheLineSize, modelica_metatype _iSimCodeVarTypes, modelica_metatype *out_oVarToCLMapping);
567PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_createVarCLMappingFromVarArrayIndexHashTable(threadData_t *threadData, modelica_metatype _iVarToIndexMappingHashTable, modelica_metatype _iSimVarIdxMappingHashTable, modelica_metatype _iCacheLineSize, modelica_metatype _iSimCodeVarTypes, modelica_metatype *out_oVarToCLMapping);
568static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_createVarCLMappingFromVarArrayIndexHashTable,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_createVarCLMappingFromVarArrayIndexHashTable
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_createVarCLMappingFromVarArrayIndexHashTable,0}};
569#define boxvar_HpcOmMemory_createVarCLMappingFromVarArrayIndexHashTable((void*)((char*)(&(boxvar_lit_HpcOmMemory_createVarCLMappingFromVarArrayIndexHashTable
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_createVarCLMappingFromVarArrayIndexHashTable)((void*)((char*)(&(boxvar_lit_HpcOmMemory_createVarCLMappingFromVarArrayIndexHashTable
).header) + 3))
570PROTECTED_FUNCTION_STATIC void omc_HpcOmMemory_evaluateCacheBehaviour(threadData_t *threadData, modelica_metatype _iVarToIndexMappingHashTable, modelica_metatype _iSimVarIdxMappingHashTable, modelica_metatype _taskSolvedVarsMapping, modelica_metatype _taskUnsolvedVarsMapping, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphT, modelica_integer _iNumberOfThreads, modelica_integer _iCacheLineSize, modelica_metatype _iSimCodeVarTypes, modelica_metatype _iSchedulerInfo);
571PROTECTED_FUNCTION_STATIC void boxptr_HpcOmMemory_evaluateCacheBehaviour(threadData_t *threadData, modelica_metatype _iVarToIndexMappingHashTable, modelica_metatype _iSimVarIdxMappingHashTable, modelica_metatype _taskSolvedVarsMapping, modelica_metatype _taskUnsolvedVarsMapping, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphT, modelica_metatype _iNumberOfThreads, modelica_metatype _iCacheLineSize, modelica_metatype _iSimCodeVarTypes, modelica_metatype _iSchedulerInfo);
572static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_evaluateCacheBehaviour,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_evaluateCacheBehaviour
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_evaluateCacheBehaviour,0}};
573#define boxvar_HpcOmMemory_evaluateCacheBehaviour((void*)((char*)(&(boxvar_lit_HpcOmMemory_evaluateCacheBehaviour
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_evaluateCacheBehaviour)((void*)((char*)(&(boxvar_lit_HpcOmMemory_evaluateCacheBehaviour
).header) + 3))
574PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getNotOptimizedVarsByCacheLineMapping0(threadData_t *threadData, modelica_metatype _iScVarCLMapping, modelica_metatype _iAllVarsMapping, modelica_metatype _iSimCodeVarTypes, modelica_metatype _iEntries);
575static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_getNotOptimizedVarsByCacheLineMapping0,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_getNotOptimizedVarsByCacheLineMapping0
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_getNotOptimizedVarsByCacheLineMapping0omc_HpcOmMemory_getNotOptimizedVarsByCacheLineMapping0,0}};
576#define boxvar_HpcOmMemory_getNotOptimizedVarsByCacheLineMapping0((void*)((char*)(&(boxvar_lit_HpcOmMemory_getNotOptimizedVarsByCacheLineMapping0
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_getNotOptimizedVarsByCacheLineMapping0)((void*)((char*)(&(boxvar_lit_HpcOmMemory_getNotOptimizedVarsByCacheLineMapping0
).header) + 3))
577PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getNotOptimizedVarsByCacheLineMapping(threadData_t *threadData, modelica_metatype _iScVarCLMapping, modelica_metatype _iAllVarsMapping, modelica_metatype _iSimCodeVarTypes);
578static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_getNotOptimizedVarsByCacheLineMapping,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_getNotOptimizedVarsByCacheLineMapping
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_getNotOptimizedVarsByCacheLineMappingomc_HpcOmMemory_getNotOptimizedVarsByCacheLineMapping,0}};
579#define boxvar_HpcOmMemory_getNotOptimizedVarsByCacheLineMapping((void*)((char*)(&(boxvar_lit_HpcOmMemory_getNotOptimizedVarsByCacheLineMapping
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_getNotOptimizedVarsByCacheLineMapping)((void*)((char*)(&(boxvar_lit_HpcOmMemory_getNotOptimizedVarsByCacheLineMapping
).header) + 3))
580PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_convertCacheToVarArrayMapping2Helper(threadData_t *threadData, modelica_metatype _iArray, modelica_integer _iOffset, modelica_integer _iIndex);
581PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_convertCacheToVarArrayMapping2Helper(threadData_t *threadData, modelica_metatype _iArray, modelica_metatype _iOffset, modelica_metatype _iIndex);
582static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_convertCacheToVarArrayMapping2Helper,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_convertCacheToVarArrayMapping2Helper
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_convertCacheToVarArrayMapping2Helper,0}};
583#define boxvar_HpcOmMemory_convertCacheToVarArrayMapping2Helper((void*)((char*)(&(boxvar_lit_HpcOmMemory_convertCacheToVarArrayMapping2Helper
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_convertCacheToVarArrayMapping2Helper)((void*)((char*)(&(boxvar_lit_HpcOmMemory_convertCacheToVarArrayMapping2Helper
).header) + 3))
584PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_addCacheLineEntryToVarArrayMapping(threadData_t *threadData, modelica_metatype _iCacheLineEntry, modelica_integer _iArrayIdx, modelica_metatype _iClIdxSize, modelica_metatype _iVarIdxOffsets, modelica_metatype _iCacheVariables, modelica_metatype _iPositionMapping);
585PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_addCacheLineEntryToVarArrayMapping(threadData_t *threadData, modelica_metatype _iCacheLineEntry, modelica_metatype _iArrayIdx, modelica_metatype _iClIdxSize, modelica_metatype _iVarIdxOffsets, modelica_metatype _iCacheVariables, modelica_metatype _iPositionMapping);
586static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_addCacheLineEntryToVarArrayMapping,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_addCacheLineEntryToVarArrayMapping
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_addCacheLineEntryToVarArrayMapping,0}};
587#define boxvar_HpcOmMemory_addCacheLineEntryToVarArrayMapping((void*)((char*)(&(boxvar_lit_HpcOmMemory_addCacheLineEntryToVarArrayMapping
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_addCacheLineEntryToVarArrayMapping)((void*)((char*)(&(boxvar_lit_HpcOmMemory_addCacheLineEntryToVarArrayMapping
).header) + 3))
588PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_addCacheLineMapToVarArrayMapping(threadData_t *threadData, modelica_metatype _iCacheLineMap, modelica_integer _iCacheLineSize, modelica_metatype _iVarIdxOffsets, modelica_metatype _iCacheVariables, modelica_metatype _iPositionMapping);
589PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_addCacheLineMapToVarArrayMapping(threadData_t *threadData, modelica_metatype _iCacheLineMap, modelica_metatype _iCacheLineSize, modelica_metatype _iVarIdxOffsets, modelica_metatype _iCacheVariables, modelica_metatype _iPositionMapping);
590static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_addCacheLineMapToVarArrayMapping,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_addCacheLineMapToVarArrayMapping
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_addCacheLineMapToVarArrayMapping,0}};
591#define boxvar_HpcOmMemory_addCacheLineMapToVarArrayMapping((void*)((char*)(&(boxvar_lit_HpcOmMemory_addCacheLineMapToVarArrayMapping
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_addCacheLineMapToVarArrayMapping)((void*)((char*)(&(boxvar_lit_HpcOmMemory_addCacheLineMapToVarArrayMapping
).header) + 3))
592PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_convertCacheToVarArrayMapping(threadData_t *threadData, modelica_metatype _iCacheMap, modelica_integer _iCacheLineSize, modelica_metatype _iStateVars, modelica_metatype _iDerivativeVars, modelica_metatype _iAliasVars, modelica_metatype _iIntAliasVars, modelica_metatype _iBoolAliasVars, modelica_metatype _iStringAliasVars, modelica_metatype _iVarSizes, modelica_metatype _iNotOptimizedVars, modelica_metatype *out_oVarToIndexMapping, modelica_metatype *out_oMemoryMap);
593PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_convertCacheToVarArrayMapping(threadData_t *threadData, modelica_metatype _iCacheMap, modelica_metatype _iCacheLineSize, modelica_metatype _iStateVars, modelica_metatype _iDerivativeVars, modelica_metatype _iAliasVars, modelica_metatype _iIntAliasVars, modelica_metatype _iBoolAliasVars, modelica_metatype _iStringAliasVars, modelica_metatype _iVarSizes, modelica_metatype _iNotOptimizedVars, modelica_metatype *out_oVarToIndexMapping, modelica_metatype *out_oMemoryMap);
594static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_convertCacheToVarArrayMapping,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_convertCacheToVarArrayMapping
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_convertCacheToVarArrayMapping,0}};
595#define boxvar_HpcOmMemory_convertCacheToVarArrayMapping((void*)((char*)(&(boxvar_lit_HpcOmMemory_convertCacheToVarArrayMapping
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_convertCacheToVarArrayMapping)((void*)((char*)(&(boxvar_lit_HpcOmMemory_convertCacheToVarArrayMapping
).header) + 3))
596PROTECTED_FUNCTION_STATIC modelica_boolean omc_HpcOmMemory_compareCacheLineMapByIdx(threadData_t *threadData, modelica_metatype _iCacheLineMap, modelica_metatype _iCacheLineMap2);
597PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_compareCacheLineMapByIdx(threadData_t *threadData, modelica_metatype _iCacheLineMap, modelica_metatype _iCacheLineMap2);
598static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_compareCacheLineMapByIdx,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_compareCacheLineMapByIdx
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_compareCacheLineMapByIdx,0}};
599#define boxvar_HpcOmMemory_compareCacheLineMapByIdx((void*)((char*)(&(boxvar_lit_HpcOmMemory_compareCacheLineMapByIdx
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_compareCacheLineMapByIdx)((void*)((char*)(&(boxvar_lit_HpcOmMemory_compareCacheLineMapByIdx
).header) + 3))
600PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_reverseCacheLineMapEntries(threadData_t *threadData, modelica_metatype _iCacheLineMap);
601static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_reverseCacheLineMapEntries,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_reverseCacheLineMapEntries
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_reverseCacheLineMapEntriesomc_HpcOmMemory_reverseCacheLineMapEntries,0}};
602#define boxvar_HpcOmMemory_reverseCacheLineMapEntries((void*)((char*)(&(boxvar_lit_HpcOmMemory_reverseCacheLineMapEntries
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_reverseCacheLineMapEntries)((void*)((char*)(&(boxvar_lit_HpcOmMemory_reverseCacheLineMapEntries
).header) + 3))
603PROTECTED_FUNCTION_STATIC modelica_boolean omc_HpcOmMemory_sortCacheLineEntriesByPos(threadData_t *threadData, modelica_metatype _iCacheLineEntry1, modelica_metatype _iCacheLineEntry2);
604PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_sortCacheLineEntriesByPos(threadData_t *threadData, modelica_metatype _iCacheLineEntry1, modelica_metatype _iCacheLineEntry2);
605static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_sortCacheLineEntriesByPos,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_sortCacheLineEntriesByPos
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_sortCacheLineEntriesByPos,0}};
606#define boxvar_HpcOmMemory_sortCacheLineEntriesByPos((void*)((char*)(&(boxvar_lit_HpcOmMemory_sortCacheLineEntriesByPos
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_sortCacheLineEntriesByPos)((void*)((char*)(&(boxvar_lit_HpcOmMemory_sortCacheLineEntriesByPos
).header) + 3))
607PROTECTED_FUNCTION_STATIC modelica_integer omc_HpcOmMemory_getNumOfUsedBytesByCacheLine(threadData_t *threadData, modelica_metatype _iCacheLineMap);
608PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_getNumOfUsedBytesByCacheLine(threadData_t *threadData, modelica_metatype _iCacheLineMap);
609static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_getNumOfUsedBytesByCacheLine,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_getNumOfUsedBytesByCacheLine
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_getNumOfUsedBytesByCacheLine,0}};
610#define boxvar_HpcOmMemory_getNumOfUsedBytesByCacheLine((void*)((char*)(&(boxvar_lit_HpcOmMemory_getNumOfUsedBytesByCacheLine
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_getNumOfUsedBytesByCacheLine)((void*)((char*)(&(boxvar_lit_HpcOmMemory_getNumOfUsedBytesByCacheLine
).header) + 3))
611PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createDetailedCacheMapInformations0(threadData_t *threadData, modelica_integer _iCacheLineIdx, modelica_metatype _iCacheLinesArray, modelica_integer _iCacheLineSize, modelica_metatype _iCacheLines);
612PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_createDetailedCacheMapInformations0(threadData_t *threadData, modelica_metatype _iCacheLineIdx, modelica_metatype _iCacheLinesArray, modelica_metatype _iCacheLineSize, modelica_metatype _iCacheLines);
613static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_createDetailedCacheMapInformations0,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_createDetailedCacheMapInformations0
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_createDetailedCacheMapInformations0,0}};
614#define boxvar_HpcOmMemory_createDetailedCacheMapInformations0((void*)((char*)(&(boxvar_lit_HpcOmMemory_createDetailedCacheMapInformations0
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_createDetailedCacheMapInformations0)((void*)((char*)(&(boxvar_lit_HpcOmMemory_createDetailedCacheMapInformations0
).header) + 3))
615PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createDetailedCacheMapInformations(threadData_t *threadData, modelica_metatype _iCacheLinesIdc, modelica_metatype _iCacheLines, modelica_integer _iCacheLineSize);
616PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_createDetailedCacheMapInformations(threadData_t *threadData, modelica_metatype _iCacheLinesIdc, modelica_metatype _iCacheLines, modelica_metatype _iCacheLineSize);
617static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_createDetailedCacheMapInformations,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_createDetailedCacheMapInformations
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_createDetailedCacheMapInformations,0}};
618#define boxvar_HpcOmMemory_createDetailedCacheMapInformations((void*)((char*)(&(boxvar_lit_HpcOmMemory_createDetailedCacheMapInformations
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_createDetailedCacheMapInformations)((void*)((char*)(&(boxvar_lit_HpcOmMemory_createDetailedCacheMapInformations
).header) + 3))
619PROTECTED_FUNCTION_STATIC modelica_boolean omc_HpcOmMemory_doesSCVarFitIntoCL(threadData_t *threadData, modelica_metatype _iCacheLineCandidate, modelica_integer _iNumBytes);
620PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_doesSCVarFitIntoCL(threadData_t *threadData, modelica_metatype _iCacheLineCandidate, modelica_metatype _iNumBytes);
621static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_doesSCVarFitIntoCL,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_doesSCVarFitIntoCL
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_doesSCVarFitIntoCL,0}};
622#define boxvar_HpcOmMemory_doesSCVarFitIntoCL((void*)((char*)(&(boxvar_lit_HpcOmMemory_doesSCVarFitIntoCL
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_doesSCVarFitIntoCL)((void*)((char*)(&(boxvar_lit_HpcOmMemory_doesSCVarFitIntoCL
).header) + 3))
623PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_appendSCVarToCacheMap(threadData_t *threadData, modelica_integer _iSCVarIdx, modelica_integer _iOwnerThread, modelica_metatype _iInfo);
624PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_appendSCVarToCacheMap(threadData_t *threadData, modelica_metatype _iSCVarIdx, modelica_metatype _iOwnerThread, modelica_metatype _iInfo);
625static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_appendSCVarToCacheMap,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_appendSCVarToCacheMap
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_appendSCVarToCacheMap,0}};
626#define boxvar_HpcOmMemory_appendSCVarToCacheMap((void*)((char*)(&(boxvar_lit_HpcOmMemory_appendSCVarToCacheMap
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_appendSCVarToCacheMap)((void*)((char*)(&(boxvar_lit_HpcOmMemory_appendSCVarToCacheMap
).header) + 3))
627PROTECTED_FUNCTION_STATIC modelica_boolean omc_HpcOmMemory_appendNodeVarsToCacheMap0(threadData_t *threadData, modelica_metatype _iWrittenCLs, modelica_metatype _iDetailedCLInfo);
628PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_appendNodeVarsToCacheMap0(threadData_t *threadData, modelica_metatype _iWrittenCLs, modelica_metatype _iDetailedCLInfo);
629static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_appendNodeVarsToCacheMap0,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_appendNodeVarsToCacheMap0
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_appendNodeVarsToCacheMap0,0}};
630#define boxvar_HpcOmMemory_appendNodeVarsToCacheMap0((void*)((char*)(&(boxvar_lit_HpcOmMemory_appendNodeVarsToCacheMap0
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_appendNodeVarsToCacheMap0)((void*)((char*)(&(boxvar_lit_HpcOmMemory_appendNodeVarsToCacheMap0
).header) + 3))
631PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_appendNodeVarsToCacheMap(threadData_t *threadData, modelica_integer _iNodeIdx, modelica_integer _iOwnerThread, modelica_metatype _iNodeSimCodeVarMapping, modelica_metatype _iInfo);
632PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_appendNodeVarsToCacheMap(threadData_t *threadData, modelica_metatype _iNodeIdx, modelica_metatype _iOwnerThread, modelica_metatype _iNodeSimCodeVarMapping, modelica_metatype _iInfo);
633static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_appendNodeVarsToCacheMap,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_appendNodeVarsToCacheMap
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_appendNodeVarsToCacheMap,0}};
634#define boxvar_HpcOmMemory_appendNodeVarsToCacheMap((void*)((char*)(&(boxvar_lit_HpcOmMemory_appendNodeVarsToCacheMap
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_appendNodeVarsToCacheMap)((void*)((char*)(&(boxvar_lit_HpcOmMemory_appendNodeVarsToCacheMap
).header) + 3))
635PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createCacheMapDefaultCppRuntime1(threadData_t *threadData, modelica_metatype _iCacheLineEntry, modelica_integer _iCacheLineSize, modelica_metatype _iLastCacheLine, modelica_metatype *out_oLastCacheLine, modelica_boolean *out_oNewOneCreated);
636PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_createCacheMapDefaultCppRuntime1(threadData_t *threadData, modelica_metatype _iCacheLineEntry, modelica_metatype _iCacheLineSize, modelica_metatype _iLastCacheLine, modelica_metatype *out_oLastCacheLine, modelica_metatype *out_oNewOneCreated);
637static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapDefaultCppRuntime1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_createCacheMapDefaultCppRuntime1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_createCacheMapDefaultCppRuntime1,0}};
638#define boxvar_HpcOmMemory_createCacheMapDefaultCppRuntime1((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapDefaultCppRuntime1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapDefaultCppRuntime1)((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapDefaultCppRuntime1
).header) + 3))
639PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createCacheMapDefaultCppRuntime0(threadData_t *threadData, modelica_metatype _iVariables, modelica_integer _iScVarIdxStart, modelica_integer _iRealScVarIdxStart, modelica_metatype _iScVarCLMapping, modelica_metatype _iFilledCacheLines, modelica_metatype _iScVarTaskMapping, modelica_metatype _iSchedulerInfo, modelica_metatype _iLastCacheLine, modelica_integer _iCacheLineSize, modelica_metatype _iSimCodeVarTypes, modelica_metatype *out_oLastCacheLine, modelica_integer *out_oScVarIdx);
640PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_createCacheMapDefaultCppRuntime0(threadData_t *threadData, modelica_metatype _iVariables, modelica_metatype _iScVarIdxStart, modelica_metatype _iRealScVarIdxStart, modelica_metatype _iScVarCLMapping, modelica_metatype _iFilledCacheLines, modelica_metatype _iScVarTaskMapping, modelica_metatype _iSchedulerInfo, modelica_metatype _iLastCacheLine, modelica_metatype _iCacheLineSize, modelica_metatype _iSimCodeVarTypes, modelica_metatype *out_oLastCacheLine, modelica_metatype *out_oScVarIdx);
641static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapDefaultCppRuntime0,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_createCacheMapDefaultCppRuntime0
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_createCacheMapDefaultCppRuntime0,0}};
642#define boxvar_HpcOmMemory_createCacheMapDefaultCppRuntime0((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapDefaultCppRuntime0
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapDefaultCppRuntime0)((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapDefaultCppRuntime0
).header) + 3))
643PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createCacheMapDefaultCppRuntime(threadData_t *threadData, modelica_metatype _iAllSCVars, modelica_integer _iCacheLineSize, modelica_metatype _iSimCodeVars, modelica_metatype _iScVarTaskMapping, modelica_metatype _iSchedulerInfo, modelica_metatype _iSimCodeVarTypes, modelica_metatype *out_oScVarCLMapping, modelica_integer *out_oNumCL);
644PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_createCacheMapDefaultCppRuntime(threadData_t *threadData, modelica_metatype _iAllSCVars, modelica_metatype _iCacheLineSize, modelica_metatype _iSimCodeVars, modelica_metatype _iScVarTaskMapping, modelica_metatype _iSchedulerInfo, modelica_metatype _iSimCodeVarTypes, modelica_metatype *out_oScVarCLMapping, modelica_metatype *out_oNumCL);
645static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapDefaultCppRuntime,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_createCacheMapDefaultCppRuntime
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_createCacheMapDefaultCppRuntime,0}};
646#define boxvar_HpcOmMemory_createCacheMapDefaultCppRuntime((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapDefaultCppRuntime
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapDefaultCppRuntime)((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapDefaultCppRuntime
).header) + 3))
647PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createCacheMapDefault(threadData_t *threadData, modelica_metatype _iAllSCVars, modelica_integer _iCacheLineSize, modelica_metatype _iSimCodeVars, modelica_metatype _iScVarTaskMapping, modelica_metatype _iSchedulerInfo, modelica_metatype _iSimCodeVarTypes, modelica_metatype *out_oScVarCLMapping, modelica_integer *out_oNumCL);
648PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_createCacheMapDefault(threadData_t *threadData, modelica_metatype _iAllSCVars, modelica_metatype _iCacheLineSize, modelica_metatype _iSimCodeVars, modelica_metatype _iScVarTaskMapping, modelica_metatype _iSchedulerInfo, modelica_metatype _iSimCodeVarTypes, modelica_metatype *out_oScVarCLMapping, modelica_metatype *out_oNumCL);
649static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapDefault,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_createCacheMapDefault
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_createCacheMapDefault,0}};
650#define boxvar_HpcOmMemory_createCacheMapDefault((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapDefault
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapDefault)((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapDefault
).header) + 3))
651PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createCacheMapFromThreadAndSharedCLs(threadData_t *threadData, modelica_metatype _iThreadCacheLines, modelica_metatype _iSharedCacheLines, modelica_metatype _iCacheMap);
652static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapFromThreadAndSharedCLs,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_createCacheMapFromThreadAndSharedCLs
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_createCacheMapFromThreadAndSharedCLsomc_HpcOmMemory_createCacheMapFromThreadAndSharedCLs,0}};
653#define boxvar_HpcOmMemory_createCacheMapFromThreadAndSharedCLs((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapFromThreadAndSharedCLs
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapFromThreadAndSharedCLs)((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapFromThreadAndSharedCLs
).header) + 3))
654PROTECTED_FUNCTION_STATIC modelica_boolean omc_HpcOmMemory_isCLWrittenByOtherThread(threadData_t *threadData, modelica_metatype _iLevelInfo, modelica_integer _iLevelIdx, modelica_integer _iThreadIdx);
655PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_isCLWrittenByOtherThread(threadData_t *threadData, modelica_metatype _iLevelInfo, modelica_metatype _iLevelIdx, modelica_metatype _iThreadIdx);
656static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_isCLWrittenByOtherThread,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_isCLWrittenByOtherThread
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_isCLWrittenByOtherThread,0}};
657#define boxvar_HpcOmMemory_isCLWrittenByOtherThread((void*)((char*)(&(boxvar_lit_HpcOmMemory_isCLWrittenByOtherThread
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_isCLWrittenByOtherThread)((void*)((char*)(&(boxvar_lit_HpcOmMemory_isCLWrittenByOtherThread
).header) + 3))
658PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createSharedClLevelFix(threadData_t *threadData, modelica_metatype _iOldPartlyFilledCacheLine, modelica_metatype _iCacheLineMap, modelica_metatype _iLevelThreadIdx);
659static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_createSharedClLevelFix,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_createSharedClLevelFix
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_createSharedClLevelFixomc_HpcOmMemory_createSharedClLevelFix,0}};
660#define boxvar_HpcOmMemory_createSharedClLevelFix((void*)((char*)(&(boxvar_lit_HpcOmMemory_createSharedClLevelFix
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_createSharedClLevelFix)((void*)((char*)(&(boxvar_lit_HpcOmMemory_createSharedClLevelFix
).header) + 3))
661PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createSharedClThread(threadData_t *threadData, modelica_metatype _iOldPartlyFilledCacheLine, modelica_metatype _iCacheLineMap, modelica_integer _iAdditionalArgument);
662PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_createSharedClThread(threadData_t *threadData, modelica_metatype _iOldPartlyFilledCacheLine, modelica_metatype _iCacheLineMap, modelica_metatype _iAdditionalArgument);
663static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_createSharedClThread,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_createSharedClThread
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_createSharedClThread,0}};
664#define boxvar_HpcOmMemory_createSharedClThread((void*)((char*)(&(boxvar_lit_HpcOmMemory_createSharedClThread
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_createSharedClThread)((void*)((char*)(&(boxvar_lit_HpcOmMemory_createSharedClThread
).header) + 3))
665PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_findMatchingSharedCLThread(threadData_t *threadData, modelica_integer _iNodeVar, modelica_integer _iVarSize, modelica_integer _iVarType, modelica_integer _iThreadIdx, modelica_integer _iAdditionalArgument, modelica_metatype _iSharedCacheLines);
666PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_findMatchingSharedCLThread(threadData_t *threadData, modelica_metatype _iNodeVar, modelica_metatype _iVarSize, modelica_metatype _iVarType, modelica_metatype _iThreadIdx, modelica_metatype _iAdditionalArgument, modelica_metatype _iSharedCacheLines);
667static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_findMatchingSharedCLThread,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_findMatchingSharedCLThread
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_findMatchingSharedCLThread,0}};
668#define boxvar_HpcOmMemory_findMatchingSharedCLThread((void*)((char*)(&(boxvar_lit_HpcOmMemory_findMatchingSharedCLThread
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_findMatchingSharedCLThread)((void*)((char*)(&(boxvar_lit_HpcOmMemory_findMatchingSharedCLThread
).header) + 3))
669PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_findMatchingSharedCLLevelfix0(threadData_t *threadData, modelica_integer _iNodeVar, modelica_integer _iVarSize, modelica_integer _iLevelIdx, modelica_integer _iThreadIdx, modelica_integer _iCurrentListIdx, modelica_metatype _iSharedCacheLines);
670PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_findMatchingSharedCLLevelfix0(threadData_t *threadData, modelica_metatype _iNodeVar, modelica_metatype _iVarSize, modelica_metatype _iLevelIdx, modelica_metatype _iThreadIdx, modelica_metatype _iCurrentListIdx, modelica_metatype _iSharedCacheLines);
671static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_findMatchingSharedCLLevelfix0,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_findMatchingSharedCLLevelfix0
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_findMatchingSharedCLLevelfix0,0}};
672#define boxvar_HpcOmMemory_findMatchingSharedCLLevelfix0((void*)((char*)(&(boxvar_lit_HpcOmMemory_findMatchingSharedCLLevelfix0
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_findMatchingSharedCLLevelfix0)((void*)((char*)(&(boxvar_lit_HpcOmMemory_findMatchingSharedCLLevelfix0
).header) + 3))
673PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_findMatchingSharedCLLevelfix(threadData_t *threadData, modelica_integer _iNodeVar, modelica_integer _iVarSize, modelica_integer _iVarType, modelica_integer _iThreadIdx, modelica_metatype _iLevelThreadIdx, modelica_metatype _iSharedCacheLines);
674PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_findMatchingSharedCLLevelfix(threadData_t *threadData, modelica_metatype _iNodeVar, modelica_metatype _iVarSize, modelica_metatype _iVarType, modelica_metatype _iThreadIdx, modelica_metatype _iLevelThreadIdx, modelica_metatype _iSharedCacheLines);
675static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_findMatchingSharedCLLevelfix,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_findMatchingSharedCLLevelfix
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_findMatchingSharedCLLevelfix,0}};
676#define boxvar_HpcOmMemory_findMatchingSharedCLLevelfix((void*)((char*)(&(boxvar_lit_HpcOmMemory_findMatchingSharedCLLevelfix
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_findMatchingSharedCLLevelfix)((void*)((char*)(&(boxvar_lit_HpcOmMemory_findMatchingSharedCLLevelfix
).header) + 3))
677PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getPartlyFilledCLByVarType(threadData_t *threadData, modelica_integer _iVarType, modelica_metatype _iSharedCacheLines);
678PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_getPartlyFilledCLByVarType(threadData_t *threadData, modelica_metatype _iVarType, modelica_metatype _iSharedCacheLines);
679static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_getPartlyFilledCLByVarType,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_getPartlyFilledCLByVarType
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_getPartlyFilledCLByVarType,0}};
680#define boxvar_HpcOmMemory_getPartlyFilledCLByVarType((void*)((char*)(&(boxvar_lit_HpcOmMemory_getPartlyFilledCLByVarType
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_getPartlyFilledCLByVarType)((void*)((char*)(&(boxvar_lit_HpcOmMemory_getPartlyFilledCLByVarType
).header) + 3))
681PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_addVarsToSharedCL0(threadData_t *threadData, modelica_metatype _iMatchedCacheLine, modelica_integer _iVarIdx, modelica_fnptr _iFactoryMethod, modelica_metatype _iAdditionalArgument, modelica_integer _iThreadIdx, modelica_metatype _iSharedCacheLines, modelica_metatype _iInfo);
682PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_addVarsToSharedCL0(threadData_t *threadData, modelica_metatype _iMatchedCacheLine, modelica_metatype _iVarIdx, modelica_fnptr _iFactoryMethod, modelica_metatype _iAdditionalArgument, modelica_metatype _iThreadIdx, modelica_metatype _iSharedCacheLines, modelica_metatype _iInfo);
683static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_addVarsToSharedCL0,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_addVarsToSharedCL0
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_addVarsToSharedCL0,0}};
684#define boxvar_HpcOmMemory_addVarsToSharedCL0((void*)((char*)(&(boxvar_lit_HpcOmMemory_addVarsToSharedCL0
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_addVarsToSharedCL0)((void*)((char*)(&(boxvar_lit_HpcOmMemory_addVarsToSharedCL0
).header) + 3))
685PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_addVarsToSharedCL(threadData_t *threadData, modelica_metatype _iNodeVars, modelica_fnptr _iSharedClSelectFunction, modelica_fnptr _iFactoryMethod, modelica_integer _iThreadIdx, modelica_metatype _iCompareFuncArgument, modelica_metatype _iSharedCacheLines, modelica_metatype _iInfo);
686PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_addVarsToSharedCL(threadData_t *threadData, modelica_metatype _iNodeVars, modelica_fnptr _iSharedClSelectFunction, modelica_fnptr _iFactoryMethod, modelica_metatype _iThreadIdx, modelica_metatype _iCompareFuncArgument, modelica_metatype _iSharedCacheLines, modelica_metatype _iInfo);
687static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_addVarsToSharedCL,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_addVarsToSharedCL
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_addVarsToSharedCL,0}};
688#define boxvar_HpcOmMemory_addVarsToSharedCL((void*)((char*)(&(boxvar_lit_HpcOmMemory_addVarsToSharedCL
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_addVarsToSharedCL)((void*)((char*)(&(boxvar_lit_HpcOmMemory_addVarsToSharedCL
).header) + 3))
689PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_contractCacheLineForVarType(threadData_t *threadData, modelica_integer _iVarDataType, modelica_metatype _iCacheLinesFloat, modelica_metatype _iCacheLinesInt, modelica_metatype _iCacheLinesBool, modelica_metatype _iVarCacheLines);
690PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_contractCacheLineForVarType(threadData_t *threadData, modelica_metatype _iVarDataType, modelica_metatype _iCacheLinesFloat, modelica_metatype _iCacheLinesInt, modelica_metatype _iCacheLinesBool, modelica_metatype _iVarCacheLines);
691static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_contractCacheLineForVarType,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_contractCacheLineForVarType
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_contractCacheLineForVarType,0}};
692#define boxvar_HpcOmMemory_contractCacheLineForVarType((void*)((char*)(&(boxvar_lit_HpcOmMemory_contractCacheLineForVarType
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_contractCacheLineForVarType)((void*)((char*)(&(boxvar_lit_HpcOmMemory_contractCacheLineForVarType
).header) + 3))
693PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getCacheLineForVarType(threadData_t *threadData, modelica_integer _iVarDataType, modelica_metatype _iCacheLinesForTypes, modelica_metatype *out_oCacheLinesInt, modelica_metatype *out_oCacheLinesBool, modelica_metatype *out_oVarCacheLines);
694PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_getCacheLineForVarType(threadData_t *threadData, modelica_metatype _iVarDataType, modelica_metatype _iCacheLinesForTypes, modelica_metatype *out_oCacheLinesInt, modelica_metatype *out_oCacheLinesBool, modelica_metatype *out_oVarCacheLines);
695static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_getCacheLineForVarType,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_getCacheLineForVarType
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_getCacheLineForVarType,0}};
696#define boxvar_HpcOmMemory_getCacheLineForVarType((void*)((char*)(&(boxvar_lit_HpcOmMemory_getCacheLineForVarType
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_getCacheLineForVarType)((void*)((char*)(&(boxvar_lit_HpcOmMemory_getCacheLineForVarType
).header) + 3))
697PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_addVarsToThreadCL(threadData_t *threadData, modelica_metatype _iNodeVars, modelica_integer _iThreadIdx, modelica_metatype _iThreadCacheLines, modelica_metatype _iInfo);
698PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_addVarsToThreadCL(threadData_t *threadData, modelica_metatype _iNodeVars, modelica_metatype _iThreadIdx, modelica_metatype _iThreadCacheLines, modelica_metatype _iInfo);
699static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_addVarsToThreadCL,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_addVarsToThreadCL
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_addVarsToThreadCL,0}};
700#define boxvar_HpcOmMemory_addVarsToThreadCL((void*)((char*)(&(boxvar_lit_HpcOmMemory_addVarsToThreadCL
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_addVarsToThreadCL)((void*)((char*)(&(boxvar_lit_HpcOmMemory_addVarsToThreadCL
).header) + 3))
701PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getVarInfoByScVarIdx(threadData_t *threadData, modelica_integer _iScVarIdx, modelica_metatype _iScVarSolvedTaskMapping, modelica_metatype _iScVarUnsolvedTaskMapping, modelica_metatype _iSchedulerInfo);
702PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_getVarInfoByScVarIdx(threadData_t *threadData, modelica_metatype _iScVarIdx, modelica_metatype _iScVarSolvedTaskMapping, modelica_metatype _iScVarUnsolvedTaskMapping, modelica_metatype _iSchedulerInfo);
703static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_getVarInfoByScVarIdx,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_getVarInfoByScVarIdx
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_getVarInfoByScVarIdx,0}};
704#define boxvar_HpcOmMemory_getVarInfoByScVarIdx((void*)((char*)(&(boxvar_lit_HpcOmMemory_getVarInfoByScVarIdx
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_getVarInfoByScVarIdx)((void*)((char*)(&(boxvar_lit_HpcOmMemory_getVarInfoByScVarIdx
).header) + 3))
705PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createVarInfos(threadData_t *threadData, modelica_metatype _iScVarSolvedTaskMapping, modelica_metatype _iScVarUnsolvedTaskMapping, modelica_metatype _iSchedulerInfo);
706static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_createVarInfos,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_createVarInfos
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_createVarInfosomc_HpcOmMemory_createVarInfos,0}};
707#define boxvar_HpcOmMemory_createVarInfos((void*)((char*)(&(boxvar_lit_HpcOmMemory_createVarInfos)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_createVarInfos)((void*)((char*)(&(boxvar_lit_HpcOmMemory_createVarInfos)
.header) + 3))
708PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createCacheMapOptimizedForTask1(threadData_t *threadData, modelica_integer _iScVar, modelica_integer _iThreadIdx, modelica_metatype _iScVarInfos, modelica_metatype _iHandledVariables, modelica_fnptr _iSharedClSelectFunction, modelica_metatype _iCompareFuncArgument, modelica_fnptr _iFactoryMethod, modelica_metatype _iThreadCacheLines, modelica_metatype _iSharedCacheLines, modelica_metatype _iInfo);
709PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_createCacheMapOptimizedForTask1(threadData_t *threadData, modelica_metatype _iScVar, modelica_metatype _iThreadIdx, modelica_metatype _iScVarInfos, modelica_metatype _iHandledVariables, modelica_fnptr _iSharedClSelectFunction, modelica_metatype _iCompareFuncArgument, modelica_fnptr _iFactoryMethod, modelica_metatype _iThreadCacheLines, modelica_metatype _iSharedCacheLines, modelica_metatype _iInfo);
710static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapOptimizedForTask1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_createCacheMapOptimizedForTask1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_createCacheMapOptimizedForTask1,0}};
711#define boxvar_HpcOmMemory_createCacheMapOptimizedForTask1((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapOptimizedForTask1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapOptimizedForTask1)((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapOptimizedForTask1
).header) + 3))
712PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createCacheMapOptimizedForTask(threadData_t *threadData, modelica_metatype _iTask, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphMeta, modelica_metatype _iSchedulerInfo, modelica_metatype _iTaskSolvedVarsMapping, modelica_metatype _iTaskUnsolvedVarsMapping, modelica_metatype _iHandledVariables, modelica_integer _iNumberOfThreads, modelica_fnptr _iSharedClSelectFunction, modelica_metatype _iCompareFuncArgument, modelica_fnptr _iFactoryMethod, modelica_metatype _iThreadCacheLines, modelica_metatype _iSharedCacheLines, modelica_metatype _iScVarInfos, modelica_metatype _iInfo);
713PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_createCacheMapOptimizedForTask(threadData_t *threadData, modelica_metatype _iTask, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphMeta, modelica_metatype _iSchedulerInfo, modelica_metatype _iTaskSolvedVarsMapping, modelica_metatype _iTaskUnsolvedVarsMapping, modelica_metatype _iHandledVariables, modelica_metatype _iNumberOfThreads, modelica_fnptr _iSharedClSelectFunction, modelica_metatype _iCompareFuncArgument, modelica_fnptr _iFactoryMethod, modelica_metatype _iThreadCacheLines, modelica_metatype _iSharedCacheLines, modelica_metatype _iScVarInfos, modelica_metatype _iInfo);
714static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapOptimizedForTask,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_createCacheMapOptimizedForTask
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_createCacheMapOptimizedForTask,0}};
715#define boxvar_HpcOmMemory_createCacheMapOptimizedForTask((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapOptimizedForTask
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapOptimizedForTask)((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapOptimizedForTask
).header) + 3))
716PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createCacheMapThreadOptimized(threadData_t *threadData, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphMeta, modelica_metatype _iAllSCVarsMapping, modelica_metatype _iSimCodeVarTypes, modelica_metatype _iScVarSolvedTaskMapping, modelica_metatype _iScVarUnsolvedTaskMapping, modelica_integer _iCacheLineSize, modelica_metatype _iAllComponents, modelica_metatype _iThreadTasks, modelica_integer _iNumberOfThreads, modelica_metatype _iSchedulerInfo, modelica_metatype _iTaskSolvedVarsMapping, modelica_metatype _iTaskUnsolvedVarsMapping, modelica_metatype _iScVarInfos, modelica_metatype *out_oScVarCLMapping, modelica_integer *out_oNumCL);
717PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_createCacheMapThreadOptimized(threadData_t *threadData, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphMeta, modelica_metatype _iAllSCVarsMapping, modelica_metatype _iSimCodeVarTypes, modelica_metatype _iScVarSolvedTaskMapping, modelica_metatype _iScVarUnsolvedTaskMapping, modelica_metatype _iCacheLineSize, modelica_metatype _iAllComponents, modelica_metatype _iThreadTasks, modelica_metatype _iNumberOfThreads, modelica_metatype _iSchedulerInfo, modelica_metatype _iTaskSolvedVarsMapping, modelica_metatype _iTaskUnsolvedVarsMapping, modelica_metatype _iScVarInfos, modelica_metatype *out_oScVarCLMapping, modelica_metatype *out_oNumCL);
718static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapThreadOptimized,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_createCacheMapThreadOptimized
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_createCacheMapThreadOptimized,0}};
719#define boxvar_HpcOmMemory_createCacheMapThreadOptimized((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapThreadOptimized
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapThreadOptimized)((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapThreadOptimized
).header) + 3))
720PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getUnsolvedVarsByNodeList(threadData_t *threadData, modelica_metatype _iNodeList, modelica_integer _iVarCount, modelica_metatype _iTaskUnsolvedVarsMapping);
721PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_getUnsolvedVarsByNodeList(threadData_t *threadData, modelica_metatype _iNodeList, modelica_metatype _iVarCount, modelica_metatype _iTaskUnsolvedVarsMapping);
722static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_getUnsolvedVarsByNodeList,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_getUnsolvedVarsByNodeList
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_getUnsolvedVarsByNodeList,0}};
723#define boxvar_HpcOmMemory_getUnsolvedVarsByNodeList((void*)((char*)(&(boxvar_lit_HpcOmMemory_getUnsolvedVarsByNodeList
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_getUnsolvedVarsByNodeList)((void*)((char*)(&(boxvar_lit_HpcOmMemory_getUnsolvedVarsByNodeList
).header) + 3))
724PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createCacheMapLevelFixedOptimizedForTask(threadData_t *threadData, modelica_metatype _iTask, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphMeta, modelica_metatype _iSchedulerInfo, modelica_integer _iNumberOfThreads, modelica_integer _iLevel, modelica_metatype _iScVarInfos, modelica_metatype _iTaskSolvedVarsMapping, modelica_metatype _iTaskUnsolvedVarsMapping, modelica_metatype _iHandledVariables, modelica_metatype _iThreadCacheLines, modelica_metatype _iSharedCacheLines, modelica_metatype _iInfo);
725PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_createCacheMapLevelFixedOptimizedForTask(threadData_t *threadData, modelica_metatype _iTask, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphMeta, modelica_metatype _iSchedulerInfo, modelica_metatype _iNumberOfThreads, modelica_metatype _iLevel, modelica_metatype _iScVarInfos, modelica_metatype _iTaskSolvedVarsMapping, modelica_metatype _iTaskUnsolvedVarsMapping, modelica_metatype _iHandledVariables, modelica_metatype _iThreadCacheLines, modelica_metatype _iSharedCacheLines, modelica_metatype _iInfo);
726static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapLevelFixedOptimizedForTask,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_createCacheMapLevelFixedOptimizedForTask
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_createCacheMapLevelFixedOptimizedForTask,0}};
727#define boxvar_HpcOmMemory_createCacheMapLevelFixedOptimizedForTask((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapLevelFixedOptimizedForTask
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapLevelFixedOptimizedForTask)((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapLevelFixedOptimizedForTask
).header) + 3))
728PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createCacheMapLevelFixedOptimizedForLevel(threadData_t *threadData, modelica_metatype _iLevelTasks, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphMeta, modelica_integer _iNumberOfThreads, modelica_metatype _iScVarInfos, modelica_metatype _iTaskSolvedVarsMapping, modelica_metatype _iTaskUnsolvedVarsMapping, modelica_metatype _iHandledVariables, modelica_metatype _iSchedulerInfo, modelica_metatype _iThreadCacheLines, modelica_metatype _iSharedCacheLines, modelica_metatype _iInfo);
729PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_createCacheMapLevelFixedOptimizedForLevel(threadData_t *threadData, modelica_metatype _iLevelTasks, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphMeta, modelica_metatype _iNumberOfThreads, modelica_metatype _iScVarInfos, modelica_metatype _iTaskSolvedVarsMapping, modelica_metatype _iTaskUnsolvedVarsMapping, modelica_metatype _iHandledVariables, modelica_metatype _iSchedulerInfo, modelica_metatype _iThreadCacheLines, modelica_metatype _iSharedCacheLines, modelica_metatype _iInfo);
730static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapLevelFixedOptimizedForLevel,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_createCacheMapLevelFixedOptimizedForLevel
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_createCacheMapLevelFixedOptimizedForLevel,0}};
731#define boxvar_HpcOmMemory_createCacheMapLevelFixedOptimizedForLevel((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapLevelFixedOptimizedForLevel
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapLevelFixedOptimizedForLevel)((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapLevelFixedOptimizedForLevel
).header) + 3))
732PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createCacheMapLevelFixedOptimized(threadData_t *threadData, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphMeta, modelica_metatype _iAllSCVarsMapping, modelica_metatype _iSimCodeVarTypes, modelica_metatype _iScVarSolvedTaskMapping, modelica_metatype _iScVarUnsolvedTaskMapping, modelica_integer _iCacheLineSize, modelica_metatype _iAllComponents, modelica_metatype _iTasksOfLevels, modelica_integer _iNumberOfThreads, modelica_metatype _iSchedulerInfo, modelica_metatype _iTaskSolvedVarsMapping, modelica_metatype _iTaskUnsolvedVarsMapping, modelica_metatype _iScVarInfos, modelica_metatype *out_oScVarCLMapping, modelica_integer *out_oNumCL);
733PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_createCacheMapLevelFixedOptimized(threadData_t *threadData, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphMeta, modelica_metatype _iAllSCVarsMapping, modelica_metatype _iSimCodeVarTypes, modelica_metatype _iScVarSolvedTaskMapping, modelica_metatype _iScVarUnsolvedTaskMapping, modelica_metatype _iCacheLineSize, modelica_metatype _iAllComponents, modelica_metatype _iTasksOfLevels, modelica_metatype _iNumberOfThreads, modelica_metatype _iSchedulerInfo, modelica_metatype _iTaskSolvedVarsMapping, modelica_metatype _iTaskUnsolvedVarsMapping, modelica_metatype _iScVarInfos, modelica_metatype *out_oScVarCLMapping, modelica_metatype *out_oNumCL);
734static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapLevelFixedOptimized,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_createCacheMapLevelFixedOptimized
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_createCacheMapLevelFixedOptimized,0}};
735#define boxvar_HpcOmMemory_createCacheMapLevelFixedOptimized((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapLevelFixedOptimized
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapLevelFixedOptimized)((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapLevelFixedOptimized
).header) + 3))
736PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createCacheMapLevelOptimizedForTask(threadData_t *threadData, modelica_metatype _iTask, modelica_metatype _iNodeSimCodeVarMapping, modelica_metatype _iInfo);
737static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapLevelOptimizedForTask,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_createCacheMapLevelOptimizedForTask
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_createCacheMapLevelOptimizedForTaskomc_HpcOmMemory_createCacheMapLevelOptimizedForTask,0}};
738#define boxvar_HpcOmMemory_createCacheMapLevelOptimizedForTask((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapLevelOptimizedForTask
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapLevelOptimizedForTask)((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapLevelOptimizedForTask
).header) + 3))
739PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createCacheMapLevelOptimized0(threadData_t *threadData, modelica_metatype _iLevelTasks, modelica_metatype _iNodeSimCodeVarMapping, modelica_metatype _iInfo);
740static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapLevelOptimized0,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_createCacheMapLevelOptimized0
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_createCacheMapLevelOptimized0omc_HpcOmMemory_createCacheMapLevelOptimized0,0}};
741#define boxvar_HpcOmMemory_createCacheMapLevelOptimized0((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapLevelOptimized0
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapLevelOptimized0)((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapLevelOptimized0
).header) + 3))
742PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createCacheMapLevelOptimized(threadData_t *threadData, modelica_metatype _iAllSCVarsMapping, modelica_metatype _iSimCodeVarTypes, modelica_metatype _iScVarTaskMapping, modelica_integer _iCacheLineSize, modelica_metatype _iAllComponents, modelica_metatype _iTasksOfLevels, modelica_metatype _iNodeSimCodeVarMapping, modelica_metatype *out_oScVarCLMapping, modelica_integer *out_oNumCL);
743PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_createCacheMapLevelOptimized(threadData_t *threadData, modelica_metatype _iAllSCVarsMapping, modelica_metatype _iSimCodeVarTypes, modelica_metatype _iScVarTaskMapping, modelica_metatype _iCacheLineSize, modelica_metatype _iAllComponents, modelica_metatype _iTasksOfLevels, modelica_metatype _iNodeSimCodeVarMapping, modelica_metatype *out_oScVarCLMapping, modelica_metatype *out_oNumCL);
744static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapLevelOptimized,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_createCacheMapLevelOptimized
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_createCacheMapLevelOptimized,0}};
745#define boxvar_HpcOmMemory_createCacheMapLevelOptimized((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapLevelOptimized
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapLevelOptimized)((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapLevelOptimized
).header) + 3))
746PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createCacheMapOptimized(threadData_t *threadData, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphMeta, modelica_metatype _iSimCodeVars, modelica_metatype _iAllSCVarsMapping, modelica_metatype _iSimCodeVarTypes, modelica_metatype _iScVarSolvedTaskMapping, modelica_metatype _iScVarUnsolvedTaskMapping, modelica_integer _iCacheLineSize, modelica_metatype _iAllComponents, modelica_metatype _iSchedule, modelica_metatype _iSchedulerInfo, modelica_integer _iNumberOfThreads, modelica_metatype _iTaskSolvedVarsMapping, modelica_metatype _iTaskUnsolvedVarsMapping, modelica_metatype _iScVarInfos, modelica_metatype *out_oScVarCLMapping, modelica_integer *out_oNumCL);
747PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_createCacheMapOptimized(threadData_t *threadData, modelica_metatype _iTaskGraph, modelica_metatype _iTaskGraphMeta, modelica_metatype _iSimCodeVars, modelica_metatype _iAllSCVarsMapping, modelica_metatype _iSimCodeVarTypes, modelica_metatype _iScVarSolvedTaskMapping, modelica_metatype _iScVarUnsolvedTaskMapping, modelica_metatype _iCacheLineSize, modelica_metatype _iAllComponents, modelica_metatype _iSchedule, modelica_metatype _iSchedulerInfo, modelica_metatype _iNumberOfThreads, modelica_metatype _iTaskSolvedVarsMapping, modelica_metatype _iTaskUnsolvedVarsMapping, modelica_metatype _iScVarInfos, modelica_metatype *out_oScVarCLMapping, modelica_metatype *out_oNumCL);
748static const MMC_DEFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapOptimized,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_HpcOmMemory_createCacheMapOptimized
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_HpcOmMemory_createCacheMapOptimized,0}};
749#define boxvar_HpcOmMemory_createCacheMapOptimized((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapOptimized
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_HpcOmMemory_createCacheMapOptimized)((void*)((char*)(&(boxvar_lit_HpcOmMemory_createCacheMapOptimized
).header) + 3))
750
751PROTECTED_FUNCTION_STATIC modelica_integer omc_HpcOmMemory_getCacheLineSizeOfCacheMap(threadData_t *threadData, modelica_metatype _iCacheMap)
752{
753 modelica_integer _oCacheLineSize;
754 modelica_integer _cacheLineSize;
755 modelica_integer tmp1 = 0;
756 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
757 MMC_SO()mmc_check_stackoverflow(threadData);
758 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
759 // _oCacheLineSize has no default value.
760 // _cacheLineSize has no default value.
761#line 761 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
762 { /* match expression */
763 modelica_metatype tmp4_1;
764 tmp4_1 = _iCacheMap;
765 {
766 volatile mmc_switch_type tmp4;
767 int tmp5;
768 tmp4 = 0;
769 for (; tmp4 < 2; tmp4++) {
770 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
771 case 0: {
772 modelica_integer tmp6;
773 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,0,5)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((5 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
774 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
775 tmp6 = mmc_unbox_integer(tmpMeta[0])(((mmc_sint_t) (tmpMeta[0])) >> 1);
776
777 _cacheLineSize = tmp6 /* pattern as ty=Integer */;
778 /* Pattern matching succeeded */
779#line 3651 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
780 tmp1 = _cacheLineSize;
781#line 781 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
782 goto tmp3_done;
783 }
784 case 1: {
785 modelica_integer tmp7;
786 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
787 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
788 tmp7 = mmc_unbox_integer(tmpMeta[0])(((mmc_sint_t) (tmpMeta[0])) >> 1);
789
790 _cacheLineSize = tmp7 /* pattern as ty=Integer */;
791 /* Pattern matching succeeded */
792#line 3653 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
793 tmp1 = _cacheLineSize;
794#line 794 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
795 goto tmp3_done;
796 }
797 }
798 goto tmp3_end;
799 tmp3_end: ;
800 }
801 goto goto_2;
802 goto_2:;
803 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
804 goto tmp3_done;
805 tmp3_done:;
806 }
807 }
808 _oCacheLineSize = tmp1;
809 _return: OMC_LABEL_UNUSED__attribute__((unused))
810 return _oCacheLineSize;
811}
812PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_getCacheLineSizeOfCacheMap(threadData_t *threadData, modelica_metatype _iCacheMap)
813{
814 modelica_integer _oCacheLineSize;
815 modelica_metatype out_oCacheLineSize;
816 _oCacheLineSize = omc_HpcOmMemory_getCacheLineSizeOfCacheMap(threadData, _iCacheMap);
817 out_oCacheLineSize = mmc_mk_icon(_oCacheLineSize);
818 return out_oCacheLineSize;
819}
820
821PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getCacheVariablesOfCacheMap(threadData_t *threadData, modelica_metatype _iCacheMap)
822{
823 modelica_metatype _oCacheVariables = NULL((void*)0);
824 modelica_metatype _cacheVariables = NULL((void*)0);
825 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
826 MMC_SO()mmc_check_stackoverflow(threadData);
827 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
828 // _oCacheVariables has no default value.
829 // _cacheVariables has no default value.
830#line 830 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
831 { /* match expression */
832 modelica_metatype tmp3_1;
833 tmp3_1 = _iCacheMap;
834 {
835 volatile mmc_switch_type tmp3;
836 int tmp4;
837 tmp3 = 0;
838 for (; tmp3 < 2; tmp3++) {
839 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
840 case 0: {
841 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((5 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
842 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
843
844 _cacheVariables = tmpMeta[1];
845 /* Pattern matching succeeded */
846#line 3636 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
847 tmpMeta[0] = _cacheVariables;
848#line 848 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
849 goto tmp2_done;
850 }
851 case 1: {
852 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
853 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
854
855 _cacheVariables = tmpMeta[1];
856 /* Pattern matching succeeded */
857#line 3638 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
858 tmpMeta[0] = _cacheVariables;
859#line 859 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
860 goto tmp2_done;
861 }
862 }
863 goto tmp2_end;
864 tmp2_end: ;
865 }
866 goto goto_1;
867 goto_1:;
868 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
869 goto tmp2_done;
870 tmp2_done:;
871 }
872 }
873 _oCacheVariables = tmpMeta[0];
874 _return: OMC_LABEL_UNUSED__attribute__((unused))
875 return _oCacheVariables;
876}
877
878PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getAllCacheLinesOfCacheMap(threadData_t *threadData, modelica_metatype _iCacheMap)
879{
880 modelica_metatype _oCacheLines = NULL((void*)0);
881 modelica_metatype _cacheLinesFloat = NULL((void*)0);
882 modelica_metatype _cacheLinesInt = NULL((void*)0);
883 modelica_metatype _cacheLinesBool = NULL((void*)0);
884 modelica_metatype _allCacheLines = NULL((void*)0);
885 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
886 MMC_SO()mmc_check_stackoverflow(threadData);
887 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
888 // _oCacheLines has no default value.
889 // _cacheLinesFloat has no default value.
890 // _cacheLinesInt has no default value.
891 // _cacheLinesBool has no default value.
892 // _allCacheLines has no default value.
893#line 893 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
894 { /* match expression */
895 modelica_metatype tmp3_1;
896 tmp3_1 = _iCacheMap;
897 {
898 volatile mmc_switch_type tmp3;
899 int tmp4;
900 tmp3 = 0;
901 for (; tmp3 < 2; tmp3++) {
902 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
903 case 0: {
904 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((5 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
905 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
906 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
907 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
908 _cacheLinesFloat = tmpMeta[1];
909 _cacheLinesInt = tmpMeta[2];
910 _cacheLinesBool = tmpMeta[3];
911 /* Pattern matching succeeded */
912#line 3620 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
913 tmpMeta[0] = listAppend(_cacheLinesFloat, listAppend(_cacheLinesInt, _cacheLinesBool));
914#line 914 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
915 goto tmp2_done;
916 }
917 case 1: {
918 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
919 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
920 _allCacheLines = tmpMeta[1];
921 /* Pattern matching succeeded */
922#line 3623 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
923 tmpMeta[0] = _allCacheLines;
924#line 924 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
925 goto tmp2_done;
926 }
927 }
928 goto tmp2_end;
929 tmp2_end: ;
930 }
931 goto goto_1;
932 goto_1:;
933 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
934 goto tmp2_done;
935 tmp2_done:;
936 }
937 }
938 _oCacheLines = tmpMeta[0];
939 _return: OMC_LABEL_UNUSED__attribute__((unused))
940 return _oCacheLines;
941}
942
943PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getCacheLineMapOfPartlyFilledCacheLine(threadData_t *threadData, modelica_metatype _iPartlyFilledCacheLine)
944{
945 modelica_metatype _oCacheLineMap = NULL((void*)0);
946 modelica_metatype _cacheLineMap = NULL((void*)0);
947 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
948 MMC_SO()mmc_check_stackoverflow(threadData);
949 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
950 // _oCacheLineMap has no default value.
951 // _cacheLineMap has no default value.
952#line 952 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
953 { /* match expression */
954 modelica_metatype tmp3_1;
955 tmp3_1 = _iPartlyFilledCacheLine;
956 {
957 volatile mmc_switch_type tmp3;
958 int tmp4;
959 tmp3 = 0;
960 for (; tmp3 < 2; tmp3++) {
961 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
962 case 0: {
963 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
964 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
965
966 _cacheLineMap = tmpMeta[1];
967 /* Pattern matching succeeded */
968#line 3604 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
969 tmpMeta[0] = _cacheLineMap;
970#line 970 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
971 goto tmp2_done;
972 }
973 case 1: {
974 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
975 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
976 _cacheLineMap = tmpMeta[1];
977 /* Pattern matching succeeded */
978#line 3606 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
979 tmpMeta[0] = _cacheLineMap;
980#line 980 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
981 goto tmp2_done;
982 }
983 }
984 goto tmp2_end;
985 tmp2_end: ;
986 }
987 goto goto_1;
988 goto_1:;
989 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
990 goto tmp2_done;
991 tmp2_done:;
992 }
993 }
994 _oCacheLineMap = tmpMeta[0];
995 _return: OMC_LABEL_UNUSED__attribute__((unused))
996 return _oCacheLineMap;
997}
998
999PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getTaskListTasks(threadData_t *threadData, modelica_metatype _iTaskList)
1000{
1001 modelica_metatype _oTasks = NULL((void*)0);
1002 modelica_metatype _tasks = NULL((void*)0);
1003 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1004 MMC_SO()mmc_check_stackoverflow(threadData);
1005 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1006 // _oTasks has no default value.
1007 // _tasks has no default value.
1008#line 1008 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1009 { /* match expression */
1010 modelica_metatype tmp3_1;
1011 tmp3_1 = _iTaskList;
1012 {
1013 volatile mmc_switch_type tmp3;
1014 int tmp4;
1015 tmp3 = 0;
1016 for (; tmp3 < 3; tmp3++) {
1017 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1018 case 0: {
1019 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1020 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1021 _tasks = tmpMeta[1];
1022 /* Pattern matching succeeded */
1023#line 3586 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1024 tmpMeta[0] = _tasks;
1025#line 1025 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1026 goto tmp2_done;
1027 }
1028 case 1: {
1029 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1030 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1031 _tasks = tmpMeta[1];
1032 /* Pattern matching succeeded */
1033#line 3588 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1034 tmpMeta[0] = _tasks;
1035#line 1035 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1036 goto tmp2_done;
1037 }
1038 case 2: {
1039
1040 /* Pattern matching succeeded */
1041#line 3591 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1042 fputs(MMC_STRINGDATA(_OMC_LIT0)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT0).header) + 3))) - 3)))->data)
,stdoutstdout);
1043#line 1043 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1044#line 3592 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1045 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1046#line 3592 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1047 tmpMeta[0] = tmpMeta[1];
1048#line 1048 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1049 goto tmp2_done;
1050 }
1051 }
1052 goto tmp2_end;
1053 tmp2_end: ;
1054 }
1055 goto goto_1;
1056 goto_1:;
1057 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1058 goto tmp2_done;
1059 tmp2_done:;
1060 }
1061 }
1062 _oTasks = tmpMeta[0];
1063 _return: OMC_LABEL_UNUSED__attribute__((unused))
1064 return _oTasks;
1065}
1066
1067PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createArrayIndexCref__impl(threadData_t *threadData, modelica_integer _iIdx, modelica_metatype _iDimElemCount, modelica_metatype _iRefCurrentDim)
1068{
1069 modelica_metatype _oRefCurrentDim = NULL((void*)0);
1070 modelica_string _ident = NULL((void*)0);
1071 modelica_metatype _identType = NULL((void*)0);
1072 modelica_metatype _subscriptLst = NULL((void*)0);
1073 modelica_metatype _componentRef = NULL((void*)0);
1074 modelica_integer _currentDim;
1075 modelica_integer _idxValue;
1076 modelica_integer _dimElemsPre;
1077 modelica_integer _dimElems;
1078 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
1079 MMC_SO()mmc_check_stackoverflow(threadData);
1080 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1081 // _oRefCurrentDim has no default value.
1082 // _ident has no default value.
1083 // _identType has no default value.
1084 // _subscriptLst has no default value.
1085 // _componentRef has no default value.
1086 // _currentDim has no default value.
1087 // _idxValue has no default value.
1088 // _dimElemsPre has no default value.
1089 // _dimElems has no default value.
1090#line 1090 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1091 { /* matchcontinue expression */
1092 volatile modelica_metatype tmp3_1;
1093 tmp3_1 = _iRefCurrentDim;
1094 {
1095 volatile mmc_switch_type tmp3;
1096 int tmp4;
1097 tmp3 = 0;
1098 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) {
1099 tmp2_top:
1100 threadData->mmc_jumper = &new_mmc_jumper;
1101 for (; tmp3 < 6; tmp3++) {
1102 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1103 case 0: {
1104 modelica_integer tmp5;
1105 modelica_boolean tmp6;
1106 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1107 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],0,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((4 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1108 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
1109 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
1110 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (4)))))
;
1111 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (5)))))
;
1112 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1113 tmp5 = mmc_unbox_integer(tmpMeta[6])(((mmc_sint_t) (tmpMeta[6])) >> 1);
1114 if (1 != tmp5) goto tmp2_end;
1115 _ident = tmpMeta[2];
1116 _identType = tmpMeta[3];
1117 _subscriptLst = tmpMeta[4];
1118 _componentRef = tmpMeta[5];
1119 /* Pattern matching succeeded */
1120#line 3530 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1121 /* Pattern-matching assignment */
1122#line 3530 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1123 tmp6 = (((modelica_integer) 1) <= listLength(_iDimElemCount));
1124#line 3530 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1125 if (1 != tmp6) goto goto_1;
1126#line 1126 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1127
1128#line 3532 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1129 /* Pattern-matching assignment */
1130#line 3532 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1131 tmpMeta[1] = mmc_mk_box2(0, _componentRef, mmc_mk_integermmc_mk_icon(((modelica_integer) 1)));
1132#line 3532 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1133 tmpMeta[2] = omc_HpcOmMemory_createArrayIndexCref__impl(threadData, _iIdx, _iDimElemCount, tmpMeta[1]);
1134#line 3532 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1135 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
1136#line 3532 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1137 _componentRef = tmpMeta[3];
1138#line 1138 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1139#line 3533 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1140 tmpMeta[1] = mmc_mk_box5(3, &DAE_ComponentRef_CREF__QUAL__desc, _ident, _identType, _subscriptLst, _componentRef);
1141#line 3533 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1142 tmpMeta[2] = mmc_mk_box2(0, tmpMeta[1], mmc_mk_integermmc_mk_icon(((modelica_integer) 2)));
1143#line 3533 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1144 tmpMeta[0] = tmpMeta[2];
1145#line 1145 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1146 goto tmp2_done;
1147 }
1148 case 1: {
1149 modelica_integer tmp7;
1150 modelica_boolean tmp8;
1151 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1152 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],0,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((4 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1153 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
1154 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
1155 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (4)))))
;
1156 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (5)))))
;
1157 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1158 tmp7 = mmc_unbox_integer(tmpMeta[6])(((mmc_sint_t) (tmpMeta[6])) >> 1);
1159 _ident = tmpMeta[2];
1160 _identType = tmpMeta[3];
1161 _subscriptLst = tmpMeta[4];
1162 _componentRef = tmpMeta[5];
1163 _currentDim = tmp7 /* pattern as ty=Integer */;
1164 tmp3 += 3; /* Pattern matching succeeded; we may skip some cases if we fail */
1165#line 3537 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1166 /* Pattern-matching assignment */
1167#line 3537 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1168 tmp8 = (_currentDim <= listLength(_iDimElemCount));
1169#line 3537 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1170 if (1 != tmp8) goto goto_1;
1171#line 1171 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1172
1173#line 3539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1174 /* Pattern-matching assignment */
1175#line 3539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1176 tmpMeta[1] = mmc_mk_box2(0, _componentRef, mmc_mk_integermmc_mk_icon(_currentDim));
1177#line 3539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1178 tmpMeta[2] = omc_HpcOmMemory_createArrayIndexCref__impl(threadData, _iIdx, _iDimElemCount, tmpMeta[1]);
1179#line 3539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1180 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
1181#line 3539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1182 _componentRef = tmpMeta[3];
1183#line 1183 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1184#line 3540 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1185 tmpMeta[1] = mmc_mk_box5(3, &DAE_ComponentRef_CREF__QUAL__desc, _ident, _identType, _subscriptLst, _componentRef);
1186#line 3540 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1187 tmpMeta[2] = mmc_mk_box2(0, tmpMeta[1], mmc_mk_integermmc_mk_icon(((modelica_integer) 1) + _currentDim));
1188#line 3540 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1189 tmpMeta[0] = tmpMeta[2];
1190#line 1190 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1191 goto tmp2_done;
1192 }
1193 case 2: {
1194 modelica_integer tmp9;
1195 modelica_boolean tmp10;
1196 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1197 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],1,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((3 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
1198 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
1199 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
1200 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (4)))))
;
1201 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1202 tmp9 = mmc_unbox_integer(tmpMeta[5])(((mmc_sint_t) (tmpMeta[5])) >> 1);
1203 if (1 != tmp9) goto tmp2_end;
1204 _ident = tmpMeta[2];
1205 _identType = tmpMeta[3];
1206 _subscriptLst = tmpMeta[4];
1207 /* Pattern matching succeeded */
1208#line 3544 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1209 /* Pattern-matching assignment */
1210#line 3544 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1211 tmp10 = (((modelica_integer) 1) <= listLength(_iDimElemCount));
1212#line 3544 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1213 if (1 != tmp10) goto goto_1;
1214#line 1214 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1215
1216#line 3546 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1217 _idxValue = ((modelica_integer) 1) + modelica_integer_mod(((modelica_integer) -1) + _iIdx, mmc_unbox_integer(listHead(_iDimElemCount))(((mmc_sint_t) (boxptr_listHead(threadData,_iDimElemCount))) >>
1)
);
1218#line 1218 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1219
1220#line 3547 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1221 tmpMeta[2] = mmc_mk_box2(3, &DAE_Exp_ICONST__desc, mmc_mk_integermmc_mk_icon(_idxValue));
1222#line 3547 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1223 tmpMeta[3] = mmc_mk_box2(5, &DAE_Subscript_INDEX__desc, tmpMeta[2]);
1224#line 3547 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1225 tmpMeta[1] = mmc_mk_cons(tmpMeta[3], _subscriptLst);
1226#line 3547 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1227 _subscriptLst = tmpMeta[1];
1228#line 1228 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1229#line 3548 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1230 tmpMeta[1] = mmc_mk_box4(4, &DAE_ComponentRef_CREF__IDENT__desc, _ident, _identType, _subscriptLst);
1231#line 3548 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1232 tmpMeta[2] = mmc_mk_box2(0, tmpMeta[1], mmc_mk_integermmc_mk_icon(((modelica_integer) 2)));
1233#line 3548 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1234 tmpMeta[0] = omc_HpcOmMemory_createArrayIndexCref__impl(threadData, _iIdx, _iDimElemCount, tmpMeta[2]);
1235#line 1235 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1236 goto tmp2_done;
1237 }
1238 case 3: {
1239 modelica_integer tmp11;
1240 modelica_boolean tmp12;
1241 modelica_integer tmp13;
1242 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1243 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],1,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((3 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
1244 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
1245 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
1246 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (4)))))
;
1247 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1248 tmp11 = mmc_unbox_integer(tmpMeta[5])(((mmc_sint_t) (tmpMeta[5])) >> 1);
1249 _ident = tmpMeta[2];
1250 _identType = tmpMeta[3];
1251 _subscriptLst = tmpMeta[4];
1252 _currentDim = tmp11 /* pattern as ty=Integer */;
1253 /* Pattern matching succeeded */
1254#line 3552 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1255 /* Pattern-matching assignment */
1256#line 3552 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1257 tmp12 = (_currentDim <= listLength(_iDimElemCount));
1258#line 3552 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1259 if (1 != tmp12) goto goto_1;
1260#line 1260 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1261
1262#line 3555 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1263 _dimElemsPre = mmc_unbox_integer(omc_List_reduce(threadData, omc_List_sublist(threadData, _iDimElemCount, ((modelica_integer) 1), ((modelica_integer) 1) + listLength(_iDimElemCount) - _currentDim), boxvar_intMul))(((mmc_sint_t) (omc_List_reduce(threadData, omc_List_sublist(
threadData, _iDimElemCount, ((modelica_integer) 1), ((modelica_integer
) 1) + listLength(_iDimElemCount) - _currentDim), ((void*)((char
*)(&(boxvar_lit_intMul).header) + 3))))) >> 1)
;
1264#line 1264 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1265
1266#line 3557 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1267 _dimElems = mmc_unbox_integer(listGet(_iDimElemCount, _currentDim))(((mmc_sint_t) (boxptr_listGet(threadData,_iDimElemCount,mmc_mk_icon
(_currentDim)))) >> 1)
;
1268#line 1268 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1269
1270#line 3558 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1271 tmp13 = _dimElemsPre;
1272#line 3558 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1273 if (tmp13 == 0) {goto goto_1;}
1274#line 3558 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1275 _idxValue = ((modelica_integer) 1) + modelica_integer_mod(ldiv(((modelica_integer) -1) + _iIdx,tmp13).quot, _dimElems);
1276#line 1276 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1277
1278#line 3560 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1279 tmpMeta[2] = mmc_mk_box2(3, &DAE_Exp_ICONST__desc, mmc_mk_integermmc_mk_icon(_idxValue));
1280#line 3560 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1281 tmpMeta[3] = mmc_mk_box2(5, &DAE_Subscript_INDEX__desc, tmpMeta[2]);
1282#line 3560 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1283 tmpMeta[1] = mmc_mk_cons(tmpMeta[3], _subscriptLst);
1284#line 3560 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1285 _subscriptLst = tmpMeta[1];
1286#line 1286 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1287#line 3561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1288 tmpMeta[1] = mmc_mk_box4(4, &DAE_ComponentRef_CREF__IDENT__desc, _ident, _identType, _subscriptLst);
1289#line 3561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1290 tmpMeta[2] = mmc_mk_box2(0, tmpMeta[1], mmc_mk_integermmc_mk_icon(((modelica_integer) 1) + _currentDim));
1291#line 3561 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1292 tmpMeta[0] = omc_HpcOmMemory_createArrayIndexCref__impl(threadData, _iIdx, _iDimElemCount, tmpMeta[2]);
1293#line 1293 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1294 goto tmp2_done;
1295 }
1296 case 4: {
1297 modelica_integer tmp14;
1298 modelica_boolean tmp15;
1299 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1300 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],1,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((3 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
1301 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
1302 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
1303 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (4)))))
;
1304 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1305 tmp14 = mmc_unbox_integer(tmpMeta[5])(((mmc_sint_t) (tmpMeta[5])) >> 1);
1306 _ident = tmpMeta[2];
1307 _identType = tmpMeta[3];
1308 _subscriptLst = tmpMeta[4];
1309 _currentDim = tmp14 /* pattern as ty=Integer */;
1310 /* Pattern matching succeeded */
1311#line 3564 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1312 /* Pattern-matching assignment */
1313#line 3564 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1314 tmp15 = (_currentDim <= listLength(_iDimElemCount));
1315#line 3564 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1316 if (0 != tmp15) goto goto_1;
1317#line 1317 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1318#line 3566 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1319 tmpMeta[0] = _iRefCurrentDim;
1320#line 1320 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1321 goto tmp2_done;
1322 }
1323 case 5: {
1324
1325 /* Pattern matching succeeded */
1326#line 3569 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1327 fputs(MMC_STRINGDATA(_OMC_LIT1)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT1).header) + 3))) - 3)))->data)
,stdoutstdout);
1328#line 1328 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1329#line 3570 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1330 tmpMeta[0] = _iRefCurrentDim;
1331#line 1331 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1332 goto tmp2_done;
1333 }
1334 }
1335 goto tmp2_end;
1336 tmp2_end: ;
1337 }
1338 goto goto_1;
1339 tmp2_done:
1340 (void)tmp3;
1341 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1342 goto tmp2_done2;
1343 goto_1:;
1344 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1345 if (++tmp3 < 6) {
1346 goto tmp2_top;
1347 }
1348 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1349 tmp2_done2:;
1350 }
1351 }
1352 _oRefCurrentDim = tmpMeta[0];
1353 _return: OMC_LABEL_UNUSED__attribute__((unused))
1354 return _oRefCurrentDim;
1355}
1356PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_createArrayIndexCref__impl(threadData_t *threadData, modelica_metatype _iIdx, modelica_metatype _iDimElemCount, modelica_metatype _iRefCurrentDim)
1357{
1358 modelica_integer tmp1;
1359 modelica_metatype _oRefCurrentDim = NULL((void*)0);
1360 tmp1 = mmc_unbox_integer(_iIdx)(((mmc_sint_t) (_iIdx)) >> 1);
1361 _oRefCurrentDim = omc_HpcOmMemory_createArrayIndexCref__impl(threadData, tmp1, _iDimElemCount, _iRefCurrentDim);
1362 /* skip box _oRefCurrentDim; tuple<DAE.ComponentRef, #Integer> */
1363 return _oRefCurrentDim;
1364}
1365
1366PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createArrayIndexCref(threadData_t *threadData, modelica_integer _iIdx, modelica_metatype _iDimElemCount, modelica_metatype _iCref)
1367{
1368 modelica_metatype _oCref = NULL((void*)0);
1369 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1370 MMC_SO()mmc_check_stackoverflow(threadData);
1371 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1372 // _oCref has no default value.
1373#line 3512 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1374 /* Pattern-matching assignment */
1375#line 3512 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1376 tmpMeta[0] = mmc_mk_box2(0, _iCref, mmc_mk_integermmc_mk_icon(((modelica_integer) 1)));
1377#line 3512 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1378 tmpMeta[1] = omc_HpcOmMemory_createArrayIndexCref__impl(threadData, _iIdx, _iDimElemCount, tmpMeta[0]);
1379#line 3512 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1380 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
1381#line 3512 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1382 _oCref = tmpMeta[2];
1383#line 1383 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1384 _return: OMC_LABEL_UNUSED__attribute__((unused))
1385 return _oCref;
1386}
1387PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_createArrayIndexCref(threadData_t *threadData, modelica_metatype _iIdx, modelica_metatype _iDimElemCount, modelica_metatype _iCref)
1388{
1389 modelica_integer tmp1;
1390 modelica_metatype _oCref = NULL((void*)0);
1391 tmp1 = mmc_unbox_integer(_iIdx)(((mmc_sint_t) (_iIdx)) >> 1);
1392 _oCref = omc_HpcOmMemory_createArrayIndexCref(threadData, tmp1, _iDimElemCount, _iCref);
1393 /* skip box _oCref; DAE.ComponentRef */
1394 return _oCref;
1395}
1396
1397PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_expandCref1(threadData_t *threadData, modelica_metatype _iCref, modelica_integer _iElems, modelica_metatype _iDimElemCount)
1398{
1399 modelica_metatype _oCrefs = NULL((void*)0);
1400 modelica_metatype _tmpCrefs = NULL((void*)0);
1401 modelica_metatype _idxList = NULL((void*)0);
1402 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
1403 MMC_SO()mmc_check_stackoverflow(threadData);
1404 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1405 // _oCrefs has no default value.
1406 // _tmpCrefs has no default value.
1407 // _idxList has no default value.
1408#line 1408 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1409 { /* matchcontinue expression */
1410 {
1411 volatile mmc_switch_type tmp3;
1412 int tmp4;
1413 tmp3 = 0;
1414 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) {
1415 tmp2_top:
1416 threadData->mmc_jumper = &new_mmc_jumper;
1417 for (; tmp3 < 2; tmp3++) {
1418 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1419 case 0: {
1420 modelica_boolean tmp5;
1421 /* Pattern matching succeeded */
1422#line 3491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1423 _tmpCrefs = omc_ComponentReference_expandCref(threadData, _iCref, 0);
1424#line 1424 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1425
1426#line 3492 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1427 /* Pattern-matching assignment */
1428#line 3492 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1429 tmp5 = (listLength(_tmpCrefs) == _iElems);
1430#line 3492 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1431 if (1 != tmp5) goto goto_1;
1432#line 1432 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1433#line 3493 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1434 tmpMeta[0] = _tmpCrefs;
1435#line 1435 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1436 goto tmp2_done;
1437 }
1438 case 1: {
1439 /* Pattern matching succeeded */
1440#line 3497 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1441 _idxList = omc_List_intRange(threadData, mmc_unbox_integer(omc_List_reduce(threadData, _iDimElemCount, boxvar_intMul))(((mmc_sint_t) (omc_List_reduce(threadData, _iDimElemCount, (
(void*)((char*)(&(boxvar_lit_intMul).header) + 3))))) >>
1)
);
1442#line 1442 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1443#line 3500 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1444 tmpMeta[0] = omc_List_map2(threadData, _idxList, boxvar_HpcOmMemory_createArrayIndexCref((void*)((char*)(&(boxvar_lit_HpcOmMemory_createArrayIndexCref
).header) + 3))
, _iDimElemCount, _iCref);
1445#line 1445 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1446 goto tmp2_done;
1447 }
1448 }
1449 goto tmp2_end;
1450 tmp2_end: ;
1451 }
1452 goto goto_1;
1453 tmp2_done:
1454 (void)tmp3;
1455 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1456 goto tmp2_done2;
1457 goto_1:;
1458 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1459 if (++tmp3 < 2) {
1460 goto tmp2_top;
1461 }
1462 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1463 tmp2_done2:;
1464 }
1465 }
1466 _oCrefs = tmpMeta[0];
1467 _return: OMC_LABEL_UNUSED__attribute__((unused))
1468 return _oCrefs;
1469}
1470PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_expandCref1(threadData_t *threadData, modelica_metatype _iCref, modelica_metatype _iElems, modelica_metatype _iDimElemCount)
1471{
1472 modelica_integer tmp1;
1473 modelica_metatype _oCrefs = NULL((void*)0);
1474 tmp1 = mmc_unbox_integer(_iElems)(((mmc_sint_t) (_iElems)) >> 1);
1475 _oCrefs = omc_HpcOmMemory_expandCref1(threadData, _iCref, tmp1, _iDimElemCount);
1476 /* skip box _oCrefs; list<DAE.ComponentRef> */
1477 return _oCrefs;
1478}
1479
1480PROTECTED_FUNCTION_STATIC modelica_integer omc_HpcOmMemory_getCrefDims(threadData_t *threadData, modelica_metatype _iCref)
1481{
1482 modelica_integer _oDims;
1483 modelica_metatype _componentRef = NULL((void*)0);
1484 modelica_metatype _subscriptLst = NULL((void*)0);
1485 modelica_integer _tmpDims;
1486 modelica_integer tmp1 = 0;
1487 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
1488 MMC_SO()mmc_check_stackoverflow(threadData);
1489 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1490 // _oDims has no default value.
1491 // _componentRef has no default value.
1492 // _subscriptLst has no default value.
1493 // _tmpDims has no default value.
1494#line 1494 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1495 { /* match expression */
1496 modelica_metatype tmp4_1;
1497 tmp4_1 = _iCref;
1498 {
1499 int tmp4;
1500 {
1501 switch (MMC_SWITCH_CAST(valueConstructor(tmp4_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> 2
) & 255))
) {
1502 case 3: {
1503 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
1504 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(5)))))
;
1505 _componentRef = tmpMeta[0];
1506 /* Pattern matching succeeded */
1507#line 3467 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1508 /* Tail recursive call */
1509#line 3467 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1510 _iCref = _componentRef;
1511#line 3467 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1512 goto _tailrecursive;
1513#line 3467 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1514 /* TODO: Make sure any eventual dead code below is never generated */
1515#line 1515 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1516 goto tmp3_done;
1517 }
1518 case 4: {
1519 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
1520 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(4)))))
;
1521 _subscriptLst = tmpMeta[0];
1522 /* Pattern matching succeeded */
1523#line 3470 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1524 tmp1 = listLength(_subscriptLst);
1525#line 1525 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1526 goto tmp3_done;
1527 }
1528 default:
1529 tmp3_default: OMC_LABEL_UNUSED__attribute__((unused)); {
1530
1531 /* Pattern matching succeeded */
1532#line 3474 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1533 fputs(MMC_STRINGDATA(_OMC_LIT2)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT2).header) + 3))) - 3)))->data)
,stdoutstdout);
1534#line 1534 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1535#line 3475 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1536 tmp1 = ((modelica_integer) 0);
1537#line 1537 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1538 goto tmp3_done;
1539 }
1540 }
1541 goto tmp3_end;
1542 tmp3_end: ;
1543 }
1544 goto goto_2;
1545 goto_2:;
1546 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1547 goto tmp3_done;
1548 tmp3_done:;
1549 }
1550 }
1551 _oDims = tmp1;
1552 _return: OMC_LABEL_UNUSED__attribute__((unused))
1553 return _oDims;
1554}
1555PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_getCrefDims(threadData_t *threadData, modelica_metatype _iCref)
1556{
1557 modelica_integer _oDims;
1558 modelica_metatype out_oDims;
1559 _oDims = omc_HpcOmMemory_getCrefDims(threadData, _iCref);
1560 out_oDims = mmc_mk_icon(_oDims);
1561 return out_oDims;
1562}
1563
1564PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getDimElemCount(threadData_t *threadData, modelica_metatype _iNumArrayElems, modelica_integer _iDims)
1565{
1566 modelica_metatype _oNumArrayElems = NULL((void*)0);
1567 modelica_metatype _dimList = NULL((void*)0);
1568 modelica_metatype _intNumArrayElems = NULL((void*)0);
1569 modelica_integer _dims;
1570 MMC_SO()mmc_check_stackoverflow(threadData);
1571 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1572 // _oNumArrayElems has no default value.
1573 // _dimList has no default value.
1574 // _intNumArrayElems has no default value.
1575 // _dims has no default value.
1576#line 3450 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1577 _dims = ((_iDims <= ((modelica_integer) 0))?listLength(_iNumArrayElems):_iDims);
1578#line 1578 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1579
1580#line 3451 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1581 _dimList = omc_List_intRange(threadData, _dims);
1582#line 1582 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1583
1584#line 3452 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1585 _intNumArrayElems = omc_List_map(threadData, _iNumArrayElems, boxvar_stringInt((void*)((char*)(&(boxvar_lit_stringInt).header) + 3)));
1586#line 1586 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1587
1588#line 3454 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1589 _oNumArrayElems = omc_List_map1(threadData, _dimList, boxvar_List_getIndexFirst((void*)((char*)(&(boxvar_lit_List_getIndexFirst).header)
+ 3))
, _intNumArrayElems);
1590#line 1590 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1591 _return: OMC_LABEL_UNUSED__attribute__((unused))
1592 return _oNumArrayElems;
1593}
1594PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_getDimElemCount(threadData_t *threadData, modelica_metatype _iNumArrayElems, modelica_metatype _iDims)
1595{
1596 modelica_integer tmp1;
1597 modelica_metatype _oNumArrayElems = NULL((void*)0);
1598 tmp1 = mmc_unbox_integer(_iDims)(((mmc_sint_t) (_iDims)) >> 1);
1599 _oNumArrayElems = omc_HpcOmMemory_getDimElemCount(threadData, _iNumArrayElems, tmp1);
1600 /* skip box _oNumArrayElems; list<#Integer> */
1601 return _oNumArrayElems;
1602}
1603
1604PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_removeSubscripts(threadData_t *threadData, modelica_metatype _iCref)
1605{
1606 modelica_metatype _oCref = NULL((void*)0);
1607 modelica_string _ident = NULL((void*)0);
1608 modelica_metatype _identType = NULL((void*)0);
1609 modelica_metatype _subscriptLst = NULL((void*)0);
1610 modelica_metatype _componentRef = NULL((void*)0);
1611 modelica_integer _index;
1612 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
1613 MMC_SO()mmc_check_stackoverflow(threadData);
1614 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1615 // _oCref has no default value.
1616 // _ident has no default value.
1617 // _identType has no default value.
1618 // _subscriptLst has no default value.
1619 // _componentRef has no default value.
1620 // _index has no default value.
1621#line 1621 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1622 { /* match expression */
1623 modelica_metatype tmp3_1;
1624 tmp3_1 = _iCref;
1625 {
1626 int tmp3;
1627 {
1628 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> 2
) & 255))
) {
1629 case 3: {
1630 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1631 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1632 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1633 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
1634 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
1635 _ident = tmpMeta[1];
1636 _identType = tmpMeta[2];
1637 _subscriptLst = tmpMeta[3];
1638 _componentRef = tmpMeta[4];
1639 /* Pattern matching succeeded */
1640#line 3432 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1641 _componentRef = omc_HpcOmMemory_removeSubscripts(threadData, _componentRef);
1642#line 1642 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1643#line 3433 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1644 tmpMeta[1] = mmc_mk_box5(3, &DAE_ComponentRef_CREF__QUAL__desc, _ident, _identType, _subscriptLst, _componentRef);
1645#line 3433 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1646 tmpMeta[0] = tmpMeta[1];
1647#line 1647 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1648 goto tmp2_done;
1649 }
1650 case 4: {
1651 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
1652 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1653 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1654 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
1655 _ident = tmpMeta[1];
1656 _identType = tmpMeta[2];
1657 _subscriptLst = tmpMeta[3];
1658 /* Pattern matching succeeded */
1659#line 3435 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1660 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1661#line 3435 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1662 tmpMeta[2] = mmc_mk_box4(4, &DAE_ComponentRef_CREF__IDENT__desc, _ident, _identType, tmpMeta[1]);
1663#line 3435 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1664 tmpMeta[0] = tmpMeta[2];
1665#line 1665 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1666 goto tmp2_done;
1667 }
1668 case 5: {
1669 modelica_integer tmp4;
1670 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,2,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((4 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
1671 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1672 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1673 tmp4 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
1674 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
1675 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
1676 _ident = tmpMeta[1];
1677 _index = tmp4 /* pattern as ty=Integer */;
1678 _identType = tmpMeta[3];
1679 _subscriptLst = tmpMeta[4];
1680 /* Pattern matching succeeded */
1681#line 3437 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1682 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1683#line 3437 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1684 tmpMeta[2] = mmc_mk_box5(5, &DAE_ComponentRef_CREF__ITER__desc, _ident, mmc_mk_integermmc_mk_icon(_index), _identType, tmpMeta[1]);
1685#line 3437 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1686 tmpMeta[0] = tmpMeta[2];
1687#line 1687 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1688 goto tmp2_done;
1689 }
1690 default:
1691 tmp2_default: OMC_LABEL_UNUSED__attribute__((unused)); {
1692
1693 /* Pattern matching succeeded */
1694#line 3438 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1695 tmpMeta[0] = _iCref;
1696#line 1696 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1697 goto tmp2_done;
1698 }
1699 }
1700 goto tmp2_end;
1701 tmp2_end: ;
1702 }
1703 goto goto_1;
1704 goto_1:;
1705 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1706 goto tmp2_done;
1707 tmp2_done:;
1708 }
1709 }
1710 _oCref = tmpMeta[0];
1711 _return: OMC_LABEL_UNUSED__attribute__((unused))
1712 return _oCref;
1713}
1714
1715PROTECTED_FUNCTION_STATIC modelica_string omc_HpcOmMemory_getDimStringOfDimElement(threadData_t *threadData, modelica_metatype _iDim)
1716{
1717 modelica_string _oDimString = NULL((void*)0);
1718 modelica_integer _integer;
1719 modelica_string tmp1 = 0;
1720 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
1721 MMC_SO()mmc_check_stackoverflow(threadData);
1722 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1723 // _oDimString has no default value.
1724 // _integer has no default value.
1725#line 1725 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1726 { /* match expression */
1727 modelica_metatype tmp4_1;
1728 tmp4_1 = _iDim;
1729 {
1730 volatile mmc_switch_type tmp4;
1731 int tmp5;
1732 tmp4 = 0;
1733 for (; tmp4 < 2; tmp4++) {
1734 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1735 case 0: {
1736 modelica_integer tmp6;
1737 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,0,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
1738 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
1739 tmp6 = mmc_unbox_integer(tmpMeta[0])(((mmc_sint_t) (tmpMeta[0])) >> 1);
1740 _integer = tmp6 /* pattern as ty=Integer */;
1741 /* Pattern matching succeeded */
1742#line 3411 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1743 tmp1 = intString(_integer);
1744#line 1744 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1745 goto tmp3_done;
1746 }
1747 case 1: {
1748
1749 /* Pattern matching succeeded */
1750#line 3414 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1751 fputs(MMC_STRINGDATA(_OMC_LIT3)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT3).header) + 3))) - 3)))->data)
,stdoutstdout);
1752#line 1752 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1753#line 3415 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1754 tmp1 = _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3));
1755#line 1755 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1756 goto tmp3_done;
1757 }
1758 }
1759 goto tmp3_end;
1760 tmp3_end: ;
1761 }
1762 goto goto_2;
1763 goto_2:;
1764 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1765 goto tmp3_done;
1766 tmp3_done:;
1767 }
1768 }
1769 _oDimString = tmp1;
1770 _return: OMC_LABEL_UNUSED__attribute__((unused))
1771 return _oDimString;
1772}
1773
1774DLLExport
1775modelica_metatype omc_HpcOmMemory_expandCrefWithDims(threadData_t *threadData, modelica_metatype _iCref, modelica_metatype _iDims)
1776{
1777 modelica_metatype _oCrefs = NULL((void*)0);
1778 modelica_integer _elems;
1779 modelica_integer _dims;
1780 modelica_metatype _dimElemCount = NULL((void*)0);
1781 modelica_metatype _cref = NULL((void*)0);
1782 modelica_metatype _dim = NULL((void*)0);
1783 modelica_metatype _numArrayElems = NULL((void*)0);
1784 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1785 MMC_SO()mmc_check_stackoverflow(threadData);
1786 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1787 // _oCrefs has no default value.
1788 // _elems has no default value.
1789 // _dims has no default value.
1790 // _dimElemCount has no default value.
1791 // _cref has no default value.
1792 // _dim has no default value.
1793 // _numArrayElems has no default value.
1794#line 3396 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1795 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1796#line 3396 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1797 _numArrayElems = tmpMeta[0];
1798#line 1798 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1799
1800#line 3397 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1801 {
1802#line 3397 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1803 modelica_metatype _dim;
1804#line 3397 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1805 for (tmpMeta[0] = _iDims; !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)))))
)
1806#line 3397 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1807 {
1808#line 3397 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1809 _dim = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
1810#line 3398 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1811 tmpMeta[1] = mmc_mk_cons(omc_HpcOmMemory_getDimStringOfDimElement(threadData, _dim), _numArrayElems);
1812#line 3398 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1813 _numArrayElems = tmpMeta[1];
1814#line 1814 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1815 }
1816 }
1817
1818#line 3400 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1819 _oCrefs = omc_HpcOmMemory_expandCref(threadData, _iCref, _numArrayElems);
1820#line 1820 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1821 _return: OMC_LABEL_UNUSED__attribute__((unused))
1822 return _oCrefs;
1823}
1824
1825DLLExport
1826modelica_metatype omc_HpcOmMemory_expandCref(threadData_t *threadData, modelica_metatype _iCref, modelica_metatype _iNumArrayElems)
1827{
1828 modelica_metatype _oCrefs = NULL((void*)0);
1829 modelica_integer _elems;
1830 modelica_integer _dims;
1831 modelica_metatype _dimElemCount = NULL((void*)0);
1832 modelica_metatype _cref = NULL((void*)0);
1833 MMC_SO()mmc_check_stackoverflow(threadData);
1834 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1835 // _oCrefs has no default value.
1836 // _elems has no default value.
1837 // _dims has no default value.
1838 // _dimElemCount has no default value.
1839 // _cref has no default value.
1840#line 3372 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1841 _cref = omc_HpcOmMemory_removeSubscripts(threadData, _iCref);
1842#line 1842 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1843
1844#line 3374 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1845 _dims = omc_HpcOmMemory_getCrefDims(threadData, _iCref);
1846#line 1846 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1847
1848#line 3376 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1849 _dimElemCount = omc_HpcOmMemory_getDimElemCount(threadData, listReverse(_iNumArrayElems), _dims);
1850#line 1850 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1851
1852#line 3378 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1853 _elems = mmc_unbox_integer(omc_List_reduce(threadData, _dimElemCount, boxvar_intMul))(((mmc_sint_t) (omc_List_reduce(threadData, _dimElemCount, ((
void*)((char*)(&(boxvar_lit_intMul).header) + 3))))) >>
1)
;
1854#line 1854 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1855
1856#line 3380 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1857 _dims = listLength(_iNumArrayElems);
1858#line 1858 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1859
1860#line 3382 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1861 _oCrefs = omc_HpcOmMemory_expandCref1(threadData, _cref, _elems, _dimElemCount);
1862#line 1862 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1863 _return: OMC_LABEL_UNUSED__attribute__((unused))
1864 return _oCrefs;
1865}
1866
1867DLLExport
1868modelica_metatype omc_HpcOmMemory_getSubscriptListOfArrayCref(threadData_t *threadData, modelica_metatype _iCref, modelica_metatype _iNumArrayElems)
1869{
1870 modelica_metatype _oSubscriptList = NULL((void*)0);
1871 modelica_metatype _tmpCrefs = NULL((void*)0);
1872 modelica_metatype _cref = NULL((void*)0);
1873 MMC_SO()mmc_check_stackoverflow(threadData);
1874 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1875 // _oSubscriptList has no default value.
1876 // _tmpCrefs has no default value.
1877 // _cref has no default value.
1878#line 3356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1879 _tmpCrefs = omc_HpcOmMemory_expandCref(threadData, _iCref, _iNumArrayElems);
1880#line 1880 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1881
1882#line 3360 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1883 _oSubscriptList = omc_List_map(threadData, _tmpCrefs, boxvar_ComponentReference_crefLastSubs((void*)((char*)(&(boxvar_lit_ComponentReference_crefLastSubs
).header) + 3))
);
1884#line 1884 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1885 _return: OMC_LABEL_UNUSED__attribute__((unused))
1886 return _oSubscriptList;
1887}
1888
1889PROTECTED_FUNCTION_STATIC void omc_HpcOmMemory_printSimCodeVarTypes(threadData_t *threadData, modelica_metatype _iSimCodeVarTypes)
1890{
1891 modelica_integer _varIdx;
1892 modelica_integer _varDataType;
1893 modelica_integer _varSize;
1894 modelica_integer _varType;
1895 modelica_integer tmp1;
1896 modelica_integer tmp2;
1897 modelica_integer tmp3;
1898 modelica_integer tmp4;
1899 modelica_integer tmp5;
1900 modelica_integer tmp6;
1901 modelica_metatype tmpMeta[8] __attribute__((unused)) = {0};
1902 MMC_SO()mmc_check_stackoverflow(threadData);
1903 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1904 // _varIdx has no default value.
1905 // _varDataType has no default value.
1906 // _varSize has no default value.
1907 // _varType has no default value.
1908#line 3336 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1909 tmp4 = ((modelica_integer) 1); tmp5 = 1; tmp6 = arrayLength(_iSimCodeVarTypes);
1910#line 3336 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1911 if(!(((tmp5 > 0) && (tmp4 > tmp6)) || ((tmp5 < 0) && (tmp4 < tmp6))))
1912#line 3336 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1913 {
1914#line 3336 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1915 modelica_integer _varIdx;
1916#line 3336 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1917 for(_varIdx = ((modelica_integer) 1); in_range_integer(_varIdx, tmp4, tmp6); _varIdx += tmp5)
1918#line 3336 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1919 {
1920#line 3337 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1921 /* Pattern-matching assignment */
1922#line 3337 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1923 tmpMeta[0] = arrayGet(_iSimCodeVarTypes, _varIdx)nobox_arrayGet(threadData,_iSimCodeVarTypes,_varIdx);
1924#line 3337 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1925 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
1926#line 3337 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1927 tmp1 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
1928#line 3337 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1929 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
1930#line 3337 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1931 tmp2 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
1932#line 3337 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1933 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
1934#line 3337 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1935 tmp3 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
1936#line 3337 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1937 _varDataType = tmp1 /* pattern as ty=Integer */;
1938#line 3337 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1939 _varSize = tmp2 /* pattern as ty=Integer */;
1940#line 3337 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1941 _varType = tmp3 /* pattern as ty=Integer */;
1942#line 1942 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1943
1944#line 3338 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1945 tmpMeta[0] = stringAppend(_OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)),intString(_varIdx));
1946#line 3338 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1947 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)));
1948#line 3338 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1949 tmpMeta[2] = stringAppend(tmpMeta[1],intString(_varDataType));
1950#line 3338 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1951 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)));
1952#line 3338 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1953 tmpMeta[4] = stringAppend(tmpMeta[3],intString(_varSize));
1954#line 3338 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1955 tmpMeta[5] = stringAppend(tmpMeta[4],_OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)));
1956#line 3338 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1957 tmpMeta[6] = stringAppend(tmpMeta[5],intString(_varType));
1958#line 3338 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1959 tmpMeta[7] = stringAppend(tmpMeta[6],_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)));
1960#line 3338 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1961 fputs(MMC_STRINGDATA(tmpMeta[7])(((struct mmc_string*)((void*)((char*)(tmpMeta[7]) - 3)))->
data)
,stdoutstdout);
1962#line 1962 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1963 }
1964 }
1965 _return: OMC_LABEL_UNUSED__attribute__((unused))
1966 return;
1967}
1968
1969PROTECTED_FUNCTION_STATIC modelica_string omc_HpcOmMemory_dumpScVarsByIdx(threadData_t *threadData, modelica_integer _iSimCodeVarIdx, modelica_metatype _iAllSCVarsMapping)
1970{
1971 modelica_string _oString = NULL((void*)0);
1972 modelica_string _tmpString = NULL((void*)0);
1973 modelica_metatype _simVar = NULL((void*)0);
1974 modelica_string tmp1 = 0;
1975 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1976 MMC_SO()mmc_check_stackoverflow(threadData);
1977 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1978 // _oString has no default value.
1979 // _tmpString has no default value.
1980 // _simVar has no default value.
1981#line 1981 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
1982 { /* matchcontinue expression */
1983 {
1984 volatile mmc_switch_type tmp4;
1985 int tmp5;
1986 tmp4 = 0;
1987 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) {
1988 tmp3_top:
1989 threadData->mmc_jumper = &new_mmc_jumper;
1990 for (; tmp4 < 2; tmp4++) {
1991 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1992 case 0: {
1993 /* Pattern matching succeeded */
1994#line 3321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1995 /* Pattern-matching assignment */
1996#line 3321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1997 tmpMeta[0] = arrayGet(_iAllSCVarsMapping, _iSimCodeVarIdx)nobox_arrayGet(threadData,_iAllSCVarsMapping,_iSimCodeVarIdx);
1998#line 3321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
1999 if (optionNone(tmpMeta[0])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[0]) - 3)))) >> 10)) ? 1 : 0)
) goto goto_2;
2000#line 3321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2001 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
2002#line 3321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2003 _simVar = tmpMeta[1];
2004#line 2004 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2005#line 3322 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2006 tmp1 = omc_HpcOmMemory_dumpSimCodeVar(threadData, _simVar);
2007#line 2007 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2008 goto tmp3_done;
2009 }
2010 case 1: {
2011 /* Pattern matching succeeded */
2012#line 3326 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2013 tmpMeta[0] = stringAppend(_OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)),intString(_iSimCodeVarIdx));
2014#line 3326 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2015 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)));
2016#line 3326 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2017 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
2018#line 2018 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2019#line 3327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2020 tmp1 = _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3));
2021#line 2021 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2022 goto tmp3_done;
2023 }
2024 }
2025 goto tmp3_end;
2026 tmp3_end: ;
2027 }
2028 goto goto_2;
2029 tmp3_done:
2030 (void)tmp4;
2031 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2032 goto tmp3_done2;
2033 goto_2:;
2034 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2035 if (++tmp4 < 2) {
2036 goto tmp3_top;
2037 }
2038 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2039 tmp3_done2:;
2040 }
2041 }
2042 _oString = tmp1;
2043 _return: OMC_LABEL_UNUSED__attribute__((unused))
2044 return _oString;
2045}
2046PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_dumpScVarsByIdx(threadData_t *threadData, modelica_metatype _iSimCodeVarIdx, modelica_metatype _iAllSCVarsMapping)
2047{
2048 modelica_integer tmp1;
2049 modelica_string _oString = NULL((void*)0);
2050 tmp1 = mmc_unbox_integer(_iSimCodeVarIdx)(((mmc_sint_t) (_iSimCodeVarIdx)) >> 1);
2051 _oString = omc_HpcOmMemory_dumpScVarsByIdx(threadData, tmp1, _iAllSCVarsMapping);
2052 /* skip box _oString; String */
2053 return _oString;
2054}
2055
2056PROTECTED_FUNCTION_STATIC void omc_HpcOmMemory_printScVarInfos(threadData_t *threadData, modelica_metatype _iScVarInfos)
2057{
2058 modelica_integer _scVarIdx;
2059 modelica_integer _ownerThread;
2060 modelica_boolean _isShared;
2061 modelica_integer tmp1;
2062 modelica_integer tmp2;
2063 modelica_integer tmp3;
2064 modelica_integer tmp4;
2065 modelica_integer tmp5;
2066 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
2067 MMC_SO()mmc_check_stackoverflow(threadData);
2068 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2069 // _scVarIdx has no default value.
2070 // _ownerThread has no default value.
2071 // _isShared has no default value.
2072#line 3303 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2073 fputs(MMC_STRINGDATA(_OMC_LIT12)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT12).header) + 3))) - 3)))->data)
,stdoutstdout);
2074#line 2074 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2075
2076#line 3304 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2077 tmp3 = ((modelica_integer) 1); tmp4 = 1; tmp5 = arrayLength(_iScVarInfos);
2078#line 3304 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2079 if(!(((tmp4 > 0) && (tmp3 > tmp5)) || ((tmp4 < 0) && (tmp3 < tmp5))))
2080#line 3304 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2081 {
2082#line 3304 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2083 modelica_integer _scVarIdx;
2084#line 3304 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2085 for(_scVarIdx = ((modelica_integer) 1); in_range_integer(_scVarIdx, tmp3, tmp5); _scVarIdx += tmp4)
2086#line 3304 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2087 {
2088#line 3305 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2089 /* Pattern-matching assignment */
2090#line 3305 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2091 tmpMeta[0] = arrayGet(_iScVarInfos, _scVarIdx)nobox_arrayGet(threadData,_iScVarInfos,_scVarIdx);
2092#line 3305 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2093 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2094#line 3305 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2095 tmp1 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
2096#line 3305 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2097 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
2098#line 3305 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2099 tmp2 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
2100#line 3305 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2101 _ownerThread = tmp1 /* pattern as ty=Integer */;
2102#line 3305 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2103 _isShared = tmp2 /* pattern as ty=Boolean */;
2104#line 2104 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2105
2106#line 3306 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2107 tmpMeta[0] = stringAppend(_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)),intString(_scVarIdx));
2108#line 3306 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2109 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)));
2110#line 3306 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2111 tmpMeta[2] = stringAppend(tmpMeta[1],intString(_ownerThread));
2112#line 3306 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2113 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)));
2114#line 3306 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2115 tmpMeta[4] = stringAppend(tmpMeta[3],(_isShared?_OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)):_OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))));
2116#line 3306 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2117 tmpMeta[5] = stringAppend(tmpMeta[4],_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)));
2118#line 3306 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2119 fputs(MMC_STRINGDATA(tmpMeta[5])(((struct mmc_string*)((void*)((char*)(tmpMeta[5]) - 3)))->
data)
,stdoutstdout);
2120#line 2120 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2121 }
2122 }
2123 _return: OMC_LABEL_UNUSED__attribute__((unused))
2124 return;
2125}
2126
2127PROTECTED_FUNCTION_STATIC modelica_integer omc_HpcOmMemory_printSccNodeMapping0(threadData_t *threadData, modelica_integer _iMappingEntry, modelica_integer _iIdx)
2128{
2129 modelica_integer _oIdx;
2130 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2131 MMC_SO()mmc_check_stackoverflow(threadData);
2132 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2133 // _oIdx has no default value.
2134#line 3292 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2135 tmpMeta[0] = stringAppend(_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)),intString(_iIdx));
2136#line 3292 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2137 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)));
2138#line 3292 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2139 tmpMeta[2] = stringAppend(tmpMeta[1],intString(_iMappingEntry));
2140#line 3292 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2141 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)));
2142#line 3292 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2143 fputs(MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
,stdoutstdout);
2144#line 2144 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2145
2146#line 3293 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2147 _oIdx = ((modelica_integer) 1) + _iIdx;
2148#line 2148 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2149 _return: OMC_LABEL_UNUSED__attribute__((unused))
2150 return _oIdx;
2151}
2152PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_printSccNodeMapping0(threadData_t *threadData, modelica_metatype _iMappingEntry, modelica_metatype _iIdx)
2153{
2154 modelica_integer tmp1;
2155 modelica_integer tmp2;
2156 modelica_integer _oIdx;
2157 modelica_metatype out_oIdx;
2158 tmp1 = mmc_unbox_integer(_iMappingEntry)(((mmc_sint_t) (_iMappingEntry)) >> 1);
2159 tmp2 = mmc_unbox_integer(_iIdx)(((mmc_sint_t) (_iIdx)) >> 1);
2160 _oIdx = omc_HpcOmMemory_printSccNodeMapping0(threadData, tmp1, tmp2);
2161 out_oIdx = mmc_mk_icon(_oIdx);
2162 return out_oIdx;
2163}
2164
2165PROTECTED_FUNCTION_STATIC void omc_HpcOmMemory_printSccNodeMapping(threadData_t *threadData, modelica_metatype _iMapping)
2166{
2167 MMC_SO()mmc_check_stackoverflow(threadData);
2168 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2169#line 3283 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2170 fputs(MMC_STRINGDATA(_OMC_LIT20)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT20).header) + 3))) - 3)))->data)
,stdoutstdout);
2171#line 2171 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2172
2173#line 3284 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2174 omc_Array_fold(threadData, _iMapping, boxvar_HpcOmMemory_printSccNodeMapping0((void*)((char*)(&(boxvar_lit_HpcOmMemory_printSccNodeMapping0
).header) + 3))
, mmc_mk_integermmc_mk_icon(((modelica_integer) 1)));
2175#line 2175 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2176 _return: OMC_LABEL_UNUSED__attribute__((unused))
2177 return;
2178}
2179
2180PROTECTED_FUNCTION_STATIC void omc_HpcOmMemory_printEqSimCodeVarMapping(threadData_t *threadData, modelica_metatype _iMapping)
2181{
2182 modelica_metatype _sysInformations = NULL((void*)0);
2183 modelica_integer _sysIdx;
2184 modelica_metatype _vars = NULL((void*)0);
2185 modelica_integer tmp1;
2186 modelica_integer tmp2;
2187 modelica_integer tmp3;
2188 modelica_integer tmp4;
2189 modelica_integer tmp5;
2190 modelica_integer tmp6;
2191 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2192 MMC_SO()mmc_check_stackoverflow(threadData);
2193 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2194 // _sysInformations has no default value.
2195 // _sysIdx has no default value.
2196 // _vars has no default value.
2197#line 3270 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2198 tmp4 = ((modelica_integer) 1); tmp5 = 1; tmp6 = arrayLength(_iMapping);
2199#line 3270 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2200 if(!(((tmp5 > 0) && (tmp4 > tmp6)) || ((tmp5 < 0) && (tmp4 < tmp6))))
2201#line 3270 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2202 {
2203#line 3270 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2204 modelica_integer _sysIdx;
2205#line 3270 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2206 for(_sysIdx = ((modelica_integer) 1); in_range_integer(_sysIdx, tmp4, tmp6); _sysIdx += tmp5)
2207#line 3270 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2208 {
2209#line 3271 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2210 tmpMeta[0] = stringAppend(_OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)),intString(_sysIdx));
2211#line 3271 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2212 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)));
2213#line 3271 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2214 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
2215#line 2215 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2216
2217#line 3272 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2218 _sysInformations = arrayGet(_iMapping, _sysIdx)nobox_arrayGet(threadData,_iMapping,_sysIdx);
2219#line 2219 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2220
2221#line 3273 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2222 tmp1 = ((modelica_integer) 1); tmp2 = 1; tmp3 = arrayLength(_sysInformations);
2223#line 3273 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2224 if(!(((tmp2 > 0) && (tmp1 > tmp3)) || ((tmp2 < 0) && (tmp1 < tmp3))))
2225#line 3273 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2226 {
2227#line 3273 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2228 modelica_integer _eqIdx;
2229#line 3273 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2230 for(_eqIdx = ((modelica_integer) 1); in_range_integer(_eqIdx, tmp1, tmp3); _eqIdx += tmp2)
2231#line 3273 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2232 {
2233#line 3274 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2234 _vars = arrayGet(_sysInformations, _eqIdx)nobox_arrayGet(threadData,_sysInformations,_eqIdx);
2235#line 2235 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2236 }
2237 }
2238 }
2239 }
2240 _return: OMC_LABEL_UNUSED__attribute__((unused))
2241 return;
2242}
2243
2244PROTECTED_FUNCTION_STATIC modelica_integer omc_HpcOmMemory_printCacheLineTaskMapping0(threadData_t *threadData, modelica_metatype _iTasks, modelica_integer _iCacheLineIdx)
2245{
2246 modelica_integer _oCacheLineIdx;
2247 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2248 MMC_SO()mmc_check_stackoverflow(threadData);
2249 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2250 // _oCacheLineIdx has no default value.
2251#line 3259 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2252 tmpMeta[0] = stringAppend(_OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)),intString(_iCacheLineIdx));
2253#line 3259 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2254 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)));
2255#line 3259 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2256 tmpMeta[2] = stringAppend(tmpMeta[1],stringDelimitList(omc_List_map(threadData, _iTasks, boxvar_intString((void*)((char*)(&(boxvar_lit_intString).header) + 3))), _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))));
2257#line 3259 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2258 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)));
2259#line 3259 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2260 fputs(MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
,stdoutstdout);
2261#line 2261 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2262
2263#line 3260 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2264 _oCacheLineIdx = ((modelica_integer) 1) + _iCacheLineIdx;
2265#line 2265 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2266 _return: OMC_LABEL_UNUSED__attribute__((unused))
2267 return _oCacheLineIdx;
2268}
2269PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_printCacheLineTaskMapping0(threadData_t *threadData, modelica_metatype _iTasks, modelica_metatype _iCacheLineIdx)
2270{
2271 modelica_integer tmp1;
2272 modelica_integer _oCacheLineIdx;
2273 modelica_metatype out_oCacheLineIdx;
2274 tmp1 = mmc_unbox_integer(_iCacheLineIdx)(((mmc_sint_t) (_iCacheLineIdx)) >> 1);
2275 _oCacheLineIdx = omc_HpcOmMemory_printCacheLineTaskMapping0(threadData, _iTasks, tmp1);
2276 out_oCacheLineIdx = mmc_mk_icon(_oCacheLineIdx);
2277 return out_oCacheLineIdx;
2278}
2279
2280PROTECTED_FUNCTION_STATIC void omc_HpcOmMemory_printCacheLineTaskMapping(threadData_t *threadData, modelica_metatype _iCacheLineTaskMapping)
2281{
2282 MMC_SO()mmc_check_stackoverflow(threadData);
2283 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2284#line 3251 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2285 omc_Array_fold(threadData, _iCacheLineTaskMapping, boxvar_HpcOmMemory_printCacheLineTaskMapping0((void*)((char*)(&(boxvar_lit_HpcOmMemory_printCacheLineTaskMapping0
).header) + 3))
, mmc_mk_integermmc_mk_icon(((modelica_integer) 1)));
2286#line 2286 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2287 _return: OMC_LABEL_UNUSED__attribute__((unused))
2288 return;
2289}
2290
2291PROTECTED_FUNCTION_STATIC modelica_integer omc_HpcOmMemory_printScVarTaskMapping0(threadData_t *threadData, modelica_integer _iMappingEntry, modelica_integer _iScVarIdx)
2292{
2293 modelica_integer _oScVarIdx;
2294 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2295 MMC_SO()mmc_check_stackoverflow(threadData);
2296 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2297 // _oScVarIdx has no default value.
2298#line 3244 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2299 tmpMeta[0] = stringAppend(_OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)),intString(_iScVarIdx));
2300#line 3244 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2301 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)));
2302#line 3244 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2303 tmpMeta[2] = stringAppend(tmpMeta[1],intString(_iMappingEntry));
2304#line 3244 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2305 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)));
2306#line 3244 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2307 fputs(MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
,stdoutstdout);
2308#line 2308 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2309
2310#line 3245 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2311 _oScVarIdx = ((modelica_integer) 1) + _iScVarIdx;
2312#line 2312 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2313 _return: OMC_LABEL_UNUSED__attribute__((unused))
2314 return _oScVarIdx;
2315}
2316PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_printScVarTaskMapping0(threadData_t *threadData, modelica_metatype _iMappingEntry, modelica_metatype _iScVarIdx)
2317{
2318 modelica_integer tmp1;
2319 modelica_integer tmp2;
2320 modelica_integer _oScVarIdx;
2321 modelica_metatype out_oScVarIdx;
2322 tmp1 = mmc_unbox_integer(_iMappingEntry)(((mmc_sint_t) (_iMappingEntry)) >> 1);
2323 tmp2 = mmc_unbox_integer(_iScVarIdx)(((mmc_sint_t) (_iScVarIdx)) >> 1);
2324 _oScVarIdx = omc_HpcOmMemory_printScVarTaskMapping0(threadData, tmp1, tmp2);
2325 out_oScVarIdx = mmc_mk_icon(_oScVarIdx);
2326 return out_oScVarIdx;
2327}
2328
2329PROTECTED_FUNCTION_STATIC void omc_HpcOmMemory_printScVarTaskMapping(threadData_t *threadData, modelica_metatype _iMapping)
2330{
2331 MMC_SO()mmc_check_stackoverflow(threadData);
2332 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2333#line 3234 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2334 fputs(MMC_STRINGDATA(_OMC_LIT27)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT27).header) + 3))) - 3)))->data)
,stdoutstdout);
2335#line 2335 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2336
2337#line 3235 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2338 omc_Array_fold(threadData, _iMapping, boxvar_HpcOmMemory_printScVarTaskMapping0((void*)((char*)(&(boxvar_lit_HpcOmMemory_printScVarTaskMapping0
).header) + 3))
, mmc_mk_integermmc_mk_icon(((modelica_integer) 1)));
2339#line 2339 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2340
2341#line 3236 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2342 fputs(MMC_STRINGDATA(_OMC_LIT9)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT9).header) + 3))) - 3)))->data)
,stdoutstdout);
2343#line 2343 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2344 _return: OMC_LABEL_UNUSED__attribute__((unused))
2345 return;
2346}
2347
2348PROTECTED_FUNCTION_STATIC modelica_integer omc_HpcOmMemory_printNodeSimCodeVarMapping0(threadData_t *threadData, modelica_metatype _iMappingEntry, modelica_integer _iNodeIdx)
2349{
2350 modelica_integer _oNodeIdx;
2351 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2352 MMC_SO()mmc_check_stackoverflow(threadData);
2353 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2354 // _oNodeIdx has no default value.
2355#line 3227 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2356 tmpMeta[0] = stringAppend(_OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)),intString(_iNodeIdx));
2357#line 3227 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2358 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)));
2359#line 3227 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2360 tmpMeta[2] = stringAppend(tmpMeta[1],stringDelimitList(omc_List_map(threadData, _iMappingEntry, boxvar_intString((void*)((char*)(&(boxvar_lit_intString).header) + 3))), _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))));
2361#line 3227 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2362 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)));
2363#line 3227 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2364 fputs(MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
,stdoutstdout);
2365#line 2365 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2366
2367#line 3228 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2368 _oNodeIdx = ((modelica_integer) 1) + _iNodeIdx;
2369#line 2369 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2370 _return: OMC_LABEL_UNUSED__attribute__((unused))
2371 return _oNodeIdx;
2372}
2373PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_printNodeSimCodeVarMapping0(threadData_t *threadData, modelica_metatype _iMappingEntry, modelica_metatype _iNodeIdx)
2374{
2375 modelica_integer tmp1;
2376 modelica_integer _oNodeIdx;
2377 modelica_metatype out_oNodeIdx;
2378 tmp1 = mmc_unbox_integer(_iNodeIdx)(((mmc_sint_t) (_iNodeIdx)) >> 1);
2379 _oNodeIdx = omc_HpcOmMemory_printNodeSimCodeVarMapping0(threadData, _iMappingEntry, tmp1);
2380 out_oNodeIdx = mmc_mk_icon(_oNodeIdx);
2381 return out_oNodeIdx;
2382}
2383
2384PROTECTED_FUNCTION_STATIC void omc_HpcOmMemory_printNodeSimCodeVarMapping(threadData_t *threadData, modelica_metatype _iMapping)
2385{
2386 MMC_SO()mmc_check_stackoverflow(threadData);
2387 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2388#line 3217 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2389 fputs(MMC_STRINGDATA(_OMC_LIT30)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT30).header) + 3))) - 3)))->data)
,stdoutstdout);
2390#line 2390 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2391
2392#line 3218 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2393 omc_Array_fold(threadData, _iMapping, boxvar_HpcOmMemory_printNodeSimCodeVarMapping0((void*)((char*)(&(boxvar_lit_HpcOmMemory_printNodeSimCodeVarMapping0
).header) + 3))
, mmc_mk_integermmc_mk_icon(((modelica_integer) 1)));
2394#line 2394 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2395
2396#line 3219 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2397 fputs(MMC_STRINGDATA(_OMC_LIT9)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT9).header) + 3))) - 3)))->data)
,stdoutstdout);
2398#line 2398 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2399 _return: OMC_LABEL_UNUSED__attribute__((unused))
2400 return;
2401}
2402
2403PROTECTED_FUNCTION_STATIC modelica_string omc_HpcOmMemory_dumpSimCodeVar(threadData_t *threadData, modelica_metatype _iVar)
2404{
2405 modelica_string _oString = NULL((void*)0);
2406 modelica_metatype _name = NULL((void*)0);
2407 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2408 MMC_SO()mmc_check_stackoverflow(threadData);
2409 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2410 // _oString has no default value.
2411 // _name has no default value.
2412#line 3210 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2413 /* Pattern-matching assignment */
2414#line 3210 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2415 tmpMeta[0] = _iVar;
2416#line 3210 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2417 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2418#line 3210 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2419 _name = tmpMeta[1];
2420#line 2420 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2421
2422#line 3211 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2423 _oString = omc_ComponentReference_printComponentRefStr(threadData, _name);
2424#line 2424 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2425 _return: OMC_LABEL_UNUSED__attribute__((unused))
2426 return _oString;
2427}
2428
2429PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_cacheLineEntryToStringClean(threadData_t *threadData, modelica_metatype _iCacheLineEntry, modelica_metatype _iString)
2430{
2431 modelica_metatype _oString = NULL((void*)0);
2432 modelica_integer _start;
2433 modelica_integer _dataType;
2434 modelica_integer _size;
2435 modelica_integer _scVarIdx;
2436 modelica_string _scVarStr = NULL((void*)0);
2437 modelica_string _iVarsString = NULL((void*)0);
2438 modelica_string _iBytesString = NULL((void*)0);
2439 modelica_string _iBytesStringNew = NULL((void*)0);
2440 modelica_string _byteStartString = NULL((void*)0);
2441 modelica_integer tmp1;
2442 modelica_integer tmp2;
2443 modelica_integer tmp3;
2444 modelica_integer tmp4;
2445 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
2446 MMC_SO()mmc_check_stackoverflow(threadData);
2447 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2448 // _oString has no default value.
2449 // _start has no default value.
2450 // _dataType has no default value.
2451 // _size has no default value.
2452 // _scVarIdx has no default value.
2453 // _scVarStr has no default value.
2454 // _iVarsString has no default value.
2455 // _iBytesString has no default value.
2456 // _iBytesStringNew has no default value.
2457 // _byteStartString has no default value.
2458#line 3194 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2459 /* Pattern-matching assignment */
2460#line 3194 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2461 tmpMeta[0] = _iString;
2462#line 3194 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2463 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
2464#line 3194 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2465 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2466#line 3194 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2467 _iVarsString = tmpMeta[1];
2468#line 3194 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2469 _iBytesString = tmpMeta[2];
2470#line 2470 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2471
2472#line 3195 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2473 /* Pattern-matching assignment */
2474#line 3195 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2475 tmpMeta[0] = _iCacheLineEntry;
2476#line 3195 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2477 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2478#line 3195 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2479 tmp1 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
2480#line 3195 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2481 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
2482#line 3195 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2483 tmp2 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
2484#line 3195 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2485 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
2486#line 3195 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2487 tmp3 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
2488#line 3195 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2489 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
2490#line 3195 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2491 tmp4 = mmc_unbox_integer(tmpMeta[4])(((mmc_sint_t) (tmpMeta[4])) >> 1);
2492#line 3195 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2493 _start = tmp1 /* pattern as ty=Integer */;
2494#line 3195 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2495 _dataType = tmp2 /* pattern as ty=Integer */;
2496#line 3195 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2497 _size = tmp3 /* pattern as ty=Integer */;
2498#line 3195 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2499 _scVarIdx = tmp4 /* pattern as ty=Integer */;
2500#line 2500 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2501
2502#line 3196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2503 _scVarStr = intString(_scVarIdx);
2504#line 2504 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2505
2506#line 3197 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2507 tmpMeta[0] = stringAppend(_iVarsString,_OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)));
2508#line 3197 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2509 tmpMeta[1] = stringAppend(tmpMeta[0],_scVarStr);
2510#line 3197 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2511 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)));
2512#line 3197 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2513 _iVarsString = tmpMeta[2];
2514#line 2514 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2515
2516#line 3198 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2517 _iBytesStringNew = intString(_start);
2518#line 2518 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2519
2520#line 3199 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2521 _iBytesStringNew = omc_Util_stringPadRight(threadData, _iBytesStringNew, ((modelica_integer) 3) + stringLength(_scVarStr)(((((*(mmc_uint_t*)((void*)((char*)(_scVarStr) - 3)))) >>
(3)) - 8))
, _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)));
2522#line 2522 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2523
2524#line 3200 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2525 tmpMeta[0] = stringAppend(_iBytesString,_iBytesStringNew);
2526#line 3200 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2527 _iBytesString = tmpMeta[0];
2528#line 2528 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2529
2530#line 3201 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2531 tmpMeta[0] = mmc_mk_box2(0, _iVarsString, _iBytesString);
2532#line 3201 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2533 _oString = tmpMeta[0];
2534#line 2534 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2535 _return: OMC_LABEL_UNUSED__attribute__((unused))
2536 return _oString;
2537}
2538
2539PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_cacheLineEntryToString(threadData_t *threadData, modelica_metatype _iCacheLineEntry, modelica_metatype _iCacheVariables, modelica_metatype _iString)
2540{
2541 modelica_metatype _oString = NULL((void*)0);
2542 modelica_integer _start;
2543 modelica_integer _dataType;
2544 modelica_integer _size;
2545 modelica_integer _scVarIdx;
2546 modelica_string _scVarStr = NULL((void*)0);
2547 modelica_metatype _iVar = NULL((void*)0);
2548 modelica_string _iVarsString = NULL((void*)0);
2549 modelica_string _iBytesString = NULL((void*)0);
2550 modelica_string _iBytesStringNew = NULL((void*)0);
2551 modelica_string _byteStartString = NULL((void*)0);
2552 modelica_integer tmp1;
2553 modelica_integer tmp2;
2554 modelica_integer tmp3;
2555 modelica_integer tmp4;
2556 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
2557 MMC_SO()mmc_check_stackoverflow(threadData);
2558 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2559 // _oString has no default value.
2560 // _start has no default value.
2561 // _dataType has no default value.
2562 // _size has no default value.
2563 // _scVarIdx has no default value.
2564 // _scVarStr has no default value.
2565 // _iVar has no default value.
2566 // _iVarsString has no default value.
2567 // _iBytesString has no default value.
2568 // _iBytesStringNew has no default value.
2569 // _byteStartString has no default value.
2570#line 3165 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2571 /* Pattern-matching assignment */
2572#line 3165 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2573 tmpMeta[0] = _iString;
2574#line 3165 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2575 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
2576#line 3165 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2577 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2578#line 3165 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2579 _iVarsString = tmpMeta[1];
2580#line 3165 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2581 _iBytesString = tmpMeta[2];
2582#line 2582 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2583
2584#line 3166 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2585 /* Pattern-matching assignment */
2586#line 3166 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2587 tmpMeta[0] = _iCacheLineEntry;
2588#line 3166 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2589 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2590#line 3166 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2591 tmp1 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
2592#line 3166 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2593 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
2594#line 3166 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2595 tmp2 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
2596#line 3166 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2597 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
2598#line 3166 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2599 tmp3 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
2600#line 3166 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2601 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
2602#line 3166 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2603 tmp4 = mmc_unbox_integer(tmpMeta[4])(((mmc_sint_t) (tmpMeta[4])) >> 1);
2604#line 3166 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2605 _start = tmp1 /* pattern as ty=Integer */;
2606#line 3166 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2607 _dataType = tmp2 /* pattern as ty=Integer */;
2608#line 3166 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2609 _size = tmp3 /* pattern as ty=Integer */;
2610#line 3166 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2611 _scVarIdx = tmp4 /* pattern as ty=Integer */;
2612#line 2612 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2613
2614#line 3168 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2615 _iVar = listGet(_iCacheVariables, ((modelica_integer) 1) + listLength(_iCacheVariables) - _scVarIdx)boxptr_listGet(threadData,_iCacheVariables,mmc_mk_icon(((modelica_integer
) 1) + listLength(_iCacheVariables) - _scVarIdx))
;
2616#line 2616 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2617
2618#line 3169 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2619 tmpMeta[0] = stringAppend(omc_HpcOmMemory_dumpSimCodeVar(threadData, _iVar),_OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)));
2620#line 3169 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2621 tmpMeta[1] = stringAppend(tmpMeta[0],intString(_scVarIdx));
2622#line 3169 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2623 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)));
2624#line 3169 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2625 _scVarStr = tmpMeta[2];
2626#line 2626 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2627
2628#line 3170 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2629 tmpMeta[0] = stringAppend(_iVarsString,_OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)));
2630#line 3170 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2631 tmpMeta[1] = stringAppend(tmpMeta[0],_scVarStr);
2632#line 3170 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2633 _iVarsString = tmpMeta[1];
2634#line 2634 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2635
2636#line 3171 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2637 if((_start > ((modelica_integer) 0)))
2638#line 3171 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2639 {
2640#line 3172 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2641 tmpMeta[0] = stringAppend(_iVarsString,_OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)));
2642#line 3172 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2643 _iVarsString = tmpMeta[0];
2644#line 2644 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2645
2646#line 3173 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2647 _iBytesStringNew = intString(_start);
2648#line 2648 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2649 }
2650 else
2651 {
2652#line 3175 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2653 _iBytesStringNew = _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3));
2654#line 2654 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2655 }
2656
2657#line 3177 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2658 _iBytesStringNew = omc_Util_stringPadLeft(threadData, _iBytesStringNew, ((modelica_integer) 2) + stringLength(_scVarStr)(((((*(mmc_uint_t*)((void*)((char*)(_scVarStr) - 3)))) >>
(3)) - 8))
+ stringLength(_iBytesStringNew)(((((*(mmc_uint_t*)((void*)((char*)(_iBytesStringNew) - 3))))
>> (3)) - 8))
, _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)));
2659#line 2659 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2660
2661#line 3178 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2662 tmpMeta[0] = stringAppend(_iBytesString,_iBytesStringNew);
2663#line 3178 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2664 _iBytesString = tmpMeta[0];
2665#line 2665 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2666
2667#line 3179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2668 tmpMeta[0] = mmc_mk_box2(0, _iVarsString, _iBytesString);
2669#line 3179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2670 _oString = tmpMeta[0];
2671#line 2671 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2672 _return: OMC_LABEL_UNUSED__attribute__((unused))
2673 return _oString;
2674}
2675
2676PROTECTED_FUNCTION_STATIC void omc_HpcOmMemory_printCacheLineMapClean(threadData_t *threadData, modelica_metatype _iCacheLineMap)
2677{
2678 modelica_integer _idx;
2679 modelica_metatype _entries = NULL((void*)0);
2680 modelica_string _iVarsString = NULL((void*)0);
2681 modelica_string _iBytesString = NULL((void*)0);
2682 modelica_integer tmp1;
2683 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2684 MMC_SO()mmc_check_stackoverflow(threadData);
2685 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2686 // _idx has no default value.
2687 // _entries has no default value.
2688 // _iVarsString has no default value.
2689 // _iBytesString has no default value.
2690#line 3143 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2691 /* Pattern-matching assignment */
2692#line 3143 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2693 tmpMeta[0] = _iCacheLineMap;
2694#line 3143 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2695 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2696#line 3143 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2697 tmp1 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
2698#line 3143 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2699 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
2700#line 3143 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2701 _idx = tmp1 /* pattern as ty=Integer */;
2702#line 3143 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2703 _entries = tmpMeta[2];
2704#line 2704 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2705
2706#line 3144 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2707 tmpMeta[0] = stringAppend(_OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)),intString(_idx));
2708#line 3144 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2709 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)));
2710#line 3144 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2711 tmpMeta[2] = stringAppend(tmpMeta[1],intString(listLength(_entries)));
2712#line 3144 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2713 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)));
2714#line 3144 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2715 fputs(MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
,stdoutstdout);
2716#line 2716 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2717
2718#line 3145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2719 /* Pattern-matching assignment */
2720#line 3145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2721 tmpMeta[0] = omc_List_fold(threadData, _entries, boxvar_HpcOmMemory_cacheLineEntryToStringClean((void*)((char*)(&(boxvar_lit_HpcOmMemory_cacheLineEntryToStringClean
).header) + 3))
, _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)));
2722#line 3145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2723 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
2724#line 3145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2725 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2726#line 3145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2727 _iVarsString = tmpMeta[1];
2728#line 3145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2729 _iBytesString = tmpMeta[2];
2730#line 2730 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2731
2732#line 3146 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2733 tmpMeta[0] = stringAppend(_OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)),_iVarsString);
2734#line 3146 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2735 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)));
2736#line 3146 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2737 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
2738#line 2738 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2739
2740#line 3147 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2741 tmpMeta[0] = stringAppend(_OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)),_iBytesString);
2742#line 3147 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2743 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)));
2744#line 3147 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2745 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
2746#line 2746 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2747
2748#line 3148 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2749 fputs(MMC_STRINGDATA(_OMC_LIT9)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT9).header) + 3))) - 3)))->data)
,stdoutstdout);
2750#line 2750 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2751 _return: OMC_LABEL_UNUSED__attribute__((unused))
2752 return;
2753}
2754
2755PROTECTED_FUNCTION_STATIC void omc_HpcOmMemory_printCacheLineMap(threadData_t *threadData, modelica_metatype _iCacheLineMap, modelica_metatype _iCacheVariables)
2756{
2757 modelica_integer _idx;
2758 modelica_metatype _entries = NULL((void*)0);
2759 modelica_string _iVarsString = NULL((void*)0);
2760 modelica_string _iBytesString = NULL((void*)0);
2761 modelica_integer tmp1;
2762 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2763 MMC_SO()mmc_check_stackoverflow(threadData);
2764 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2765 // _idx has no default value.
2766 // _entries has no default value.
2767 // _iVarsString has no default value.
2768 // _iBytesString has no default value.
2769#line 3128 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2770 /* Pattern-matching assignment */
2771#line 3128 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2772 tmpMeta[0] = _iCacheLineMap;
2773#line 3128 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2774 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2775#line 3128 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2776 tmp1 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
2777#line 3128 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2778 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
2779#line 3128 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2780 _idx = tmp1 /* pattern as ty=Integer */;
2781#line 3128 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2782 _entries = tmpMeta[2];
2783#line 2783 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2784
2785#line 3129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2786 tmpMeta[0] = stringAppend(_OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)),intString(_idx));
2787#line 3129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2788 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)));
2789#line 3129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2790 tmpMeta[2] = stringAppend(tmpMeta[1],intString(listLength(_entries)));
2791#line 3129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2792 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)));
2793#line 3129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2794 fputs(MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
,stdoutstdout);
2795#line 2795 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2796
2797#line 3130 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2798 /* Pattern-matching assignment */
2799#line 3130 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2800 tmpMeta[0] = omc_List_fold1(threadData, _entries, boxvar_HpcOmMemory_cacheLineEntryToString((void*)((char*)(&(boxvar_lit_HpcOmMemory_cacheLineEntryToString
).header) + 3))
, _iCacheVariables, _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)));
2801#line 3130 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2802 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
2803#line 3130 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2804 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2805#line 3130 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2806 _iVarsString = tmpMeta[1];
2807#line 3130 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2808 _iBytesString = tmpMeta[2];
2809#line 2809 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2810
2811#line 3131 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2812 tmpMeta[0] = stringAppend(_OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)),_iVarsString);
2813#line 3131 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2814 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)));
2815#line 3131 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2816 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
2817#line 2817 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2818
2819#line 3132 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2820 tmpMeta[0] = stringAppend(_OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)),_iBytesString);
2821#line 3132 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2822 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)));
2823#line 3132 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2824 fputs(MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
,stdoutstdout);
2825#line 2825 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2826
2827#line 3133 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2828 fputs(MMC_STRINGDATA(_OMC_LIT9)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT9).header) + 3))) - 3)))->data)
,stdoutstdout);
2829#line 2829 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2830 _return: OMC_LABEL_UNUSED__attribute__((unused))
2831 return;
2832}
2833
2834PROTECTED_FUNCTION_STATIC modelica_integer omc_HpcOmMemory_printCacheVariable(threadData_t *threadData, modelica_metatype _iCacheVariable, modelica_integer _iIdx)
2835{
2836 modelica_integer _oIdx;
2837 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2838 MMC_SO()mmc_check_stackoverflow(threadData);
2839 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2840 // _oIdx has no default value.
2841#line 3116 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2842 tmpMeta[0] = stringAppend(_OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)),intString(_iIdx));
2843#line 3116 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2844 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)));
2845#line 3116 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2846 tmpMeta[2] = stringAppend(tmpMeta[1],omc_HpcOmMemory_dumpSimCodeVar(threadData, _iCacheVariable));
2847#line 3116 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2848 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)));
2849#line 3116 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2850 fputs(MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
,stdoutstdout);
2851#line 2851 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2852
2853#line 3117 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2854 _oIdx = ((modelica_integer) -1) + _iIdx;
2855#line 2855 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2856 _return: OMC_LABEL_UNUSED__attribute__((unused))
2857 return _oIdx;
2858}
2859PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_printCacheVariable(threadData_t *threadData, modelica_metatype _iCacheVariable, modelica_metatype _iIdx)
2860{
2861 modelica_integer tmp1;
2862 modelica_integer _oIdx;
2863 modelica_metatype out_oIdx;
2864 tmp1 = mmc_unbox_integer(_iIdx)(((mmc_sint_t) (_iIdx)) >> 1);
2865 _oIdx = omc_HpcOmMemory_printCacheVariable(threadData, _iCacheVariable, tmp1);
2866 out_oIdx = mmc_mk_icon(_oIdx);
2867 return out_oIdx;
2868}
2869
2870PROTECTED_FUNCTION_STATIC void omc_HpcOmMemory_printCacheMap(threadData_t *threadData, modelica_metatype _iCacheMap)
2871{
2872 modelica_integer _cacheLineSize;
2873 modelica_metatype _cacheLinesFloat = NULL((void*)0);
2874 modelica_metatype _cacheLinesInt = NULL((void*)0);
2875 modelica_metatype _cacheLinesBool = NULL((void*)0);
2876 modelica_metatype _cacheLines = NULL((void*)0);
2877 modelica_metatype _cacheVariables = NULL((void*)0);
2878 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
2879 MMC_SO()mmc_check_stackoverflow(threadData);
2880 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2881 // _cacheLineSize has no default value.
2882 // _cacheLinesFloat has no default value.
2883 // _cacheLinesInt has no default value.
2884 // _cacheLinesBool has no default value.
2885 // _cacheLines has no default value.
2886 // _cacheVariables has no default value.
2887#line 2887 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2888 { /* match expression */
2889 modelica_metatype tmp3_1;
2890 tmp3_1 = _iCacheMap;
2891 {
2892 int tmp3;
2893 {
2894 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> 2
) & 255))
) {
2895 case 3: {
2896 modelica_integer tmp4;
2897 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((5 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
2898 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2899 tmp4 = mmc_unbox_integer(tmpMeta[0])(((mmc_sint_t) (tmpMeta[0])) >> 1);
2900 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2901 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
2902 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(5)))))
;
2903 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(6)))))
;
2904 _cacheLineSize = tmp4 /* pattern as ty=Integer */;
2905 _cacheVariables = tmpMeta[1];
2906 _cacheLinesFloat = tmpMeta[2];
2907 _cacheLinesInt = tmpMeta[3];
2908 _cacheLinesBool = tmpMeta[4];
2909 /* Pattern matching succeeded */
2910#line 3088 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2911 fputs(MMC_STRINGDATA(_OMC_LIT41)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT41).header) + 3))) - 3)))->data)
,stdoutstdout);
2912#line 2912 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2913
2914#line 3089 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2915 fputs(MMC_STRINGDATA(_OMC_LIT42)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT42).header) + 3))) - 3)))->data)
,stdoutstdout);
2916#line 2916 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2917
2918#line 3090 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2919 omc_List_fold(threadData, _cacheVariables, boxvar_HpcOmMemory_printCacheVariable((void*)((char*)(&(boxvar_lit_HpcOmMemory_printCacheVariable
).header) + 3))
, mmc_mk_integermmc_mk_icon(listLength(_cacheVariables)));
2920#line 2920 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2921
2922#line 3091 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2923 fputs(MMC_STRINGDATA(_OMC_LIT43)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT43).header) + 3))) - 3)))->data)
,stdoutstdout);
2924#line 2924 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2925
2926#line 3092 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2927 omc_List_map1__0(threadData, _cacheLinesFloat, boxvar_HpcOmMemory_printCacheLineMap((void*)((char*)(&(boxvar_lit_HpcOmMemory_printCacheLineMap
).header) + 3))
, _cacheVariables);
2928#line 2928 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2929
2930#line 3093 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2931 fputs(MMC_STRINGDATA(_OMC_LIT44)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT44).header) + 3))) - 3)))->data)
,stdoutstdout);
2932#line 2932 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2933
2934#line 3094 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2935 omc_List_map1__0(threadData, _cacheLinesInt, boxvar_HpcOmMemory_printCacheLineMap((void*)((char*)(&(boxvar_lit_HpcOmMemory_printCacheLineMap
).header) + 3))
, _cacheVariables);
2936#line 2936 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2937
2938#line 3095 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2939 fputs(MMC_STRINGDATA(_OMC_LIT45)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT45).header) + 3))) - 3)))->data)
,stdoutstdout);
2940#line 2940 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2941
2942#line 3096 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2943 omc_List_map1__0(threadData, _cacheLinesBool, boxvar_HpcOmMemory_printCacheLineMap((void*)((char*)(&(boxvar_lit_HpcOmMemory_printCacheLineMap
).header) + 3))
, _cacheVariables);
2944#line 2944 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2945#line 2945 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2946 goto tmp2_done;
2947 }
2948 case 4: {
2949 modelica_integer tmp5;
2950 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
2951 tmpMeta[0] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2952 tmp5 = mmc_unbox_integer(tmpMeta[0])(((mmc_sint_t) (tmpMeta[0])) >> 1);
2953 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
2954 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
2955 _cacheLineSize = tmp5 /* pattern as ty=Integer */;
2956 _cacheVariables = tmpMeta[1];
2957 _cacheLines = tmpMeta[2];
2958 /* Pattern matching succeeded */
2959#line 3100 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2960 fputs(MMC_STRINGDATA(_OMC_LIT46)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT46).header) + 3))) - 3)))->data)
,stdoutstdout);
2961#line 2961 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2962
2963#line 3101 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2964 fputs(MMC_STRINGDATA(_OMC_LIT47)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT47).header) + 3))) - 3)))->data)
,stdoutstdout);
2965#line 2965 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2966
2967#line 3102 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2968 omc_List_map1__0(threadData, _cacheLines, boxvar_HpcOmMemory_printCacheLineMap((void*)((char*)(&(boxvar_lit_HpcOmMemory_printCacheLineMap
).header) + 3))
, _cacheVariables);
2969#line 2969 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2970#line 2970 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2971 goto tmp2_done;
2972 }
2973 default:
2974 tmp2_default: OMC_LABEL_UNUSED__attribute__((unused)); {
2975
2976 /* Pattern matching succeeded */
2977#line 3106 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
2978 fputs(MMC_STRINGDATA(_OMC_LIT48)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT48).header) + 3))) - 3)))->data)
,stdoutstdout);
2979#line 2979 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2980#line 2980 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
2981 goto tmp2_done;
2982 }
2983 }
2984 goto tmp2_end;
2985 tmp2_end: ;
2986 }
2987 goto goto_1;
2988 goto_1:;
2989 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2990 goto tmp2_done;
2991 tmp2_done:;
2992 }
2993 }
2994 ;
2995 _return: OMC_LABEL_UNUSED__attribute__((unused))
2996 return;
2997}
2998
2999PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_appendCacheLineEntryToGraph(threadData_t *threadData, modelica_metatype _iCacheLineEntry, modelica_metatype _iCacheVariables, modelica_metatype _iAddedVariables, modelica_metatype _iSchedulerInfo, modelica_metatype _iTopGraphAttThreadIdIdx, modelica_metatype _iScVarTaskMapping, modelica_metatype _iVarNameSCVarIdxMapping, modelica_metatype _iScVarInfos, modelica_metatype _iGraphInfo)
3000{
3001 modelica_metatype _oGraphInfo = NULL((void*)0);
3002 modelica_metatype _realScVarIdxOffset = NULL((void*)0);
3003 modelica_integer _scVarIdx;
3004 modelica_integer _realScVarIdx;
3005 modelica_integer _realScVarOffset;
3006 modelica_integer _taskIdx;
3007 modelica_integer _iTopGraphIdx;
3008 modelica_integer _iAttThreadIdIdx;
3009 modelica_integer _threadOwner;
3010 modelica_string _varString = NULL((void*)0);
3011 modelica_string _threadText = NULL((void*)0);
3012 modelica_string _nodeLabelText = NULL((void*)0);
3013 modelica_string _nodeId = NULL((void*)0);
3014 modelica_metatype _nodeLabel = NULL((void*)0);
3015 modelica_metatype _iVar = NULL((void*)0);
3016 modelica_metatype _name = NULL((void*)0);
3017 modelica_integer tmp1;
3018 modelica_integer tmp2;
3019 modelica_integer tmp3;
3020 modelica_integer tmp4;
3021 modelica_integer tmp5;
3022 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
3023 MMC_SO()mmc_check_stackoverflow(threadData);
3024 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3025 // _oGraphInfo has no default value.
3026 // _realScVarIdxOffset has no default value.
3027 // _scVarIdx has no default value.
3028 // _realScVarIdx has no default value.
3029 // _realScVarOffset has no default value.
3030 // _taskIdx has no default value.
3031 // _iTopGraphIdx has no default value.
3032 // _iAttThreadIdIdx has no default value.
3033 // _threadOwner has no default value.
3034 // _varString has no default value.
3035 // _threadText has no default value.
3036 // _nodeLabelText has no default value.
3037 // _nodeId has no default value.
3038 // _nodeLabel has no default value.
3039 // _iVar has no default value.
3040 // _name has no default value.
3041#line 3036 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3042 /* Pattern-matching assignment */
3043#line 3036 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3044 tmpMeta[0] = _iCacheLineEntry;
3045#line 3036 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3046 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (5)))))
;
3047#line 3036 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3048 tmp1 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
3049#line 3036 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3050 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (6)))))
;
3051#line 3036 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3052 tmp2 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
3053#line 3036 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3054 _scVarIdx = tmp1 /* pattern as ty=Integer */;
3055#line 3036 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3056 _threadOwner = tmp2 /* pattern as ty=Integer */;
3057#line 3057 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3058
3059#line 3037 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3060 /* Pattern-matching assignment */
3061#line 3037 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3062 tmpMeta[0] = _iTopGraphAttThreadIdIdx;
3063#line 3037 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3064 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
3065#line 3037 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3066 tmp3 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
3067#line 3037 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3068 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
3069#line 3037 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3070 tmp4 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
3071#line 3037 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3072 _iTopGraphIdx = tmp3 /* pattern as ty=Integer */;
3073#line 3037 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3074 _iAttThreadIdIdx = tmp4 /* pattern as ty=Integer */;
3075#line 3075 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3076
3077#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3078 if((((modelica_integer) 1) + arrayLength(_iCacheVariables) - _scVarIdx >= ((modelica_integer) 1)))
3079#line 3039 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3080 {
3081#line 3040 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3082 _iVar = arrayGet(_iCacheVariables, ((modelica_integer) 1) + arrayLength(_iCacheVariables) - _scVarIdx)nobox_arrayGet(threadData,_iCacheVariables,((modelica_integer
) 1) + arrayLength(_iCacheVariables) - _scVarIdx)
;
3083#line 3083 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3084
3085#line 3041 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3086 /* Pattern-matching assignment */
3087#line 3041 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3088 tmpMeta[0] = _iVar;
3089#line 3041 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3090 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
3091#line 3041 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3092 _name = tmpMeta[1];
3093#line 3093 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3094
3095#line 3043 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3096 if(omc_BaseHashTable_hasKey(threadData, _name, _iVarNameSCVarIdxMapping))
3097#line 3043 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3098 {
3099#line 3044 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3100 _realScVarIdxOffset = omc_BaseHashTable_get(threadData, _name, _iVarNameSCVarIdxMapping);
3101#line 3101 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3102
3103#line 3045 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3104 _realScVarIdx = mmc_unbox_integer(listGet(_realScVarIdxOffset, ((modelica_integer) 1)))(((mmc_sint_t) (boxptr_listGet(threadData,_realScVarIdxOffset
,mmc_mk_icon(((modelica_integer) 1))))) >> 1)
;
3105#line 3105 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3106
3107#line 3046 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3108 _realScVarOffset = mmc_unbox_integer(listGet(_realScVarIdxOffset, ((modelica_integer) 2)))(((mmc_sint_t) (boxptr_listGet(threadData,_realScVarIdxOffset
,mmc_mk_icon(((modelica_integer) 2))))) >> 1)
;
3109#line 3109 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3110
3111#line 3047 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3112 _realScVarIdx = _realScVarIdx + _realScVarOffset;
3113#line 3113 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3114
3115#line 3048 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3116 _varString = omc_ComponentReference_printComponentRefStr(threadData, _name);
3117#line 3117 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3118
3119#line 3049 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3120 _taskIdx = mmc_unbox_integer(arrayGet(_iScVarTaskMapping, _realScVarIdx))(((mmc_sint_t) (nobox_arrayGet(threadData,_iScVarTaskMapping,
_realScVarIdx))) >> 1)
;
3121#line 3121 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3122
3123#line 3052 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3124 /* Pattern-matching assignment */
3125#line 3052 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3126 tmpMeta[0] = arrayGet(_iScVarInfos, _realScVarIdx)nobox_arrayGet(threadData,_iScVarInfos,_realScVarIdx);
3127#line 3052 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3128 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
3129#line 3052 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3130 tmp5 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
3131#line 3052 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3132 _threadOwner = tmp5 /* pattern as ty=Integer */;
3133#line 3133 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3134
3135#line 3054 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3136 tmpMeta[0] = stringAppend(_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)),intString(_realScVarIdx));
3137#line 3054 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3138 _nodeId = tmpMeta[0];
3139#line 3139 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3140
3141#line 3056 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3142 arrayUpdate(_iAddedVariables, _realScVarIdx, mmc_mk_boolean(1))boxptr_arrayUpdate(threadData,_iAddedVariables,mmc_mk_icon(_realScVarIdx
),((1) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))))
;
3143#line 3143 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3144
3145#line 3057 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3146 tmpMeta[0] = stringAppend(_OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)),intString(_threadOwner));
3147#line 3057 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3148 _threadText = tmpMeta[0];
3149#line 3149 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3150
3151#line 3058 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3152 _nodeLabelText = intString(_realScVarIdx);
3153#line 3153 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3154
3155#line 3059 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3156 tmpMeta[0] = mmc_mk_box4(3, &GraphML_NodeLabel_NODELABEL__INTERNAL__desc, _nodeLabelText, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)));
3157#line 3059 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3158 _nodeLabel = tmpMeta[0];
3159#line 3159 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3160
3161#line 3060 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3162 tmpMeta[0] = mmc_mk_cons(_nodeLabel, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3163#line 3060 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3164 tmpMeta[2] = mmc_mk_box2(0, mmc_mk_integermmc_mk_icon(_iAttThreadIdIdx), _threadText);
3165#line 3060 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3166 tmpMeta[1] = mmc_mk_cons(tmpMeta[2], MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3167#line 3060 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3168 _oGraphInfo = omc_GraphML_addNode(threadData, _nodeId, _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)), 1.0, tmpMeta[0], _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)), mmc_mk_some(_varString), tmpMeta[1], _iTopGraphIdx, _iGraphInfo, NULL((void*)0));
3169#line 3169 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3170 }
3171 else
3172 {
3173#line 3063 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3174 _oGraphInfo = _iGraphInfo;
3175#line 3175 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3176 }
3177 }
3178 else
3179 {
3180#line 3066 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3181 _oGraphInfo = _iGraphInfo;
3182#line 3182 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3183 }
3184 _return: OMC_LABEL_UNUSED__attribute__((unused))
3185 return _oGraphInfo;
3186}
3187
3188static modelica_metatype closure0_HpcOmMemory_appendCacheLineEntryToGraph(threadData_t *thData, modelica_metatype closure, modelica_metatype iCacheLineEntry, modelica_metatype iGraphInfo)
3189{
3190 modelica_metatype iCacheVariables = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),1))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (1)))))
;
3191 modelica_metatype iAddedVariables = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),2))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (2)))))
;
3192 modelica_metatype iSchedulerInfo = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),3))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (3)))))
;
3193 modelica_metatype iTopGraphAttThreadIdIdx = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),4))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (4)))))
;
3194 modelica_metatype iScVarTaskMapping = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),5))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (5)))))
;
3195 modelica_metatype iVarNameSCVarIdxMapping = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),6))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (6)))))
;
3196 modelica_metatype iScVarInfos = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),7))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (7)))))
;
3197 return boxptr_HpcOmMemory_appendCacheLineEntryToGraphomc_HpcOmMemory_appendCacheLineEntryToGraph(thData, iCacheLineEntry, iCacheVariables, iAddedVariables, iSchedulerInfo, iTopGraphAttThreadIdIdx, iScVarTaskMapping, iVarNameSCVarIdxMapping, iScVarInfos, iGraphInfo);
3198}
3199PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_appendCacheLineMapToGraph(threadData_t *threadData, modelica_metatype _iCacheLineMap, modelica_metatype _iCacheVariables, modelica_metatype _iAddedVariables, modelica_metatype _iSchedulerInfo, modelica_metatype _iTopGraphAttThreadIdIdx, modelica_metatype _iScVarTaskMapping, modelica_metatype _iVarNameSCVarIdxMapping, modelica_metatype _iScVarInfos, modelica_metatype _iGraphInfo)
3200{
3201 modelica_metatype _oGraphInfo = NULL((void*)0);
3202 modelica_integer _idx;
3203 modelica_integer _graphIdx;
3204 modelica_integer _iTopGraphIdx;
3205 modelica_integer _iAttThreadIdIdx;
3206 modelica_metatype _entries = NULL((void*)0);
3207 modelica_metatype _entry = NULL((void*)0);
3208 modelica_metatype _tmpGraphInfo = NULL((void*)0);
3209 modelica_integer _entryThreadOwner;
3210 modelica_boolean _notOnlyParamters;
3211 modelica_integer tmp1;
3212 modelica_integer tmp2;
3213 modelica_integer tmp3;
3214 modelica_integer tmp4;
3215 modelica_integer tmp5;
3216 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
3217 MMC_SO()mmc_check_stackoverflow(threadData);
3218 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3219 // _oGraphInfo has no default value.
3220 // _idx has no default value.
3221 // _graphIdx has no default value.
3222 // _iTopGraphIdx has no default value.
3223 // _iAttThreadIdIdx has no default value.
3224 // _entries has no default value.
3225 // _entry has no default value.
3226 // _tmpGraphInfo has no default value.
3227 // _entryThreadOwner has no default value.
3228 // _notOnlyParamters has no default value.
3229#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3230 /* Pattern-matching assignment */
3231#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3232 tmpMeta[0] = _iCacheLineMap;
3233#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3234 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
3235#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3236 tmp1 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
3237#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3238 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
3239#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3240 _idx = tmp1 /* pattern as ty=Integer */;
3241#line 2999 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3242 _entries = tmpMeta[2];
3243#line 3243 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3244
3245#line 3003 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3246 _notOnlyParamters = 0;
3247#line 3247 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3248
3249#line 3004 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3250 {
3251#line 3004 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3252 modelica_metatype _entry;
3253#line 3004 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3254 for (tmpMeta[0] = _entries; !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)))))
)
3255#line 3004 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3256 {
3257#line 3004 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3258 _entry = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
3259#line 3005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3260 /* Pattern-matching assignment */
3261#line 3005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3262 tmpMeta[1] = _entry;
3263#line 3005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3264 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (6)))))
;
3265#line 3005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3266 tmp2 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
3267#line 3005 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3268 _entryThreadOwner = tmp2 /* pattern as ty=Integer */;
3269#line 3269 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3270
3271#line 3006 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3272 _notOnlyParamters = (_notOnlyParamters || (_entryThreadOwner != ((modelica_integer) -1)));
3273#line 3273 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3274 }
3275 }
3276
3277#line 3008 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3278 if(_notOnlyParamters)
3279#line 3008 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3280 {
3281#line 3009 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3282 /* Pattern-matching assignment */
3283#line 3009 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3284 tmpMeta[0] = _iTopGraphAttThreadIdIdx;
3285#line 3009 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3286 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
3287#line 3009 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3288 tmp3 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
3289#line 3009 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3290 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
3291#line 3009 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3292 tmp4 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
3293#line 3009 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3294 _iTopGraphIdx = tmp3 /* pattern as ty=Integer */;
3295#line 3009 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3296 _iAttThreadIdIdx = tmp4 /* pattern as ty=Integer */;
3297#line 3297 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3298
3299#line 3010 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3300 /* Pattern-matching tuple assignment */
3301#line 3010 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3302 tmpMeta[3] = stringAppend(_OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)),intString(_idx));
3303#line 3010 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3304 tmpMeta[4] = stringAppend(_OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)),intString(_idx));
3305#line 3010 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3306 tmpMeta[5] = omc_GraphML_addGroupNode(threadData, tmpMeta[3], _iTopGraphIdx, 1, tmpMeta[4], _iGraphInfo, &tmpMeta[0], &tmpMeta[1]);
3307#line 3010 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3308 _tmpGraphInfo = tmpMeta[5];
3309#line 3010 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3310 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
3311#line 3010 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3312 tmp5 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
3313#line 3010 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3314 _graphIdx = tmp5 /* pattern as ty=Integer */;
3315#line 3315 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3316
3317#line 3011 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3318 tmpMeta[1] = mmc_mk_box2(0, mmc_mk_integermmc_mk_icon(_graphIdx), mmc_mk_integermmc_mk_icon(_iAttThreadIdIdx));
3319#line 3011 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3320 tmpMeta[0] = mmc_mk_box7(0, _iCacheVariables, _iAddedVariables, _iSchedulerInfo, tmpMeta[1], _iScVarTaskMapping, _iVarNameSCVarIdxMapping, _iScVarInfos);
3321#line 3011 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3322 _oGraphInfo = omc_List_fold(threadData, _entries, (modelica_fnptr) mmc_mk_box2(0,closure0_HpcOmMemory_appendCacheLineEntryToGraph,tmpMeta[0]), _tmpGraphInfo);
3323#line 3323 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3324 }
3325 else
3326 {
3327#line 3013 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3328 _oGraphInfo = _iGraphInfo;
3329#line 3329 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3330 }
3331 _return: OMC_LABEL_UNUSED__attribute__((unused))
3332 return _oGraphInfo;
3333}
3334
3335PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_appendUnmappedVariablesToGraph(threadData_t *threadData, modelica_metatype _iScVarCLMapping, modelica_metatype _iGraphInfo)
3336{
3337 modelica_metatype _oGraphInfo = NULL((void*)0);
3338 modelica_metatype _tmpGraphInfo = NULL((void*)0);
3339 modelica_integer _scVarIdx;
3340 modelica_integer _clIdx;
3341 modelica_integer tmp1;
3342 modelica_integer tmp2;
3343 modelica_integer tmp3;
3344 modelica_integer tmp4;
3345 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3346 MMC_SO()mmc_check_stackoverflow(threadData);
3347 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3348 // _oGraphInfo has no default value.
3349 _tmpGraphInfo = _iGraphInfo;
3350 // _scVarIdx has no default value.
3351 // _clIdx has no default value.
3352#line 2969 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3353 tmp2 = ((modelica_integer) 1); tmp3 = 1; tmp4 = arrayLength(_iScVarCLMapping);
3354#line 2969 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3355 if(!(((tmp3 > 0) && (tmp2 > tmp4)) || ((tmp3 < 0) && (tmp2 < tmp4))))
3356#line 2969 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3357 {
3358#line 2969 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3359 modelica_integer _scVarIdx;
3360#line 2969 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3361 for(_scVarIdx = ((modelica_integer) 1); in_range_integer(_scVarIdx, tmp2, tmp4); _scVarIdx += tmp3)
3362#line 2969 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3363 {
3364#line 2970 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3365 /* Pattern-matching assignment */
3366#line 2970 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3367 tmpMeta[0] = arrayGet(_iScVarCLMapping, _scVarIdx)nobox_arrayGet(threadData,_iScVarCLMapping,_scVarIdx);
3368#line 2970 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3369 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
3370#line 2970 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3371 tmp1 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
3372#line 2970 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3373 _clIdx = tmp1 /* pattern as ty=Integer */;
3374#line 3374 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3375
3376#line 2971 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3377 if((_clIdx < ((modelica_integer) 1)))
3378#line 2971 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3379 {
3380#line 2971 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3381 }
3382#line 3382 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3383 }
3384 }
3385
3386#line 2976 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3387 _oGraphInfo = _tmpGraphInfo;
3388#line 3388 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3389 _return: OMC_LABEL_UNUSED__attribute__((unused))
3390 return _oGraphInfo;
3391}
3392
3393PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_appendTaskVarEdgesToGraph(threadData_t *threadData, modelica_metatype _iTaskSolvedVarsMapping, modelica_metatype _iTaskUnsolvedVarsMapping, modelica_metatype _iGraphInfo)
3394{
3395 modelica_metatype _oGraphInfo = NULL((void*)0);
3396 modelica_metatype _tmpGraphInfo = NULL((void*)0);
3397 modelica_integer _taskIdx;
3398 modelica_integer _varIdx;
3399 modelica_metatype _taskVarList = NULL((void*)0);
3400 modelica_integer tmp1;
3401 modelica_integer tmp2;
3402 modelica_integer tmp3;
3403 modelica_integer tmp4;
3404 modelica_integer tmp5;
3405 modelica_integer tmp6;
3406 modelica_metatype tmpMeta[8] __attribute__((unused)) = {0};
3407 MMC_SO()mmc_check_stackoverflow(threadData);
3408 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3409 // _oGraphInfo has no default value.
3410 _tmpGraphInfo = _iGraphInfo;
3411 // _taskIdx has no default value.
3412 // _varIdx has no default value.
3413 // _taskVarList has no default value.
3414#line 2945 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3415 tmp1 = ((modelica_integer) 1); tmp2 = 1; tmp3 = arrayLength(_iTaskSolvedVarsMapping);
3416#line 2945 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3417 if(!(((tmp2 > 0) && (tmp1 > tmp3)) || ((tmp2 < 0) && (tmp1 < tmp3))))
3418#line 2945 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3419 {
3420#line 2945 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3421 modelica_integer _taskIdx;
3422#line 2945 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3423 for(_taskIdx = ((modelica_integer) 1); in_range_integer(_taskIdx, tmp1, tmp3); _taskIdx += tmp2)
3424#line 2945 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3425 {
3426#line 2946 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3427 _taskVarList = arrayGet(_iTaskSolvedVarsMapping, _taskIdx)nobox_arrayGet(threadData,_iTaskSolvedVarsMapping,_taskIdx);
3428#line 3428 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3429
3430#line 2947 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3431 {
3432#line 2947 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3433 modelica_metatype _varIdx;
3434#line 2947 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3435 for (tmpMeta[0] = _taskVarList; !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)))))
)
3436#line 2947 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3437 {
3438#line 2947 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3439 _varIdx = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
3440#line 2948 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3441 tmpMeta[1] = stringAppend(_OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)),intString(_taskIdx));
3442#line 2948 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3443 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)));
3444#line 2948 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3445 tmpMeta[3] = stringAppend(tmpMeta[2],intString(mmc_unbox_integer(_varIdx)(((mmc_sint_t) (_varIdx)) >> 1)));
3446#line 2948 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3447 tmpMeta[4] = stringAppend(_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)),intString(mmc_unbox_integer(_varIdx)(((mmc_sint_t) (_varIdx)) >> 1)));
3448#line 2948 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3449 tmpMeta[5] = stringAppend(_OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)),intString(_taskIdx));
3450#line 2948 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3451 tmpMeta[6] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3452#line 2948 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3453 tmpMeta[7] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3454#line 2948 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3455 _tmpGraphInfo = omc_GraphML_addEdge(threadData, tmpMeta[3], tmpMeta[4], tmpMeta[5], _OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)), _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)), 2.0, 0, tmpMeta[6], _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)), tmpMeta[7], _tmpGraphInfo, NULL((void*)0));
3456#line 3456 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3457 }
3458 }
3459 }
3460 }
3461
3462#line 2952 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3463 tmp4 = ((modelica_integer) 1); tmp5 = 1; tmp6 = arrayLength(_iTaskUnsolvedVarsMapping);
3464#line 2952 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3465 if(!(((tmp5 > 0) && (tmp4 > tmp6)) || ((tmp5 < 0) && (tmp4 < tmp6))))
3466#line 2952 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3467 {
3468#line 2952 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3469 modelica_integer _taskIdx;
3470#line 2952 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3471 for(_taskIdx = ((modelica_integer) 1); in_range_integer(_taskIdx, tmp4, tmp6); _taskIdx += tmp5)
3472#line 2952 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3473 {
3474#line 2953 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3475 _taskVarList = arrayGet(_iTaskUnsolvedVarsMapping, _taskIdx)nobox_arrayGet(threadData,_iTaskUnsolvedVarsMapping,_taskIdx);
3476#line 3476 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3477
3478#line 2954 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3479 {
3480#line 2954 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3481 modelica_metatype _varIdx;
3482#line 2954 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3483 for (tmpMeta[0] = _taskVarList; !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)))))
)
3484#line 2954 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3485 {
3486#line 2954 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3487 _varIdx = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
3488#line 2955 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3489 tmpMeta[1] = stringAppend(_OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)),intString(_taskIdx));
3490#line 2955 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3491 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)));
3492#line 2955 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3493 tmpMeta[3] = stringAppend(tmpMeta[2],intString(mmc_unbox_integer(_varIdx)(((mmc_sint_t) (_varIdx)) >> 1)));
3494#line 2955 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3495 tmpMeta[4] = stringAppend(_OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)),intString(_taskIdx));
3496#line 2955 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3497 tmpMeta[5] = stringAppend(_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)),intString(mmc_unbox_integer(_varIdx)(((mmc_sint_t) (_varIdx)) >> 1)));
3498#line 2955 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3499 tmpMeta[6] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3500#line 2955 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3501 tmpMeta[7] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3502#line 2955 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3503 _tmpGraphInfo = omc_GraphML_addEdge(threadData, tmpMeta[3], tmpMeta[4], tmpMeta[5], _OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)), _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)), 2.0, 0, tmpMeta[6], _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)), tmpMeta[7], _tmpGraphInfo, NULL((void*)0));
3504#line 3504 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3505 }
3506 }
3507 }
3508 }
3509
3510#line 2958 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3511 _oGraphInfo = _tmpGraphInfo;
3512#line 3512 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3513 _return: OMC_LABEL_UNUSED__attribute__((unused))
3514 return _oGraphInfo;
3515}
3516
3517PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_appendVariablesToGraph(threadData_t *threadData, modelica_metatype _iTaskSolvedVarsMapping, modelica_metatype _iTaskUnsolvedVarsMapping, modelica_integer _iNumberOfScVars, modelica_integer _iGraphIdx, modelica_integer _iThreadIdAttributeIdx, modelica_metatype _iVarNameSCVarIdxMapping, modelica_metatype _iAllVarsMapping, modelica_metatype _iScVarInfos, modelica_metatype _iGraphInfo)
3518{
3519 modelica_metatype _oGraphInfo = NULL((void*)0);
3520 modelica_metatype _tmpGraphInfo = NULL((void*)0);
3521 modelica_string _description = NULL((void*)0);
3522 modelica_string _threadText = NULL((void*)0);
3523 modelica_metatype _simVarOpt = NULL((void*)0);
3524 modelica_metatype _simVar = NULL((void*)0);
3525 modelica_metatype _varCompRef = NULL((void*)0);
3526 modelica_metatype _nodeLabel = NULL((void*)0);
3527 modelica_boolean _isValidVar;
3528 modelica_metatype _realScVarIdxOffset = NULL((void*)0);
3529 modelica_integer _realScVarIdx;
3530 modelica_integer _realScVarOffset;
3531 modelica_integer _threadOwner;
3532 modelica_integer tmp1;
3533 modelica_integer tmp2;
3534 modelica_integer tmp3;
3535 modelica_integer tmp4;
3536 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
3537 MMC_SO()mmc_check_stackoverflow(threadData);
3538 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3539 // _oGraphInfo has no default value.
3540 _tmpGraphInfo = _iGraphInfo;
3541 // _description has no default value.
3542 // _threadText has no default value.
3543 // _simVarOpt has no default value.
3544 // _simVar has no default value.
3545 // _varCompRef has no default value.
3546 // _nodeLabel has no default value.
3547 // _isValidVar has no default value.
3548 // _realScVarIdxOffset has no default value.
3549 // _realScVarIdx has no default value.
3550 // _realScVarOffset has no default value.
3551 // _threadOwner has no default value.
3552#line 2903 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3553 tmp2 = ((modelica_integer) 1); tmp3 = 1; tmp4 = _iNumberOfScVars;
3554#line 2903 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3555 if(!(((tmp3 > 0) && (tmp2 > tmp4)) || ((tmp3 < 0) && (tmp2 < tmp4))))
3556#line 2903 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3557 {
3558#line 2903 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3559 modelica_integer _varIdx;
3560#line 2903 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3561 for(_varIdx = ((modelica_integer) 1); in_range_integer(_varIdx, tmp2, tmp4); _varIdx += tmp3)
3562#line 2903 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3563 {
3564#line 2904 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3565 _isValidVar = 1;
3566#line 3566 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3567
3568#line 2906 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3569 _simVarOpt = arrayGet(_iAllVarsMapping, _varIdx)nobox_arrayGet(threadData,_iAllVarsMapping,_varIdx);
3570#line 3570 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3571
3572#line 2907 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3573 _description = _OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3));
3574#line 3574 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3575
3576#line 2908 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3577 _threadText = _OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3));
3578#line 3578 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3579
3580#line 2909 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3581 if(isSome(_simVarOpt)(0==((((((*(mmc_uint_t*)((void*)((char*)(_simVarOpt) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(_simVarOpt)
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(_simVarOpt) - 3)))) >> 10)) ? 0 : 1)
)
3582#line 2909 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3583 {
3584#line 2910 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3585 _simVar = omc_Util_getOption(threadData, _simVarOpt);
3586#line 3586 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3587
3588#line 2911 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3589 _varCompRef = omc_SimCodeFunctionUtil_varName(threadData, _simVar);
3590#line 3590 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3591
3592#line 2912 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3593 _description = omc_ComponentReference_printComponentRefStr(threadData, _varCompRef);
3594#line 3594 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3595
3596#line 2913 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3597 _isValidVar = omc_BaseHashTable_hasKey(threadData, _varCompRef, _iVarNameSCVarIdxMapping);
3598#line 3598 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3599
3600#line 2915 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3601 if(omc_BaseHashTable_hasKey(threadData, _varCompRef, _iVarNameSCVarIdxMapping))
3602#line 2915 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3603 {
3604#line 2916 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3605 _realScVarIdxOffset = omc_BaseHashTable_get(threadData, _varCompRef, _iVarNameSCVarIdxMapping);
3606#line 3606 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3607
3608#line 2917 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3609 _realScVarIdx = mmc_unbox_integer(listGet(_realScVarIdxOffset, ((modelica_integer) 1)))(((mmc_sint_t) (boxptr_listGet(threadData,_realScVarIdxOffset
,mmc_mk_icon(((modelica_integer) 1))))) >> 1)
;
3610#line 3610 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3611
3612#line 2918 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3613 _realScVarOffset = mmc_unbox_integer(listGet(_realScVarIdxOffset, ((modelica_integer) 2)))(((mmc_sint_t) (boxptr_listGet(threadData,_realScVarIdxOffset
,mmc_mk_icon(((modelica_integer) 2))))) >> 1)
;
3614#line 3614 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3615
3616#line 2919 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3617 _realScVarIdx = _realScVarIdx + _realScVarOffset;
3618#line 3618 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3619
3620#line 2920 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3621 /* Pattern-matching assignment */
3622#line 2920 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3623 tmpMeta[0] = arrayGet(_iScVarInfos, _realScVarIdx)nobox_arrayGet(threadData,_iScVarInfos,_realScVarIdx);
3624#line 2920 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3625 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
3626#line 2920 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3627 tmp1 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
3628#line 2920 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3629 _threadOwner = tmp1 /* pattern as ty=Integer */;
3630#line 3630 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3631
3632#line 2921 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3633 tmpMeta[0] = stringAppend(_OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)),intString(_threadOwner));
3634#line 2921 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3635 _threadText = tmpMeta[0];
3636#line 3636 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3637 }
3638 }
3639
3640#line 2925 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3641 if(_isValidVar)
3642#line 2925 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3643 {
3644#line 2926 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3645 tmpMeta[0] = mmc_mk_box4(3, &GraphML_NodeLabel_NODELABEL__INTERNAL__desc, intString(_varIdx), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)));
3646#line 2926 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3647 _nodeLabel = tmpMeta[0];
3648#line 3648 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3649
3650#line 2927 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3651 tmpMeta[0] = stringAppend(_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)),intString(_varIdx));
3652#line 2927 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3653 tmpMeta[1] = mmc_mk_cons(_nodeLabel, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3654#line 2927 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3655 tmpMeta[3] = mmc_mk_box2(0, mmc_mk_integermmc_mk_icon(_iThreadIdAttributeIdx), _threadText);
3656#line 2927 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3657 tmpMeta[2] = mmc_mk_cons(tmpMeta[3], MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3658#line 2927 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3659 _tmpGraphInfo = omc_GraphML_addNode(threadData, tmpMeta[0], _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)), 1.0, tmpMeta[1], _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)), mmc_mk_some(_description), tmpMeta[2], _iGraphIdx, _tmpGraphInfo, NULL((void*)0));
3660#line 3660 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3661 }
3662 }
3663 }
3664
3665#line 2930 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3666 _tmpGraphInfo = omc_HpcOmMemory_appendTaskVarEdgesToGraph(threadData, _iTaskSolvedVarsMapping, _iTaskUnsolvedVarsMapping, _tmpGraphInfo);
3667#line 3667 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3668
3669#line 2931 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3670 _oGraphInfo = _tmpGraphInfo;
3671#line 3671 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3672 _return: OMC_LABEL_UNUSED__attribute__((unused))
3673 return _oGraphInfo;
3674}
3675PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_appendVariablesToGraph(threadData_t *threadData, modelica_metatype _iTaskSolvedVarsMapping, modelica_metatype _iTaskUnsolvedVarsMapping, modelica_metatype _iNumberOfScVars, modelica_metatype _iGraphIdx, modelica_metatype _iThreadIdAttributeIdx, modelica_metatype _iVarNameSCVarIdxMapping, modelica_metatype _iAllVarsMapping, modelica_metatype _iScVarInfos, modelica_metatype _iGraphInfo)
3676{
3677 modelica_integer tmp1;
3678 modelica_integer tmp2;
3679 modelica_integer tmp3;
3680 modelica_metatype _oGraphInfo = NULL((void*)0);
3681 tmp1 = mmc_unbox_integer(_iNumberOfScVars)(((mmc_sint_t) (_iNumberOfScVars)) >> 1);
3682 tmp2 = mmc_unbox_integer(_iGraphIdx)(((mmc_sint_t) (_iGraphIdx)) >> 1);
3683 tmp3 = mmc_unbox_integer(_iThreadIdAttributeIdx)(((mmc_sint_t) (_iThreadIdAttributeIdx)) >> 1);
3684 _oGraphInfo = omc_HpcOmMemory_appendVariablesToGraph(threadData, _iTaskSolvedVarsMapping, _iTaskUnsolvedVarsMapping, tmp1, tmp2, tmp3, _iVarNameSCVarIdxMapping, _iAllVarsMapping, _iScVarInfos, _iGraphInfo);
3685 /* skip box _oGraphInfo; GraphML.GraphInfo */
3686 return _oGraphInfo;
3687}
3688
3689static modelica_metatype closure1_HpcOmMemory_appendCacheLineMapToGraph(threadData_t *thData, modelica_metatype closure, modelica_metatype iCacheLineMap, modelica_metatype iGraphInfo)
3690{
3691 modelica_metatype iCacheVariables = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),1))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (1)))))
;
3692 modelica_metatype iAddedVariables = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),2))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (2)))))
;
3693 modelica_metatype iSchedulerInfo = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),3))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (3)))))
;
3694 modelica_metatype iTopGraphAttThreadIdIdx = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),4))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (4)))))
;
3695 modelica_metatype iScVarTaskMapping = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),5))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (5)))))
;
3696 modelica_metatype iVarNameSCVarIdxMapping = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),6))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (6)))))
;
3697 modelica_metatype iScVarInfos = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(closure),7))(*(void**)(((void*)((void**)(((void*)((char*)(closure) - 3)))
+ (7)))))
;
3698 return boxptr_HpcOmMemory_appendCacheLineMapToGraphomc_HpcOmMemory_appendCacheLineMapToGraph(thData, iCacheLineMap, iCacheVariables, iAddedVariables, iSchedulerInfo, iTopGraphAttThreadIdIdx, iScVarTaskMapping, iVarNameSCVarIdxMapping, iScVarInfos, iGraphInfo);
3699}
3700PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_appendCacheLinesToGraph(threadData_t *threadData, modelica_metatype _iCacheMap, modelica_integer _iNumberOfNodes, modelica_metatype _iEqSimCodeVarMapping, modelica_metatype _iEqSystems, modelica_metatype _iVarNameSCVarIdxMapping, modelica_metatype _ieqCompMapping, modelica_metatype _iScVarTaskMapping, modelica_metatype _iSchedulerInfo, modelica_integer _iThreadIdAttributeIdx, modelica_metatype _iCompNodeMapping, modelica_metatype _iTaskSolvedVarsMapping, modelica_metatype _iTaskUnsolvedVarsMapping, modelica_metatype _iScVarCLMapping, modelica_metatype _iScVarInfos, modelica_metatype _iGraphInfo)
3701{
3702 modelica_metatype _oGraphInfo = NULL((void*)0);
3703 modelica_integer _clGroupNodeIdx;
3704 modelica_integer _graphCount;
3705 modelica_metatype _tmpGraphInfo = NULL((void*)0);
3706 modelica_metatype _knownEdges = NULL((void*)0);
3707 modelica_metatype _addedVariables = NULL((void*)0);
3708 modelica_metatype _cacheVariables = NULL((void*)0);
3709 modelica_metatype _cacheLines = NULL((void*)0);
3710 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
3711 MMC_SO()mmc_check_stackoverflow(threadData);
3712 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3713 // _oGraphInfo has no default value.
3714 // _clGroupNodeIdx has no default value.
3715 // _graphCount has no default value.
3716 // _tmpGraphInfo has no default value.
3717 // _knownEdges has no default value.
3718 // _addedVariables has no default value.
3719 // _cacheVariables has no default value.
3720 // _cacheLines has no default value.
3721#line 3721 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3722 { /* matchcontinue expression */
3723 volatile modelica_metatype tmp3_1;
3724 tmp3_1 = _iGraphInfo;
3725 {
3726 volatile mmc_switch_type tmp3;
3727 int tmp4;
3728 tmp3 = 0;
3729 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) {
3730 tmp2_top:
3731 threadData->mmc_jumper = &new_mmc_jumper;
3732 for (; tmp3 < 3; tmp3++) {
3733 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3734 case 0: {
3735 modelica_integer tmp5;
3736 modelica_boolean tmp6;
3737 modelica_integer tmp7;
3738 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,9)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((9 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3739 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
3740 tmp5 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
3741
3742 _graphCount = tmp5 /* pattern as ty=Integer */;
3743 /* Pattern matching succeeded */
3744#line 2858 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3745 /* Pattern-matching assignment */
3746#line 2858 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3747 tmp6 = (((modelica_integer) 1) <= _graphCount);
3748#line 2858 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3749 if (1 != tmp6) goto goto_1;
3750#line 3750 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3751
3752#line 2859 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3753 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3754#line 2859 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3755 _knownEdges = arrayCreate(_iNumberOfNodes, tmpMeta[1]);
3756#line 3756 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3757
3758#line 2860 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3759 _addedVariables = arrayCreate(arrayLength(_iScVarTaskMapping), mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
3760#line 3760 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3761
3762#line 2861 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3763 /* Pattern-matching tuple assignment */
3764#line 2861 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3765 tmpMeta[3] = omc_GraphML_addGroupNode(threadData, _OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)), ((modelica_integer) 1), 0, _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)), _iGraphInfo, NULL((void*)0), &tmpMeta[1]);
3766#line 2861 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3767 _tmpGraphInfo = tmpMeta[3];
3768#line 2861 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3769 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
3770#line 2861 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3771 tmp7 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
3772#line 2861 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3773 _clGroupNodeIdx = tmp7 /* pattern as ty=Integer */;
3774#line 3774 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3775
3776#line 2862 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3777 _cacheLines = omc_HpcOmMemory_getAllCacheLinesOfCacheMap(threadData, _iCacheMap);
3778#line 3778 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3779
3780#line 2863 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3781 _cacheVariables = listArray(omc_HpcOmMemory_getCacheVariablesOfCacheMap(threadData, _iCacheMap));
3782#line 3782 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3783
3784#line 2864 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3785 tmpMeta[2] = mmc_mk_box2(0, mmc_mk_integermmc_mk_icon(_clGroupNodeIdx), mmc_mk_integermmc_mk_icon(_iThreadIdAttributeIdx));
3786#line 2864 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3787 tmpMeta[1] = mmc_mk_box7(0, _cacheVariables, _addedVariables, _iSchedulerInfo, tmpMeta[2], _iScVarTaskMapping, _iVarNameSCVarIdxMapping, _iScVarInfos);
3788#line 2864 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3789 _tmpGraphInfo = omc_List_fold(threadData, _cacheLines, (modelica_fnptr) mmc_mk_box2(0,closure1_HpcOmMemory_appendCacheLineMapToGraph,tmpMeta[1]), _tmpGraphInfo);
3790#line 3790 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3791#line 2866 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3792 tmpMeta[0] = omc_HpcOmMemory_appendTaskVarEdgesToGraph(threadData, _iTaskSolvedVarsMapping, _iTaskUnsolvedVarsMapping, _tmpGraphInfo);
3793#line 3793 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3794 goto tmp2_done;
3795 }
3796 case 1: {
3797 modelica_integer tmp8;
3798 modelica_boolean tmp9;
3799 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,0,9)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((9 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3800 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
3801 tmp8 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
3802
3803 _graphCount = tmp8 /* pattern as ty=Integer */;
3804 /* Pattern matching succeeded */
3805#line 2870 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3806 /* Pattern-matching assignment */
3807#line 2870 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3808 tmp9 = (_graphCount == ((modelica_integer) 0));
3809#line 2870 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3810 if (1 != tmp9) goto goto_1;
3811#line 3811 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3812#line 2871 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3813 tmpMeta[0] = _iGraphInfo;
3814#line 3814 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3815 goto tmp2_done;
3816 }
3817 case 2: {
3818
3819 /* Pattern matching succeeded */
3820#line 2874 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3821 fputs(MMC_STRINGDATA(_OMC_LIT67)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT67).header) + 3))) - 3)))->data)
,stdoutstdout);
3822#line 3822 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3823#line 2875 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3824 goto goto_1;
3825#line 3825 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3826 goto tmp2_done;
3827 }
3828 }
3829 goto tmp2_end;
3830 tmp2_end: ;
3831 }
3832 goto goto_1;
3833 tmp2_done:
3834 (void)tmp3;
3835 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3836 goto tmp2_done2;
3837 goto_1:;
3838 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3839 if (++tmp3 < 3) {
3840 goto tmp2_top;
3841 }
3842 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3843 tmp2_done2:;
3844 }
3845 }
3846 _oGraphInfo = tmpMeta[0];
3847 _return: OMC_LABEL_UNUSED__attribute__((unused))
3848 return _oGraphInfo;
3849}
3850PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_appendCacheLinesToGraph(threadData_t *threadData, modelica_metatype _iCacheMap, modelica_metatype _iNumberOfNodes, modelica_metatype _iEqSimCodeVarMapping, modelica_metatype _iEqSystems, modelica_metatype _iVarNameSCVarIdxMapping, modelica_metatype _ieqCompMapping, modelica_metatype _iScVarTaskMapping, modelica_metatype _iSchedulerInfo, modelica_metatype _iThreadIdAttributeIdx, modelica_metatype _iCompNodeMapping, modelica_metatype _iTaskSolvedVarsMapping, modelica_metatype _iTaskUnsolvedVarsMapping, modelica_metatype _iScVarCLMapping, modelica_metatype _iScVarInfos, modelica_metatype _iGraphInfo)
3851{
3852 modelica_integer tmp1;
3853 modelica_integer tmp2;
3854 modelica_metatype _oGraphInfo = NULL((void*)0);
3855 tmp1 = mmc_unbox_integer(_iNumberOfNodes)(((mmc_sint_t) (_iNumberOfNodes)) >> 1);
3856 tmp2 = mmc_unbox_integer(_iThreadIdAttributeIdx)(((mmc_sint_t) (_iThreadIdAttributeIdx)) >> 1);
3857 _oGraphInfo = omc_HpcOmMemory_appendCacheLinesToGraph(threadData, _iCacheMap, tmp1, _iEqSimCodeVarMapping, _iEqSystems, _iVarNameSCVarIdxMapping, _ieqCompMapping, _iScVarTaskMapping, _iSchedulerInfo, tmp2, _iCompNodeMapping, _iTaskSolvedVarsMapping, _iTaskUnsolvedVarsMapping, _iScVarCLMapping, _iScVarInfos, _iGraphInfo);
3858 /* skip box _oGraphInfo; GraphML.GraphInfo */
3859 return _oGraphInfo;
3860}
3861
3862PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getTaskSimVarMapping(threadData_t *threadData, modelica_metatype _iSccEqMapping, modelica_metatype _iNodeSccMapping, modelica_metatype _iEqSimCodeVarMapping, modelica_metatype _iScVarTaskMapping, modelica_metatype _iSimCodeVarTypes, modelica_metatype *out_oNotSolvedVars)
3863{
3864 modelica_metatype _oSolvedVars = NULL((void*)0);
3865 modelica_metatype _oNotSolvedVars = NULL((void*)0);
3866 modelica_metatype _tmpSolvedVars = NULL((void*)0);
3867 modelica_metatype _tmpNotSolvedVars = NULL((void*)0);
3868 modelica_metatype _scVarMarks = NULL((void*)0);
3869 modelica_metatype _scSolvedVarMarks = NULL((void*)0);
3870 modelica_metatype _nodeSccs = NULL((void*)0);
3871 modelica_metatype _eqVars = NULL((void*)0);
3872 modelica_integer _nodeIdx;
3873 modelica_integer _sccIdx;
3874 modelica_integer _eqIdx;
3875 modelica_integer _var;
3876 modelica_integer _varTask;
3877 modelica_integer _varMark;
3878 modelica_integer _varType;
3879 modelica_integer _nvar;
3880 modelica_metatype _sccEqs = NULL((void*)0);
3881 modelica_metatype _sccEq = NULL((void*)0);
3882 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
3883 MMC_SO()mmc_check_stackoverflow(threadData);
3884 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3885 // _oSolvedVars has no default value.
3886 // _oNotSolvedVars has no default value.
3887 // _tmpSolvedVars has no default value.
3888 // _tmpNotSolvedVars has no default value.
3889 // _scVarMarks has no default value.
3890 // _scSolvedVarMarks has no default value.
3891 // _nodeSccs has no default value.
3892 // _eqVars has no default value.
3893 // _nodeIdx has no default value.
3894 // _sccIdx has no default value.
3895 // _eqIdx has no default value.
3896 // _var has no default value.
3897 // _varTask has no default value.
3898 // _varMark has no default value.
3899 // _varType has no default value.
3900 // _nvar has no default value.
3901 // _sccEqs has no default value.
3902 // _sccEq has no default value.
3903#line 3903 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3904 { /* matchcontinue expression */
3905 {
3906 volatile mmc_switch_type tmp3;
3907 int tmp4;
3908 tmp3 = 0;
3909 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) {
3910 tmp2_top:
3911 threadData->mmc_jumper = &new_mmc_jumper;
3912 for (; tmp3 < 2; tmp3++) {
3913 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3914 case 0: {
3915 modelica_integer tmp5;
3916 modelica_integer tmp6;
3917 modelica_integer tmp7;
3918 modelica_integer tmp8;
3919 /* Pattern matching succeeded */
3920#line 2769 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3921 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3922#line 2769 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3923 _tmpSolvedVars = arrayCreate(arrayLength(_iNodeSccMapping), tmpMeta[0]);
3924#line 3924 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3925
3926#line 2770 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3927 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3928#line 2770 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3929 _tmpNotSolvedVars = arrayCreate(arrayLength(_iNodeSccMapping), tmpMeta[0]);
3930#line 3930 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3931
3932#line 2771 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3933 _scVarMarks = arrayCreate(arrayLength(_iScVarTaskMapping), mmc_mk_integermmc_mk_icon(((modelica_integer) -1)));
3934#line 3934 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3935
3936#line 2772 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3937 _scSolvedVarMarks = arrayCreate(arrayLength(_iScVarTaskMapping), mmc_mk_integermmc_mk_icon(((modelica_integer) -1)));
3938#line 3938 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3939
3940#line 2773 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3941 _nvar = arrayLength(_iScVarTaskMapping);
3942#line 3942 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3943
3944#line 2775 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3945 tmp6 = ((modelica_integer) 1); tmp7 = 1; tmp8 = arrayLength(_iNodeSccMapping);
3946#line 2775 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3947 if(!(((tmp7 > 0) && (tmp6 > tmp8)) || ((tmp7 < 0) && (tmp6 < tmp8))))
3948#line 2775 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3949 {
3950#line 2775 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3951 modelica_integer _nodeIdx;
3952#line 2775 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3953 for(_nodeIdx = ((modelica_integer) 1); in_range_integer(_nodeIdx, tmp6, tmp8); _nodeIdx += tmp7)
3954#line 2775 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3955 {
3956#line 2776 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3957 _nodeSccs = arrayGet(_iNodeSccMapping, _nodeIdx)nobox_arrayGet(threadData,_iNodeSccMapping,_nodeIdx);
3958#line 3958 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3959
3960#line 2778 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3961 {
3962#line 2778 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3963 modelica_metatype _sccIdx;
3964#line 2778 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3965 for (tmpMeta[0] = _nodeSccs; !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)))))
)
3966#line 2778 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3967 {
3968#line 2778 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3969 _sccIdx = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
3970#line 2779 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3971 _sccEqs = arrayGet(_iSccEqMapping, mmc_unbox_integer(_sccIdx))nobox_arrayGet(threadData,_iSccEqMapping,(((mmc_sint_t) (_sccIdx
)) >> 1))
;
3972#line 3972 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3973
3974#line 2781 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3975 {
3976#line 2781 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3977 modelica_metatype _sccEq;
3978#line 2781 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3979 for (tmpMeta[1] = _sccEqs; !listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[1]=MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
)
3980#line 2781 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3981 {
3982#line 2781 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3983 _sccEq = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
3984#line 2782 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3985 /* Pattern-matching assignment */
3986#line 2782 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3987 tmpMeta[2] = _sccEq;
3988#line 2782 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3989 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
3990#line 2782 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3991 tmp5 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
3992#line 2782 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3993 _eqIdx = tmp5 /* pattern as ty=Integer */;
3994#line 3994 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
3995
3996#line 2783 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3997 /* Pattern-matching assignment */
3998#line 2783 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
3999 tmpMeta[2] = arrayGet(_iEqSimCodeVarMapping, _eqIdx)nobox_arrayGet(threadData,_iEqSimCodeVarMapping,_eqIdx);
4000#line 2783 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4001 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
4002#line 2783 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4003 _eqVars = tmpMeta[3];
4004#line 4004 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4005
4006#line 2785 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4007 {
4008#line 2785 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4009 modelica_metatype _v2;
4010#line 2785 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4011 for (tmpMeta[2] = _eqVars; !listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
; tmpMeta[2]=MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
)
4012#line 2785 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4013 {
4014#line 2785 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4015 _v2 = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
4016#line 2786 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4017 _var = ((mmc_unbox_integer(_v2)(((mmc_sint_t) (_v2)) >> 1) > _nvar)?mmc_unbox_integer(_v2)(((mmc_sint_t) (_v2)) >> 1) - _nvar:mmc_unbox_integer(_v2)(((mmc_sint_t) (_v2)) >> 1));
4018#line 4018 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4019
4020#line 2787 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4021 _varTask = mmc_unbox_integer(arrayGet(_iScVarTaskMapping, _var))(((mmc_sint_t) (nobox_arrayGet(threadData,_iScVarTaskMapping,
_var))) >> 1)
;
4022#line 4022 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4023
4024#line 2789 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4025 _varType = mmc_unbox_integer(omc_Util_tuple31(threadData, arrayGet(_iSimCodeVarTypes, _var)))(((mmc_sint_t) (omc_Util_tuple31(threadData, nobox_arrayGet(threadData
,_iSimCodeVarTypes,_var)))) >> 1)
;
4026#line 4026 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4027
4028#line 2790 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4029 if((_varType > ((modelica_integer) 0)))
4030#line 2790 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4031 {
4032#line 2791 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4033 if((_nodeIdx == _varTask))
4034#line 2791 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4035 {
4036#line 2793 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4037 _varMark = mmc_unbox_integer(arrayGet(_scSolvedVarMarks, _var))(((mmc_sint_t) (nobox_arrayGet(threadData,_scSolvedVarMarks,_var
))) >> 1)
;
4038#line 4038 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4039
4040#line 2794 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4041 if((_varMark != _nodeIdx))
4042#line 2794 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4043 {
4044#line 2795 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4045 tmpMeta[3] = mmc_mk_cons(mmc_mk_integermmc_mk_icon(_var), arrayGet(_tmpSolvedVars, _nodeIdx)nobox_arrayGet(threadData,_tmpSolvedVars,_nodeIdx));
4046#line 2795 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4047 _tmpSolvedVars = arrayUpdate(_tmpSolvedVars, _nodeIdx, tmpMeta[3])boxptr_arrayUpdate(threadData,_tmpSolvedVars,mmc_mk_icon(_nodeIdx
),tmpMeta[3])
;
4048#line 4048 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4049
4050#line 2796 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4051 _scSolvedVarMarks = arrayUpdate(_scSolvedVarMarks, _var, mmc_mk_integer(_nodeIdx))boxptr_arrayUpdate(threadData,_scSolvedVarMarks,mmc_mk_icon(_var
),mmc_mk_icon(_nodeIdx))
;
4052#line 4052 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4053 }
4054 }
4055 else
4056 {
4057#line 2799 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4058 _varMark = mmc_unbox_integer(arrayGet(_scVarMarks, _var))(((mmc_sint_t) (nobox_arrayGet(threadData,_scVarMarks,_var)))
>> 1)
;
4059#line 4059 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4060
4061#line 2801 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4062 if((_varMark != _nodeIdx))
4063#line 2801 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4064 {
4065#line 2803 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4066 tmpMeta[3] = mmc_mk_cons(mmc_mk_integermmc_mk_icon(_var), arrayGet(_tmpNotSolvedVars, _nodeIdx)nobox_arrayGet(threadData,_tmpNotSolvedVars,_nodeIdx));
4067#line 2803 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4068 _tmpNotSolvedVars = arrayUpdate(_tmpNotSolvedVars, _nodeIdx, tmpMeta[3])boxptr_arrayUpdate(threadData,_tmpNotSolvedVars,mmc_mk_icon(_nodeIdx
),tmpMeta[3])
;
4069#line 4069 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4070
4071#line 2804 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4072 _scVarMarks = arrayUpdate(_scVarMarks, _var, mmc_mk_integer(_nodeIdx))boxptr_arrayUpdate(threadData,_scVarMarks,mmc_mk_icon(_var),mmc_mk_icon
(_nodeIdx))
;
4073#line 4073 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4074 }
4075 }
4076 }
4077 }
4078 }
4079 }
4080 }
4081 }
4082 }
4083 }
4084 }
4085
4086#line 2815 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4087 _oSolvedVars = _tmpSolvedVars;
4088#line 4088 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4089
4090#line 2816 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4091 _oNotSolvedVars = _tmpNotSolvedVars;
4092#line 4092 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4093#line 4093 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4094 goto tmp2_done;
4095 }
4096 case 1: {
4097 /* Pattern matching succeeded */
4098#line 2818 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4099 omc_Error_addInternalError(threadData, _OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)), _OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)));
4100#line 4100 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4101
4102#line 2819 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4103 goto goto_1;
4104#line 4104 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4105#line 4105 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4106 goto tmp2_done;
4107 }
4108 }
4109 goto tmp2_end;
4110 tmp2_end: ;
4111 }
4112 goto goto_1;
4113 tmp2_done:
4114 (void)tmp3;
4115 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4116 goto tmp2_done2;
4117 goto_1:;
4118 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4119 if (++tmp3 < 2) {
4120 goto tmp2_top;
4121 }
4122 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4123 tmp2_done2:;
4124 }
4125 }
4126 ;
4127 _return: OMC_LABEL_UNUSED__attribute__((unused))
4128 if (out_oNotSolvedVars) { *out_oNotSolvedVars = _oNotSolvedVars; }
4129 return _oSolvedVars;
4130}
4131
4132PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getCacheLineTaskMapping0(threadData_t *threadData, modelica_metatype _iNodeIdx, modelica_metatype _iEqSystems, modelica_metatype _iVarNameSCVarIdxMapping, modelica_metatype _iSCVarCLMapping, modelica_metatype _iCLTaskMappingVarIdx)
4133{
4134 modelica_metatype _oCLTaskMappingVarIdx = NULL((void*)0);
4135 modelica_metatype _iClTaskMapping = NULL((void*)0);
4136 modelica_metatype _iScVarTaskMapping = NULL((void*)0);
4137 modelica_integer _varIdx;
4138 modelica_integer _eqSysIdx;
4139 modelica_integer _varOffset;
4140 modelica_integer _scVarIdx;
4141 modelica_integer _clIdx;
4142 modelica_integer _nodeIdx;
4143 modelica_integer _scVarOffset;
4144 modelica_metatype _eqSystem = NULL((void*)0);
4145 modelica_metatype _orderedVars = NULL((void*)0);
4146 modelica_metatype _varOptArr = NULL((void*)0);
4147 modelica_metatype _var = NULL((void*)0);
4148 modelica_metatype _varName = NULL((void*)0);
4149 modelica_metatype _oldVal = NULL((void*)0);
4150 modelica_metatype _scVarValues = NULL((void*)0);
4151 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
4152 MMC_SO()mmc_check_stackoverflow(threadData);
4153 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4154 // _oCLTaskMappingVarIdx has no default value.
4155 // _iClTaskMapping has no default value.
4156 // _iScVarTaskMapping has no default value.
4157 // _varIdx has no default value.
4158 // _eqSysIdx has no default value.
4159 // _varOffset has no default value.
4160 // _scVarIdx has no default value.
4161 // _clIdx has no default value.
4162 // _nodeIdx has no default value.
4163 // _scVarOffset has no default value.
4164 // _eqSystem has no default value.
4165 // _orderedVars has no default value.
4166 // _varOptArr has no default value.
4167 // _var has no default value.
4168 // _varName has no default value.
4169 // _oldVal has no default value.
4170 // _scVarValues has no default value.
4171#line 4171 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4172 { /* matchcontinue expression */
4173 volatile modelica_metatype tmp3_1;volatile modelica_metatype tmp3_2;
4174 tmp3_1 = _iNodeIdx;
4175 tmp3_2 = _iCLTaskMappingVarIdx;
4176 {
4177 volatile mmc_switch_type tmp3;
4178 int tmp4;
4179 tmp3 = 0;
4180 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) {
4181 tmp2_top:
4182 threadData->mmc_jumper = &new_mmc_jumper;
4183 for (; tmp3 < 2; tmp3++) {
4184 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4185 case 0: {
4186 modelica_integer tmp5;
4187 modelica_integer tmp6;
4188 modelica_integer tmp7;
4189 modelica_integer tmp8;
4190 modelica_boolean tmp9;
4191 modelica_integer tmp10;
4192 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
4193 tmp5 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
4194 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
4195 tmp6 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
4196 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
4197 tmp7 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
4198 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
4199 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
4200 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
4201 tmp8 = mmc_unbox_integer(tmpMeta[6])(((mmc_sint_t) (tmpMeta[6])) >> 1);
4202 _nodeIdx = tmp5 /* pattern as ty=Integer */;
4203 _eqSysIdx = tmp6 /* pattern as ty=Integer */;
4204 _varOffset = tmp7 /* pattern as ty=Integer */;
4205 _iClTaskMapping = tmpMeta[4];
4206 _iScVarTaskMapping = tmpMeta[5];
4207 _varIdx = tmp8 /* pattern as ty=Integer */;
4208 /* Pattern matching succeeded */
4209#line 2728 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4210 /* Pattern-matching assignment */
4211#line 2728 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4212 tmp9 = (_nodeIdx > ((modelica_integer) 0));
4213#line 2728 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4214 if (1 != tmp9) goto goto_1;
4215#line 4215 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4216
4217#line 2729 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4218 _eqSystem = listGet(_iEqSystems, _eqSysIdx)boxptr_listGet(threadData,_iEqSystems,mmc_mk_icon(_eqSysIdx));
4219#line 4219 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4220
4221#line 2730 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4222 /* Pattern-matching assignment */
4223#line 2730 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4224 tmpMeta[1] = _eqSystem;
4225#line 2730 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4226 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
4227#line 2730 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4228 _orderedVars = tmpMeta[2];
4229#line 4229 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4230
4231#line 2731 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4232 _var = omc_BackendVariable_getVarAt(threadData, _orderedVars, _varIdx - _varOffset);
4233#line 4233 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4234
4235#line 2732 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4236 /* Pattern-matching assignment */
4237#line 2732 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4238 tmpMeta[1] = _var;
4239#line 2732 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4240 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
4241#line 2732 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4242 _varName = tmpMeta[2];
4243#line 4243 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4244
4245#line 2733 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4246 _varName = omc_HpcOmMemory_getModifiedVarName(threadData, _var);
4247#line 4247 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4248
4249#line 2734 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4250 _scVarValues = omc_BaseHashTable_get(threadData, _varName, _iVarNameSCVarIdxMapping);
4251#line 4251 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4252
4253#line 2735 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4254 _scVarIdx = mmc_unbox_integer(listHead(_scVarValues))(((mmc_sint_t) (boxptr_listHead(threadData,_scVarValues))) >>
1)
;
4255#line 4255 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4256
4257#line 2736 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4258 _scVarOffset = mmc_unbox_integer(omc_List_second(threadData, _scVarValues))(((mmc_sint_t) (omc_List_second(threadData, _scVarValues))) >>
1)
;
4259#line 4259 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4260
4261#line 2737 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4262 _scVarIdx = _scVarIdx + _scVarOffset;
4263#line 4263 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4264
4265#line 2738 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4266 /* Pattern-matching assignment */
4267#line 2738 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4268 tmpMeta[1] = arrayGet(_iSCVarCLMapping, _scVarIdx)nobox_arrayGet(threadData,_iSCVarCLMapping,_scVarIdx);
4269#line 2738 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4270 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
4271#line 2738 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4272 tmp10 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
4273#line 2738 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4274 _clIdx = tmp10 /* pattern as ty=Integer */;
4275#line 4275 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4276
4277#line 2739 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4278 _oldVal = arrayGet(_iClTaskMapping, _clIdx)nobox_arrayGet(threadData,_iClTaskMapping,_clIdx);
4279#line 4279 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4280
4281#line 2740 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4282 tmpMeta[1] = mmc_mk_cons(mmc_mk_integermmc_mk_icon(_nodeIdx), _oldVal);
4283#line 2740 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4284 _iClTaskMapping = arrayUpdate(_iClTaskMapping, _clIdx, tmpMeta[1])boxptr_arrayUpdate(threadData,_iClTaskMapping,mmc_mk_icon(_clIdx
),tmpMeta[1])
;
4285#line 4285 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4286
4287#line 2742 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4288 _iScVarTaskMapping = arrayUpdate(_iScVarTaskMapping, _scVarIdx, mmc_mk_integer(_nodeIdx))boxptr_arrayUpdate(threadData,_iScVarTaskMapping,mmc_mk_icon(
_scVarIdx),mmc_mk_icon(_nodeIdx))
;
4289#line 4289 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4290#line 2745 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4291 tmpMeta[1] = mmc_mk_box3(0, _iClTaskMapping, _iScVarTaskMapping, mmc_mk_integermmc_mk_icon(((modelica_integer) 1) + _varIdx));
4292#line 2745 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4293 tmpMeta[0] = tmpMeta[1];
4294#line 4294 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4295 goto tmp2_done;
4296 }
4297 case 1: {
4298 modelica_integer tmp11;
4299 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
4300 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
4301 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
4302 tmp11 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
4303 _iClTaskMapping = tmpMeta[1];
4304 _iScVarTaskMapping = tmpMeta[2];
4305 _varIdx = tmp11 /* pattern as ty=Integer */;
4306 /* Pattern matching succeeded */
4307#line 2747 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4308 tmpMeta[1] = mmc_mk_box3(0, _iClTaskMapping, _iScVarTaskMapping, mmc_mk_integermmc_mk_icon(((modelica_integer) 1) + _varIdx));
4309#line 2747 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4310 tmpMeta[0] = tmpMeta[1];
4311#line 4311 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4312 goto tmp2_done;
4313 }
4314 }
4315 goto tmp2_end;
4316 tmp2_end: ;
4317 }
4318 goto goto_1;
4319 tmp2_done:
4320 (void)tmp3;
4321 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4322 goto tmp2_done2;
4323 goto_1:;
4324 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4325 if (++tmp3 < 2) {
4326 goto tmp2_top;
4327 }
4328 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4329 tmp2_done2:;
4330 }
4331 }
4332 _oCLTaskMappingVarIdx = tmpMeta[0];
4333 _return: OMC_LABEL_UNUSED__attribute__((unused))
4334 return _oCLTaskMappingVarIdx;
4335}
4336
4337PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getCacheLineTaskMapping(threadData_t *threadData, modelica_metatype _iTaskGraphMeta, modelica_metatype _iEqSystems, modelica_metatype _iVarNameSCVarIdxMapping, modelica_integer _iNumCacheLines, modelica_metatype _iSCVarCLMapping, modelica_metatype *out_oScVarTaskMapping)
4338{
4339 modelica_metatype _oCLTaskMapping = NULL((void*)0);
4340 modelica_metatype _oScVarTaskMapping = NULL((void*)0);
4341 modelica_metatype _varCompMapping = NULL((void*)0);
4342 modelica_metatype _tmpCLTaskMapping = NULL((void*)0);
4343 modelica_metatype _scVarTaskMapping = NULL((void*)0);
4344 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
4345 MMC_SO()mmc_check_stackoverflow(threadData);
4346 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4347 // _oCLTaskMapping has no default value.
4348 // _oScVarTaskMapping has no default value.
4349 // _varCompMapping has no default value.
4350 // _tmpCLTaskMapping has no default value.
4351 // _scVarTaskMapping has no default value.
4352#line 2697 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4353 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4354#line 2697 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4355 _tmpCLTaskMapping = arrayCreate(_iNumCacheLines, tmpMeta[0]);
4356#line 4356 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4357
4358#line 2698 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4359 _scVarTaskMapping = arrayCreate(arrayLength(_iSCVarCLMapping), mmc_mk_integermmc_mk_icon(((modelica_integer) -1)));
4360#line 4360 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4361
4362#line 2699 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4363 /* Pattern-matching assignment */
4364#line 2699 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4365 tmpMeta[0] = _iTaskGraphMeta;
4366#line 2699 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4367 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
4368#line 2699 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4369 _varCompMapping = tmpMeta[1];
4370#line 4370 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4371
4372#line 2701 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4373 /* Pattern-matching assignment */
4374#line 2701 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4375 tmpMeta[0] = mmc_mk_box3(0, _tmpCLTaskMapping, _scVarTaskMapping, mmc_mk_integermmc_mk_icon(((modelica_integer) 1)));
4376#line 2701 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4377 tmpMeta[1] = omc_Array_fold3(threadData, _varCompMapping, boxvar_HpcOmMemory_getCacheLineTaskMapping0((void*)((char*)(&(boxvar_lit_HpcOmMemory_getCacheLineTaskMapping0
).header) + 3))
, _iEqSystems, _iVarNameSCVarIdxMapping, _iSCVarCLMapping, tmpMeta[0]);
4378#line 2701 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4379 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
4380#line 2701 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4381 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
4382#line 2701 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4383 _tmpCLTaskMapping = tmpMeta[2];
4384#line 2701 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4385 _oScVarTaskMapping = tmpMeta[3];
4386#line 4386 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4387
4388#line 2702 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4389 _tmpCLTaskMapping = omc_Array_map1(threadData, _tmpCLTaskMapping, boxvar_List_sort((void*)((char*)(&(boxvar_lit_List_sort).header) + 3)), boxvar_intLt((void*)((char*)(&(boxvar_lit_intLt).header) + 3)));
4390#line 4390 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4391
4392#line 2703 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4393 _oCLTaskMapping = omc_Array_map1(threadData, _tmpCLTaskMapping, boxvar_List_sortedUnique((void*)((char*)(&(boxvar_lit_List_sortedUnique).header) +
3))
, boxvar_intEq((void*)((char*)(&(boxvar_lit_intEq).header) + 3)));
4394#line 4394 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4395 _return: OMC_LABEL_UNUSED__attribute__((unused))
4396 if (out_oScVarTaskMapping) { *out_oScVarTaskMapping = _oScVarTaskMapping; }
4397 return _oCLTaskMapping;
4398}
4399PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_getCacheLineTaskMapping(threadData_t *threadData, modelica_metatype _iTaskGraphMeta, modelica_metatype _iEqSystems, modelica_metatype _iVarNameSCVarIdxMapping, modelica_metatype _iNumCacheLines, modelica_metatype _iSCVarCLMapping, modelica_metatype *out_oScVarTaskMapping)
4400{
4401 modelica_integer tmp1;
4402 modelica_metatype _oCLTaskMapping = NULL((void*)0);
4403 tmp1 = mmc_unbox_integer(_iNumCacheLines)(((mmc_sint_t) (_iNumCacheLines)) >> 1);
4404 _oCLTaskMapping = omc_HpcOmMemory_getCacheLineTaskMapping(threadData, _iTaskGraphMeta, _iEqSystems, _iVarNameSCVarIdxMapping, tmp1, _iSCVarCLMapping, out_oScVarTaskMapping);
4405 /* skip box _oCLTaskMapping; array<list<#Integer>> */
4406 /* skip box _oScVarTaskMapping; array<#Integer> */
4407 return _oCLTaskMapping;
4408}
4409
4410PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getModifiedVarName(threadData_t *threadData, modelica_metatype _iVar)
4411{
4412 modelica_metatype _oVarName = NULL((void*)0);
4413 modelica_metatype _iVarName = NULL((void*)0);
4414 modelica_metatype _tmpVarName = NULL((void*)0);
4415 modelica_metatype _varKind = NULL((void*)0);
4416 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
4417 MMC_SO()mmc_check_stackoverflow(threadData);
4418 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4419 // _oVarName has no default value.
4420 // _iVarName has no default value.
4421 // _tmpVarName has no default value.
4422 // _varKind has no default value.
4423#line 4423 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4424 { /* match expression */
4425 modelica_metatype tmp3_1;
4426 tmp3_1 = _iVar;
4427 {
4428 volatile mmc_switch_type tmp3;
4429 int tmp4;
4430 tmp3 = 0;
4431 for (; tmp3 < 2; tmp3++) {
4432 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4433 case 0: {
4434 modelica_integer tmp5;
4435 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
4436 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
4437 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],1,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((3 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
4438 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
4439 tmp5 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
4440 if (1 != tmp5) goto tmp2_end;
4441
4442 _iVarName = tmpMeta[1];
4443 /* Pattern matching succeeded */
4444#line 2673 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4445 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4446#line 2673 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4447 tmpMeta[2] = mmc_mk_box5(3, &DAE_ComponentRef_CREF__QUAL__desc, _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)), _OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3)), tmpMeta[1], _iVarName);
4448#line 2673 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4449 tmpMeta[0] = tmpMeta[2];
4450#line 4450 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4451 goto tmp2_done;
4452 }
4453 case 1: {
4454 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
4455 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
4456
4457 _iVarName = tmpMeta[1];
4458 _varKind = tmpMeta[2];
4459 /* Pattern matching succeeded */
4460#line 2678 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4461 tmpMeta[0] = _iVarName;
4462#line 4462 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4463 goto tmp2_done;
4464 }
4465 }
4466 goto tmp2_end;
4467 tmp2_end: ;
4468 }
4469 goto goto_1;
4470 goto_1:;
4471 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4472 goto tmp2_done;
4473 tmp2_done:;
4474 }
4475 }
4476 _oVarName = tmpMeta[0];
4477 _return: OMC_LABEL_UNUSED__attribute__((unused))
4478 return _oVarName;
4479}
4480
4481PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_flattenEqSimCodeVarMapping(threadData_t *threadData, modelica_metatype _iEqSimCodeVarMapping)
4482{
4483 modelica_metatype _oFlatEqSimCodeVarMapping = NULL((void*)0);
4484 modelica_metatype _simCodeVarList = NULL((void*)0);
4485 modelica_metatype _tmpFlatEqSimCodeVarMapping = NULL((void*)0);
4486 modelica_integer _eqCount;
4487 modelica_integer _eqIdx;
4488 modelica_integer _eqSysIdx;
4489 modelica_integer _eqSimCodeVarIdx;
4490 modelica_metatype _eqSimCodeVarMappingEntry = NULL((void*)0);
4491 modelica_integer tmp1;
4492 modelica_integer tmp2;
4493 modelica_integer tmp3;
4494 modelica_integer tmp4;
4495 modelica_integer tmp5;
4496 modelica_integer tmp6;
4497 modelica_integer tmp7;
4498 modelica_integer tmp8;
4499 modelica_integer tmp9;
4500 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
4501 MMC_SO()mmc_check_stackoverflow(threadData);
4502 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4503 // _oFlatEqSimCodeVarMapping has no default value.
4504 // _simCodeVarList has no default value.
4505 // _tmpFlatEqSimCodeVarMapping has no default value.
4506 // _eqCount has no default value.
4507 // _eqIdx has no default value.
4508 // _eqSysIdx has no default value.
4509 // _eqSimCodeVarIdx has no default value.
4510 // _eqSimCodeVarMappingEntry has no default value.
4511#line 2642 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4512 _eqCount = ((modelica_integer) 0);
4513#line 4513 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4514
4515#line 2643 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4516 tmp1 = ((modelica_integer) 1); tmp2 = 1; tmp3 = arrayLength(_iEqSimCodeVarMapping);
4517#line 2643 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4518 if(!(((tmp2 > 0) && (tmp1 > tmp3)) || ((tmp2 < 0) && (tmp1 < tmp3))))
4519#line 2643 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4520 {
4521#line 2643 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4522 modelica_integer _eqSysIdx;
4523#line 2643 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4524 for(_eqSysIdx = ((modelica_integer) 1); in_range_integer(_eqSysIdx, tmp1, tmp3); _eqSysIdx += tmp2)
4525#line 2643 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4526 {
4527#line 2644 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4528 _eqSimCodeVarMappingEntry = arrayGet(_iEqSimCodeVarMapping, _eqSysIdx)nobox_arrayGet(threadData,_iEqSimCodeVarMapping,_eqSysIdx);
4529#line 4529 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4530
4531#line 2645 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4532 _eqCount = _eqCount + arrayLength(_eqSimCodeVarMappingEntry);
4533#line 4533 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4534 }
4535 }
4536
4537#line 2648 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4538 _eqIdx = ((modelica_integer) 1);
4539#line 4539 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4540
4541#line 2649 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4542 _tmpFlatEqSimCodeVarMapping = arrayCreate(_eqCount, _OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3)));
4543#line 4543 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4544
4545#line 2650 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4546 tmp7 = ((modelica_integer) 1); tmp8 = 1; tmp9 = arrayLength(_iEqSimCodeVarMapping);
4547#line 2650 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4548 if(!(((tmp8 > 0) && (tmp7 > tmp9)) || ((tmp8 < 0) && (tmp7 < tmp9))))
4549#line 2650 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4550 {
4551#line 2650 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4552 modelica_integer _eqSysIdx;
4553#line 2650 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4554 for(_eqSysIdx = ((modelica_integer) 1); in_range_integer(_eqSysIdx, tmp7, tmp9); _eqSysIdx += tmp8)
4555#line 2650 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4556 {
4557#line 2651 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4558 _eqSimCodeVarMappingEntry = arrayGet(_iEqSimCodeVarMapping, _eqSysIdx)nobox_arrayGet(threadData,_iEqSimCodeVarMapping,_eqSysIdx);
4559#line 4559 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4560
4561#line 2652 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4562 tmp4 = ((modelica_integer) 1); tmp5 = 1; tmp6 = arrayLength(_eqSimCodeVarMappingEntry);
4563#line 2652 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4564 if(!(((tmp5 > 0) && (tmp4 > tmp6)) || ((tmp5 < 0) && (tmp4 < tmp6))))
4565#line 2652 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4566 {
4567#line 2652 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4568 modelica_integer _eqSimCodeVarIdx;
4569#line 2652 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4570 for(_eqSimCodeVarIdx = ((modelica_integer) 1); in_range_integer(_eqSimCodeVarIdx, tmp4, tmp6); _eqSimCodeVarIdx += tmp5)
4571#line 2652 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4572 {
4573#line 2653 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4574 _simCodeVarList = arrayGet(_eqSimCodeVarMappingEntry, _eqSimCodeVarIdx)nobox_arrayGet(threadData,_eqSimCodeVarMappingEntry,_eqSimCodeVarIdx
)
;
4575#line 4575 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4576
4577#line 2654 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4578 tmpMeta[0] = mmc_mk_box2(0, mmc_mk_integermmc_mk_icon(_eqSysIdx), _simCodeVarList);
4579#line 2654 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4580 _tmpFlatEqSimCodeVarMapping = arrayUpdate(_tmpFlatEqSimCodeVarMapping, _eqIdx, tmpMeta[0])boxptr_arrayUpdate(threadData,_tmpFlatEqSimCodeVarMapping,mmc_mk_icon
(_eqIdx),tmpMeta[0])
;
4581#line 4581 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4582
4583#line 2655 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4584 _eqIdx = ((modelica_integer) 1) + _eqIdx;
4585#line 4585 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4586 }
4587 }
4588 }
4589 }
4590
4591#line 2659 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4592 _oFlatEqSimCodeVarMapping = _tmpFlatEqSimCodeVarMapping;
4593#line 4593 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4594 _return: OMC_LABEL_UNUSED__attribute__((unused))
4595 return _oFlatEqSimCodeVarMapping;
4596}
4597
4598PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_invertSccNodeMapping(threadData_t *threadData, modelica_metatype _iSccNodeMapping, modelica_integer _iNumberOfNodes)
4599{
4600 modelica_metatype _oNodeSccMapping = NULL((void*)0);
4601 modelica_metatype _tmpNodeSccMapping = NULL((void*)0);
4602 modelica_integer _sccIdx;
4603 modelica_integer _nodeIdx;
4604 modelica_metatype _nodeSccEntry = NULL((void*)0);
4605 modelica_integer tmp1;
4606 modelica_integer tmp2;
4607 modelica_integer tmp3;
4608 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
4609 MMC_SO()mmc_check_stackoverflow(threadData);
4610 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4611 // _oNodeSccMapping has no default value.
4612 // _tmpNodeSccMapping has no default value.
4613 // _sccIdx has no default value.
4614 // _nodeIdx has no default value.
4615 // _nodeSccEntry has no default value.
4616#line 2619 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4617 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4618#line 2619 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4619 _tmpNodeSccMapping = arrayCreate(_iNumberOfNodes, tmpMeta[0]);
4620#line 4620 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4621
4622#line 2621 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4623 tmp1 = ((modelica_integer) 1); tmp2 = 1; tmp3 = arrayLength(_iSccNodeMapping);
4624#line 2621 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4625 if(!(((tmp2 > 0) && (tmp1 > tmp3)) || ((tmp2 < 0) && (tmp1 < tmp3))))
4626#line 2621 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4627 {
4628#line 2621 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4629 modelica_integer _sccIdx;
4630#line 2621 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4631 for(_sccIdx = ((modelica_integer) 1); in_range_integer(_sccIdx, tmp1, tmp3); _sccIdx += tmp2)
4632#line 2621 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4633 {
4634#line 2622 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4635 _nodeIdx = mmc_unbox_integer(arrayGet(_iSccNodeMapping, _sccIdx))(((mmc_sint_t) (nobox_arrayGet(threadData,_iSccNodeMapping,_sccIdx
))) >> 1)
;
4636#line 4636 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4637
4638#line 2623 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4639 if((_nodeIdx > ((modelica_integer) 0)))
4640#line 2623 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4641 {
4642#line 2625 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4643 _nodeSccEntry = arrayGet(_tmpNodeSccMapping, _nodeIdx)nobox_arrayGet(threadData,_tmpNodeSccMapping,_nodeIdx);
4644#line 4644 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4645
4646#line 2626 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4647 tmpMeta[0] = mmc_mk_cons(mmc_mk_integermmc_mk_icon(_sccIdx), _nodeSccEntry);
4648#line 2626 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4649 _tmpNodeSccMapping = arrayUpdate(_tmpNodeSccMapping, _nodeIdx, tmpMeta[0])boxptr_arrayUpdate(threadData,_tmpNodeSccMapping,mmc_mk_icon(
_nodeIdx),tmpMeta[0])
;
4650#line 4650 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4651 }
4652 }
4653 }
4654
4655#line 2629 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4656 _oNodeSccMapping = _tmpNodeSccMapping;
4657#line 4657 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4658 _return: OMC_LABEL_UNUSED__attribute__((unused))
4659 return _oNodeSccMapping;
4660}
4661PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_invertSccNodeMapping(threadData_t *threadData, modelica_metatype _iSccNodeMapping, modelica_metatype _iNumberOfNodes)
4662{
4663 modelica_integer tmp1;
4664 modelica_metatype _oNodeSccMapping = NULL((void*)0);
4665 tmp1 = mmc_unbox_integer(_iNumberOfNodes)(((mmc_sint_t) (_iNumberOfNodes)) >> 1);
4666 _oNodeSccMapping = omc_HpcOmMemory_invertSccNodeMapping(threadData, _iSccNodeMapping, tmp1);
4667 /* skip box _oNodeSccMapping; array<list<#Integer>> */
4668 return _oNodeSccMapping;
4669}
4670
4671PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_invertEqCompMapping(threadData_t *threadData, modelica_metatype _iEqCompMapping, modelica_integer _iNumOfComps)
4672{
4673 modelica_metatype _oCompEqMapping = NULL((void*)0);
4674 modelica_metatype _tmpCompEqMapping = NULL((void*)0);
4675 modelica_integer _eqIdx;
4676 modelica_integer _compIdx;
4677 modelica_integer _eqSystemIdx;
4678 modelica_integer _offset;
4679 modelica_metatype _eqCompEntry = NULL((void*)0);
4680 modelica_metatype _compEqEntry = NULL((void*)0);
4681 modelica_integer tmp1;
4682 modelica_integer tmp2;
4683 modelica_integer tmp3;
4684 modelica_integer tmp4;
4685 modelica_integer tmp5;
4686 modelica_integer tmp6;
4687 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
4688 MMC_SO()mmc_check_stackoverflow(threadData);
4689 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4690 // _oCompEqMapping has no default value.
4691 // _tmpCompEqMapping has no default value.
4692 // _eqIdx has no default value.
4693 // _compIdx has no default value.
4694 // _eqSystemIdx has no default value.
4695 // _offset has no default value.
4696 // _eqCompEntry has no default value.
4697 // _compEqEntry has no default value.
4698#line 2601 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4699 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4700#line 2601 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4701 _tmpCompEqMapping = arrayCreate(_iNumOfComps, tmpMeta[0]);
4702#line 4702 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4703
4704#line 2602 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4705 tmp4 = ((modelica_integer) 1); tmp5 = 1; tmp6 = arrayLength(_iEqCompMapping);
4706#line 2602 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4707 if(!(((tmp5 > 0) && (tmp4 > tmp6)) || ((tmp5 < 0) && (tmp4 < tmp6))))
4708#line 2602 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4709 {
4710#line 2602 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4711 modelica_integer _eqIdx;
4712#line 2602 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4713 for(_eqIdx = ((modelica_integer) 1); in_range_integer(_eqIdx, tmp4, tmp6); _eqIdx += tmp5)
4714#line 2602 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4715 {
4716#line 2603 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4717 /* Pattern-matching assignment */
4718#line 2603 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4719 tmpMeta[0] = arrayGet(_iEqCompMapping, _eqIdx)nobox_arrayGet(threadData,_iEqCompMapping,_eqIdx);
4720#line 2603 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4721 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
4722#line 2603 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4723 tmp1 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
4724#line 2603 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4725 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
4726#line 2603 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4727 tmp2 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
4728#line 2603 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4729 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
4730#line 2603 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4731 tmp3 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
4732#line 2603 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4733 _compIdx = tmp1 /* pattern as ty=Integer */;
4734#line 2603 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4735 _eqSystemIdx = tmp2 /* pattern as ty=Integer */;
4736#line 2603 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4737 _offset = tmp3 /* pattern as ty=Integer */;
4738#line 4738 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4739
4740#line 2604 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4741 _compEqEntry = arrayGet(_tmpCompEqMapping, _compIdx)nobox_arrayGet(threadData,_tmpCompEqMapping,_compIdx);
4742#line 4742 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4743
4744#line 2605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4745 tmpMeta[1] = mmc_mk_box3(0, mmc_mk_integermmc_mk_icon(_eqIdx), mmc_mk_integermmc_mk_icon(_eqSystemIdx), mmc_mk_integermmc_mk_icon(_offset));
4746#line 2605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4747 tmpMeta[0] = mmc_mk_cons(tmpMeta[1], _compEqEntry);
4748#line 2605 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4749 _tmpCompEqMapping = arrayUpdate(_tmpCompEqMapping, _compIdx, tmpMeta[0])boxptr_arrayUpdate(threadData,_tmpCompEqMapping,mmc_mk_icon(_compIdx
),tmpMeta[0])
;
4750#line 4750 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4751 }
4752 }
4753
4754#line 2607 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4755 _oCompEqMapping = _tmpCompEqMapping;
4756#line 4756 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4757 _return: OMC_LABEL_UNUSED__attribute__((unused))
4758 return _oCompEqMapping;
4759}
4760PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_invertEqCompMapping(threadData_t *threadData, modelica_metatype _iEqCompMapping, modelica_metatype _iNumOfComps)
4761{
4762 modelica_integer tmp1;
4763 modelica_metatype _oCompEqMapping = NULL((void*)0);
4764 tmp1 = mmc_unbox_integer(_iNumOfComps)(((mmc_sint_t) (_iNumOfComps)) >> 1);
4765 _oCompEqMapping = omc_HpcOmMemory_invertEqCompMapping(threadData, _iEqCompMapping, tmp1);
4766 /* skip box _oCompEqMapping; array<list<tuple<#Integer, #Integer, #Integer>>> */
4767 return _oCompEqMapping;
4768}
4769
4770PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getSimCodeVarNodeMapping0(threadData_t *threadData, modelica_metatype _iCompIdx, modelica_metatype _iEqSystems, modelica_metatype _iVarNameSCVarIdxMapping, modelica_metatype _iCompNodeMapping, modelica_metatype _iScVarTaskMappingVarIdx)
4771{
4772 modelica_metatype _oScVarTaskMappingVarIdx = NULL((void*)0);
4773 modelica_metatype _iScVarTaskMapping = NULL((void*)0);
4774 modelica_integer _varIdx;
4775 modelica_integer _eqSysIdx;
4776 modelica_integer _varOffset;
4777 modelica_integer _scVarIdx;
4778 modelica_integer _compIdx;
4779 modelica_integer _nodeIdx;
4780 modelica_integer _scVarOffset;
4781 modelica_metatype _eqSystem = NULL((void*)0);
4782 modelica_metatype _orderedVars = NULL((void*)0);
4783 modelica_metatype _varOptArr = NULL((void*)0);
4784 modelica_metatype _var = NULL((void*)0);
4785 modelica_metatype _varName = NULL((void*)0);
4786 modelica_metatype _scVarValues = NULL((void*)0);
4787 modelica_string _varNameString = NULL((void*)0);
4788 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
4789 MMC_SO()mmc_check_stackoverflow(threadData);
4790 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4791 // _oScVarTaskMappingVarIdx has no default value.
4792 // _iScVarTaskMapping has no default value.
4793 // _varIdx has no default value.
4794 // _eqSysIdx has no default value.
4795 // _varOffset has no default value.
4796 // _scVarIdx has no default value.
4797 // _compIdx has no default value.
4798 // _nodeIdx has no default value.
4799 // _scVarOffset has no default value.
4800 // _eqSystem has no default value.
4801 // _orderedVars has no default value.
4802 // _varOptArr has no default value.
4803 // _var has no default value.
4804 // _varName has no default value.
4805 // _scVarValues has no default value.
4806 // _varNameString has no default value.
4807#line 4807 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4808 { /* matchcontinue expression */
4809 volatile modelica_metatype tmp3_1;volatile modelica_metatype tmp3_2;
4810 tmp3_1 = _iCompIdx;
4811 tmp3_2 = _iScVarTaskMappingVarIdx;
4812 {
4813 volatile mmc_switch_type tmp3;
4814 int tmp4;
4815 tmp3 = 0;
4816 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) {
4817 tmp2_top:
4818 threadData->mmc_jumper = &new_mmc_jumper;
4819 for (; tmp3 < 2; tmp3++) {
4820 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4821 case 0: {
4822 modelica_integer tmp5;
4823 modelica_integer tmp6;
4824 modelica_integer tmp7;
4825 modelica_integer tmp8;
4826 modelica_boolean tmp9;
4827 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
4828 tmp5 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
4829 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
4830 tmp6 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
4831 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
4832 tmp7 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
4833 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
4834 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
4835 tmp8 = mmc_unbox_integer(tmpMeta[5])(((mmc_sint_t) (tmpMeta[5])) >> 1);
4836 _compIdx = tmp5 /* pattern as ty=Integer */;
4837 _eqSysIdx = tmp6 /* pattern as ty=Integer */;
4838 _varOffset = tmp7 /* pattern as ty=Integer */;
4839 _iScVarTaskMapping = tmpMeta[4];
4840 _varIdx = tmp8 /* pattern as ty=Integer */;
4841 /* Pattern matching succeeded */
4842#line 2566 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4843 /* Pattern-matching assignment */
4844#line 2566 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4845 tmp9 = (_compIdx > ((modelica_integer) 0));
4846#line 2566 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4847 if (1 != tmp9) goto goto_1;
4848#line 4848 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4849
4850#line 2567 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4851 _eqSystem = listGet(_iEqSystems, _eqSysIdx)boxptr_listGet(threadData,_iEqSystems,mmc_mk_icon(_eqSysIdx));
4852#line 4852 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4853
4854#line 2568 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4855 /* Pattern-matching assignment */
4856#line 2568 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4857 tmpMeta[1] = _eqSystem;
4858#line 2568 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4859 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
4860#line 2568 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4861 _orderedVars = tmpMeta[2];
4862#line 4862 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4863
4864#line 2569 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4865 _var = omc_BackendVariable_getVarAt(threadData, _orderedVars, _varIdx - _varOffset);
4866#line 4866 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4867
4868#line 2570 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4869 /* Pattern-matching assignment */
4870#line 2570 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4871 tmpMeta[1] = _var;
4872#line 2570 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4873 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
4874#line 2570 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4875 _varName = tmpMeta[2];
4876#line 4876 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4877
4878#line 2571 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4879 _varName = omc_HpcOmMemory_getModifiedVarName(threadData, _var);
4880#line 4880 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4881
4882#line 2572 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4883 _scVarValues = omc_BaseHashTable_get(threadData, _varName, _iVarNameSCVarIdxMapping);
4884#line 4884 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4885
4886#line 2573 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4887 _varNameString = omc_ComponentReference_printComponentRefStr(threadData, _varName);
4888#line 4888 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4889
4890#line 2575 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4891 _scVarIdx = mmc_unbox_integer(listHead(_scVarValues))(((mmc_sint_t) (boxptr_listHead(threadData,_scVarValues))) >>
1)
;
4892#line 4892 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4893
4894#line 2576 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4895 _scVarOffset = mmc_unbox_integer(omc_List_second(threadData, _scVarValues))(((mmc_sint_t) (omc_List_second(threadData, _scVarValues))) >>
1)
;
4896#line 4896 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4897
4898#line 2577 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4899 _scVarIdx = _scVarIdx + _scVarOffset;
4900#line 4900 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4901
4902#line 2578 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4903 _nodeIdx = mmc_unbox_integer(arrayGet(_iCompNodeMapping, _compIdx))(((mmc_sint_t) (nobox_arrayGet(threadData,_iCompNodeMapping,_compIdx
))) >> 1)
;
4904#line 4904 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4905
4906#line 2581 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4907 _iScVarTaskMapping = arrayUpdate(_iScVarTaskMapping, _scVarIdx, mmc_mk_integer(_nodeIdx))boxptr_arrayUpdate(threadData,_iScVarTaskMapping,mmc_mk_icon(
_scVarIdx),mmc_mk_icon(_nodeIdx))
;
4908#line 4908 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4909#line 2584 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4910 tmpMeta[1] = mmc_mk_box2(0, _iScVarTaskMapping, mmc_mk_integermmc_mk_icon(((modelica_integer) 1) + _varIdx));
4911#line 2584 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4912 tmpMeta[0] = tmpMeta[1];
4913#line 4913 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4914 goto tmp2_done;
4915 }
4916 case 1: {
4917 modelica_integer tmp10;
4918 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
4919 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
4920 tmp10 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
4921 _iScVarTaskMapping = tmpMeta[1];
4922 _varIdx = tmp10 /* pattern as ty=Integer */;
4923 /* Pattern matching succeeded */
4924#line 2586 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4925 tmpMeta[1] = mmc_mk_box2(0, _iScVarTaskMapping, mmc_mk_integermmc_mk_icon(((modelica_integer) 1) + _varIdx));
4926#line 2586 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4927 tmpMeta[0] = tmpMeta[1];
4928#line 4928 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4929 goto tmp2_done;
4930 }
4931 }
4932 goto tmp2_end;
4933 tmp2_end: ;
4934 }
4935 goto goto_1;
4936 tmp2_done:
4937 (void)tmp3;
4938 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4939 goto tmp2_done2;
4940 goto_1:;
4941 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4942 if (++tmp3 < 2) {
4943 goto tmp2_top;
4944 }
4945 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4946 tmp2_done2:;
4947 }
4948 }
4949 _oScVarTaskMappingVarIdx = tmpMeta[0];
4950 _return: OMC_LABEL_UNUSED__attribute__((unused))
4951 return _oScVarTaskMappingVarIdx;
4952}
4953
4954PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_getSimCodeVarNodeMapping(threadData_t *threadData, modelica_metatype _iTaskGraphMeta, modelica_metatype _iEqSystems, modelica_integer _iNumScVars, modelica_metatype _iCompNodeMapping, modelica_metatype _iVarNameSCVarIdxMapping)
4955{
4956 modelica_metatype _oScVarTaskMapping = NULL((void*)0);
4957 modelica_metatype _varCompMapping = NULL((void*)0);
4958 modelica_metatype _scVarTaskMapping = NULL((void*)0);
4959 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
4960 MMC_SO()mmc_check_stackoverflow(threadData);
4961 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4962 // _oScVarTaskMapping has no default value.
4963 // _varCompMapping has no default value.
4964 // _scVarTaskMapping has no default value.
4965#line 2538 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4966 _scVarTaskMapping = arrayCreate(_iNumScVars, mmc_mk_integermmc_mk_icon(((modelica_integer) -1)));
4967#line 4967 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4968
4969#line 2539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4970 /* Pattern-matching assignment */
4971#line 2539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4972 tmpMeta[0] = _iTaskGraphMeta;
4973#line 2539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4974 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
4975#line 2539 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4976 _varCompMapping = tmpMeta[1];
4977#line 4977 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4978
4979#line 2541 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4980 /* Pattern-matching assignment */
4981#line 2541 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4982 tmpMeta[0] = mmc_mk_box2(0, _scVarTaskMapping, mmc_mk_integermmc_mk_icon(((modelica_integer) 1)));
4983#line 2541 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4984 tmpMeta[1] = omc_Array_fold3(threadData, _varCompMapping, boxvar_HpcOmMemory_getSimCodeVarNodeMapping0((void*)((char*)(&(boxvar_lit_HpcOmMemory_getSimCodeVarNodeMapping0
).header) + 3))
, _iEqSystems, _iVarNameSCVarIdxMapping, _iCompNodeMapping, tmpMeta[0]);
4985#line 2541 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4986 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
4987#line 2541 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
4988 _oScVarTaskMapping = tmpMeta[2];
4989#line 4989 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
4990 _return: OMC_LABEL_UNUSED__attribute__((unused))
4991 return _oScVarTaskMapping;
4992}
4993PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_HpcOmMemory_getSimCodeVarNodeMapping(threadData_t *threadData, modelica_metatype _iTaskGraphMeta, modelica_metatype _iEqSystems, modelica_metatype _iNumScVars, modelica_metatype _iCompNodeMapping, modelica_metatype _iVarNameSCVarIdxMapping)
4994{
4995 modelica_integer tmp1;
4996 modelica_metatype _oScVarTaskMapping = NULL((void*)0);
4997 tmp1 = mmc_unbox_integer(_iNumScVars)(((mmc_sint_t) (_iNumScVars)) >> 1);
4998 _oScVarTaskMapping = omc_HpcOmMemory_getSimCodeVarNodeMapping(threadData, _iTaskGraphMeta, _iEqSystems, tmp1, _iCompNodeMapping, _iVarNameSCVarIdxMapping);
4999 /* skip box _oScVarTaskMapping; array<#Integer> */
5000 return _oScVarTaskMapping;
5001}
5002
5003PROTECTED_FUNCTION_STATIC modelica_metatype omc_HpcOmMemory_createMemoryMapTraverse0(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_metatype *out_oTpl)
5004{
5005 modelica_metatype _outExp = NULL((void*)0);
5006 modelica_metatype _oTpl = NULL((void*)0);
5007 modelica_metatype _iVarList = NULL((void*)0);
5008 modelica_metatype _oVarList = NULL((void*)0);
5009 modelica_metatype _varInfo = NULL((void*)0);
5010 modelica_integer _varIdx;
5011 modelica_integer _varHead;
5012 modelica_metatype _iHashTable = NULL((void*)0);
5013 modelica_metatype _iExp = NULL((void*)0);
5014 modelica_metatype _componentRef = NULL((void*)0);
5015 modelica_metatype tmpMeta[10] __attribute__((unused)) = {0};
5016 MMC_SO()mmc_check_stackoverflow(threadData);
5017 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
5018 // _outExp has no default value.
5019 // _oTpl has no default value.
5020 // _iVarList has no default value.
5021 // _oVarList has no default value.
5022 // _varInfo has no default value.
5023 // _varIdx has no default value.
5024 // _varHead has no default value.
5025 // _iHashTable has no default value.
5026 // _iExp has no default value.
5027 // _componentRef has no default value.
5028#line 2492 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
5029
5030#line 2492 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/BackEnd/HpcOmMemory.mo"
5031
5032#line 5032 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/HpcOmMemory.c"
5033 { /* matchcontinue expression */
5034 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
5035 tmp4_1 = _inExp;
5036 tmp4_2 = _inTpl;
5037 {
5038 volatile mmc_switch_type tmp4;
5039 int tmp5;
5040 tmp4 = 0;
5041 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) {
5042 tmp3_top:
5043 threadData->mmc_jumper = &new_mmc_jumper;
5044 for (; tmp4 < 3; tmp4++) {
5045 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
5046 case 0: {
5047 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,13,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((3 +1) <<
10) + (((13 +3) & 255) << 2)))
== 0) goto tmp3_end;
5048 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
5049 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
5050 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
5051 if (3 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT74)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT74).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp3_end;
5052 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
5053 if (listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
5054 tmpMeta[5] = MMC_CAR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
5055 tmpMeta[6] = MMC_CDR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
5056 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[5],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
5057 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[5]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
5058 if (!listEmpty(tmpMeta[6])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
5059 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
5060 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
5061 _iExp = tmp4_1;
5062 _componentRef = tmpMeta[7];
5063 _iHashTable = tmpMeta[8];
5064 _iVarList = tmpMeta[9];
5065