Bug Summary

File:OMCompiler/Compiler/boot/build/JSONExt.c
Warning:line 1002, column 5
Value stored to '_no' 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/JSONExt.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/JSONExt.c" "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
5#endif
6#include "omc_simulation_settings.h"
7#include "JSONExt.h"
8#define _OMC_LIT0_data"" ""
9static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT0,0,_OMC_LIT0_data)struct { mmc_uint_t header; const char data[(0)+1]; } _OMC_LIT_STRUCT0
= { ((((mmc_uint_t)0)<<(3))+((1<<(3+3))+5)), "" }
;
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"\"" "\""
12static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT1,1,_OMC_LIT1_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT1
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "\""
}
;
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"{\"" "{\""
15static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT2,2,_OMC_LIT2_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT2
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "{\""
}
;
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"\":{" "\":{"
18static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT3,3,_OMC_LIT3_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT3
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "\":{"
}
;
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,2,_OMC_LIT4_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT4
= { ((((mmc_uint_t)2)<<(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"," ","
24static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT5,1,_OMC_LIT5_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT5
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), ","
}
;
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"}}" "}}"
27static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT6,2,_OMC_LIT6_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT6
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "}}"
}
;
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"[]" "[]"
30static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT7,2,_OMC_LIT7_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT7
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "[]"
}
;
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"[" "["
33static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT8,1,_OMC_LIT8_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT8
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "["
}
;
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"]" "]"
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)), "]"
}
;
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"{\"Tuple\":{" "{\"Tuple\":{"
39static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT10,10,_OMC_LIT10_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT10
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "{\"Tuple\":{"
}
;
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"}} " "}} "
42static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT11,3,_OMC_LIT11_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT11
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "}} "
}
;
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"UNKNOWN(" "UNKNOWN("
45static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT12,8,_OMC_LIT12_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT12
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "UNKNOWN("
}
;
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")" ")"
48static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT13,1,_OMC_LIT13_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT13
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), ")"
}
;
49#define _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT13)((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))
50#include "util/modelica.h"
51
52#include "JSONExt_includes.h"
53
54
55/* default, do not make protected functions static */
56#if !defined(PROTECTED_FUNCTION_STATIC)
57#define PROTECTED_FUNCTION_STATIC
58#endif
59PROTECTED_FUNCTION_STATIC modelica_metatype omc_JSONExt_getSome(threadData_t *threadData, modelica_metatype _a);
60static const MMC_DEFSTRUCTLIT(boxvar_lit_JSONExt_getSome,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_JSONExt_getSome
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_JSONExt_getSomeomc_JSONExt_getSome,0}};
61#define boxvar_JSONExt_getSome((void*)((char*)(&(boxvar_lit_JSONExt_getSome).header) + 3
))
MMC_REFSTRUCTLIT(boxvar_lit_JSONExt_getSome)((void*)((char*)(&(boxvar_lit_JSONExt_getSome).header) + 3
))
62PROTECTED_FUNCTION_STATIC modelica_string omc_JSONExt_getString(threadData_t *threadData, modelica_metatype _a);
63static const MMC_DEFSTRUCTLIT(boxvar_lit_JSONExt_getString,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_JSONExt_getString
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_JSONExt_getStringomc_JSONExt_getString,0}};
64#define boxvar_JSONExt_getString((void*)((char*)(&(boxvar_lit_JSONExt_getString).header) +
3))
MMC_REFSTRUCTLIT(boxvar_lit_JSONExt_getString)((void*)((char*)(&(boxvar_lit_JSONExt_getString).header) +
3))
65PROTECTED_FUNCTION_STATIC modelica_real omc_JSONExt_getReal(threadData_t *threadData, modelica_metatype _a);
66PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_JSONExt_getReal(threadData_t *threadData, modelica_metatype _a);
67static const MMC_DEFSTRUCTLIT(boxvar_lit_JSONExt_getReal,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_JSONExt_getReal
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_JSONExt_getReal,0}};
68#define boxvar_JSONExt_getReal((void*)((char*)(&(boxvar_lit_JSONExt_getReal).header) + 3
))
MMC_REFSTRUCTLIT(boxvar_lit_JSONExt_getReal)((void*)((char*)(&(boxvar_lit_JSONExt_getReal).header) + 3
))
69PROTECTED_FUNCTION_STATIC modelica_integer omc_JSONExt_getInteger(threadData_t *threadData, modelica_metatype _a);
70PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_JSONExt_getInteger(threadData_t *threadData, modelica_metatype _a);
71static const MMC_DEFSTRUCTLIT(boxvar_lit_JSONExt_getInteger,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_JSONExt_getInteger
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_JSONExt_getInteger,0}};
72#define boxvar_JSONExt_getInteger((void*)((char*)(&(boxvar_lit_JSONExt_getInteger).header)
+ 3))
MMC_REFSTRUCTLIT(boxvar_lit_JSONExt_getInteger)((void*)((char*)(&(boxvar_lit_JSONExt_getInteger).header)
+ 3))
73PROTECTED_FUNCTION_STATIC modelica_metatype omc_JSONExt_getRecordNamesHelper(threadData_t *threadData, modelica_metatype _any);
74static const MMC_DEFSTRUCTLIT(boxvar_lit_JSONExt_getRecordNamesHelper,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_JSONExt_getRecordNamesHelper
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_JSONExt_getRecordNamesHelperomc_JSONExt_getRecordNamesHelper,0}};
75#define boxvar_JSONExt_getRecordNamesHelper((void*)((char*)(&(boxvar_lit_JSONExt_getRecordNamesHelper
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_JSONExt_getRecordNamesHelper)((void*)((char*)(&(boxvar_lit_JSONExt_getRecordNamesHelper
).header) + 3))
76
77modelica_metatype omc_JSONExt_getListElement(threadData_t *threadData, modelica_metatype _iany, modelica_integer _offset)
78{
79 modelica_metatype _iany_ext;
80 int _offset_ext;
81 modelica_metatype _oany_ext;
82 modelica_metatype _oany = NULL((void*)0);
83#line 395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
84 // _oany has no default value.
85#line 395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
86 _iany_ext = (modelica_metatype)_iany;
87#line 395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
88
89#line 395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
90 _offset_ext = (int)_offset;
91#line 395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
92 _oany_ext = omc_get_list_element(_iany_ext, _offset_ext);
93#line 395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
94 _oany = (modelica_metatype)_oany_ext;
95#line 395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
96 return _oany;
97#line 395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
98}
99#line 395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
100modelica_metatype boxptr_JSONExt_getListElement(threadData_t *threadData, modelica_metatype _iany, modelica_metatype _offset)
101#line 395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
102{
103#line 395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
104 modelica_integer tmp1;
105#line 395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
106 modelica_metatype _oany = NULL((void*)0);
107#line 395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
108 tmp1 = mmc_unbox_integer(_offset)(((mmc_sint_t) (_offset)) >> 1);
109#line 395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
110 _oany = omc_JSONExt_getListElement(threadData, _iany, tmp1);
111#line 395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
112 /* skip box _oany; polymorphic<TOUT> */
113#line 395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
114 return _oany;
115#line 395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
116}
117#line 395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
118
119#line 395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
120modelica_metatype omc_JSONExt_getList(threadData_t *threadData, modelica_metatype _iany)
121#line 395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
122{
123#line 395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
124 modelica_metatype _iany_ext;
125#line 395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
126 modelica_metatype _oany_ext;
127#line 395 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
128 modelica_metatype _oany = NULL((void*)0);
129#line 384 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
130 // _oany has no default value.
131#line 384 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
132 _iany_ext = (modelica_metatype)_iany;
133#line 384 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
134 _oany_ext = omc_get_list(_iany_ext);
135#line 384 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
136 _oany = (modelica_metatype)_oany_ext;
137#line 384 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
138 return _oany;
139#line 384 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
140}
141#line 384 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
142
143#line 384 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
144modelica_integer omc_JSONExt_getTupleSize(threadData_t *threadData, modelica_metatype _any)
145#line 384 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
146{
147#line 384 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
148 modelica_metatype _any_ext;
149#line 384 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
150 int _sz_ext;
151#line 384 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
152 modelica_integer _sz;
153#line 372 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
154 // _sz has no default value.
155#line 372 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
156 _any_ext = (modelica_metatype)_any;
157#line 372 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
158 _sz_ext = omc_get_tuple_size(_any_ext);
159#line 372 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
160 _sz = (modelica_integer)_sz_ext;
161#line 372 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
162 return _sz;
163#line 372 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
164}
165#line 372 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
166modelica_metatype boxptr_JSONExt_getTupleSize(threadData_t *threadData, modelica_metatype _any)
167#line 372 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
168{
169#line 372 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
170 modelica_integer _sz;
171#line 372 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
172 modelica_metatype out_sz;
173#line 372 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
174 _sz = omc_JSONExt_getTupleSize(threadData, _any);
175#line 372 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
176 out_sz = mmc_mk_icon(_sz);
177#line 372 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
178 return out_sz;
179#line 372 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
180}
181#line 372 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
182
183#line 372 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
184PROTECTED_FUNCTION_STATIC modelica_metatype omc_JSONExt_getSome(threadData_t *threadData, modelica_metatype _a)
185#line 372 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
186{
187#line 372 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
188 modelica_metatype _a_ext;
189#line 372 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
190 modelica_metatype _o_ext;
191#line 372 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
192 modelica_metatype _o = NULL((void*)0);
193#line 362 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
194 // _o has no default value.
195#line 362 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
196 _a_ext = (modelica_metatype)_a;
197#line 362 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
198 _o_ext = omc_get_some(_a_ext);
199#line 362 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
200 _o = (modelica_metatype)_o_ext;
201#line 362 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
202 return _o;
203#line 362 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
204}
205#line 362 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
206
207#line 362 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
208PROTECTED_FUNCTION_STATIC modelica_string omc_JSONExt_getString(threadData_t *threadData, modelica_metatype _a)
209#line 362 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
210{
211#line 362 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
212 modelica_metatype _a_ext;
213#line 362 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
214 const char* _s_ext;
215#line 362 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
216 modelica_string _s = NULL((void*)0);
217#line 352 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
218 // _s has no default value.
219#line 352 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
220 _a_ext = (modelica_metatype)_a;
221#line 352 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
222 _s_ext = omc_cast_string(_a_ext);
223#line 352 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
224 _s = (modelica_string)mmc_mk_scon(_s_ext);
225#line 352 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
226 return _s;
227#line 352 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
228}
229#line 352 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
230
231#line 352 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
232PROTECTED_FUNCTION_STATIC modelica_real omc_JSONExt_getReal(threadData_t *threadData, modelica_metatype _a)
233#line 352 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
234{
235#line 352 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
236 modelica_metatype _a_ext;
237#line 352 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
238 double _r_ext;
239#line 352 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
240 modelica_real _r;
241#line 342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
242 // _r has no default value.
243#line 342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
244 _a_ext = (modelica_metatype)_a;
245#line 342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
246 _r_ext = omc_cast_real(_a_ext);
247#line 342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
248 _r = (modelica_real)_r_ext;
249#line 342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
250 return _r;
251#line 342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
252}
253#line 342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
254PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_JSONExt_getReal(threadData_t *threadData, modelica_metatype _a)
255#line 342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
256{
257#line 342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
258 modelica_real _r;
259#line 342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
260 modelica_metatype out_r;
261#line 342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
262 _r = omc_JSONExt_getReal(threadData, _a);
263#line 342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
264 out_r = mmc_mk_rcon(_r);
265#line 342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
266 return out_r;
267#line 342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
268}
269#line 342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
270
271#line 342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
272PROTECTED_FUNCTION_STATIC modelica_integer omc_JSONExt_getInteger(threadData_t *threadData, modelica_metatype _a)
273#line 342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
274{
275#line 342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
276 modelica_metatype _a_ext;
277#line 342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
278 int _i_ext;
279#line 342 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
280 modelica_integer _i;
281#line 332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
282 // _i has no default value.
283#line 332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
284 _a_ext = (modelica_metatype)_a;
285#line 332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
286 _i_ext = omc_cast_int(_a_ext);
287#line 332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
288 _i = (modelica_integer)_i_ext;
289#line 332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
290 return _i;
291#line 332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
292}
293#line 332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
294PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_JSONExt_getInteger(threadData_t *threadData, modelica_metatype _a)
295#line 332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
296{
297#line 332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
298 modelica_integer _i;
299#line 332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
300 modelica_metatype out_i;
301#line 332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
302 _i = omc_JSONExt_getInteger(threadData, _a);
303#line 332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
304 out_i = mmc_mk_icon(_i);
305#line 332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
306 return out_i;
307#line 332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
308}
309#line 332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
310
311#line 332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
312modelica_metatype omc_JSONExt_getRecordComponent(threadData_t *threadData, modelica_metatype _iany, modelica_integer _offset)
313#line 332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
314{
315#line 332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
316 modelica_metatype _iany_ext;
317#line 332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
318 int _offset_ext;
319#line 332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
320 modelica_metatype _oany_ext;
321#line 332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
322 modelica_metatype _oany = NULL((void*)0);
323#line 308 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
324 // _oany has no default value.
325#line 308 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
326 _iany_ext = (modelica_metatype)_iany;
327#line 308 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
328
329#line 308 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
330 _offset_ext = (int)_offset;
331#line 308 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
332 _oany_ext = omc_get_record_component(_iany_ext, _offset_ext);
333#line 308 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
334 _oany = (modelica_metatype)_oany_ext;
335#line 308 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
336 return _oany;
337#line 308 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
338}
339#line 308 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
340modelica_metatype boxptr_JSONExt_getRecordComponent(threadData_t *threadData, modelica_metatype _iany, modelica_metatype _offset)
341#line 308 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
342{
343#line 308 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
344 modelica_integer tmp1;
345#line 308 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
346 modelica_metatype _oany = NULL((void*)0);
347#line 308 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
348 tmp1 = mmc_unbox_integer(_offset)(((mmc_sint_t) (_offset)) >> 1);
349#line 308 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
350 _oany = omc_JSONExt_getRecordComponent(threadData, _iany, tmp1);
351#line 308 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
352 /* skip box _oany; polymorphic<TOUT> */
353#line 308 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
354 return _oany;
355#line 308 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
356}
357#line 308 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
358
359#line 308 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
360PROTECTED_FUNCTION_STATIC modelica_metatype omc_JSONExt_getRecordNamesHelper(threadData_t *threadData, modelica_metatype _any)
361#line 308 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
362{
363#line 308 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
364 modelica_metatype _any_ext;
365#line 308 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
366 modelica_metatype _nameAndComponentsNames_ext;
367#line 308 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
368 modelica_metatype _nameAndComponentsNames = NULL((void*)0);
369#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
370 // _nameAndComponentsNames has no default value.
371#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
372 _any_ext = (modelica_metatype)_any;
373#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
374 _nameAndComponentsNames_ext = omc_get_record_names(_any_ext);
375#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
376 _nameAndComponentsNames = (modelica_metatype)_nameAndComponentsNames_ext;
377#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
378 return _nameAndComponentsNames;
379#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
380}
381#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
382
383#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
384DLLExport
385#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
386modelica_metatype omc_JSONExt_getRecordNames(threadData_t *threadData, modelica_metatype _any)
387#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
388{
389#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
390 modelica_metatype _nameAndComponentsNames = NULL((void*)0);
391#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
392 MMC_SO()mmc_check_stackoverflow(threadData);
393#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
394 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
395#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
396 _nameAndComponentsNames = listReverse(omc_JSONExt_getRecordNamesHelper(threadData, _any));
397#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
398 _return: OMC_LABEL_UNUSED__attribute__((unused))
399#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
400 return _nameAndComponentsNames;
401#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
402}
403#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
404
405#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
406modelica_boolean omc_JSONExt_isCons(threadData_t *threadData, modelica_metatype _any)
407#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
408{
409#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
410 modelica_metatype _any_ext;
411#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
412 int _b_ext;
413#line 280 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
414 modelica_boolean _b;
415#line 258 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
416 // _b has no default value.
417#line 258 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
418 _any_ext = (modelica_metatype)_any;
419#line 258 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
420 _b_ext = omc_is_cons(_any_ext);
421#line 258 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
422 _b = (modelica_boolean)_b_ext;
423#line 258 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
424 return _b;
425#line 258 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
426}
427#line 258 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
428modelica_metatype boxptr_JSONExt_isCons(threadData_t *threadData, modelica_metatype _any)
429#line 258 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
430{
431#line 258 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
432 modelica_boolean _b;
433#line 258 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
434 modelica_metatype out_b;
435#line 258 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
436 _b = omc_JSONExt_isCons(threadData, _any);
437#line 258 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
438 out_b = mmc_mk_icon(_b);
439#line 258 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
440 return out_b;
441#line 258 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
442}
443#line 258 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
444
445#line 258 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
446modelica_boolean omc_JSONExt_isNil(threadData_t *threadData, modelica_metatype _any)
447#line 258 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
448{
449#line 258 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
450 modelica_metatype _any_ext;
451#line 258 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
452 int _b_ext;
453#line 258 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
454 modelica_boolean _b;
455#line 247 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
456 // _b has no default value.
457#line 247 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
458 _any_ext = (modelica_metatype)_any;
459#line 247 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
460 _b_ext = omc_is_nil(_any_ext);
461#line 247 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
462 _b = (modelica_boolean)_b_ext;
463#line 247 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
464 return _b;
465#line 247 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
466}
467#line 247 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
468modelica_metatype boxptr_JSONExt_isNil(threadData_t *threadData, modelica_metatype _any)
469#line 247 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
470{
471#line 247 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
472 modelica_boolean _b;
473#line 247 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
474 modelica_metatype out_b;
475#line 247 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
476 _b = omc_JSONExt_isNil(threadData, _any);
477#line 247 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
478 out_b = mmc_mk_icon(_b);
479#line 247 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
480 return out_b;
481#line 247 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
482}
483#line 247 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
484
485#line 247 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
486modelica_boolean omc_JSONExt_isSOME(threadData_t *threadData, modelica_metatype _any)
487#line 247 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
488{
489#line 247 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
490 modelica_metatype _any_ext;
491#line 247 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
492 int _b_ext;
493#line 247 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
494 modelica_boolean _b;
495#line 230 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
496 // _b has no default value.
497#line 230 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
498 _any_ext = (modelica_metatype)_any;
499#line 230 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
500 _b_ext = omc_is_some(_any_ext);
501#line 230 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
502 _b = (modelica_boolean)_b_ext;
503#line 230 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
504 return _b;
505#line 230 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
506}
507#line 230 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
508modelica_metatype boxptr_JSONExt_isSOME(threadData_t *threadData, modelica_metatype _any)
509#line 230 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
510{
511#line 230 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
512 modelica_boolean _b;
513#line 230 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
514 modelica_metatype out_b;
515#line 230 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
516 _b = omc_JSONExt_isSOME(threadData, _any);
517#line 230 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
518 out_b = mmc_mk_icon(_b);
519#line 230 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
520 return out_b;
521#line 230 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
522}
523#line 230 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
524
525#line 230 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
526modelica_boolean omc_JSONExt_isNONE(threadData_t *threadData, modelica_metatype _any)
527#line 230 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
528{
529#line 230 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
530 modelica_metatype _any_ext;
531#line 230 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
532 int _b_ext;
533#line 230 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
534 modelica_boolean _b;
535#line 213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
536 // _b has no default value.
537#line 213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
538 _any_ext = (modelica_metatype)_any;
539#line 213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
540 _b_ext = omc_is_none(_any_ext);
541#line 213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
542 _b = (modelica_boolean)_b_ext;
543#line 213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
544 return _b;
545#line 213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
546}
547#line 213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
548modelica_metatype boxptr_JSONExt_isNONE(threadData_t *threadData, modelica_metatype _any)
549#line 213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
550{
551#line 213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
552 modelica_boolean _b;
553#line 213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
554 modelica_metatype out_b;
555#line 213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
556 _b = omc_JSONExt_isNONE(threadData, _any);
557#line 213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
558 out_b = mmc_mk_icon(_b);
559#line 213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
560 return out_b;
561#line 213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
562}
563#line 213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
564
565#line 213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
566modelica_boolean omc_JSONExt_isTuple(threadData_t *threadData, modelica_metatype _any)
567#line 213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
568{
569#line 213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
570 modelica_metatype _any_ext;
571#line 213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
572 int _b_ext;
573#line 213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
574 modelica_boolean _b;
575#line 196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
576 // _b has no default value.
577#line 196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
578 _any_ext = (modelica_metatype)_any;
579#line 196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
580 _b_ext = omc_is_tuple(_any_ext);
581#line 196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
582 _b = (modelica_boolean)_b_ext;
583#line 196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
584 return _b;
585#line 196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
586}
587#line 196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
588modelica_metatype boxptr_JSONExt_isTuple(threadData_t *threadData, modelica_metatype _any)
589#line 196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
590{
591#line 196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
592 modelica_boolean _b;
593#line 196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
594 modelica_metatype out_b;
595#line 196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
596 _b = omc_JSONExt_isTuple(threadData, _any);
597#line 196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
598 out_b = mmc_mk_icon(_b);
599#line 196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
600 return out_b;
601#line 196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
602}
603#line 196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
604
605#line 196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
606modelica_boolean omc_JSONExt_isRecord(threadData_t *threadData, modelica_metatype _any)
607#line 196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
608{
609#line 196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
610 modelica_metatype _any_ext;
611#line 196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
612 int _b_ext;
613#line 196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
614 modelica_boolean _b;
615#line 179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
616 // _b has no default value.
617#line 179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
618 _any_ext = (modelica_metatype)_any;
619#line 179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
620 _b_ext = omc_is_record(_any_ext);
621#line 179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
622 _b = (modelica_boolean)_b_ext;
623#line 179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
624 return _b;
625#line 179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
626}
627#line 179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
628modelica_metatype boxptr_JSONExt_isRecord(threadData_t *threadData, modelica_metatype _any)
629#line 179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
630{
631#line 179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
632 modelica_boolean _b;
633#line 179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
634 modelica_metatype out_b;
635#line 179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
636 _b = omc_JSONExt_isRecord(threadData, _any);
637#line 179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
638 out_b = mmc_mk_icon(_b);
639#line 179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
640 return out_b;
641#line 179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
642}
643#line 179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
644
645#line 179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
646modelica_boolean omc_JSONExt_isArray(threadData_t *threadData, modelica_metatype _any)
647#line 179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
648{
649#line 179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
650 modelica_metatype _any_ext;
651#line 179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
652 int _b_ext;
653#line 179 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
654 modelica_boolean _b;
655#line 162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
656 // _b has no default value.
657#line 162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
658 _any_ext = (modelica_metatype)_any;
659#line 162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
660 _b_ext = omc_is_array(_any_ext);
661#line 162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
662 _b = (modelica_boolean)_b_ext;
663#line 162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
664 return _b;
665#line 162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
666}
667#line 162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
668modelica_metatype boxptr_JSONExt_isArray(threadData_t *threadData, modelica_metatype _any)
669#line 162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
670{
671#line 162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
672 modelica_boolean _b;
673#line 162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
674 modelica_metatype out_b;
675#line 162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
676 _b = omc_JSONExt_isArray(threadData, _any);
677#line 162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
678 out_b = mmc_mk_icon(_b);
679#line 162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
680 return out_b;
681#line 162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
682}
683#line 162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
684
685#line 162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
686modelica_boolean omc_JSONExt_isString(threadData_t *threadData, modelica_metatype _any)
687#line 162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
688{
689#line 162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
690 modelica_metatype _any_ext;
691#line 162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
692 int _b_ext;
693#line 162 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
694 modelica_boolean _b;
695#line 151 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
696 // _b has no default value.
697#line 151 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
698 _any_ext = (modelica_metatype)_any;
699#line 151 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
700 _b_ext = omc_is_string(_any_ext);
701#line 151 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
702 _b = (modelica_boolean)_b_ext;
703#line 151 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
704 return _b;
705#line 151 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
706}
707#line 151 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
708modelica_metatype boxptr_JSONExt_isString(threadData_t *threadData, modelica_metatype _any)
709#line 151 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
710{
711#line 151 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
712 modelica_boolean _b;
713#line 151 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
714 modelica_metatype out_b;
715#line 151 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
716 _b = omc_JSONExt_isString(threadData, _any);
717#line 151 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
718 out_b = mmc_mk_icon(_b);
719#line 151 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
720 return out_b;
721#line 151 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
722}
723#line 151 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
724
725#line 151 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
726modelica_boolean omc_JSONExt_isReal(threadData_t *threadData, modelica_metatype _any)
727#line 151 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
728{
729#line 151 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
730 modelica_metatype _any_ext;
731#line 151 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
732 int _b_ext;
733#line 151 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
734 modelica_boolean _b;
735#line 140 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
736 // _b has no default value.
737#line 140 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
738 _any_ext = (modelica_metatype)_any;
739#line 140 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
740 _b_ext = omc_is_real(_any_ext);
741#line 140 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
742 _b = (modelica_boolean)_b_ext;
743#line 140 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
744 return _b;
745#line 140 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
746}
747#line 140 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
748modelica_metatype boxptr_JSONExt_isReal(threadData_t *threadData, modelica_metatype _any)
749#line 140 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
750{
751#line 140 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
752 modelica_boolean _b;
753#line 140 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
754 modelica_metatype out_b;
755#line 140 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
756 _b = omc_JSONExt_isReal(threadData, _any);
757#line 140 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
758 out_b = mmc_mk_icon(_b);
759#line 140 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
760 return out_b;
761#line 140 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
762}
763#line 140 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
764
765#line 140 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
766modelica_boolean omc_JSONExt_isInteger(threadData_t *threadData, modelica_metatype _any)
767#line 140 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
768{
769#line 140 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
770 modelica_metatype _any_ext;
771#line 140 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
772 int _b_ext;
773#line 140 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
774 modelica_boolean _b;
775#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
776 // _b has no default value.
777#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
778 _any_ext = (modelica_metatype)_any;
779#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
780 _b_ext = omc_is_integer(_any_ext);
781#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
782 _b = (modelica_boolean)_b_ext;
783#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
784 return _b;
785#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
786}
787#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
788modelica_metatype boxptr_JSONExt_isInteger(threadData_t *threadData, modelica_metatype _any)
789#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
790{
791#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
792 modelica_boolean _b;
793#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
794 modelica_metatype out_b;
795#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
796 _b = omc_JSONExt_isInteger(threadData, _any);
797#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
798 out_b = mmc_mk_icon(_b);
799#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
800 return out_b;
801#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
802}
803#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
804
805#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
806DLLExport
807#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
808modelica_string omc_JSONExt_serialize(threadData_t *threadData, modelica_metatype _any, modelica_metatype _filter)
809#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
810{
811#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
812 modelica_string _s = NULL((void*)0);
813#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
814 modelica_string _name = NULL((void*)0);
815#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
816 modelica_metatype _components = NULL((void*)0);
817#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
818 modelica_metatype _lst = NULL((void*)0);
819#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
820 modelica_integer _no;
821#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
822 modelica_integer tmp1;
823#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
824 modelica_integer tmp2;
825#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
826 modelica_integer tmp3;
827#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
828 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
829#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
830 MMC_SO()mmc_check_stackoverflow(threadData);
831#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
832 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
833#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
834 _s = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
835#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
836 // _name has no default value.
837#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
838 // _components has no default value.
839#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
840 // _lst has no default value.
841#line 129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
842 _no = ((modelica_integer) 1);
843#line 53 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
844 if(omc_JSONExt_isInteger(threadData, _any))
845#line 53 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
846 {
847#line 54 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
848 _s = intString(omc_JSONExt_getInteger(threadData, _any));
849#line 849 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
850
851#line 55 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
852 goto _return;
853#line 853 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
854 }
855
856#line 58 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
857 if(omc_JSONExt_isReal(threadData, _any))
858#line 58 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
859 {
860#line 59 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
861 _s = realString(omc_JSONExt_getReal(threadData, _any));
862#line 862 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
863
864#line 60 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
865 goto _return;
866#line 866 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
867 }
868
869#line 63 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
870 if(omc_JSONExt_isString(threadData, _any))
871#line 63 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
872 {
873#line 64 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
874 tmpMeta[0] = stringAppend(_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)),omc_JSONExt_getString(threadData, _any));
875#line 64 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
876 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
877#line 64 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
878 _s = tmpMeta[1];
879#line 879 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
880
881#line 65 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
882 goto _return;
883#line 883 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
884 }
885
886#line 68 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
887 if(omc_JSONExt_isRecord(threadData, _any))
888#line 68 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
889 {
890#line 70 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
891 _components = omc_JSONExt_getRecordNames(threadData, _any);
892#line 892 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
893
894#line 71 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
895 /* Pattern-matching assignment */
896#line 71 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
897 tmpMeta[0] = _components;
898#line 71 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
899 if (listEmpty(tmpMeta[0])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[0]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
900#line 71 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
901 tmpMeta[1] = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
902#line 71 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
903 tmpMeta[2] = MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
904#line 71 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
905 _name = tmpMeta[1];
906#line 71 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
907 _components = tmpMeta[2];
908#line 908 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
909
910#line 72 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
911 tmpMeta[0] = stringAppend(_OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)),_name);
912#line 72 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
913 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
914#line 72 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
915 _s = tmpMeta[1];
916#line 916 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
917
918#line 73 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
919 _no = ((modelica_integer) 1);
920#line 920 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
921
922#line 74 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
923 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
924#line 74 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
925 _lst = tmpMeta[0];
926#line 926 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
927
928#line 75 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
929 {
930#line 75 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
931 modelica_metatype _c;
932#line 75 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
933 for (tmpMeta[0] = _components; !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)))))
)
934#line 75 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
935 {
936#line 75 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
937 _c = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
938#line 77 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
939 if((!listMember(_c, _filter)))
940#line 77 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
941 {
942#line 78 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
943 tmpMeta[2] = stringAppend(_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)),_c);
944#line 78 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
945 tmpMeta[3] = stringAppend(tmpMeta[2],_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)));
946#line 78 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
947 tmpMeta[4] = stringAppend(tmpMeta[3],omc_JSONExt_serialize(threadData, omc_JSONExt_getRecordComponent(threadData, _any, _no), _filter));
948#line 78 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
949 tmpMeta[1] = mmc_mk_cons(tmpMeta[4], _lst);
950#line 78 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
951 _lst = tmpMeta[1];
952#line 952 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
953 }
954
955#line 80 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
956 _no = ((modelica_integer) 1) + _no;
957#line 957 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
958 }
959 }
960
961#line 82 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
962 _lst = listReverse(_lst);
963#line 963 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
964
965#line 83 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
966 tmpMeta[0] = stringAppend(_s,stringDelimitList(_lst, _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))));
967#line 83 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
968 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)));
969#line 83 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
970 _s = tmpMeta[1];
971#line 971 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
972
973#line 84 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
974 goto _return;
975#line 975 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
976 }
977
978#line 87 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
979 if(omc_JSONExt_isNil(threadData, _any))
980#line 87 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
981 {
982#line 88 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
983 _s = _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3));
984#line 984 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
985
986#line 89 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
987 goto _return;
988#line 988 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
989 }
990
991#line 92 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
992 if(omc_JSONExt_isCons(threadData, _any))
993#line 92 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
994 {
995#line 93 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
996 tmpMeta[0] = stringAppend(_s,_OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)));
997#line 93 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
998 _s = tmpMeta[0];
999#line 999 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
1000
1001#line 94 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1002 _no = ((modelica_integer) 1);
Value stored to '_no' is never read
1003#line 1003 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
1004
1005#line 95 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1006 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1007#line 95 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1008 _lst = tmpMeta[0];
1009#line 1009 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
1010
1011#line 96 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1012 {
1013#line 96 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1014 modelica_metatype _c;
1015#line 96 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1016 for (tmpMeta[0] = omc_JSONExt_getList(threadData, _any); !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)))))
)
1017#line 96 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1018 {
1019#line 96 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1020 _c = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
1021#line 97 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1022 tmpMeta[1] = mmc_mk_cons(omc_JSONExt_serialize(threadData, _c, _filter), _lst);
1023#line 97 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1024 _lst = tmpMeta[1];
1025#line 1025 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
1026 }
1027 }
1028
1029#line 99 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1030 _lst = listReverse(_lst);
1031#line 1031 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
1032
1033#line 100 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1034 tmpMeta[0] = stringAppend(_s,stringDelimitList(_lst, _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))));
1035#line 100 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1036 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)));
1037#line 100 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1038 _s = tmpMeta[1];
1039#line 1039 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
1040
1041#line 101 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1042 goto _return;
1043#line 1043 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
1044 }
1045
1046#line 104 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1047 if(omc_JSONExt_isNONE(threadData, _any))
1048#line 104 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1049 {
1050#line 105 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1051 tmpMeta[0] = stringAppend(_s,_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)));
1052#line 105 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1053 _s = tmpMeta[0];
1054#line 1054 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
1055
1056#line 106 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1057 goto _return;
1058#line 1058 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
1059 }
1060
1061#line 109 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1062 if(omc_JSONExt_isSOME(threadData, _any))
1063#line 109 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1064 {
1065#line 110 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1066 tmpMeta[0] = stringAppend(_s,_OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)));
1067#line 110 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1068 tmpMeta[1] = stringAppend(tmpMeta[0],omc_JSONExt_serialize(threadData, omc_JSONExt_getSome(threadData, _any), _filter));
1069#line 110 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1070 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)));
1071#line 110 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1072 _s = tmpMeta[2];
1073#line 1073 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
1074
1075#line 111 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1076 goto _return;
1077#line 1077 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
1078 }
1079
1080#line 114 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1081 if(omc_JSONExt_isTuple(threadData, _any))
1082#line 114 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1083 {
1084#line 115 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1085 tmpMeta[0] = stringAppend(_s,_OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)));
1086#line 115 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1087 _s = tmpMeta[0];
1088#line 1088 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
1089
1090#line 116 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1091 _no = ((modelica_integer) 1);
1092#line 1092 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
1093
1094#line 117 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1095 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1096#line 117 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1097 _lst = tmpMeta[0];
1098#line 1098 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
1099
1100#line 118 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1101 tmp1 = ((modelica_integer) 1); tmp2 = 1; tmp3 = omc_JSONExt_getTupleSize(threadData, _any);
1102#line 118 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1103 if(!(((tmp2 > 0) && (tmp1 > tmp3)) || ((tmp2 < 0) && (tmp1 < tmp3))))
1104#line 118 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1105 {
1106#line 118 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1107 modelica_integer _i;
1108#line 118 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1109 for(_i = ((modelica_integer) 1); in_range_integer(_i, tmp1, tmp3); _i += tmp2)
1110#line 118 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1111 {
1112#line 119 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1113 tmpMeta[1] = stringAppend(_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)),intString(_i));
1114#line 119 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1115 tmpMeta[2] = stringAppend(tmpMeta[1],_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)));
1116#line 119 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1117 tmpMeta[3] = stringAppend(tmpMeta[2],omc_JSONExt_serialize(threadData, omc_JSONExt_getListElement(threadData, _any, _no), _filter));
1118#line 119 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1119 tmpMeta[0] = mmc_mk_cons(tmpMeta[3], _lst);
1120#line 119 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1121 _lst = tmpMeta[0];
1122#line 1122 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
1123 }
1124 }
1125
1126#line 121 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1127 _lst = listReverse(_lst);
1128#line 1128 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
1129
1130#line 122 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1131 tmpMeta[0] = stringAppend(_s,stringDelimitList(_lst, _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))));
1132#line 122 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1133 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)));
1134#line 122 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1135 _s = tmpMeta[1];
1136#line 1136 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
1137
1138#line 123 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1139 goto _return;
1140#line 1140 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
1141 }
1142
1143#line 126 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1144 tmpMeta[0] = stringAppend(_OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)),mmc_anyString(_any));
1145#line 126 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1146 tmpMeta[1] = stringAppend(tmpMeta[0],_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
1147#line 126 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/Util/JSONExt.mo"
1148 _s = tmpMeta[1];
1149#line 1149 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/JSONExt.c"
1150 _return: OMC_LABEL_UNUSED__attribute__((unused))
1151 return _s;
1152}
1153