Bug Summary

File:OMCompiler/Compiler/boot/build/ExpressionSimplify.c
Warning:line 25605, column 19
Value stored to '_i' 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/ExpressionSimplify.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/ExpressionSimplify.c" "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
5#endif
6#include "omc_simulation_settings.h"
7#include "ExpressionSimplify.h"
8static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT0,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT0
= { (((1) << 10) + (((5) & 255) << 2)),
{&ErrorTypes_MessageType_TRANSLATION__desc,}};
9#define _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT0)((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3))
10static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT1,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT1
= { (((1) << 10) + (((4) & 255) << 2)),
{&ErrorTypes_Severity_ERROR__desc,}};
11#define _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT1)((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))
12#define _OMC_LIT2_data"Internal error %s" "Internal error %s"
13static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT2,17,_OMC_LIT2_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT2
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "Internal error %s"
}
;
14#define _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT2)((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))
15static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT3,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT3
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))}};
16#define _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT3)((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3))
17static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT4,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT4
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(63))((void*)(((((mmc_uint_t) (63)) << 1)+0))),_OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)),_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)),_OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3))}};
18#define _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT4)((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))
19#define _OMC_LIT5_data"ExpressionSimplify.simplifyAddSymbolicOperation failed" "ExpressionSimplify.simplifyAddSymbolicOperation failed"
20static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT5,54,_OMC_LIT5_data)struct { mmc_uint_t header; const char data[(54)+1]; } _OMC_LIT_STRUCT5
= { ((((mmc_uint_t)54)<<(3))+((1<<(3+3))+5)), "ExpressionSimplify.simplifyAddSymbolicOperation failed"
}
;
21#define _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT5)((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))
22static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT6,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT6
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
23#define _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT6)((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3))
24#define _OMC_LIT7_data"min" "min"
25static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT7,3,_OMC_LIT7_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT7
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "min"
}
;
26#define _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT7)((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))
27#define _OMC_LIT8_data"max" "max"
28static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT8,3,_OMC_LIT8_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT8
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "max"
}
;
29#define _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT8)((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3))
30#define _OMC_LIT9_data"array" "array"
31static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT9,5,_OMC_LIT9_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT9
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "array"
}
;
32#define _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT9)((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3))
33static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT10,1,18)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT10
= { (((1) << 10) + (((18) & 255) << 2)),
{&Values_Value_META__FAIL__desc,}};
34#define _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT10)((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))
35static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT11,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT11
= { (((1) << 10) + (((3) & 255) << 2)),
{&Absyn_ReductionIterType_COMBINE__desc,}};
36#define _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT11)((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3))
37#define _OMC_LIT12_data":" ":"
38static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT12,1,_OMC_LIT12_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT12
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), ":"
}
;
39#define _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT12)((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))
40#define _OMC_LIT13_data"Step equals 0 in array constructor %s." "Step equals 0 in array constructor %s."
41static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT13,38,_OMC_LIT13_data)struct { mmc_uint_t header; const char data[(38)+1]; } _OMC_LIT_STRUCT13
= { ((((mmc_uint_t)38)<<(3))+((1<<(3+3))+5)), "Step equals 0 in array constructor %s."
}
;
42#define _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT13)((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))
43static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT14,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT14
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))}};
44#define _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT14)((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))
45static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT15,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT15
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(152))((void*)(((((mmc_uint_t) (152)) << 1)+0))),_OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)),_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)),_OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))}};
46#define _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT15)((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3))
47static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT16,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT16
= { (((2) << 10) + (((1) & 255) << 2)),
{MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
48#define _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT16)((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))
49static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT17,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT17
= { (((2) << 10) + (((1) & 255) << 2)),
{MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))}};
50#define _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT17)((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))
51static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT18,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT18
= { (((2) << 10) + (((1) & 255) << 2)),
{MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
52#define _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT18)((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))
53static const MMC_DEFREALLIT(_OMC_LIT_STRUCT19,0.0)struct mmc_real_lit _OMC_LIT_STRUCT19 = {0,(((8/8) << 10
) + 9),0.0}
;
54#define _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT19)((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3))
55static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT20,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT20
= { (((2) << 10) + (((4) & 255) << 2)),
{&DAE_Exp_RCONST__desc,_OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3))}};
56#define _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT20)((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3))
57#define _OMC_LIT21_data"semiLinear" "semiLinear"
58static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT21,10,_OMC_LIT21_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT21
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "semiLinear"
}
;
59#define _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT21)((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))
60static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT22,2,6)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT22
= { (((2) << 10) + (((6) & 255) << 2)),
{&DAE_Exp_BCONST__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
61#define _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT22)((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))
62static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT23,2,6)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT23
= { (((2) << 10) + (((6) & 255) << 2)),
{&DAE_Exp_BCONST__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0)))}};
63#define _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT23)((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3))
64#define _OMC_LIT24_data"abs" "abs"
65static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT24,3,_OMC_LIT24_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT24
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "abs"
}
;
66#define _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT24)((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))
67#define _OMC_LIT25_data"exp" "exp"
68static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT25,3,_OMC_LIT25_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT25
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "exp"
}
;
69#define _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT25)((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))
70static const MMC_DEFREALLIT(_OMC_LIT_STRUCT26,1.0)struct mmc_real_lit _OMC_LIT_STRUCT26 = {0,(((8/8) << 10
) + 9),1.0}
;
71#define _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT26)((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))
72static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT27,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT27
= { (((2) << 10) + (((4) & 255) << 2)),
{&DAE_Exp_RCONST__desc,_OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))}};
73#define _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT27)((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))
74static const MMC_DEFREALLIT(_OMC_LIT_STRUCT28,2.0)struct mmc_real_lit _OMC_LIT_STRUCT28 = {0,(((8/8) << 10
) + 9),2.0}
;
75#define _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT28)((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3))
76static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT29,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT29
= { (((2) << 10) + (((4) & 255) << 2)),
{&DAE_Exp_RCONST__desc,_OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3))}};
77#define _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT29)((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3))
78static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT30,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT30
= { (((2) << 10) + (((4) & 255) << 2)),
{&DAE_Type_T__REAL__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
79#define _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT30)((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))
80static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT31,2,6)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT31
= { (((2) << 10) + (((6) & 255) << 2)),
{&DAE_Operator_DIV__desc,_OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))}};
81#define _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT31)((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3))
82static const MMC_DEFREALLIT(_OMC_LIT_STRUCT32,0.5)struct mmc_real_lit _OMC_LIT_STRUCT32 = {0,(((8/8) << 10
) + 9),0.5}
;
83#define _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT32)((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))
84static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT33,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT33
= { (((2) << 10) + (((4) & 255) << 2)),
{&DAE_Exp_RCONST__desc,_OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))}};
85#define _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT33)((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3))
86static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT34,2,5)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT34
= { (((2) << 10) + (((5) & 255) << 2)),
{&DAE_Operator_MUL__desc,_OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))}};
87#define _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT34)((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3))
88#define _OMC_LIT35_data"sqrt" "sqrt"
89static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT35,4,_OMC_LIT35_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT35
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "sqrt"
}
;
90#define _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT35)((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3))
91static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT36,2,7)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT36
= { (((2) << 10) + (((7) & 255) << 2)),
{&DAE_Operator_POW__desc,_OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))}};
92#define _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT36)((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))
93#define _OMC_LIT37_data"tan" "tan"
94static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT37,3,_OMC_LIT37_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT37
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "tan"
}
;
95#define _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT37)((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3))
96#define _OMC_LIT38_data"cos" "cos"
97static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT38,3,_OMC_LIT38_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT38
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "cos"
}
;
98#define _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT38)((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))
99#define _OMC_LIT39_data"sin" "sin"
100static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT39,3,_OMC_LIT39_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT39
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "sin"
}
;
101#define _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT39)((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3))
102#define _OMC_LIT40_data"tanh" "tanh"
103static 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)), "tanh"
}
;
104#define _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT40)((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))
105#define _OMC_LIT41_data"sinh" "sinh"
106static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT41,4,_OMC_LIT41_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT41
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "sinh"
}
;
107#define _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT41)((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))
108#define _OMC_LIT42_data"cosh" "cosh"
109static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT42,4,_OMC_LIT42_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT42
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "cosh"
}
;
110#define _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT42)((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))
111#define _OMC_LIT43_data"sign" "sign"
112static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT43,4,_OMC_LIT43_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT43
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "sign"
}
;
113#define _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT43)((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3))
114static const MMC_DEFREALLIT(_OMC_LIT_STRUCT44,1.5)struct mmc_real_lit _OMC_LIT_STRUCT44 = {0,(((8/8) << 10
) + 9),1.5}
;
115#define _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT44)((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))
116static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT45,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT45
= { (((2) << 10) + (((4) & 255) << 2)),
{&DAE_Exp_RCONST__desc,_OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))}};
117#define _OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT45)((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))
118static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT46,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT46
= { (((2) << 10) + (((3) & 255) << 2)),
{&DAE_Operator_ADD__desc,_OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))}};
119#define _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT46)((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))
120static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT47,2,29)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT47
= { (((2) << 10) + (((29) & 255) << 2)),
{&DAE_Operator_LESSEQ__desc,_OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))}};
121#define _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT47)((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))
122static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT48,2,28)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT48
= { (((2) << 10) + (((28) & 255) << 2)),
{&DAE_Operator_LESS__desc,_OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))}};
123#define _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT48)((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))
124static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT49,2,32)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT49
= { (((2) << 10) + (((32) & 255) << 2)),
{&DAE_Operator_EQUAL__desc,_OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))}};
125#define _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT49)((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3))
126static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT50,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT50
= { (((1) << 10) + (((5) & 255) << 2)),
{&ExpressionSimplifyTypes_IntOp_ADDOP__desc,}};
127#define _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT50)((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3))
128static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT51,1,6)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT51
= { (((1) << 10) + (((6) & 255) << 2)),
{&ExpressionSimplifyTypes_IntOp_SUBOP__desc,}};
129#define _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT51)((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3))
130static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT52,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT52
= { (((1) << 10) + (((3) & 255) << 2)),
{&ExpressionSimplifyTypes_IntOp_MULOP__desc,}};
131#define _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT52)((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3))
132static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT53,1,4)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT53
= { (((1) << 10) + (((4) & 255) << 2)),
{&ExpressionSimplifyTypes_IntOp_DIVOP__desc,}};
133#define _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT53)((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3))
134static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT54,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT54
= { (((2) << 10) + (((3) & 255) << 2)),
{&DAE_Type_T__INTEGER__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
135#define _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT54)((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))
136static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT55,2,5)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT55
= { (((2) << 10) + (((5) & 255) << 2)),
{&DAE_Operator_MUL__desc,_OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))}};
137#define _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT55)((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3))
138#define _OMC_LIT56_data"failtrace" "failtrace"
139static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT56,9,_OMC_LIT56_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT56
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "failtrace"
}
;
140#define _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT56)((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3))
141#define _OMC_LIT57_data"Sets whether to print a failtrace or not." "Sets whether to print a failtrace or not."
142static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT57,41,_OMC_LIT57_data)struct { mmc_uint_t header; const char data[(41)+1]; } _OMC_LIT_STRUCT57
= { ((((mmc_uint_t)41)<<(3))+((1<<(3+3))+5)), "Sets whether to print a failtrace or not."
}
;
143#define _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT57)((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3))
144static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT58,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT58
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3))}};
145#define _OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT58)((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3))
146static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT59,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT59
= { (((5) << 10) + (((3) & 255) << 2)),
{&Flags_DebugFlag_DEBUG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0))),_OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3))}};
147#define _OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT59)((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3))
148#define _OMC_LIT60_data"- ExpressionSimplify.simplifyAdd failed\n" "- ExpressionSimplify.simplifyAdd failed\n"
149static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT60,40,_OMC_LIT60_data)struct { mmc_uint_t header; const char data[(40)+1]; } _OMC_LIT_STRUCT60
= { ((((mmc_uint_t)40)<<(3))+((1<<(3+3))+5)), "- ExpressionSimplify.simplifyAdd failed\n"
}
;
150#define _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT60)((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3))
151#define _OMC_LIT61_data"der" "der"
152static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT61,3,_OMC_LIT61_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT61
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "der"
}
;
153#define _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT61)((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3))
154#define _OMC_LIT62_data"pre" "pre"
155static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT62,3,_OMC_LIT62_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT62
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "pre"
}
;
156#define _OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT62)((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3))
157#define _OMC_LIT63_data"previous" "previous"
158static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT63,8,_OMC_LIT63_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT63
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "previous"
}
;
159#define _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT63)((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3))
160#define _OMC_LIT64_data"edge" "edge"
161static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT64,4,_OMC_LIT64_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT64
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "edge"
}
;
162#define _OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT64)((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3))
163#define _OMC_LIT65_data"change" "change"
164static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT65,6,_OMC_LIT65_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT65
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "change"
}
;
165#define _OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT65)((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3))
166#define _OMC_LIT66_data"asin" "asin"
167static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT66,4,_OMC_LIT66_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT66
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "asin"
}
;
168#define _OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT66)((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3))
169#define _OMC_LIT67_data"acos" "acos"
170static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT67,4,_OMC_LIT67_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT67
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "acos"
}
;
171#define _OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT67)((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3))
172#define _OMC_LIT68_data"log" "log"
173static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT68,3,_OMC_LIT68_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT68
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "log"
}
;
174#define _OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT68)((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3))
175#define _OMC_LIT69_data"log10" "log10"
176static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT69,5,_OMC_LIT69_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT69
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "log10"
}
;
177#define _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT69)((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3))
178#define _OMC_LIT70_data"" ""
179static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT70,0,_OMC_LIT70_data)struct { mmc_uint_t header; const char data[(0)+1]; } _OMC_LIT_STRUCT70
= { ((((mmc_uint_t)0)<<(3))+((1<<(3+3))+5)), "" }
;
180#define _OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT70)((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3))
181static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT71,2,5)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT71
= { (((2) << 10) + (((5) & 255) << 2)),
{&DAE_Exp_SCONST__desc,_OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3))}};
182#define _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT71)((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3))
183static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT72,2,5)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT72
= { (((2) << 10) + (((5) & 255) << 2)),
{&DAE_Type_T__STRING__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
184#define _OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT72)((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3))
185static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT73,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT73
= { (((2) << 10) + (((3) & 255) << 2)),
{&DAE_Operator_ADD__desc,_OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3))}};
186#define _OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT73)((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3))
187#define _OMC_LIT74_data"stringAppendList" "stringAppendList"
188static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT74,16,_OMC_LIT74_data)struct { mmc_uint_t header; const char data[(16)+1]; } _OMC_LIT_STRUCT74
= { ((((mmc_uint_t)16)<<(3))+((1<<(3+3))+5)), "stringAppendList"
}
;
189#define _OMC_LIT74((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT74)((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3))
190#define _OMC_LIT75_data" " " "
191static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT75,1,_OMC_LIT75_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT75
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), " "
}
;
192#define _OMC_LIT75((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT75)((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3))
193#define _OMC_LIT76_data"true" "true"
194static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT76,4,_OMC_LIT76_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT76
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "true"
}
;
195#define _OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT76)((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3))
196#define _OMC_LIT77_data"false" "false"
197static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT77,5,_OMC_LIT77_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT77
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "false"
}
;
198#define _OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT77)((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3))
199#define _OMC_LIT78_data"ExpressionSimplify.evalCatGetFlatArray: Got unbalanced array from " "ExpressionSimplify.evalCatGetFlatArray: Got unbalanced array from "
200static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT78,66,_OMC_LIT78_data)struct { mmc_uint_t header; const char data[(66)+1]; } _OMC_LIT_STRUCT78
= { ((((mmc_uint_t)66)<<(3))+((1<<(3+3))+5)), "ExpressionSimplify.evalCatGetFlatArray: Got unbalanced array from "
}
;
201#define _OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT78)((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3))
202#define _OMC_LIT79_data"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo" "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
203static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT79,104,_OMC_LIT79_data)struct { mmc_uint_t header; const char data[(104)+1]; } _OMC_LIT_STRUCT79
= { ((((mmc_uint_t)104)<<(3))+((1<<(3+3))+5)), "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
}
;
204#define _OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT79)((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3))
205static const MMC_DEFREALLIT(_OMC_LIT_STRUCT80_6,1580577680.0)struct mmc_real_lit _OMC_LIT_STRUCT80_6 = {0,(((8/8) <<
10) + 9),1580577680.0}
;
206#define _OMC_LIT80_6((void*)((char*)(&(_OMC_LIT_STRUCT80_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT80_6)((void*)((char*)(&(_OMC_LIT_STRUCT80_6).header) + 3))
207static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT80,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT80
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1730))((void*)(((((mmc_uint_t) (1730)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(7))((void*)(((((mmc_uint_t) (7)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1730))((void*)(((((mmc_uint_t) (1730)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(109))((void*)(((((mmc_uint_t) (109)) << 1)+0))),_OMC_LIT80_6((void*)((char*)(&(_OMC_LIT_STRUCT80_6).header) + 3))}};
208#define _OMC_LIT80((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT80)((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3))
209#define _OMC_LIT81_data"ExpressionSimplify.evalCat: cat got uneven dimensions for dim=" "ExpressionSimplify.evalCat: cat got uneven dimensions for dim="
210static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT81,62,_OMC_LIT81_data)struct { mmc_uint_t header; const char data[(62)+1]; } _OMC_LIT_STRUCT81
= { ((((mmc_uint_t)62)<<(3))+((1<<(3+3))+5)), "ExpressionSimplify.evalCat: cat got uneven dimensions for dim="
}
;
211#define _OMC_LIT81((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT81)((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3))
212#define _OMC_LIT82_data", " ", "
213static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT82,2,_OMC_LIT82_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT82
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), ", "
}
;
214#define _OMC_LIT82((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT82)((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3))
215static const MMC_DEFREALLIT(_OMC_LIT_STRUCT83_6,1580577680.0)struct mmc_real_lit _OMC_LIT_STRUCT83_6 = {0,(((8/8) <<
10) + 9),1580577680.0}
;
216#define _OMC_LIT83_6((void*)((char*)(&(_OMC_LIT_STRUCT83_6).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT83_6)((void*)((char*)(&(_OMC_LIT_STRUCT83_6).header) + 3))
217static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT83,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT83
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1669))((void*)(((((mmc_uint_t) (1669)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(7))((void*)(((((mmc_uint_t) (7)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(1669))((void*)(((((mmc_uint_t) (1669)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(180))((void*)(((((mmc_uint_t) (180)) << 1)+0))),_OMC_LIT83_6((void*)((char*)(&(_OMC_LIT_STRUCT83_6).header) + 3))}};
218#define _OMC_LIT83((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT83)((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3))
219#define _OMC_LIT84_data"scalar" "scalar"
220static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT84,6,_OMC_LIT84_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT84
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "scalar"
}
;
221#define _OMC_LIT84((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT84)((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3))
222static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT85,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT85
= { (((2) << 10) + (((3) & 255) << 2)),
{&DAE_Exp_ICONST__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0)))}};
223#define _OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT85)((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3))
224static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT86,1,1)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT86
= { (((1) << 10) + (((1) & 255) << 2)),
{_OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3))}};
225#define _OMC_LIT86((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT86)((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3))
226static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT87,2,6)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT87
= { (((2) << 10) + (((6) & 255) << 2)),
{&DAE_Type_T__BOOL__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
227#define _OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT87)((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3))
228static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT88,2,25)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT88
= { (((2) << 10) + (((25) & 255) << 2)),
{&DAE_Operator_AND__desc,_OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3))}};
229#define _OMC_LIT88((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT88)((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3))
230static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT89,2,26)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT89
= { (((2) << 10) + (((26) & 255) << 2)),
{&DAE_Operator_OR__desc,_OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3))}};
231#define _OMC_LIT89((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT89)((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3))
232static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT90,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT90
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_Const_C__CONST__desc,}};
233#define _OMC_LIT90((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT90)((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3))
234static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT91,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT91
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_Prefix_NOPRE__desc,}};
235#define _OMC_LIT91((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT91)((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3))
236static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT92,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT92
= { (((8) << 10) + (((3) & 255) << 2)),
{&SourceInfo_SOURCEINFO__desc,_OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)),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(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3))}};
237#define _OMC_LIT92((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT92)((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3))
238static const MMC_DEFREALLIT(_OMC_LIT_STRUCT93,0.25)struct mmc_real_lit _OMC_LIT_STRUCT93 = {0,(((8/8) << 10
) + 9),0.25}
;
239#define _OMC_LIT93((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT93)((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3))
240static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT94,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT94
= { (((2) << 10) + (((4) & 255) << 2)),
{&DAE_Exp_RCONST__desc,_OMC_LIT93((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3))}};
241#define _OMC_LIT94((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT94)((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3))
242static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT95,2,8)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT95
= { (((2) << 10) + (((8) & 255) << 2)),
{&DAE_Operator_UMINUS__desc,_OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))}};
243#define _OMC_LIT95((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT95)((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3))
244#define _OMC_LIT96_data"delay" "delay"
245static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT96,5,_OMC_LIT96_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT96
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "delay"
}
;
246#define _OMC_LIT96((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT96)((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3))
247static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT97,1,7)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT97
= { (((1) << 10) + (((7) & 255) << 2)),
{&DAE_Dimension_DIM__UNKNOWN__desc,}};
248#define _OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT97)((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3))
249#define _OMC_LIT98_data"sum" "sum"
250static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT98,3,_OMC_LIT98_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT98
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "sum"
}
;
251#define _OMC_LIT98((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT98)((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3))
252#define _OMC_LIT99_data"cat" "cat"
253static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT99,3,_OMC_LIT99_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT99
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "cat"
}
;
254#define _OMC_LIT99((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT99)((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3))
255static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT100,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT100
= { (((2) << 10) + (((3) & 255) << 2)),
{&DAE_Dimension_DIM__INTEGER__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0)))}};
256#define _OMC_LIT100((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT100)((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3))
257static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT101,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT101
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_ClockKind_INFERRED__CLOCK__desc,}};
258#define _OMC_LIT101((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT101)((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3))
259static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT102,2,7)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT102
= { (((2) << 10) + (((7) & 255) << 2)),
{&DAE_Exp_CLKCONST__desc,_OMC_LIT101((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3))}};
260#define _OMC_LIT102((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT102)((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3))
261#define _OMC_LIT103_data"OpenModelica_fmuLoadResource" "OpenModelica_fmuLoadResource"
262static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT103,28,_OMC_LIT103_data)struct { mmc_uint_t header; const char data[(28)+1]; } _OMC_LIT_STRUCT103
= { ((((mmc_uint_t)28)<<(3))+((1<<(3+3))+5)), "OpenModelica_fmuLoadResource"
}
;
263#define _OMC_LIT103((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT103)((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3))
264static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT104,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT104
= { (((1) << 10) + (((3) & 255) << 2)),
{&Flags_FlagVisibility_INTERNAL__desc,}};
265#define _OMC_LIT104((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT104)((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3))
266static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT105,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT105
= { (((2) << 10) + (((4) & 255) << 2)),
{&Flags_FlagData_BOOL__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
267#define _OMC_LIT105((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT105)((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3))
268#define _OMC_LIT106_data"Is true when building an FMU (so the compiler can look for URIs to package as FMI resources)." "Is true when building an FMU (so the compiler can look for URIs to package as FMI resources)."
269static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT106,93,_OMC_LIT106_data)struct { mmc_uint_t header; const char data[(93)+1]; } _OMC_LIT_STRUCT106
= { ((((mmc_uint_t)93)<<(3))+((1<<(3+3))+5)), "Is true when building an FMU (so the compiler can look for URIs to package as FMI resources)."
}
;
270#define _OMC_LIT106((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT106)((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3))
271static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT107,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT107
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT106((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3))}};
272#define _OMC_LIT107((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT107)((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3))
273static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT108,8,3)struct { mmc_uint_t header; const void *data[8]; } _OMC_LIT_STRUCT108
= { (((8) << 10) + (((3) & 255) << 2)),
{&Flags_ConfigFlag_CONFIG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(122))((void*)(((((mmc_uint_t) (122)) << 1)+0))),_OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3)),_OMC_LIT104((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3)),_OMC_LIT105((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3)),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3)),_OMC_LIT107((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3))}};
274#define _OMC_LIT108((void*)((char*)(&(_OMC_LIT_STRUCT108).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT108)((void*)((char*)(&(_OMC_LIT_STRUCT108).header) + 3))
275#define _OMC_LIT109_data"cross" "cross"
276static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT109,5,_OMC_LIT109_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT109
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "cross"
}
;
277#define _OMC_LIT109((void*)((char*)(&(_OMC_LIT_STRUCT109).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT109)((void*)((char*)(&(_OMC_LIT_STRUCT109).header) + 3))
278#define _OMC_LIT110_data"skew" "skew"
279static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT110,4,_OMC_LIT110_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT110
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "skew"
}
;
280#define _OMC_LIT110((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT110)((void*)((char*)(&(_OMC_LIT_STRUCT110).header) + 3))
281#define _OMC_LIT111_data"fill" "fill"
282static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT111,4,_OMC_LIT111_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT111
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "fill"
}
;
283#define _OMC_LIT111((void*)((char*)(&(_OMC_LIT_STRUCT111).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT111)((void*)((char*)(&(_OMC_LIT_STRUCT111).header) + 3))
284#define _OMC_LIT112_data"String" "String"
285static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT112,6,_OMC_LIT112_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT112
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "String"
}
;
286#define _OMC_LIT112((void*)((char*)(&(_OMC_LIT_STRUCT112).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT112)((void*)((char*)(&(_OMC_LIT_STRUCT112).header) + 3))
287#define _OMC_LIT113_data"smooth" "smooth"
288static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT113,6,_OMC_LIT113_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT113
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "smooth"
}
;
289#define _OMC_LIT113((void*)((char*)(&(_OMC_LIT_STRUCT113).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT113)((void*)((char*)(&(_OMC_LIT_STRUCT113).header) + 3))
290#define _OMC_LIT114_data"$_DF$DER" "$_DF$DER"
291static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT114,8,_OMC_LIT114_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT114
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "$_DF$DER"
}
;
292#define _OMC_LIT114((void*)((char*)(&(_OMC_LIT_STRUCT114).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT114)((void*)((char*)(&(_OMC_LIT_STRUCT114).header) + 3))
293#define _OMC_LIT115_data"promote" "promote"
294static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT115,7,_OMC_LIT115_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT115
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "promote"
}
;
295#define _OMC_LIT115((void*)((char*)(&(_OMC_LIT_STRUCT115).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT115)((void*)((char*)(&(_OMC_LIT_STRUCT115).header) + 3))
296#define _OMC_LIT116_data"transpose" "transpose"
297static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT116,9,_OMC_LIT116_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT116
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "transpose"
}
;
298#define _OMC_LIT116((void*)((char*)(&(_OMC_LIT_STRUCT116).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT116)((void*)((char*)(&(_OMC_LIT_STRUCT116).header) + 3))
299#define _OMC_LIT117_data"symmetric" "symmetric"
300static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT117,9,_OMC_LIT117_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT117
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "symmetric"
}
;
301#define _OMC_LIT117((void*)((char*)(&(_OMC_LIT_STRUCT117).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT117)((void*)((char*)(&(_OMC_LIT_STRUCT117).header) + 3))
302#define _OMC_LIT118_data"vector" "vector"
303static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT118,6,_OMC_LIT118_data)struct { mmc_uint_t header; const char data[(6)+1]; } _OMC_LIT_STRUCT118
= { ((((mmc_uint_t)6)<<(3))+((1<<(3+3))+5)), "vector"
}
;
304#define _OMC_LIT118((void*)((char*)(&(_OMC_LIT_STRUCT118).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT118)((void*)((char*)(&(_OMC_LIT_STRUCT118).header) + 3))
305#define _OMC_LIT119_data"inferredClock" "inferredClock"
306static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT119,13,_OMC_LIT119_data)struct { mmc_uint_t header; const char data[(13)+1]; } _OMC_LIT_STRUCT119
= { ((((mmc_uint_t)13)<<(3))+((1<<(3+3))+5)), "inferredClock"
}
;
307#define _OMC_LIT119((void*)((char*)(&(_OMC_LIT_STRUCT119).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT119)((void*)((char*)(&(_OMC_LIT_STRUCT119).header) + 3))
308#define _OMC_LIT120_data"realClock" "realClock"
309static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT120,9,_OMC_LIT120_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT120
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "realClock"
}
;
310#define _OMC_LIT120((void*)((char*)(&(_OMC_LIT_STRUCT120).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT120)((void*)((char*)(&(_OMC_LIT_STRUCT120).header) + 3))
311#define _OMC_LIT121_data"booleanClock" "booleanClock"
312static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT121,12,_OMC_LIT121_data)struct { mmc_uint_t header; const char data[(12)+1]; } _OMC_LIT_STRUCT121
= { ((((mmc_uint_t)12)<<(3))+((1<<(3+3))+5)), "booleanClock"
}
;
313#define _OMC_LIT121((void*)((char*)(&(_OMC_LIT_STRUCT121).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT121)((void*)((char*)(&(_OMC_LIT_STRUCT121).header) + 3))
314#define _OMC_LIT122_data"rationalClock" "rationalClock"
315static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT122,13,_OMC_LIT122_data)struct { mmc_uint_t header; const char data[(13)+1]; } _OMC_LIT_STRUCT122
= { ((((mmc_uint_t)13)<<(3))+((1<<(3+3))+5)), "rationalClock"
}
;
316#define _OMC_LIT122((void*)((char*)(&(_OMC_LIT_STRUCT122).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT122)((void*)((char*)(&(_OMC_LIT_STRUCT122).header) + 3))
317#define _OMC_LIT123_data"solverClock" "solverClock"
318static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT123,11,_OMC_LIT123_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT123
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "solverClock"
}
;
319#define _OMC_LIT123((void*)((char*)(&(_OMC_LIT_STRUCT123).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT123)((void*)((char*)(&(_OMC_LIT_STRUCT123).header) + 3))
320#define _OMC_LIT124_data"OpenModelica_uriToFilename" "OpenModelica_uriToFilename"
321static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT124,26,_OMC_LIT124_data)struct { mmc_uint_t header; const char data[(26)+1]; } _OMC_LIT_STRUCT124
= { ((((mmc_uint_t)26)<<(3))+((1<<(3+3))+5)), "OpenModelica_uriToFilename"
}
;
322#define _OMC_LIT124((void*)((char*)(&(_OMC_LIT_STRUCT124).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT124)((void*)((char*)(&(_OMC_LIT_STRUCT124).header) + 3))
323static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT125,1,7)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT125
= { (((1) << 10) + (((7) & 255) << 2)),
{&DAE_InlineType_NO__INLINE__desc,}};
324#define _OMC_LIT125((void*)((char*)(&(_OMC_LIT_STRUCT125).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT125)((void*)((char*)(&(_OMC_LIT_STRUCT125).header) + 3))
325static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT126,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT126
= { (((1) << 10) + (((3) & 255) << 2)),
{&DAE_TailCall_NO__TAIL__desc,}};
326#define _OMC_LIT126((void*)((char*)(&(_OMC_LIT_STRUCT126).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT126)((void*)((char*)(&(_OMC_LIT_STRUCT126).header) + 3))
327#define _OMC_LIT127_data"listReverse" "listReverse"
328static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT127,11,_OMC_LIT127_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT127
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "listReverse"
}
;
329#define _OMC_LIT127((void*)((char*)(&(_OMC_LIT_STRUCT127).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT127)((void*)((char*)(&(_OMC_LIT_STRUCT127).header) + 3))
330static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT128,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT128
= { (((2) << 10) + (((4) & 255) << 2)),
{&Absyn_Path_IDENT__desc,_OMC_LIT127((void*)((char*)(&(_OMC_LIT_STRUCT127).header) + 3))}};
331#define _OMC_LIT128((void*)((char*)(&(_OMC_LIT_STRUCT128).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT128)((void*)((char*)(&(_OMC_LIT_STRUCT128).header) + 3))
332#define _OMC_LIT129_data"list" "list"
333static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT129,4,_OMC_LIT129_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT129
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "list"
}
;
334#define _OMC_LIT129((void*)((char*)(&(_OMC_LIT_STRUCT129).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT129)((void*)((char*)(&(_OMC_LIT_STRUCT129).header) + 3))
335static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT130,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT130
= { (((2) << 10) + (((4) & 255) << 2)),
{&Absyn_Path_IDENT__desc,_OMC_LIT129((void*)((char*)(&(_OMC_LIT_STRUCT129).header) + 3))}};
336#define _OMC_LIT130((void*)((char*)(&(_OMC_LIT_STRUCT130).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT130)((void*)((char*)(&(_OMC_LIT_STRUCT130).header) + 3))
337#define _OMC_LIT131_data"sourceInfo() - simplify?\n" "sourceInfo() - simplify?\n"
338static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT131,25,_OMC_LIT131_data)struct { mmc_uint_t header; const char data[(25)+1]; } _OMC_LIT_STRUCT131
= { ((((mmc_uint_t)25)<<(3))+((1<<(3+3))+5)), "sourceInfo() - simplify?\n"
}
;
339#define _OMC_LIT131((void*)((char*)(&(_OMC_LIT_STRUCT131).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT131)((void*)((char*)(&(_OMC_LIT_STRUCT131).header) + 3))
340#define _OMC_LIT132_data"listAppend" "listAppend"
341static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT132,10,_OMC_LIT132_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT132
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "listAppend"
}
;
342#define _OMC_LIT132((void*)((char*)(&(_OMC_LIT_STRUCT132).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT132)((void*)((char*)(&(_OMC_LIT_STRUCT132).header) + 3))
343#define _OMC_LIT133_data"intString" "intString"
344static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT133,9,_OMC_LIT133_data)struct { mmc_uint_t header; const char data[(9)+1]; } _OMC_LIT_STRUCT133
= { ((((mmc_uint_t)9)<<(3))+((1<<(3+3))+5)), "intString"
}
;
345#define _OMC_LIT133((void*)((char*)(&(_OMC_LIT_STRUCT133).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT133)((void*)((char*)(&(_OMC_LIT_STRUCT133).header) + 3))
346#define _OMC_LIT134_data"realString" "realString"
347static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT134,10,_OMC_LIT134_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT134
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "realString"
}
;
348#define _OMC_LIT134((void*)((char*)(&(_OMC_LIT_STRUCT134).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT134)((void*)((char*)(&(_OMC_LIT_STRUCT134).header) + 3))
349#define _OMC_LIT135_data"boolString" "boolString"
350static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT135,10,_OMC_LIT135_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT135
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "boolString"
}
;
351#define _OMC_LIT135((void*)((char*)(&(_OMC_LIT_STRUCT135).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT135)((void*)((char*)(&(_OMC_LIT_STRUCT135).header) + 3))
352#define _OMC_LIT136_data"listLength" "listLength"
353static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT136,10,_OMC_LIT136_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT136
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "listLength"
}
;
354#define _OMC_LIT136((void*)((char*)(&(_OMC_LIT_STRUCT136).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT136)((void*)((char*)(&(_OMC_LIT_STRUCT136).header) + 3))
355#define _OMC_LIT137_data"mmc_mk_some" "mmc_mk_some"
356static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT137,11,_OMC_LIT137_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT137
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "mmc_mk_some"
}
;
357#define _OMC_LIT137((void*)((char*)(&(_OMC_LIT_STRUCT137).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT137)((void*)((char*)(&(_OMC_LIT_STRUCT137).header) + 3))
358#define _OMC_LIT138_data"sourceInfo" "sourceInfo"
359static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT138,10,_OMC_LIT138_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT138
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "sourceInfo"
}
;
360#define _OMC_LIT138((void*)((char*)(&(_OMC_LIT_STRUCT138).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT138)((void*)((char*)(&(_OMC_LIT_STRUCT138).header) + 3))
361static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT139,2,27)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT139
= { (((2) << 10) + (((27) & 255) << 2)),
{&DAE_Operator_NOT__desc,_OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3))}};
362#define _OMC_LIT139((void*)((char*)(&(_OMC_LIT_STRUCT139).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT139)((void*)((char*)(&(_OMC_LIT_STRUCT139).header) + 3))
363static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT140,2,31)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT140
= { (((2) << 10) + (((31) & 255) << 2)),
{&DAE_Exp_LIST__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
364#define _OMC_LIT140((void*)((char*)(&(_OMC_LIT_STRUCT140).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT140)((void*)((char*)(&(_OMC_LIT_STRUCT140).header) + 3))
365static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT141,1,5)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT141
= { (((1) << 10) + (((5) & 255) << 2)),
{&ErrorTypes_Severity_WARNING__desc,}};
366#define _OMC_LIT141((void*)((char*)(&(_OMC_LIT_STRUCT141).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT141)((void*)((char*)(&(_OMC_LIT_STRUCT141).header) + 3))
367#define _OMC_LIT142_data"Expression simplification iterated to the fix-point maximum, which may be a performance bottleneck. The last two iterations were: %s, and %s." "Expression simplification iterated to the fix-point maximum, which may be a performance bottleneck. The last two iterations were: %s, and %s."
368static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT142,141,_OMC_LIT142_data)struct { mmc_uint_t header; const char data[(141)+1]; } _OMC_LIT_STRUCT142
= { ((((mmc_uint_t)141)<<(3))+((1<<(3+3))+5)), "Expression simplification iterated to the fix-point maximum, which may be a performance bottleneck. The last two iterations were: %s, and %s."
}
;
369#define _OMC_LIT142((void*)((char*)(&(_OMC_LIT_STRUCT142).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT142)((void*)((char*)(&(_OMC_LIT_STRUCT142).header) + 3))
370static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT143,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT143
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT142((void*)((char*)(&(_OMC_LIT_STRUCT142).header) + 3))}};
371#define _OMC_LIT143((void*)((char*)(&(_OMC_LIT_STRUCT143).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT143)((void*)((char*)(&(_OMC_LIT_STRUCT143).header) + 3))
372static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT144,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT144
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(209))((void*)(((((mmc_uint_t) (209)) << 1)+0))),_OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)),_OMC_LIT141((void*)((char*)(&(_OMC_LIT_STRUCT141).header) + 3)),_OMC_LIT143((void*)((char*)(&(_OMC_LIT_STRUCT143).header) + 3))}};
373#define _OMC_LIT144((void*)((char*)(&(_OMC_LIT_STRUCT144).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT144)((void*)((char*)(&(_OMC_LIT_STRUCT144).header) + 3))
374#define _OMC_LIT145_data"ExpressionSimplify" "ExpressionSimplify"
375static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT145,18,_OMC_LIT145_data)struct { mmc_uint_t header; const char data[(18)+1]; } _OMC_LIT_STRUCT145
= { ((((mmc_uint_t)18)<<(3))+((1<<(3+3))+5)), "ExpressionSimplify"
}
;
376#define _OMC_LIT145((void*)((char*)(&(_OMC_LIT_STRUCT145).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT145)((void*)((char*)(&(_OMC_LIT_STRUCT145).header) + 3))
377static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT146,1,6)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT146
= { (((1) << 10) + (((6) & 255) << 2)),
{&ErrorTypes_Severity_NOTIFICATION__desc,}};
378#define _OMC_LIT146((void*)((char*)(&(_OMC_LIT_STRUCT146).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT146)((void*)((char*)(&(_OMC_LIT_STRUCT146).header) + 3))
379#define _OMC_LIT147_data"Expression simplification '%s' → '%s' changed the type from %s to %s." "Expression simplification '%s' → '%s' changed the type from %s to %s."
380static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT147,71,_OMC_LIT147_data)struct { mmc_uint_t header; const char data[(71)+1]; } _OMC_LIT_STRUCT147
= { ((((mmc_uint_t)71)<<(3))+((1<<(3+3))+5)), "Expression simplification '%s' → '%s' changed the type from %s to %s."
}
;
381#define _OMC_LIT147((void*)((char*)(&(_OMC_LIT_STRUCT147).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT147)((void*)((char*)(&(_OMC_LIT_STRUCT147).header) + 3))
382static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT148,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT148
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT147((void*)((char*)(&(_OMC_LIT_STRUCT147).header) + 3))}};
383#define _OMC_LIT148((void*)((char*)(&(_OMC_LIT_STRUCT148).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT148)((void*)((char*)(&(_OMC_LIT_STRUCT148).header) + 3))
384static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT149,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT149
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(273))((void*)(((((mmc_uint_t) (273)) << 1)+0))),_OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)),_OMC_LIT146((void*)((char*)(&(_OMC_LIT_STRUCT146).header) + 3)),_OMC_LIT148((void*)((char*)(&(_OMC_LIT_STRUCT148).header) + 3))}};
385#define _OMC_LIT149((void*)((char*)(&(_OMC_LIT_STRUCT149).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT149)((void*)((char*)(&(_OMC_LIT_STRUCT149).header) + 3))
386static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT150,1,6)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT150
= { (((1) << 10) + (((6) & 255) << 2)),
{&ErrorTypes_MessageType_SYMBOLIC__desc,}};
387#define _OMC_LIT150((void*)((char*)(&(_OMC_LIT_STRUCT150).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT150)((void*)((char*)(&(_OMC_LIT_STRUCT150).header) + 3))
388#define _OMC_LIT151_data"Simplification produced a higher complexity (%s) than the original (%s). The simplification was: %s => %s." "Simplification produced a higher complexity (%s) than the original (%s). The simplification was: %s => %s."
389static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT151,106,_OMC_LIT151_data)struct { mmc_uint_t header; const char data[(106)+1]; } _OMC_LIT_STRUCT151
= { ((((mmc_uint_t)106)<<(3))+((1<<(3+3))+5)), "Simplification produced a higher complexity (%s) than the original (%s). The simplification was: %s => %s."
}
;
390#define _OMC_LIT151((void*)((char*)(&(_OMC_LIT_STRUCT151).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT151)((void*)((char*)(&(_OMC_LIT_STRUCT151).header) + 3))
391static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT152,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT152
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT151((void*)((char*)(&(_OMC_LIT_STRUCT151).header) + 3))}};
392#define _OMC_LIT152((void*)((char*)(&(_OMC_LIT_STRUCT152).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT152)((void*)((char*)(&(_OMC_LIT_STRUCT152).header) + 3))
393static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT153,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT153
= { (((5) << 10) + (((3) & 255) << 2)),
{&ErrorTypes_Message_MESSAGE__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(523))((void*)(((((mmc_uint_t) (523)) << 1)+0))),_OMC_LIT150((void*)((char*)(&(_OMC_LIT_STRUCT150).header) + 3)),_OMC_LIT146((void*)((char*)(&(_OMC_LIT_STRUCT146).header) + 3)),_OMC_LIT152((void*)((char*)(&(_OMC_LIT_STRUCT152).header) + 3))}};
394#define _OMC_LIT153((void*)((char*)(&(_OMC_LIT_STRUCT153).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT153)((void*)((char*)(&(_OMC_LIT_STRUCT153).header) + 3))
395#define _OMC_LIT154_data"checkSimplify" "checkSimplify"
396static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT154,13,_OMC_LIT154_data)struct { mmc_uint_t header; const char data[(13)+1]; } _OMC_LIT_STRUCT154
= { ((((mmc_uint_t)13)<<(3))+((1<<(3+3))+5)), "checkSimplify"
}
;
397#define _OMC_LIT154((void*)((char*)(&(_OMC_LIT_STRUCT154).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT154)((void*)((char*)(&(_OMC_LIT_STRUCT154).header) + 3))
398#define _OMC_LIT155_data"Enables checks for expression simplification and prints a notification whenever an undesirable transformation has been performed." "Enables checks for expression simplification and prints a notification whenever an undesirable transformation has been performed."
399static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT155,129,_OMC_LIT155_data)struct { mmc_uint_t header; const char data[(129)+1]; } _OMC_LIT_STRUCT155
= { ((((mmc_uint_t)129)<<(3))+((1<<(3+3))+5)), "Enables checks for expression simplification and prints a notification whenever an undesirable transformation has been performed."
}
;
400#define _OMC_LIT155((void*)((char*)(&(_OMC_LIT_STRUCT155).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT155)((void*)((char*)(&(_OMC_LIT_STRUCT155).header) + 3))
401static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT156,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT156
= { (((2) << 10) + (((3) & 255) << 2)),
{&Gettext_TranslatableContent_gettext__desc,_OMC_LIT155((void*)((char*)(&(_OMC_LIT_STRUCT155).header) + 3))}};
402#define _OMC_LIT156((void*)((char*)(&(_OMC_LIT_STRUCT156).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT156)((void*)((char*)(&(_OMC_LIT_STRUCT156).header) + 3))
403static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT157,5,3)struct { mmc_uint_t header; const void *data[5]; } _OMC_LIT_STRUCT157
= { (((5) << 10) + (((3) & 255) << 2)),
{&Flags_DebugFlag_DEBUG__FLAG__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(67))((void*)(((((mmc_uint_t) (67)) << 1)+0))),_OMC_LIT154((void*)((char*)(&(_OMC_LIT_STRUCT154).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT156((void*)((char*)(&(_OMC_LIT_STRUCT156).header) + 3))}};
404#define _OMC_LIT157((void*)((char*)(&(_OMC_LIT_STRUCT157).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT157)((void*)((char*)(&(_OMC_LIT_STRUCT157).header) + 3))
405static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT158,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT158
= { (((1) << 10) + (((3) & 255) << 2)),
{&ExpressionSimplifyTypes_Evaluate_NO__EVAL__desc,}};
406#define _OMC_LIT158((void*)((char*)(&(_OMC_LIT_STRUCT158).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT158)((void*)((char*)(&(_OMC_LIT_STRUCT158).header) + 3))
407static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT159,2,0)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT159
= { (((2) << 10) + (((0) & 255) << 2)),
{MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3)),_OMC_LIT158((void*)((char*)(&(_OMC_LIT_STRUCT158).header) + 3))}};
408#define _OMC_LIT159((void*)((char*)(&(_OMC_LIT_STRUCT159).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT159)((void*)((char*)(&(_OMC_LIT_STRUCT159).header) + 3))
409static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT160,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT160
= { (((2) << 10) + (((4) & 255) << 2)),
{&Absyn_Path_IDENT__desc,_OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3))}};
410#define _OMC_LIT160((void*)((char*)(&(_OMC_LIT_STRUCT160).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT160)((void*)((char*)(&(_OMC_LIT_STRUCT160).header) + 3))
411static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT161,2,3)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT161
= { (((2) << 10) + (((3) & 255) << 2)),
{&DAE_Exp_ICONST__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
412#define _OMC_LIT161((void*)((char*)(&(_OMC_LIT_STRUCT161).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT161)((void*)((char*)(&(_OMC_LIT_STRUCT161).header) + 3))
413#define _OMC_LIT162_data"atan" "atan"
414static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT162,4,_OMC_LIT162_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT162
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), "atan"
}
;
415#define _OMC_LIT162((void*)((char*)(&(_OMC_LIT_STRUCT162).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT162)((void*)((char*)(&(_OMC_LIT_STRUCT162).header) + 3))
416static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT163,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT163
= { (((2) << 10) + (((4) & 255) << 2)),
{&DAE_Operator_SUB__desc,_OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))}};
417#define _OMC_LIT163((void*)((char*)(&(_OMC_LIT_STRUCT163).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT163)((void*)((char*)(&(_OMC_LIT_STRUCT163).header) + 3))
418static const MMC_DEFREALLIT(_OMC_LIT_STRUCT164,1.570796326794897)struct mmc_real_lit _OMC_LIT_STRUCT164 = {0,(((8/8) << 10
) + 9),1.570796326794897}
;
419#define _OMC_LIT164((void*)((char*)(&(_OMC_LIT_STRUCT164).header) + 3)) MMC_REFREALLIT(_OMC_LIT_STRUCT164)((void*)((char*)(&(_OMC_LIT_STRUCT164).header) + 3))
420static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT165,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT165
= { (((2) << 10) + (((4) & 255) << 2)),
{&DAE_Exp_RCONST__desc,_OMC_LIT164((void*)((char*)(&(_OMC_LIT_STRUCT164).header) + 3))}};
421#define _OMC_LIT165((void*)((char*)(&(_OMC_LIT_STRUCT165).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT165)((void*)((char*)(&(_OMC_LIT_STRUCT165).header) + 3))
422#define _OMC_LIT166_data"homotopy" "homotopy"
423static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT166,8,_OMC_LIT166_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT166
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "homotopy"
}
;
424#define _OMC_LIT166((void*)((char*)(&(_OMC_LIT_STRUCT166).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT166)((void*)((char*)(&(_OMC_LIT_STRUCT166).header) + 3))
425#define _OMC_LIT167_data"noEvent" "noEvent"
426static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT167,7,_OMC_LIT167_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT167
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "noEvent"
}
;
427#define _OMC_LIT167((void*)((char*)(&(_OMC_LIT_STRUCT167).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT167)((void*)((char*)(&(_OMC_LIT_STRUCT167).header) + 3))
428#define _OMC_LIT168_data"identity" "identity"
429static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT168,8,_OMC_LIT168_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT168
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "identity"
}
;
430#define _OMC_LIT168((void*)((char*)(&(_OMC_LIT_STRUCT168).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT168)((void*)((char*)(&(_OMC_LIT_STRUCT168).header) + 3))
431#define _OMC_LIT169_data"diagonal" "diagonal"
432static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT169,8,_OMC_LIT169_data)struct { mmc_uint_t header; const char data[(8)+1]; } _OMC_LIT_STRUCT169
= { ((((mmc_uint_t)8)<<(3))+((1<<(3+3))+5)), "diagonal"
}
;
433#define _OMC_LIT169((void*)((char*)(&(_OMC_LIT_STRUCT169).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT169)((void*)((char*)(&(_OMC_LIT_STRUCT169).header) + 3))
434#define _OMC_LIT170_data"mod" "mod"
435static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT170,3,_OMC_LIT170_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT170
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "mod"
}
;
436#define _OMC_LIT170((void*)((char*)(&(_OMC_LIT_STRUCT170).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT170)((void*)((char*)(&(_OMC_LIT_STRUCT170).header) + 3))
437#define _OMC_LIT171_data"integer" "integer"
438static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT171,7,_OMC_LIT171_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT171
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "integer"
}
;
439#define _OMC_LIT171((void*)((char*)(&(_OMC_LIT_STRUCT171).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT171)((void*)((char*)(&(_OMC_LIT_STRUCT171).header) + 3))
440#define _OMC_LIT172_data"atan2" "atan2"
441static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT172,5,_OMC_LIT172_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT172
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "atan2"
}
;
442#define _OMC_LIT172((void*)((char*)(&(_OMC_LIT_STRUCT172).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT172)((void*)((char*)(&(_OMC_LIT_STRUCT172).header) + 3))
443#define _OMC_LIT173_data"simplify1 took " "simplify1 took "
444static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT173,15,_OMC_LIT173_data)struct { mmc_uint_t header; const char data[(15)+1]; } _OMC_LIT_STRUCT173
= { ((((mmc_uint_t)15)<<(3))+((1<<(3+3))+5)), "simplify1 took "
}
;
445#define _OMC_LIT173((void*)((char*)(&(_OMC_LIT_STRUCT173).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT173)((void*)((char*)(&(_OMC_LIT_STRUCT173).header) + 3))
446#define _OMC_LIT174_data" seconds for exp: " " seconds for exp: "
447static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT174,18,_OMC_LIT174_data)struct { mmc_uint_t header; const char data[(18)+1]; } _OMC_LIT_STRUCT174
= { ((((mmc_uint_t)18)<<(3))+((1<<(3+3))+5)), " seconds for exp: "
}
;
448#define _OMC_LIT174((void*)((char*)(&(_OMC_LIT_STRUCT174).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT174)((void*)((char*)(&(_OMC_LIT_STRUCT174).header) + 3))
449#define _OMC_LIT175_data" \nsimplified to :" " \nsimplified to :"
450static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT175,17,_OMC_LIT175_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT175
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), " \nsimplified to :"
}
;
451#define _OMC_LIT175((void*)((char*)(&(_OMC_LIT_STRUCT175).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT175)((void*)((char*)(&(_OMC_LIT_STRUCT175).header) + 3))
452#define _OMC_LIT176_data"\n" "\n"
453static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT176,1,_OMC_LIT176_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT176
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "\n"
}
;
454#define _OMC_LIT176((void*)((char*)(&(_OMC_LIT_STRUCT176).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT176)((void*)((char*)(&(_OMC_LIT_STRUCT176).header) + 3))
455#define _OMC_LIT177_data"eval exp failed" "eval exp failed"
456static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT177,15,_OMC_LIT177_data)struct { mmc_uint_t header; const char data[(15)+1]; } _OMC_LIT_STRUCT177
= { ((((mmc_uint_t)15)<<(3))+((1<<(3+3))+5)), "eval exp failed"
}
;
457#define _OMC_LIT177((void*)((char*)(&(_OMC_LIT_STRUCT177).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT177)((void*)((char*)(&(_OMC_LIT_STRUCT177).header) + 3))
458static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT178,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT178
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT177((void*)((char*)(&(_OMC_LIT_STRUCT177).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
459#define _OMC_LIT178((void*)((char*)(&(_OMC_LIT_STRUCT178).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT178)((void*)((char*)(&(_OMC_LIT_STRUCT178).header) + 3))
460#include "util/modelica.h"
461
462#include "ExpressionSimplify_includes.h"
463
464
465/* default, do not make protected functions static */
466#if !defined(PROTECTED_FUNCTION_STATIC)
467#define PROTECTED_FUNCTION_STATIC
468#endif
469PROTECTED_FUNCTION_STATIC modelica_boolean omc_ExpressionSimplify_removeMinMaxFoldableValues(threadData_t *threadData, modelica_metatype _e);
470PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_removeMinMaxFoldableValues(threadData_t *threadData, modelica_metatype _e);
471static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_removeMinMaxFoldableValues,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_removeMinMaxFoldableValues
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_removeMinMaxFoldableValues,0}};
472#define boxvar_ExpressionSimplify_removeMinMaxFoldableValues((void*)((char*)(&(boxvar_lit_ExpressionSimplify_removeMinMaxFoldableValues
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_removeMinMaxFoldableValues)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_removeMinMaxFoldableValues
).header) + 3))
473PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_minElement(threadData_t *threadData, modelica_metatype _e1, modelica_metatype _e2);
474static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_minElement,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_minElement
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_minElementomc_ExpressionSimplify_minElement,0}};
475#define boxvar_ExpressionSimplify_minElement((void*)((char*)(&(boxvar_lit_ExpressionSimplify_minElement
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_minElement)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_minElement
).header) + 3))
476PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_maxElement(threadData_t *threadData, modelica_metatype _e1, modelica_metatype _e2);
477static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_maxElement,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_maxElement
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_maxElementomc_ExpressionSimplify_maxElement,0}};
478#define boxvar_ExpressionSimplify_maxElement((void*)((char*)(&(boxvar_lit_ExpressionSimplify_maxElement
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_maxElement)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_maxElement
).header) + 3))
479PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyNoEvent(threadData_t *threadData, modelica_metatype _inExp);
480static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyNoEvent,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyNoEvent
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyNoEventomc_ExpressionSimplify_simplifyNoEvent,0}};
481#define boxvar_ExpressionSimplify_simplifyNoEvent((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyNoEvent
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyNoEvent)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyNoEvent
).header) + 3))
482PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyTSub(threadData_t *threadData, modelica_metatype _origExp);
483static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyTSub,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyTSub
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyTSubomc_ExpressionSimplify_simplifyTSub,0}};
484#define boxvar_ExpressionSimplify_simplifyTSub((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyTSub
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyTSub)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyTSub
).header) + 3))
485PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifySize(threadData_t *threadData, modelica_metatype _origExp, modelica_metatype _exp, modelica_metatype _optDim);
486static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifySize,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifySize
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifySizeomc_ExpressionSimplify_simplifySize,0}};
487#define boxvar_ExpressionSimplify_simplifySize((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifySize
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifySize)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifySize
).header) + 3))
488PROTECTED_FUNCTION_STATIC void omc_ExpressionSimplify_checkZeroLengthArrayOp(threadData_t *threadData, modelica_metatype _op);
489static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_checkZeroLengthArrayOp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_checkZeroLengthArrayOp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_checkZeroLengthArrayOpomc_ExpressionSimplify_checkZeroLengthArrayOp,0}};
490#define boxvar_ExpressionSimplify_checkZeroLengthArrayOp((void*)((char*)(&(boxvar_lit_ExpressionSimplify_checkZeroLengthArrayOp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_checkZeroLengthArrayOp)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_checkZeroLengthArrayOp
).header) + 3))
491PROTECTED_FUNCTION_STATIC modelica_boolean omc_ExpressionSimplify_hasZeroLengthIterator(threadData_t *threadData, modelica_metatype _inIters);
492PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_hasZeroLengthIterator(threadData_t *threadData, modelica_metatype _inIters);
493static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_hasZeroLengthIterator,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_hasZeroLengthIterator
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_hasZeroLengthIterator,0}};
494#define boxvar_ExpressionSimplify_hasZeroLengthIterator((void*)((char*)(&(boxvar_lit_ExpressionSimplify_hasZeroLengthIterator
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_hasZeroLengthIterator)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_hasZeroLengthIterator
).header) + 3))
495PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyReductionFoldPhase2(threadData_t *threadData, modelica_metatype _inExps, modelica_metatype _foldExp, modelica_string _foldName, modelica_string _resultName, modelica_metatype _acc);
496static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyReductionFoldPhase2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyReductionFoldPhase2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyReductionFoldPhase2omc_ExpressionSimplify_simplifyReductionFoldPhase2,0}};
497#define boxvar_ExpressionSimplify_simplifyReductionFoldPhase2((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyReductionFoldPhase2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyReductionFoldPhase2)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyReductionFoldPhase2
).header) + 3))
498PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyReductionFoldPhase(threadData_t *threadData, modelica_metatype _path, modelica_metatype _optFoldExp, modelica_string _foldName, modelica_string _resultName, modelica_metatype _ty, modelica_metatype _inExps, modelica_metatype _defaultValue);
499static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyReductionFoldPhase,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyReductionFoldPhase
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyReductionFoldPhaseomc_ExpressionSimplify_simplifyReductionFoldPhase,0}};
500#define boxvar_ExpressionSimplify_simplifyReductionFoldPhase((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyReductionFoldPhase
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyReductionFoldPhase)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyReductionFoldPhase
).header) + 3))
501PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_replaceIteratorWithExpTraverser(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_metatype *out_outTpl);
502static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_replaceIteratorWithExpTraverser,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_replaceIteratorWithExpTraverser
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_replaceIteratorWithExpTraverseromc_ExpressionSimplify_replaceIteratorWithExpTraverser,0}};
503#define boxvar_ExpressionSimplify_replaceIteratorWithExpTraverser((void*)((char*)(&(boxvar_lit_ExpressionSimplify_replaceIteratorWithExpTraverser
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_replaceIteratorWithExpTraverser)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_replaceIteratorWithExpTraverser
).header) + 3))
504PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_replaceIteratorWithExp(threadData_t *threadData, modelica_metatype _iterExp, modelica_metatype _exp, modelica_string _name);
505static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_replaceIteratorWithExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_replaceIteratorWithExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_replaceIteratorWithExpomc_ExpressionSimplify_replaceIteratorWithExp,0}};
506#define boxvar_ExpressionSimplify_replaceIteratorWithExp((void*)((char*)(&(boxvar_lit_ExpressionSimplify_replaceIteratorWithExp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_replaceIteratorWithExp)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_replaceIteratorWithExp
).header) + 3))
507PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_getIteratorValues(threadData_t *threadData, modelica_metatype _iter, modelica_metatype _inValues);
508static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_getIteratorValues,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_getIteratorValues
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_getIteratorValuesomc_ExpressionSimplify_getIteratorValues,0}};
509#define boxvar_ExpressionSimplify_getIteratorValues((void*)((char*)(&(boxvar_lit_ExpressionSimplify_getIteratorValues
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_getIteratorValues)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_getIteratorValues
).header) + 3))
510PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyReduction(threadData_t *threadData, modelica_metatype _inReduction);
511static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyReduction,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyReduction
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyReductionomc_ExpressionSimplify_simplifyReduction,0}};
512#define boxvar_ExpressionSimplify_simplifyReduction((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyReduction
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyReduction)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyReduction
).header) + 3))
513PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyRangeReal2(threadData_t *threadData, modelica_real _inStart, modelica_real _inStep, modelica_integer _inSteps, modelica_metatype _inValues);
514PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_simplifyRangeReal2(threadData_t *threadData, modelica_metatype _inStart, modelica_metatype _inStep, modelica_metatype _inSteps, modelica_metatype _inValues);
515static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyRangeReal2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyRangeReal2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyRangeReal2,0}};
516#define boxvar_ExpressionSimplify_simplifyRangeReal2((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyRangeReal2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyRangeReal2)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyRangeReal2
).header) + 3))
517PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_removeOperatorDimension(threadData_t *threadData, modelica_metatype _inop);
518static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_removeOperatorDimension,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_removeOperatorDimension
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_removeOperatorDimensionomc_ExpressionSimplify_removeOperatorDimension,0}};
519#define boxvar_ExpressionSimplify_removeOperatorDimension((void*)((char*)(&(boxvar_lit_ExpressionSimplify_removeOperatorDimension
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_removeOperatorDimension)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_removeOperatorDimension
).header) + 3))
520PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyBuiltinConstantDer(threadData_t *threadData, modelica_metatype _inExp);
521static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBuiltinConstantDer,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyBuiltinConstantDer
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyBuiltinConstantDeromc_ExpressionSimplify_simplifyBuiltinConstantDer,0}};
522#define boxvar_ExpressionSimplify_simplifyBuiltinConstantDer((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBuiltinConstantDer
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBuiltinConstantDer)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBuiltinConstantDer
).header) + 3))
523PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyBinarySortConstantsMul(threadData_t *threadData, modelica_metatype _inExp);
524static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinarySortConstantsMul,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyBinarySortConstantsMul
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyBinarySortConstantsMulomc_ExpressionSimplify_simplifyBinarySortConstantsMul,0}};
525#define boxvar_ExpressionSimplify_simplifyBinarySortConstantsMul((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinarySortConstantsMul
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinarySortConstantsMul)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinarySortConstantsMul
).header) + 3))
526PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyVectorScalarMatrix(threadData_t *threadData, modelica_metatype _imexpl, modelica_metatype _op, modelica_metatype _s1, modelica_boolean _arrayScalar);
527PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_simplifyVectorScalarMatrix(threadData_t *threadData, modelica_metatype _imexpl, modelica_metatype _op, modelica_metatype _s1, modelica_metatype _arrayScalar);
528static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyVectorScalarMatrix,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyVectorScalarMatrix
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyVectorScalarMatrix,0}};
529#define boxvar_ExpressionSimplify_simplifyVectorScalarMatrix((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyVectorScalarMatrix
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyVectorScalarMatrix)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyVectorScalarMatrix
).header) + 3))
530PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyUnary(threadData_t *threadData, modelica_metatype _origExp, modelica_metatype _inOperator2, modelica_metatype _inExp3);
531static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyUnary,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyUnary
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyUnaryomc_ExpressionSimplify_simplifyUnary,0}};
532#define boxvar_ExpressionSimplify_simplifyUnary((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyUnary
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyUnary)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyUnary
).header) + 3))
533PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyBinaryDistributePow(threadData_t *threadData, modelica_metatype _inExpLst, modelica_metatype _inExp);
534static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinaryDistributePow,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyBinaryDistributePow
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyBinaryDistributePowomc_ExpressionSimplify_simplifyBinaryDistributePow,0}};
535#define boxvar_ExpressionSimplify_simplifyBinaryDistributePow((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinaryDistributePow
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinaryDistributePow)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinaryDistributePow
).header) + 3))
536PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyRelation2(threadData_t *threadData, modelica_metatype _origExp, modelica_metatype _inOp, modelica_metatype _lhs, modelica_metatype _rhs, modelica_integer _index, modelica_metatype _optionExpisASUB, modelica_fnptr _isPositive);
537PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_simplifyRelation2(threadData_t *threadData, modelica_metatype _origExp, modelica_metatype _inOp, modelica_metatype _lhs, modelica_metatype _rhs, modelica_metatype _index, modelica_metatype _optionExpisASUB, modelica_fnptr _isPositive);
538static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyRelation2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyRelation2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyRelation2,0}};
539#define boxvar_ExpressionSimplify_simplifyRelation2((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyRelation2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyRelation2)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyRelation2
).header) + 3))
540PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyRelation(threadData_t *threadData, modelica_metatype _origExp, modelica_metatype _inOperator2, modelica_metatype _inExp3, modelica_metatype _inExp4, modelica_integer _index, modelica_metatype _optionExpisASUB);
541PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_simplifyRelation(threadData_t *threadData, modelica_metatype _origExp, modelica_metatype _inOperator2, modelica_metatype _inExp3, modelica_metatype _inExp4, modelica_metatype _index, modelica_metatype _optionExpisASUB);
542static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyRelation,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyRelation
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyRelation,0}};
543#define boxvar_ExpressionSimplify_simplifyRelation((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyRelation
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyRelation)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyRelation
).header) + 3))
544PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyLBinary(threadData_t *threadData, modelica_metatype _origExp, modelica_metatype _inOperator2, modelica_metatype _inExp3, modelica_metatype _inExp4);
545static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyLBinary,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyLBinary
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyLBinaryomc_ExpressionSimplify_simplifyLBinary,0}};
546#define boxvar_ExpressionSimplify_simplifyLBinary((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyLBinary
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyLBinary)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyLBinary
).header) + 3))
547PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyTwoBinaryExpressions(threadData_t *threadData, modelica_metatype _e1, modelica_metatype _lhsOperator, modelica_metatype _e2, modelica_metatype _mainOperator, modelica_metatype _e3, modelica_metatype _rhsOperator, modelica_metatype _e4, modelica_boolean _expEqual_e1_e3, modelica_boolean _expEqual_e1_e4, modelica_boolean _expEqual_e2_e3, modelica_boolean _expEqual_e2_e4, modelica_boolean _isConst_e1, modelica_boolean _isConst_e2, modelica_boolean _isConst_e3, modelica_boolean _operatorEqualLhsRhs);
548PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_simplifyTwoBinaryExpressions(threadData_t *threadData, modelica_metatype _e1, modelica_metatype _lhsOperator, modelica_metatype _e2, modelica_metatype _mainOperator, modelica_metatype _e3, modelica_metatype _rhsOperator, modelica_metatype _e4, modelica_metatype _expEqual_e1_e3, modelica_metatype _expEqual_e1_e4, modelica_metatype _expEqual_e2_e3, modelica_metatype _expEqual_e2_e4, modelica_metatype _isConst_e1, modelica_metatype _isConst_e2, modelica_metatype _isConst_e3, modelica_metatype _operatorEqualLhsRhs);
549static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyTwoBinaryExpressions,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyTwoBinaryExpressions
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyTwoBinaryExpressions,0}};
550#define boxvar_ExpressionSimplify_simplifyTwoBinaryExpressions((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyTwoBinaryExpressions
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyTwoBinaryExpressions)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyTwoBinaryExpressions
).header) + 3))
551PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyBinary(threadData_t *threadData, modelica_metatype _origExp, modelica_metatype _inOperator2, modelica_metatype _lhs, modelica_metatype _rhs);
552static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinary,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyBinary
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyBinaryomc_ExpressionSimplify_simplifyBinary,0}};
553#define boxvar_ExpressionSimplify_simplifyBinary((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinary
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinary)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinary
).header) + 3))
554PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyBinaryCommutativeWork(threadData_t *threadData, modelica_metatype _op, modelica_metatype _lhs, modelica_metatype _rhs);
555static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinaryCommutativeWork,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyBinaryCommutativeWork
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyBinaryCommutativeWorkomc_ExpressionSimplify_simplifyBinaryCommutativeWork,0}};
556#define boxvar_ExpressionSimplify_simplifyBinaryCommutativeWork((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinaryCommutativeWork
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinaryCommutativeWork)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinaryCommutativeWork
).header) + 3))
557PROTECTED_FUNCTION_STATIC modelica_boolean omc_ExpressionSimplify_simplifyRelationConst(threadData_t *threadData, modelica_metatype _op, modelica_metatype _e1, modelica_metatype _e2);
558PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_simplifyRelationConst(threadData_t *threadData, modelica_metatype _op, modelica_metatype _e1, modelica_metatype _e2);
559static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyRelationConst,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyRelationConst
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyRelationConst,0}};
560#define boxvar_ExpressionSimplify_simplifyRelationConst((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyRelationConst
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyRelationConst)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyRelationConst
).header) + 3))
561PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyBinaryConst(threadData_t *threadData, modelica_metatype _inOperator1, modelica_metatype _inExp2, modelica_metatype _inExp3);
562static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinaryConst,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyBinaryConst
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyBinaryConstomc_ExpressionSimplify_simplifyBinaryConst,0}};
563#define boxvar_ExpressionSimplify_simplifyBinaryConst((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinaryConst
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinaryConst)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinaryConst
).header) + 3))
564PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyAsubSlicing2(threadData_t *threadData, modelica_metatype _inSubscripts, modelica_metatype _inExp);
565static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyAsubSlicing2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyAsubSlicing2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyAsubSlicing2omc_ExpressionSimplify_simplifyAsubSlicing2,0}};
566#define boxvar_ExpressionSimplify_simplifyAsubSlicing2((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyAsubSlicing2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyAsubSlicing2)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyAsubSlicing2
).header) + 3))
567PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyAsubSlicing(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inSubscripts);
568static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyAsubSlicing,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyAsubSlicing
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyAsubSlicingomc_ExpressionSimplify_simplifyAsubSlicing,0}};
569#define boxvar_ExpressionSimplify_simplifyAsubSlicing((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyAsubSlicing
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyAsubSlicing)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyAsubSlicing
).header) + 3))
570PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyAsubOperator(threadData_t *threadData, modelica_metatype _inExp1, modelica_metatype _inOperator2, modelica_metatype _inOperator3);
571static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyAsubOperator,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyAsubOperator
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyAsubOperatoromc_ExpressionSimplify_simplifyAsubOperator,0}};
572#define boxvar_ExpressionSimplify_simplifyAsubOperator((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyAsubOperator
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyAsubOperator)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyAsubOperator
).header) + 3))
573PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyAsubArrayReduction(threadData_t *threadData, modelica_metatype _iter, modelica_metatype _sub, modelica_metatype _acc);
574static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyAsubArrayReduction,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyAsubArrayReduction
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyAsubArrayReductionomc_ExpressionSimplify_simplifyAsubArrayReduction,0}};
575#define boxvar_ExpressionSimplify_simplifyAsubArrayReduction((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyAsubArrayReduction
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyAsubArrayReduction)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyAsubArrayReduction
).header) + 3))
576PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyAsub(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inSub);
577static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyAsub,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyAsub
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyAsubomc_ExpressionSimplify_simplifyAsub,0}};
578#define boxvar_ExpressionSimplify_simplifyAsub((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyAsub
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyAsub)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyAsub
).header) + 3))
579PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyAsubCref(threadData_t *threadData, modelica_metatype _cr, modelica_metatype _sub);
580static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyAsubCref,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyAsubCref
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyAsubCrefomc_ExpressionSimplify_simplifyAsubCref,0}};
581#define boxvar_ExpressionSimplify_simplifyAsubCref((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyAsubCref
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyAsubCref)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyAsubCref
).header) + 3))
582PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyAsub0(threadData_t *threadData, modelica_metatype _ie, modelica_integer _sub, modelica_metatype _inSubExp);
583PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_simplifyAsub0(threadData_t *threadData, modelica_metatype _ie, modelica_metatype _sub, modelica_metatype _inSubExp);
584static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyAsub0,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyAsub0
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyAsub0,0}};
585#define boxvar_ExpressionSimplify_simplifyAsub0((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyAsub0
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyAsub0)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyAsub0
).header) + 3))
586PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyBinaryMulCoeff2(threadData_t *threadData, modelica_metatype _inExp);
587static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinaryMulCoeff2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyBinaryMulCoeff2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyBinaryMulCoeff2omc_ExpressionSimplify_simplifyBinaryMulCoeff2,0}};
588#define boxvar_ExpressionSimplify_simplifyBinaryMulCoeff2((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinaryMulCoeff2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinaryMulCoeff2)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinaryMulCoeff2
).header) + 3))
589PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyBinaryAddCoeff2(threadData_t *threadData, modelica_metatype _inExp);
590static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinaryAddCoeff2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyBinaryAddCoeff2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyBinaryAddCoeff2omc_ExpressionSimplify_simplifyBinaryAddCoeff2,0}};
591#define boxvar_ExpressionSimplify_simplifyBinaryAddCoeff2((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinaryAddCoeff2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinaryAddCoeff2)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinaryAddCoeff2
).header) + 3))
592PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyAddMakeMul(threadData_t *threadData, modelica_metatype _inTplExpRealLst);
593static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyAddMakeMul,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyAddMakeMul
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyAddMakeMulomc_ExpressionSimplify_simplifyAddMakeMul,0}};
594#define boxvar_ExpressionSimplify_simplifyAddMakeMul((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyAddMakeMul
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyAddMakeMul)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyAddMakeMul
).header) + 3))
595PROTECTED_FUNCTION_STATIC modelica_real omc_ExpressionSimplify_simplifyAddJoinTermsFind(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTplExpRealLst, modelica_metatype *out_outTplExpRealLst);
596PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_simplifyAddJoinTermsFind(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTplExpRealLst, modelica_metatype *out_outTplExpRealLst);
597static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyAddJoinTermsFind,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyAddJoinTermsFind
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyAddJoinTermsFind,0}};
598#define boxvar_ExpressionSimplify_simplifyAddJoinTermsFind((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyAddJoinTermsFind
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyAddJoinTermsFind)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyAddJoinTermsFind
).header) + 3))
599PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyAddJoinTerms(threadData_t *threadData, modelica_metatype _inTplExpRealLst);
600static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyAddJoinTerms,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyAddJoinTerms
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyAddJoinTermsomc_ExpressionSimplify_simplifyAddJoinTerms,0}};
601#define boxvar_ExpressionSimplify_simplifyAddJoinTerms((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyAddJoinTerms
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyAddJoinTerms)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyAddJoinTerms
).header) + 3))
602PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyAdd(threadData_t *threadData, modelica_metatype _inExpLst);
603static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyAdd,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyAdd
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyAddomc_ExpressionSimplify_simplifyAdd,0}};
604#define boxvar_ExpressionSimplify_simplifyAdd((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyAdd
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyAdd)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyAdd
).header) + 3))
605PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyMulMakePow(threadData_t *threadData, modelica_metatype _inTplExpRealLst);
606static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMulMakePow,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyMulMakePow
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyMulMakePowomc_ExpressionSimplify_simplifyMulMakePow,0}};
607#define boxvar_ExpressionSimplify_simplifyMulMakePow((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMulMakePow
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMulMakePow)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMulMakePow
).header) + 3))
608PROTECTED_FUNCTION_STATIC modelica_real omc_ExpressionSimplify_simplifyMulJoinFactorsFind(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTplExpRealLst, modelica_metatype *out_outTplExpRealLst);
609PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_simplifyMulJoinFactorsFind(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTplExpRealLst, modelica_metatype *out_outTplExpRealLst);
610static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMulJoinFactorsFind,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyMulJoinFactorsFind
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyMulJoinFactorsFind,0}};
611#define boxvar_ExpressionSimplify_simplifyMulJoinFactorsFind((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMulJoinFactorsFind
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMulJoinFactorsFind)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMulJoinFactorsFind
).header) + 3))
612PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyMulJoinFactors(threadData_t *threadData, modelica_metatype _inTplExpRealLst);
613static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMulJoinFactors,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyMulJoinFactors
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyMulJoinFactorsomc_ExpressionSimplify_simplifyMulJoinFactors,0}};
614#define boxvar_ExpressionSimplify_simplifyMulJoinFactors((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMulJoinFactors
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMulJoinFactors)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMulJoinFactors
).header) + 3))
615PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyMul(threadData_t *threadData, modelica_metatype _expl);
616static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMul,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyMul
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyMulomc_ExpressionSimplify_simplifyMul,0}};
617#define boxvar_ExpressionSimplify_simplifyMul((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMul
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMul)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMul
).header) + 3))
618PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyBinaryMulConstants(threadData_t *threadData, modelica_metatype _inExpLst);
619static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinaryMulConstants,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyBinaryMulConstants
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyBinaryMulConstantsomc_ExpressionSimplify_simplifyBinaryMulConstants,0}};
620#define boxvar_ExpressionSimplify_simplifyBinaryMulConstants((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinaryMulConstants
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinaryMulConstants)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinaryMulConstants
).header) + 3))
621PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyBinaryAddConstants(threadData_t *threadData, modelica_metatype _inExpLst);
622static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinaryAddConstants,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyBinaryAddConstants
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyBinaryAddConstantsomc_ExpressionSimplify_simplifyBinaryAddConstants,0}};
623#define boxvar_ExpressionSimplify_simplifyBinaryAddConstants((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinaryAddConstants
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinaryAddConstants)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinaryAddConstants
).header) + 3))
624PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyBinaryCoeff(threadData_t *threadData, modelica_metatype _inExp);
625static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinaryCoeff,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyBinaryCoeff
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyBinaryCoeffomc_ExpressionSimplify_simplifyBinaryCoeff,0}};
626#define boxvar_ExpressionSimplify_simplifyBinaryCoeff((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinaryCoeff
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinaryCoeff)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinaryCoeff
).header) + 3))
627PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyBinarySortConstants(threadData_t *threadData, modelica_metatype _inExp);
628static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinarySortConstants,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyBinarySortConstants
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyBinarySortConstantsomc_ExpressionSimplify_simplifyBinarySortConstants,0}};
629#define boxvar_ExpressionSimplify_simplifyBinarySortConstants((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinarySortConstants
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinarySortConstants)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinarySortConstants
).header) + 3))
630PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyMatrixProduct4(threadData_t *threadData, modelica_metatype _inMatrix1, modelica_metatype _inMatrix2);
631static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMatrixProduct4,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyMatrixProduct4
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyMatrixProduct4omc_ExpressionSimplify_simplifyMatrixProduct4,0}};
632#define boxvar_ExpressionSimplify_simplifyMatrixProduct4((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMatrixProduct4
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMatrixProduct4)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMatrixProduct4
).header) + 3))
633PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyMatrixProduct3(threadData_t *threadData, modelica_metatype _inRow, modelica_metatype _inMatrix);
634static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMatrixProduct3,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyMatrixProduct3
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyMatrixProduct3omc_ExpressionSimplify_simplifyMatrixProduct3,0}};
635#define boxvar_ExpressionSimplify_simplifyMatrixProduct3((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMatrixProduct3
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMatrixProduct3)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMatrixProduct3
).header) + 3))
636PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyMatrixProduct2(threadData_t *threadData, modelica_metatype _inMatrix1, modelica_metatype _inMatrix2);
637static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMatrixProduct2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyMatrixProduct2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyMatrixProduct2omc_ExpressionSimplify_simplifyMatrixProduct2,0}};
638#define boxvar_ExpressionSimplify_simplifyMatrixProduct2((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMatrixProduct2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMatrixProduct2)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMatrixProduct2
).header) + 3))
639PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyMatrixProduct(threadData_t *threadData, modelica_metatype _inMatrix1, modelica_metatype _inMatrix2);
640static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMatrixProduct,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyMatrixProduct
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyMatrixProductomc_ExpressionSimplify_simplifyMatrixProduct,0}};
641#define boxvar_ExpressionSimplify_simplifyMatrixProduct((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMatrixProduct
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMatrixProduct)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMatrixProduct
).header) + 3))
642PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyMatrixPow1(threadData_t *threadData, modelica_metatype _inRange, modelica_metatype _inMatrix, modelica_metatype _inValue);
643static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMatrixPow1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyMatrixPow1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyMatrixPow1omc_ExpressionSimplify_simplifyMatrixPow1,0}};
644#define boxvar_ExpressionSimplify_simplifyMatrixPow1((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMatrixPow1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMatrixPow1)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMatrixPow1
).header) + 3))
645PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyMatrixPow(threadData_t *threadData, modelica_metatype _inExp1, modelica_metatype _inType, modelica_metatype _inExp2);
646static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMatrixPow,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyMatrixPow
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyMatrixPowomc_ExpressionSimplify_simplifyMatrixPow,0}};
647#define boxvar_ExpressionSimplify_simplifyMatrixPow((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMatrixPow
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMatrixPow)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMatrixPow
).header) + 3))
648PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyMatrixBinary2(threadData_t *threadData, modelica_metatype _inLhs, modelica_metatype _inRhs, modelica_metatype _inOperator);
649static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMatrixBinary2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyMatrixBinary2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyMatrixBinary2omc_ExpressionSimplify_simplifyMatrixBinary2,0}};
650#define boxvar_ExpressionSimplify_simplifyMatrixBinary2((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMatrixBinary2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMatrixBinary2)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMatrixBinary2
).header) + 3))
651PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyMatrixBinary1(threadData_t *threadData, modelica_metatype _inLhs, modelica_metatype _inRhs, modelica_metatype _inOperator);
652static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMatrixBinary1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyMatrixBinary1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyMatrixBinary1omc_ExpressionSimplify_simplifyMatrixBinary1,0}};
653#define boxvar_ExpressionSimplify_simplifyMatrixBinary1((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMatrixBinary1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMatrixBinary1)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMatrixBinary1
).header) + 3))
654PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyMatrixBinary(threadData_t *threadData, modelica_metatype _inLhs, modelica_metatype _inOperator, modelica_metatype _inRhs);
655static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMatrixBinary,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyMatrixBinary
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyMatrixBinaryomc_ExpressionSimplify_simplifyMatrixBinary,0}};
656#define boxvar_ExpressionSimplify_simplifyMatrixBinary((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMatrixBinary
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMatrixBinary)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMatrixBinary
).header) + 3))
657PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyVectorBinary2(threadData_t *threadData, modelica_metatype _inLhs, modelica_metatype _inRhs, modelica_metatype _inOperator);
658static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyVectorBinary2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyVectorBinary2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyVectorBinary2omc_ExpressionSimplify_simplifyVectorBinary2,0}};
659#define boxvar_ExpressionSimplify_simplifyVectorBinary2((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyVectorBinary2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyVectorBinary2)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyVectorBinary2
).header) + 3))
660PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyVectorBinary(threadData_t *threadData, modelica_metatype _inLhs, modelica_metatype _inOperator, modelica_metatype _inRhs);
661static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyVectorBinary,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyVectorBinary
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyVectorBinaryomc_ExpressionSimplify_simplifyVectorBinary,0}};
662#define boxvar_ExpressionSimplify_simplifyVectorBinary((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyVectorBinary
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyVectorBinary)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyVectorBinary
).header) + 3))
663PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyVectorBinary0(threadData_t *threadData, modelica_metatype _e1, modelica_metatype _op, modelica_metatype _e2);
664static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyVectorBinary0,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyVectorBinary0
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyVectorBinary0omc_ExpressionSimplify_simplifyVectorBinary0,0}};
665#define boxvar_ExpressionSimplify_simplifyVectorBinary0((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyVectorBinary0
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyVectorBinary0)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyVectorBinary0
).header) + 3))
666PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyVectorScalar(threadData_t *threadData, modelica_metatype _inLhs, modelica_metatype _inOperator, modelica_metatype _inRhs);
667static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyVectorScalar,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyVectorScalar
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyVectorScalaromc_ExpressionSimplify_simplifyVectorScalar,0}};
668#define boxvar_ExpressionSimplify_simplifyVectorScalar((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyVectorScalar
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyVectorScalar)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyVectorScalar
).header) + 3))
669PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_unliftOperator(threadData_t *threadData, modelica_metatype _inArray, modelica_metatype _inOperator);
670static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_unliftOperator,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_unliftOperator
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_unliftOperatoromc_ExpressionSimplify_unliftOperator,0}};
671#define boxvar_ExpressionSimplify_unliftOperator((void*)((char*)(&(boxvar_lit_ExpressionSimplify_unliftOperator
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_unliftOperator)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_unliftOperator
).header) + 3))
672PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyBinaryArray(threadData_t *threadData, modelica_metatype _inExp1, modelica_metatype _inOperator2, modelica_metatype _inExp3);
673static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinaryArray,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyBinaryArray
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyBinaryArrayomc_ExpressionSimplify_simplifyBinaryArray,0}};
674#define boxvar_ExpressionSimplify_simplifyBinaryArray((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinaryArray
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinaryArray)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinaryArray
).header) + 3))
675PROTECTED_FUNCTION_STATIC modelica_boolean omc_ExpressionSimplify_simplifyBinaryArrayOp(threadData_t *threadData, modelica_metatype _inOperator);
676PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_simplifyBinaryArrayOp(threadData_t *threadData, modelica_metatype _inOperator);
677static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinaryArrayOp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyBinaryArrayOp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyBinaryArrayOp,0}};
678#define boxvar_ExpressionSimplify_simplifyBinaryArrayOp((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinaryArrayOp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBinaryArrayOp)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBinaryArrayOp
).header) + 3))
679PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyCrefMM1(threadData_t *threadData, modelica_string _ident, modelica_metatype _ty, modelica_metatype _ssl);
680static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyCrefMM1,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyCrefMM1
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyCrefMM1omc_ExpressionSimplify_simplifyCrefMM1,0}};
681#define boxvar_ExpressionSimplify_simplifyCrefMM1((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyCrefMM1
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyCrefMM1)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyCrefMM1
).header) + 3))
682PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyCrefMM(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inType, modelica_metatype _inCref);
683static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyCrefMM,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyCrefMM
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyCrefMMomc_ExpressionSimplify_simplifyCrefMM,0}};
684#define boxvar_ExpressionSimplify_simplifyCrefMM((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyCrefMM
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyCrefMM)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyCrefMM
).header) + 3))
685PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyCrefMM__index(threadData_t *threadData, modelica_metatype _inExp, modelica_string _ident, modelica_metatype _ty);
686static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyCrefMM__index,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyCrefMM__index
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyCrefMM__indexomc_ExpressionSimplify_simplifyCrefMM__index,0}};
687#define boxvar_ExpressionSimplify_simplifyCrefMM__index((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyCrefMM__index
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyCrefMM__index)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyCrefMM__index
).header) + 3))
688PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyCref2(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inSsl);
689static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyCref2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyCref2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyCref2omc_ExpressionSimplify_simplifyCref2,0}};
690#define boxvar_ExpressionSimplify_simplifyCref2((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyCref2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyCref2)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyCref2
).header) + 3))
691PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyCref(threadData_t *threadData, modelica_metatype _origExp, modelica_metatype _inCREF, modelica_metatype _inType);
692static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyCref,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyCref
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyCrefomc_ExpressionSimplify_simplifyCref,0}};
693#define boxvar_ExpressionSimplify_simplifyCref((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyCref
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyCref)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyCref
).header) + 3))
694PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyBuiltinConstantCalls(threadData_t *threadData, modelica_string _name, modelica_metatype _exp);
695static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBuiltinConstantCalls,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyBuiltinConstantCalls
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyBuiltinConstantCallsomc_ExpressionSimplify_simplifyBuiltinConstantCalls,0}};
696#define boxvar_ExpressionSimplify_simplifyBuiltinConstantCalls((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBuiltinConstantCalls
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBuiltinConstantCalls)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBuiltinConstantCalls
).header) + 3))
697PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyStringAppendList(threadData_t *threadData, modelica_metatype _iexpl, modelica_metatype _iacc, modelica_boolean _ichange);
698PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_simplifyStringAppendList(threadData_t *threadData, modelica_metatype _iexpl, modelica_metatype _iacc, modelica_metatype _ichange);
699static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyStringAppendList,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyStringAppendList
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyStringAppendList,0}};
700#define boxvar_ExpressionSimplify_simplifyStringAppendList((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyStringAppendList
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyStringAppendList)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyStringAppendList
).header) + 3))
701PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyBuiltinStringFormat(threadData_t *threadData, modelica_metatype _exp, modelica_metatype _len_exp, modelica_metatype _just_exp);
702static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBuiltinStringFormat,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyBuiltinStringFormat
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyBuiltinStringFormatomc_ExpressionSimplify_simplifyBuiltinStringFormat,0}};
703#define boxvar_ExpressionSimplify_simplifyBuiltinStringFormat((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBuiltinStringFormat
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBuiltinStringFormat)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBuiltinStringFormat
).header) + 3))
704PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_evalCatGetFlatArray(threadData_t *threadData, modelica_metatype _e, modelica_integer _dim, modelica_fnptr _getArrayContents, modelica_fnptr _toString, modelica_metatype *out_outDims);
705PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_evalCatGetFlatArray(threadData_t *threadData, modelica_metatype _e, modelica_metatype _dim, modelica_fnptr _getArrayContents, modelica_fnptr _toString, modelica_metatype *out_outDims);
706static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_evalCatGetFlatArray,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_evalCatGetFlatArray
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_evalCatGetFlatArray,0}};
707#define boxvar_ExpressionSimplify_evalCatGetFlatArray((void*)((char*)(&(boxvar_lit_ExpressionSimplify_evalCatGetFlatArray
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_evalCatGetFlatArray)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_evalCatGetFlatArray
).header) + 3))
708PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyCat2(threadData_t *threadData, modelica_integer _dim, modelica_metatype _ies, modelica_metatype _acc, modelica_boolean _changed);
709PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_simplifyCat2(threadData_t *threadData, modelica_metatype _dim, modelica_metatype _ies, modelica_metatype _acc, modelica_metatype _changed);
710static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyCat2,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyCat2
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyCat2,0}};
711#define boxvar_ExpressionSimplify_simplifyCat2((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyCat2
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyCat2)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyCat2
).header) + 3))
712PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyCatArg(threadData_t *threadData, modelica_metatype _arg);
713static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyCatArg,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyCatArg
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyCatArgomc_ExpressionSimplify_simplifyCatArg,0}};
714#define boxvar_ExpressionSimplify_simplifyCatArg((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyCatArg
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyCatArg)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyCatArg
).header) + 3))
715PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyCat(threadData_t *threadData, modelica_integer _inDim, modelica_metatype _inExpList);
716PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_simplifyCat(threadData_t *threadData, modelica_metatype _inDim, modelica_metatype _inExpList);
717static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyCat,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyCat
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyCat,0}};
718#define boxvar_ExpressionSimplify_simplifyCat((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyCat
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyCat)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyCat
).header) + 3))
719PROTECTED_FUNCTION_STATIC void omc_ExpressionSimplify_simplifySymmetric(threadData_t *threadData, modelica_metatype _marr, modelica_integer _i1, modelica_integer _i2);
720PROTECTED_FUNCTION_STATIC void boxptr_ExpressionSimplify_simplifySymmetric(threadData_t *threadData, modelica_metatype _marr, modelica_metatype _i1, modelica_metatype _i2);
721static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifySymmetric,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifySymmetric
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifySymmetric,0}};
722#define boxvar_ExpressionSimplify_simplifySymmetric((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifySymmetric
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifySymmetric)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifySymmetric
).header) + 3))
723PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_makeNestedReduction(threadData_t *threadData, modelica_metatype _inExp, modelica_string _inName, modelica_metatype _inType, modelica_metatype _inCall);
724static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_makeNestedReduction,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_makeNestedReduction
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_makeNestedReductionomc_ExpressionSimplify_makeNestedReduction,0}};
725#define boxvar_ExpressionSimplify_makeNestedReduction((void*)((char*)(&(boxvar_lit_ExpressionSimplify_makeNestedReduction
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_makeNestedReduction)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_makeNestedReduction
).header) + 3))
726PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyScalar(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _tp);
727static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyScalar,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyScalar
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyScalaromc_ExpressionSimplify_simplifyScalar,0}};
728#define boxvar_ExpressionSimplify_simplifyScalar((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyScalar
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyScalar)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyScalar
).header) + 3))
729PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyBuiltinCalls(threadData_t *threadData, modelica_metatype _exp);
730static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBuiltinCalls,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyBuiltinCalls
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyBuiltinCallsomc_ExpressionSimplify_simplifyBuiltinCalls,0}};
731#define boxvar_ExpressionSimplify_simplifyBuiltinCalls((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBuiltinCalls
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyBuiltinCalls)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyBuiltinCalls
).header) + 3))
732PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_addCast(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inType);
733static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_addCast,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_addCast
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_addCastomc_ExpressionSimplify_addCast,0}};
734#define boxvar_ExpressionSimplify_addCast((void*)((char*)(&(boxvar_lit_ExpressionSimplify_addCast)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_addCast)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_addCast)
.header) + 3))
735PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyCast(threadData_t *threadData, modelica_metatype _origExp, modelica_metatype _exp, modelica_metatype _tp);
736static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyCast,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyCast
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyCastomc_ExpressionSimplify_simplifyCast,0}};
737#define boxvar_ExpressionSimplify_simplifyCast((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyCast
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyCast)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyCast
).header) + 3))
738PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyMatch(threadData_t *threadData, modelica_metatype _exp);
739static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMatch,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyMatch
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyMatchomc_ExpressionSimplify_simplifyMatch,0}};
740#define boxvar_ExpressionSimplify_simplifyMatch((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMatch
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMatch)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMatch
).header) + 3))
741PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyUnbox(threadData_t *threadData, modelica_metatype _exp);
742static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyUnbox,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyUnbox
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyUnboxomc_ExpressionSimplify_simplifyUnbox,0}};
743#define boxvar_ExpressionSimplify_simplifyUnbox((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyUnbox
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyUnbox)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyUnbox
).header) + 3))
744PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyCons(threadData_t *threadData, modelica_metatype _inExp);
745static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyCons,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyCons
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyConsomc_ExpressionSimplify_simplifyCons,0}};
746#define boxvar_ExpressionSimplify_simplifyCons((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyCons
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyCons)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyCons
).header) + 3))
747PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyMetaModelicaCalls(threadData_t *threadData, modelica_metatype _exp);
748static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMetaModelicaCalls,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyMetaModelicaCalls
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyMetaModelicaCallsomc_ExpressionSimplify_simplifyMetaModelicaCalls,0}};
749#define boxvar_ExpressionSimplify_simplifyMetaModelicaCalls((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMetaModelicaCalls
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyMetaModelicaCalls)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyMetaModelicaCalls
).header) + 3))
750PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyIfExp(threadData_t *threadData, modelica_metatype _origExp, modelica_metatype _cond, modelica_metatype _tb, modelica_metatype _fb);
751static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyIfExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyIfExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyIfExpomc_ExpressionSimplify_simplifyIfExp,0}};
752#define boxvar_ExpressionSimplify_simplifyIfExp((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyIfExp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyIfExp)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyIfExp
).header) + 3))
753PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyReductionIterators(threadData_t *threadData, modelica_metatype _inIters, modelica_metatype _inAcc, modelica_boolean _inChange, modelica_boolean *out_outChange);
754PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_simplifyReductionIterators(threadData_t *threadData, modelica_metatype _inIters, modelica_metatype _inAcc, modelica_metatype _inChange, modelica_metatype *out_outChange);
755static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyReductionIterators,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyReductionIterators
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyReductionIterators,0}};
756#define boxvar_ExpressionSimplify_simplifyReductionIterators((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyReductionIterators
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyReductionIterators)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyReductionIterators
).header) + 3))
757PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplify1FixP(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inOptions, modelica_integer _n, modelica_boolean _cont, modelica_boolean _hasChanged, modelica_boolean *out_outHasChanged);
758PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_simplify1FixP(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inOptions, modelica_metatype _n, modelica_metatype _cont, modelica_metatype _hasChanged, modelica_metatype *out_outHasChanged);
759static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplify1FixP,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplify1FixP
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplify1FixP,0}};
760#define boxvar_ExpressionSimplify_simplify1FixP((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplify1FixP
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplify1FixP)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplify1FixP
).header) + 3))
761PROTECTED_FUNCTION_STATIC void omc_ExpressionSimplify_checkSimplify(threadData_t *threadData, modelica_boolean _check, modelica_metatype _before, modelica_metatype _after);
762PROTECTED_FUNCTION_STATIC void boxptr_ExpressionSimplify_checkSimplify(threadData_t *threadData, modelica_metatype _check, modelica_metatype _before, modelica_metatype _after);
763static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_checkSimplify,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_checkSimplify
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_checkSimplify,0}};
764#define boxvar_ExpressionSimplify_checkSimplify((void*)((char*)(&(boxvar_lit_ExpressionSimplify_checkSimplify
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_checkSimplify)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_checkSimplify
).header) + 3))
765PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_edgeCref(threadData_t *threadData, modelica_metatype _ie, modelica_boolean _ib, modelica_boolean *out_cont, modelica_boolean *out_ob);
766PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_edgeCref(threadData_t *threadData, modelica_metatype _ie, modelica_metatype _ib, modelica_metatype *out_cont, modelica_metatype *out_ob);
767static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_edgeCref,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_edgeCref
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_edgeCref,0}};
768#define boxvar_ExpressionSimplify_edgeCref((void*)((char*)(&(boxvar_lit_ExpressionSimplify_edgeCref
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_edgeCref)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_edgeCref
).header) + 3))
769PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_changeCref(threadData_t *threadData, modelica_metatype _ie, modelica_boolean _ib, modelica_boolean *out_cont, modelica_boolean *out_ob);
770PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_changeCref(threadData_t *threadData, modelica_metatype _ie, modelica_metatype _ib, modelica_metatype *out_cont, modelica_metatype *out_ob);
771static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_changeCref,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_changeCref
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_changeCref,0}};
772#define boxvar_ExpressionSimplify_changeCref((void*)((char*)(&(boxvar_lit_ExpressionSimplify_changeCref
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_changeCref)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_changeCref
).header) + 3))
773PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_previousCref(threadData_t *threadData, modelica_metatype _ie, modelica_boolean _ib, modelica_boolean *out_cont, modelica_boolean *out_ob);
774PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_previousCref(threadData_t *threadData, modelica_metatype _ie, modelica_metatype _ib, modelica_metatype *out_cont, modelica_metatype *out_ob);
775static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_previousCref,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_previousCref
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_previousCref,0}};
776#define boxvar_ExpressionSimplify_previousCref((void*)((char*)(&(boxvar_lit_ExpressionSimplify_previousCref
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_previousCref)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_previousCref
).header) + 3))
777PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_preCref(threadData_t *threadData, modelica_metatype _ie, modelica_boolean _ib, modelica_boolean *out_cont, modelica_boolean *out_ob);
778PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_preCref(threadData_t *threadData, modelica_metatype _ie, modelica_metatype _ib, modelica_metatype *out_cont, modelica_metatype *out_ob);
779static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_preCref,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_preCref
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_preCref,0}};
780#define boxvar_ExpressionSimplify_preCref((void*)((char*)(&(boxvar_lit_ExpressionSimplify_preCref)
.header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_preCref)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_preCref)
.header) + 3))
781PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyCall(threadData_t *threadData, modelica_metatype _inExp);
782static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyCall,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyCall
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyCallomc_ExpressionSimplify_simplifyCall,0}};
783#define boxvar_ExpressionSimplify_simplifyCall((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyCall
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyCall)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyCall
).header) + 3))
784PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyAsubExp(threadData_t *threadData, modelica_metatype _origExp, modelica_metatype _inExp, modelica_metatype _inSubs);
785static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyAsubExp,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyAsubExp
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyAsubExpomc_ExpressionSimplify_simplifyAsubExp,0}};
786#define boxvar_ExpressionSimplify_simplifyAsubExp((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyAsubExp
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyAsubExp)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyAsubExp
).header) + 3))
787PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyRSub(threadData_t *threadData, modelica_metatype _D_24in_e);
788static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyRSub,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyRSub
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyRSubomc_ExpressionSimplify_simplifyRSub,0}};
789#define boxvar_ExpressionSimplify_simplifyRSub((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyRSub
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyRSub)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyRSub
).header) + 3))
790PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyWithOptions(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _options, modelica_boolean *out_hasChanged);
791PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_simplifyWithOptions(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _options, modelica_metatype *out_hasChanged);
792static const MMC_DEFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyWithOptions,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_ExpressionSimplify_simplifyWithOptions
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_ExpressionSimplify_simplifyWithOptions,0}};
793#define boxvar_ExpressionSimplify_simplifyWithOptions((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyWithOptions
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_ExpressionSimplify_simplifyWithOptions)((void*)((char*)(&(boxvar_lit_ExpressionSimplify_simplifyWithOptions
).header) + 3))
794
795DLLExport
796modelica_metatype omc_ExpressionSimplify_simplifyCross(threadData_t *threadData, modelica_metatype _v1, modelica_metatype _v2)
797{
798 modelica_metatype _res = NULL((void*)0);
799 modelica_metatype _x1 = NULL((void*)0);
800 modelica_metatype _x2 = NULL((void*)0);
801 modelica_metatype _x3 = NULL((void*)0);
802 modelica_metatype _y1 = NULL((void*)0);
803 modelica_metatype _y2 = NULL((void*)0);
804 modelica_metatype _y3 = NULL((void*)0);
805 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
806 MMC_SO()mmc_check_stackoverflow(threadData);
807 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
808 // _res has no default value.
809 // _x1 has no default value.
810 // _x2 has no default value.
811 // _x3 has no default value.
812 // _y1 has no default value.
813 // _y2 has no default value.
814 // _y3 has no default value.
815#line 5924 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
816 /* Pattern-matching assignment */
817#line 5924 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
818 tmpMeta[0] = _v1;
819#line 5924 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
820 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);};
821#line 5924 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
822 tmpMeta[1] = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
823#line 5924 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
824 tmpMeta[2] = MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
825#line 5924 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
826 if (listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
827#line 5924 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
828 tmpMeta[3] = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
829#line 5924 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
830 tmpMeta[4] = MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
831#line 5924 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
832 if (listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
833#line 5924 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
834 tmpMeta[5] = MMC_CAR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
835#line 5924 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
836 tmpMeta[6] = MMC_CDR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
837#line 5924 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
838 if (!listEmpty(tmpMeta[6])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
839#line 5924 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
840 _x1 = tmpMeta[1];
841#line 5924 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
842 _x2 = tmpMeta[3];
843#line 5924 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
844 _x3 = tmpMeta[5];
845#line 845 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
846
847#line 5925 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
848 /* Pattern-matching assignment */
849#line 5925 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
850 tmpMeta[0] = _v2;
851#line 5925 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
852 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);};
853#line 5925 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
854 tmpMeta[1] = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
855#line 5925 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
856 tmpMeta[2] = MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
857#line 5925 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
858 if (listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
859#line 5925 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
860 tmpMeta[3] = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
861#line 5925 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
862 tmpMeta[4] = MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
863#line 5925 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
864 if (listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
865#line 5925 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
866 tmpMeta[5] = MMC_CAR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
867#line 5925 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
868 tmpMeta[6] = MMC_CDR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
869#line 5925 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
870 if (!listEmpty(tmpMeta[6])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
871#line 5925 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
872 _y1 = tmpMeta[1];
873#line 5925 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
874 _y2 = tmpMeta[3];
875#line 5925 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
876 _y3 = tmpMeta[5];
877#line 877 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
878
879#line 5928 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
880 tmpMeta[0] = mmc_mk_cons(omc_Expression_makeDiff(threadData, omc_Expression_makeProduct(threadData, _x2, _y3), omc_Expression_makeProduct(threadData, _x3, _y2)), mmc_mk_cons(omc_Expression_makeDiff(threadData, omc_Expression_makeProduct(threadData, _x3, _y1), omc_Expression_makeProduct(threadData, _x1, _y3)), mmc_mk_cons(omc_Expression_makeDiff(threadData, omc_Expression_makeProduct(threadData, _x1, _y2), omc_Expression_makeProduct(threadData, _x2, _y1)), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)))));
881#line 5928 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
882 _res = tmpMeta[0];
883#line 883 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
884 _return: OMC_LABEL_UNUSED__attribute__((unused))
885 return _res;
886}
887
888DLLExport
889modelica_metatype omc_ExpressionSimplify_simplifySkew(threadData_t *threadData, modelica_metatype _v1)
890{
891 modelica_metatype _res = NULL((void*)0);
892 modelica_metatype _x1 = NULL((void*)0);
893 modelica_metatype _x2 = NULL((void*)0);
894 modelica_metatype _x3 = NULL((void*)0);
895 modelica_metatype _zero = NULL((void*)0);
896 modelica_metatype tmpMeta[7] __attribute__((unused)) = {0};
897 MMC_SO()mmc_check_stackoverflow(threadData);
898 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
899 // _res has no default value.
900 // _x1 has no default value.
901 // _x2 has no default value.
902 // _x3 has no default value.
903 // _zero has no default value.
904#line 5908 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
905 /* Pattern-matching assignment */
906#line 5908 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
907 tmpMeta[0] = _v1;
908#line 5908 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
909 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);};
910#line 5908 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
911 tmpMeta[1] = MMC_CAR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (1)))))
;
912#line 5908 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
913 tmpMeta[2] = MMC_CDR(tmpMeta[0])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
914#line 5908 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
915 if (listEmpty(tmpMeta[2])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
916#line 5908 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
917 tmpMeta[3] = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
918#line 5908 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
919 tmpMeta[4] = MMC_CDR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
920#line 5908 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
921 if (listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
922#line 5908 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
923 tmpMeta[5] = MMC_CAR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (1)))))
;
924#line 5908 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
925 tmpMeta[6] = MMC_CDR(tmpMeta[4])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
926#line 5908 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
927 if (!listEmpty(tmpMeta[6])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
928#line 5908 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
929 _x1 = tmpMeta[1];
930#line 5908 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
931 _x2 = tmpMeta[3];
932#line 5908 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
933 _x3 = tmpMeta[5];
934#line 934 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
935
936#line 5909 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
937 _zero = omc_Expression_makeConstZero(threadData, omc_Expression_typeof(threadData, _x1));
938#line 938 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
939
940#line 5911 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
941 tmpMeta[1] = mmc_mk_cons(_zero, mmc_mk_cons(omc_Expression_negate(threadData, _x3), mmc_mk_cons(_x2, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)))));
942#line 5911 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
943 tmpMeta[2] = mmc_mk_cons(_x3, mmc_mk_cons(_zero, mmc_mk_cons(omc_Expression_negate(threadData, _x1), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)))));
944#line 5911 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
945 tmpMeta[3] = mmc_mk_cons(omc_Expression_negate(threadData, _x2), mmc_mk_cons(_x1, mmc_mk_cons(_zero, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)))));
946#line 5911 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
947 tmpMeta[0] = mmc_mk_cons(tmpMeta[1], mmc_mk_cons(tmpMeta[2], mmc_mk_cons(tmpMeta[3], MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)))));
948#line 5911 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
949 _res = tmpMeta[0];
950#line 950 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
951 _return: OMC_LABEL_UNUSED__attribute__((unused))
952 return _res;
953}
954
955PROTECTED_FUNCTION_STATIC modelica_boolean omc_ExpressionSimplify_removeMinMaxFoldableValues(threadData_t *threadData, modelica_metatype _e)
956{
957 modelica_boolean _filter;
958 modelica_boolean tmp1 = 0;
959 MMC_SO()mmc_check_stackoverflow(threadData);
960 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
961 // _filter has no default value.
962#line 962 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
963 { /* match expression */
964 modelica_metatype tmp4_1;
965 tmp4_1 = _e;
966 {
967 int tmp4;
968 {
969 switch (MMC_SWITCH_CAST(valueConstructor(tmp4_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> 2
) & 255))
) {
970 case 4: {
971
972 /* Pattern matching succeeded */
973#line 5894 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
974 tmp1 = 0;
975#line 975 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
976 goto tmp3_done;
977 }
978 case 3: {
979
980 /* Pattern matching succeeded */
981#line 5895 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
982 tmp1 = 0;
983#line 983 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
984 goto tmp3_done;
985 }
986 case 6: {
987
988 /* Pattern matching succeeded */
989#line 5896 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
990 tmp1 = 0;
991#line 991 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
992 goto tmp3_done;
993 }
994 default:
995 tmp3_default: OMC_LABEL_UNUSED__attribute__((unused)); {
996
997 /* Pattern matching succeeded */
998#line 5897 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
999 tmp1 = 1;
1000#line 1000 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1001 goto tmp3_done;
1002 }
1003 }
1004 goto tmp3_end;
1005 tmp3_end: ;
1006 }
1007 goto goto_2;
1008 goto_2:;
1009 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1010 goto tmp3_done;
1011 tmp3_done:;
1012 }
1013 }
1014 _filter = tmp1;
1015 _return: OMC_LABEL_UNUSED__attribute__((unused))
1016 return _filter;
1017}
1018PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_removeMinMaxFoldableValues(threadData_t *threadData, modelica_metatype _e)
1019{
1020 modelica_boolean _filter;
1021 modelica_metatype out_filter;
1022 _filter = omc_ExpressionSimplify_removeMinMaxFoldableValues(threadData, _e);
1023 out_filter = mmc_mk_icon(_filter);
1024 return out_filter;
1025}
1026
1027PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_minElement(threadData_t *threadData, modelica_metatype _e1, modelica_metatype _e2)
1028{
1029 modelica_metatype _elt = NULL((void*)0);
1030 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1031 MMC_SO()mmc_check_stackoverflow(threadData);
1032 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1033 // _elt has no default value.
1034#line 1034 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1035 { /* match expression */
1036 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
1037 tmp3_1 = _e1;
1038 tmp3_2 = _e2;
1039 {
1040 modelica_real _r1;
1041 modelica_real _r2;
1042 modelica_integer _i1;
1043 modelica_integer _i2;
1044 modelica_boolean _b1;
1045 modelica_boolean _b2;
1046 volatile mmc_switch_type tmp3;
1047 int tmp4;
1048 // _r1 has no default value.
1049 // _r2 has no default value.
1050 // _i1 has no default value.
1051 // _i2 has no default value.
1052 // _b1 has no default value.
1053 // _b2 has no default value.
1054 tmp3 = 0;
1055 for (; tmp3 < 7; tmp3++) {
1056 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1057 case 0: {
1058 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;
1059 if (!optionNone(tmp3_2)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_2
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
1060 /* Pattern matching succeeded */
1061#line 5879 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1062 tmpMeta[0] = mmc_mk_some(_e1);
1063#line 1063 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1064 goto tmp2_done;
1065 }
1066 case 1: {
1067 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;
1068 if (!optionNone(tmp3_2)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_2
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
1069 /* Pattern matching succeeded */
1070#line 5880 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1071 tmpMeta[0] = mmc_mk_some(_e1);
1072#line 1072 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1073 goto tmp2_done;
1074 }
1075 case 2: {
1076 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,3,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
1077 if (!optionNone(tmp3_2)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_2
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
1078 /* Pattern matching succeeded */
1079#line 5881 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1080 tmpMeta[0] = mmc_mk_some(_e1);
1081#line 1081 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1082 goto tmp2_done;
1083 }
1084 case 3: {
1085 modelica_real tmp5;
1086 modelica_real tmp6;
1087 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;
1088 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1089 tmp5 = mmc_unbox_real(tmpMeta[1])mmc_prim_get_real(tmpMeta[1]);
1090 if (optionNone(tmp3_2)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_2
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
1091 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
1092 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 tmp2_end;
1093 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1094 tmp6 = mmc_unbox_real(tmpMeta[3])mmc_prim_get_real(tmpMeta[3]);
1095 _r1 = tmp5 /* pattern as ty=Real */;
1096 _r2 = tmp6 /* pattern as ty=Real */;
1097 /* Pattern matching succeeded */
1098#line 5882 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1099 tmpMeta[0] = ((_r1 < _r2)?mmc_mk_some(_e1):_e2);
1100#line 1100 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1101 goto tmp2_done;
1102 }
1103 case 4: {
1104 modelica_integer tmp7;
1105 modelica_integer tmp8;
1106 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;
1107 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1108 tmp7 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
1109 if (optionNone(tmp3_2)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_2
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
1110 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
1111 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1112 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1113 tmp8 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
1114 _i1 = tmp7 /* pattern as ty=Integer */;
1115 _i2 = tmp8 /* pattern as ty=Integer */;
1116 /* Pattern matching succeeded */
1117#line 5883 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1118 tmpMeta[0] = ((_i1 < _i2)?mmc_mk_some(_e1):_e2);
1119#line 1119 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1120 goto tmp2_done;
1121 }
1122 case 5: {
1123 modelica_integer tmp9;
1124 modelica_integer tmp10;
1125 modelica_boolean tmp11;
1126 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,3,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
1127 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1128 tmp9 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
1129 if (optionNone(tmp3_2)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_2
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
1130 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
1131 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
1132 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1133 tmp10 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
1134 _b1 = tmp9 /* pattern as ty=Boolean */;
1135 _b2 = tmp10 /* pattern as ty=Boolean */;
1136 /* Pattern matching succeeded */
1137#line 5884 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1138 tmp11 = (modelica_boolean)((!_b2) || ((!_b1 && !_b2) || (_b1 && _b2)));
1139#line 5884 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1140 if(tmp11)
1141#line 5884 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1142 {
1143#line 5884 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1144 tmpMeta[2] = _e2;
1145#line 5884 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1146 }
1147#line 5884 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1148 else
1149#line 5884 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1150 {
1151#line 5884 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1152 tmpMeta[1] = mmc_mk_box2(6, &DAE_Exp_BCONST__desc, mmc_mk_boolean(_b1)((_b1) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
1153#line 5884 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1154 tmpMeta[2] = mmc_mk_some(tmpMeta[1]);
1155#line 5884 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1156 }
1157#line 5884 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1158 tmpMeta[0] = tmpMeta[2];
1159#line 1159 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1160 goto tmp2_done;
1161 }
1162 case 6: {
1163
1164 /* Pattern matching succeeded */
1165#line 5885 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1166 tmpMeta[0] = _e2;
1167#line 1167 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1168 goto tmp2_done;
1169 }
1170 }
1171 goto tmp2_end;
1172 tmp2_end: ;
1173 }
1174 goto goto_1;
1175 goto_1:;
1176 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1177 goto tmp2_done;
1178 tmp2_done:;
1179 }
1180 }
1181 _elt = tmpMeta[0];
1182 _return: OMC_LABEL_UNUSED__attribute__((unused))
1183 return _elt;
1184}
1185
1186PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_maxElement(threadData_t *threadData, modelica_metatype _e1, modelica_metatype _e2)
1187{
1188 modelica_metatype _elt = NULL((void*)0);
1189 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1190 MMC_SO()mmc_check_stackoverflow(threadData);
1191 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1192 // _elt has no default value.
1193#line 1193 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1194 { /* match expression */
1195 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
1196 tmp3_1 = _e1;
1197 tmp3_2 = _e2;
1198 {
1199 modelica_real _r1;
1200 modelica_real _r2;
1201 modelica_integer _i1;
1202 modelica_integer _i2;
1203 modelica_boolean _b1;
1204 modelica_boolean _b2;
1205 volatile mmc_switch_type tmp3;
1206 int tmp4;
1207 // _r1 has no default value.
1208 // _r2 has no default value.
1209 // _i1 has no default value.
1210 // _i2 has no default value.
1211 // _b1 has no default value.
1212 // _b2 has no default value.
1213 tmp3 = 0;
1214 for (; tmp3 < 7; tmp3++) {
1215 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1216 case 0: {
1217 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;
1218 if (!optionNone(tmp3_2)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_2
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
1219 /* Pattern matching succeeded */
1220#line 5859 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1221 tmpMeta[0] = mmc_mk_some(_e1);
1222#line 1222 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1223 goto tmp2_done;
1224 }
1225 case 1: {
1226 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;
1227 if (!optionNone(tmp3_2)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_2
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
1228 /* Pattern matching succeeded */
1229#line 5860 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1230 tmpMeta[0] = mmc_mk_some(_e1);
1231#line 1231 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1232 goto tmp2_done;
1233 }
1234 case 2: {
1235 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,3,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
1236 if (!optionNone(tmp3_2)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_2
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
1237 /* Pattern matching succeeded */
1238#line 5861 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1239 tmpMeta[0] = mmc_mk_some(_e1);
1240#line 1240 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1241 goto tmp2_done;
1242 }
1243 case 3: {
1244 modelica_real tmp5;
1245 modelica_real tmp6;
1246 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;
1247 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1248 tmp5 = mmc_unbox_real(tmpMeta[1])mmc_prim_get_real(tmpMeta[1]);
1249 if (optionNone(tmp3_2)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_2
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
1250 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
1251 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 tmp2_end;
1252 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1253 tmp6 = mmc_unbox_real(tmpMeta[3])mmc_prim_get_real(tmpMeta[3]);
1254 _r1 = tmp5 /* pattern as ty=Real */;
1255 _r2 = tmp6 /* pattern as ty=Real */;
1256 /* Pattern matching succeeded */
1257#line 5862 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1258 tmpMeta[0] = ((_r1 > _r2)?mmc_mk_some(_e1):_e2);
1259#line 1259 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1260 goto tmp2_done;
1261 }
1262 case 4: {
1263 modelica_integer tmp7;
1264 modelica_integer tmp8;
1265 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;
1266 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1267 tmp7 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
1268 if (optionNone(tmp3_2)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_2
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
1269 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
1270 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
1271 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1272 tmp8 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
1273 _i1 = tmp7 /* pattern as ty=Integer */;
1274 _i2 = tmp8 /* pattern as ty=Integer */;
1275 /* Pattern matching succeeded */
1276#line 5863 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1277 tmpMeta[0] = ((_i1 > _i2)?mmc_mk_some(_e1):_e2);
1278#line 1278 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1279 goto tmp2_done;
1280 }
1281 case 5: {
1282 modelica_integer tmp9;
1283 modelica_integer tmp10;
1284 modelica_boolean tmp11;
1285 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,3,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
1286 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1287 tmp9 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
1288 if (optionNone(tmp3_2)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_2
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
1289 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
1290 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
1291 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1292 tmp10 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
1293 _b1 = tmp9 /* pattern as ty=Boolean */;
1294 _b2 = tmp10 /* pattern as ty=Boolean */;
1295 /* Pattern matching succeeded */
1296#line 5864 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1297 tmp11 = (modelica_boolean)(_b2 || ((!_b1 && !_b2) || (_b1 && _b2)));
1298#line 5864 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1299 if(tmp11)
1300#line 5864 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1301 {
1302#line 5864 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1303 tmpMeta[2] = _e2;
1304#line 5864 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1305 }
1306#line 5864 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1307 else
1308#line 5864 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1309 {
1310#line 5864 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1311 tmpMeta[1] = mmc_mk_box2(6, &DAE_Exp_BCONST__desc, mmc_mk_boolean(_b1)((_b1) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
1312#line 5864 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1313 tmpMeta[2] = mmc_mk_some(tmpMeta[1]);
1314#line 5864 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1315 }
1316#line 5864 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1317 tmpMeta[0] = tmpMeta[2];
1318#line 1318 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1319 goto tmp2_done;
1320 }
1321 case 6: {
1322
1323 /* Pattern matching succeeded */
1324#line 5865 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1325 tmpMeta[0] = _e2;
1326#line 1326 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1327 goto tmp2_done;
1328 }
1329 }
1330 goto tmp2_end;
1331 tmp2_end: ;
1332 }
1333 goto goto_1;
1334 goto_1:;
1335 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1336 goto tmp2_done;
1337 tmp2_done:;
1338 }
1339 }
1340 _elt = tmpMeta[0];
1341 _return: OMC_LABEL_UNUSED__attribute__((unused))
1342 return _elt;
1343}
1344
1345PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyNoEvent(threadData_t *threadData, modelica_metatype _inExp)
1346{
1347 modelica_metatype _e = NULL((void*)0);
1348 MMC_SO()mmc_check_stackoverflow(threadData);
1349 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1350 // _e has no default value.
1351#line 5846 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1352 _e = omc_Expression_addNoEventToEventTriggeringFunctions(threadData, omc_Expression_addNoEventToRelations(threadData, omc_Expression_stripNoEvent(threadData, _inExp)));
1353#line 1353 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1354 _return: OMC_LABEL_UNUSED__attribute__((unused))
1355 return _e;
1356}
1357
1358PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyTSub(threadData_t *threadData, modelica_metatype _origExp)
1359{
1360 modelica_metatype _outExp = NULL((void*)0);
1361 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
1362 MMC_SO()mmc_check_stackoverflow(threadData);
1363 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1364 // _outExp has no default value.
1365#line 1365 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1366 { /* match expression */
1367 modelica_metatype tmp3_1;
1368 tmp3_1 = _origExp;
1369 {
1370 modelica_metatype _expl = NULL((void*)0);
1371 modelica_integer _i;
1372 modelica_metatype _e = NULL((void*)0);
1373 volatile mmc_switch_type tmp3;
1374 int tmp4;
1375 // _expl has no default value.
1376 // _i has no default value.
1377 // _e has no default value.
1378 tmp3 = 0;
1379 for (; tmp3 < 4; tmp3++) {
1380 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1381 case 0: {
1382 modelica_integer tmp5;
1383 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,22,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((22 +3) & 255) << 2)))
== 0) goto tmp2_end;
1384 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1385 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],20,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((2 +1)
<< 10) + (((20 +3) & 255) << 2)))
== 0) goto tmp2_end;
1386 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
1387 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],19,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((19 +3) & 255) << 2)))
== 0) goto tmp2_end;
1388 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1389 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1390 tmp5 = mmc_unbox_integer(tmpMeta[4])(((mmc_sint_t) (tmpMeta[4])) >> 1);
1391
1392 _expl = tmpMeta[3];
1393 _i = tmp5 /* pattern as ty=Integer */;
1394 /* Pattern matching succeeded */
1395#line 5834 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1396 tmpMeta[0] = listGet(_expl, _i)boxptr_listGet(threadData,_expl,mmc_mk_icon(_i));
1397#line 1397 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1398 goto tmp2_done;
1399 }
1400 case 1: {
1401 modelica_integer tmp6;
1402 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,22,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((22 +3) & 255) << 2)))
== 0) goto tmp2_end;
1403 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1404 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],19,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((1 +1)
<< 10) + (((19 +3) & 255) << 2)))
== 0) goto tmp2_end;
1405 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
1406 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
1407 tmp6 = mmc_unbox_integer(tmpMeta[3])(((mmc_sint_t) (tmpMeta[3])) >> 1);
1408
1409 _expl = tmpMeta[2];
1410 _i = tmp6 /* pattern as ty=Integer */;
1411 /* Pattern matching succeeded */
1412#line 5836 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1413 tmpMeta[0] = listGet(_expl, _i)boxptr_listGet(threadData,_expl,mmc_mk_icon(_i));
1414#line 1414 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1415 goto tmp2_done;
1416 }
1417 case 2: {
1418 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,22,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((22 +3) & 255) << 2)))
== 0) goto tmp2_end;
1419 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
1420 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((1 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
1421
1422 _e = tmpMeta[1];
1423 /* Pattern matching succeeded */
1424#line 5837 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1425 tmpMeta[0] = _e;
1426#line 1426 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1427 goto tmp2_done;
1428 }
1429 case 3: {
1430
1431 /* Pattern matching succeeded */
1432#line 5838 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1433 tmpMeta[0] = _origExp;
1434#line 1434 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1435 goto tmp2_done;
1436 }
1437 }
1438 goto tmp2_end;
1439 tmp2_end: ;
1440 }
1441 goto goto_1;
1442 goto_1:;
1443 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1444 goto tmp2_done;
1445 tmp2_done:;
1446 }
1447 }
1448 _outExp = tmpMeta[0];
1449 _return: OMC_LABEL_UNUSED__attribute__((unused))
1450 return _outExp;
1451}
1452
1453PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifySize(threadData_t *threadData, modelica_metatype _origExp, modelica_metatype _exp, modelica_metatype _optDim)
1454{
1455 modelica_metatype _outExp = NULL((void*)0);
1456 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
1457 MMC_SO()mmc_check_stackoverflow(threadData);
1458 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1459 // _outExp has no default value.
1460#line 1460 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1461 { /* matchcontinue expression */
1462 volatile modelica_metatype tmp3_1;
1463 tmp3_1 = _optDim;
1464 {
1465 modelica_integer _i;
1466 modelica_integer _n;
1467 modelica_metatype _t = NULL((void*)0);
1468 modelica_metatype _dims = NULL((void*)0);
1469 modelica_metatype _dim = NULL((void*)0);
1470 modelica_metatype _dimExp = NULL((void*)0);
1471 volatile mmc_switch_type tmp3;
1472 int tmp4;
1473 // _i has no default value.
1474 // _n has no default value.
1475 // _t has no default value.
1476 // _dims has no default value.
1477 // _dim has no default value.
1478 // _dimExp has no default value.
1479 tmp3 = 0;
1480 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) {
1481 tmp2_top:
1482 threadData->mmc_jumper = &new_mmc_jumper;
1483 for (; tmp3 < 2; tmp3++) {
1484 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1485 case 0: {
1486 if (optionNone(tmp3_1)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_1
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
1487 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
1488 _dimExp = tmpMeta[1];
1489 /* Pattern matching succeeded */
1490#line 5811 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1491 _i = omc_Expression_expInt(threadData, _dimExp);
1492#line 1492 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1493
1494#line 5812 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1495 _t = omc_Expression_typeof(threadData, _exp);
1496#line 1496 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1497
1498#line 5813 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1499 _dims = omc_Expression_arrayDimension(threadData, _t);
1500#line 1500 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1501
1502#line 5814 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1503 _dim = listGet(_dims, _i)boxptr_listGet(threadData,_dims,mmc_mk_icon(_i));
1504#line 1504 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1505
1506#line 5815 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1507 _n = omc_Expression_dimensionSize(threadData, _dim);
1508#line 1508 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1509#line 5816 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1510 tmpMeta[1] = mmc_mk_box2(3, &DAE_Exp_ICONST__desc, mmc_mk_integermmc_mk_icon(_n));
1511#line 5816 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1512 tmpMeta[0] = tmpMeta[1];
1513#line 1513 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1514 goto tmp2_done;
1515 }
1516 case 1: {
1517
1518 /* Pattern matching succeeded */
1519#line 5818 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1520 tmpMeta[0] = _origExp;
1521#line 1521 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1522 goto tmp2_done;
1523 }
1524 }
1525 goto tmp2_end;
1526 tmp2_end: ;
1527 }
1528 goto goto_1;
1529 tmp2_done:
1530 (void)tmp3;
1531 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
1532 goto tmp2_done2;
1533 goto_1:;
1534 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
1535 if (++tmp3 < 2) {
1536 goto tmp2_top;
1537 }
1538 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1539 tmp2_done2:;
1540 }
1541 }
1542 _outExp = tmpMeta[0];
1543 _return: OMC_LABEL_UNUSED__attribute__((unused))
1544 return _outExp;
1545}
1546
1547DLLExport
1548modelica_metatype omc_ExpressionSimplify_condSimplifyAddSymbolicOperation(threadData_t *threadData, modelica_boolean _cond, modelica_metatype _D_24in_exp, modelica_metatype _D_24in_source, modelica_metatype *out_source)
1549{
1550 modelica_metatype _exp = NULL((void*)0);
1551 modelica_metatype _source = NULL((void*)0);
1552 MMC_SO()mmc_check_stackoverflow(threadData);
1553 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1554 _exp = _D_24in_exp;
1555 _source = _D_24in_source;
1556#line 5789 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1557 if(_cond)
1558#line 5789 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1559 {
1560#line 5790 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1561 _exp = omc_ExpressionSimplify_simplifyAddSymbolicOperation(threadData, _exp, _source ,&_source);
1562#line 1562 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1563 }
1564 _return: OMC_LABEL_UNUSED__attribute__((unused))
1565 if (out_source) { *out_source = _source; }
1566 return _exp;
1567}
1568modelica_metatype boxptr_ExpressionSimplify_condSimplifyAddSymbolicOperation(threadData_t *threadData, modelica_metatype _cond, modelica_metatype _D_24in_exp, modelica_metatype _D_24in_source, modelica_metatype *out_source)
1569{
1570 modelica_integer tmp1;
1571 modelica_metatype _exp = NULL((void*)0);
1572 tmp1 = mmc_unbox_integer(_cond)(((mmc_sint_t) (_cond)) >> 1);
1573 _exp = omc_ExpressionSimplify_condSimplifyAddSymbolicOperation(threadData, tmp1, _D_24in_exp, _D_24in_source, out_source);
1574 /* skip box _exp; DAE.EquationExp */
1575 /* skip box _source; DAE.ElementSource */
1576 return _exp;
1577}
1578
1579DLLExport
1580modelica_metatype omc_ExpressionSimplify_simplifyAddSymbolicOperation(threadData_t *threadData, modelica_metatype _exp, modelica_metatype _source, modelica_metatype *out_outSource)
1581{
1582 modelica_metatype _outExp = NULL((void*)0);
1583 modelica_metatype _outSource = NULL((void*)0);
1584 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1585 MMC_SO()mmc_check_stackoverflow(threadData);
1586 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1587 // _outExp has no default value.
1588 // _outSource has no default value.
1589#line 5753 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1590
1591#line 5753 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1592
1593#line 1593 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1594 { /* match expression */
1595 modelica_metatype tmp4_1;
1596 tmp4_1 = _exp;
1597 {
1598 modelica_boolean _changed;
1599 modelica_boolean _changed1;
1600 modelica_boolean _changed2;
1601 modelica_metatype _e = NULL((void*)0);
1602 modelica_metatype _e1 = NULL((void*)0);
1603 modelica_metatype _e2 = NULL((void*)0);
1604 int tmp4;
1605 // _changed has no default value.
1606 // _changed1 has no default value.
1607 // _changed2 has no default value.
1608 // _e has no default value.
1609 // _e1 has no default value.
1610 // _e2 has no default value.
1611 {
1612 switch (MMC_SWITCH_CAST(valueConstructor(tmp4_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))) >> 2
) & 255))
) {
1613 case 3: {
1614 modelica_boolean tmp5;
1615 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;
1616 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
1617 _e = tmpMeta[2];
1618 /* Pattern matching succeeded */
1619#line 5759 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1620 _e = omc_ExpressionSimplify_simplify(threadData, _e ,&_changed);
1621#line 1621 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1622
1623#line 5760 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1624 tmp5 = (modelica_boolean)_changed;
1625#line 5760 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1626 if(tmp5)
1627#line 5760 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1628 {
1629#line 5760 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1630 tmpMeta[2] = mmc_mk_box2(3, &DAE_EquationExp_PARTIAL__EQUATION__desc, _e);
1631#line 5760 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1632 tmpMeta[3] = tmpMeta[2];
1633#line 5760 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1634 }
1635#line 5760 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1636 else
1637#line 5760 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1638 {
1639#line 5760 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1640 tmpMeta[3] = _exp;
1641#line 5760 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1642 }
1643#line 5760 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1644 _outExp = tmpMeta[3];
1645#line 1645 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1646
1647#line 5761 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1648 tmpMeta[2] = mmc_mk_box3(4, &DAE_SymbolicOperation_SIMPLIFY__desc, _exp, _outExp);
1649#line 5761 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1650 _outSource = omc_ElementSource_condAddSymbolicTransformation(threadData, _changed, _source, tmpMeta[2]);
1651#line 1651 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1652#line 5762 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1653 tmpMeta[0+0] = _outExp;
1654#line 5762 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1655 tmpMeta[0+1] = _outSource;
1656#line 1656 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1657 goto tmp3_done;
1658 }
1659 case 4: {
1660 modelica_boolean tmp6;
1661 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,1,1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((1 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
1662 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
1663 _e = tmpMeta[2];
1664 /* Pattern matching succeeded */
1665#line 5765 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1666 _e = omc_ExpressionSimplify_simplify(threadData, _e ,&_changed);
1667#line 1667 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1668
1669#line 5766 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1670 tmp6 = (modelica_boolean)_changed;
1671#line 5766 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1672 if(tmp6)
1673#line 5766 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1674 {
1675#line 5766 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1676 tmpMeta[2] = mmc_mk_box2(4, &DAE_EquationExp_RESIDUAL__EXP__desc, _e);
1677#line 5766 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1678 tmpMeta[3] = tmpMeta[2];
1679#line 5766 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1680 }
1681#line 5766 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1682 else
1683#line 5766 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1684 {
1685#line 5766 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1686 tmpMeta[3] = _exp;
1687#line 5766 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1688 }
1689#line 5766 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1690 _outExp = tmpMeta[3];
1691#line 1691 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1692
1693#line 5767 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1694 tmpMeta[2] = mmc_mk_box3(4, &DAE_SymbolicOperation_SIMPLIFY__desc, _exp, _outExp);
1695#line 5767 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1696 _outSource = omc_ElementSource_condAddSymbolicTransformation(threadData, _changed, _source, tmpMeta[2]);
1697#line 1697 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1698#line 5768 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1699 tmpMeta[0+0] = _outExp;
1700#line 5768 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1701 tmpMeta[0+1] = _outSource;
1702#line 1702 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1703 goto tmp3_done;
1704 }
1705 case 5: {
1706 modelica_boolean tmp7;
1707 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,2,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((2 +3) & 255) << 2)))
== 0) goto tmp3_end;
1708 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
1709 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
1710 _e1 = tmpMeta[2];
1711 _e2 = tmpMeta[3];
1712 /* Pattern matching succeeded */
1713#line 5771 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1714 _e1 = omc_ExpressionSimplify_simplify(threadData, _e1 ,&_changed1);
1715#line 1715 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1716
1717#line 5772 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1718 _e2 = omc_ExpressionSimplify_simplify(threadData, _e2 ,&_changed2);
1719#line 1719 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1720
1721#line 5773 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1722 _changed = (_changed1 || _changed2);
1723#line 1723 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1724
1725#line 5774 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1726 tmp7 = (modelica_boolean)_changed;
1727#line 5774 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1728 if(tmp7)
1729#line 5774 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1730 {
1731#line 5774 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1732 tmpMeta[2] = mmc_mk_box3(5, &DAE_EquationExp_EQUALITY__EXPS__desc, _e1, _e2);
1733#line 5774 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1734 tmpMeta[3] = tmpMeta[2];
1735#line 5774 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1736 }
1737#line 5774 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1738 else
1739#line 5774 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1740 {
1741#line 5774 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1742 tmpMeta[3] = _exp;
1743#line 5774 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1744 }
1745#line 5774 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1746 _outExp = tmpMeta[3];
1747#line 1747 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1748
1749#line 5775 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1750 tmpMeta[2] = mmc_mk_box3(4, &DAE_SymbolicOperation_SIMPLIFY__desc, _exp, _outExp);
1751#line 5775 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1752 _outSource = omc_ElementSource_condAddSymbolicTransformation(threadData, _changed, _source, tmpMeta[2]);
1753#line 1753 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1754#line 5776 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1755 tmpMeta[0+0] = _outExp;
1756#line 5776 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1757 tmpMeta[0+1] = _outSource;
1758#line 1758 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1759 goto tmp3_done;
1760 }
1761 default:
1762 tmp3_default: OMC_LABEL_UNUSED__attribute__((unused)); {
1763
1764 /* Pattern matching succeeded */
1765#line 5779 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1766 omc_Error_addMessage(threadData, _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)), _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)));
1767#line 1767 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1768#line 5780 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1769 goto goto_2;
1770#line 1770 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1771 goto tmp3_done;
1772 }
1773 }
1774 goto tmp3_end;
1775 tmp3_end: ;
1776 }
1777 goto goto_2;
1778 goto_2:;
1779 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1780 goto tmp3_done;
1781 tmp3_done:;
1782 }
1783 }
1784 _outExp = tmpMeta[0+0];
1785 _outSource = tmpMeta[0+1];
1786 _return: OMC_LABEL_UNUSED__attribute__((unused))
1787 if (out_outSource) { *out_outSource = _outSource; }
1788 return _outExp;
1789}
1790
1791PROTECTED_FUNCTION_STATIC void omc_ExpressionSimplify_checkZeroLengthArrayOp(threadData_t *threadData, modelica_metatype _op)
1792{
1793 MMC_SO()mmc_check_stackoverflow(threadData);
1794 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1795#line 1795 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1796 { /* match expression */
1797 modelica_metatype tmp3_1;
1798 tmp3_1 = _op;
1799 {
1800 int tmp3;
1801 {
1802 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> 2
) & 255))
) {
1803 case 10: {
1804
1805 /* Pattern matching succeeded */
1806#line 1806 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1807 goto tmp2_done;
1808 }
1809 case 11: {
1810
1811 /* Pattern matching succeeded */
1812#line 1812 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1813 goto tmp2_done;
1814 }
1815 case 12: {
1816
1817 /* Pattern matching succeeded */
1818#line 1818 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1819 goto tmp2_done;
1820 }
1821 case 13: {
1822
1823 /* Pattern matching succeeded */
1824#line 1824 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1825 goto tmp2_done;
1826 }
1827 case 23: {
1828
1829 /* Pattern matching succeeded */
1830#line 1830 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1831 goto tmp2_done;
1832 }
1833 case 24: {
1834
1835 /* Pattern matching succeeded */
1836#line 1836 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1837 goto tmp2_done;
1838 }
1839 case 14: {
1840
1841 /* Pattern matching succeeded */
1842#line 1842 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1843 goto tmp2_done;
1844 }
1845 case 15: {
1846
1847 /* Pattern matching succeeded */
1848#line 1848 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1849 goto tmp2_done;
1850 }
1851 case 19: {
1852
1853 /* Pattern matching succeeded */
1854#line 1854 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1855 goto tmp2_done;
1856 }
1857 case 16: {
1858
1859 /* Pattern matching succeeded */
1860#line 1860 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1861 goto tmp2_done;
1862 }
1863 case 20: {
1864
1865 /* Pattern matching succeeded */
1866#line 1866 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1867 goto tmp2_done;
1868 }
1869 case 18: {
1870
1871 /* Pattern matching succeeded */
1872#line 1872 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1873 goto tmp2_done;
1874 }
1875 }
1876 goto tmp2_end;
1877 tmp2_end: ;
1878 }
1879 goto goto_1;
1880 goto_1:;
1881 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1882 goto tmp2_done;
1883 tmp2_done:;
1884 }
1885 }
1886 ;
1887 _return: OMC_LABEL_UNUSED__attribute__((unused))
1888 return;
1889}
1890
1891DLLExport
1892modelica_metatype omc_ExpressionSimplify_condsimplifyList1(threadData_t *threadData, modelica_metatype _blst, modelica_metatype _expl, modelica_metatype *out_outBool)
1893{
1894 modelica_metatype _outExpl = NULL((void*)0);
1895 modelica_metatype _outBool = NULL((void*)0);
1896 modelica_metatype _rest_expl = NULL((void*)0);
1897 modelica_metatype _exp = NULL((void*)0);
1898 modelica_boolean _b2;
1899 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
1900 MMC_SO()mmc_check_stackoverflow(threadData);
1901 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1902 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1903 _outExpl = tmpMeta[0];
1904 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1905 _outBool = tmpMeta[1];
1906 _rest_expl = _expl;
1907 // _exp has no default value.
1908 // _b2 has no default value.
1909#line 5717 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1910 {
1911#line 5717 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1912 modelica_metatype _b;
1913#line 5717 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1914 for (tmpMeta[2] = _blst; !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)))))
)
1915#line 5717 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1916 {
1917#line 5717 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1918 _b = MMC_CAR(tmpMeta[2])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
1919#line 5718 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1920 /* Pattern-matching assignment */
1921#line 5718 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1922 tmpMeta[3] = _rest_expl;
1923#line 5718 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1924 if (listEmpty(tmpMeta[3])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1925#line 5718 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1926 tmpMeta[4] = MMC_CAR(tmpMeta[3])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (1)))))
;
1927#line 5718 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1928 tmpMeta[5] = MMC_CDR(tmpMeta[3])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
1929#line 5718 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1930 _exp = tmpMeta[4];
1931#line 5718 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1932 _rest_expl = tmpMeta[5];
1933#line 1933 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1934
1935#line 5719 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1936 _exp = omc_ExpressionSimplify_condsimplify(threadData, mmc_unbox_boolean(_b)(((mmc_sint_t) (_b)) >> 1), _exp ,&_b2);
1937#line 1937 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1938
1939#line 5720 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1940 tmpMeta[3] = mmc_mk_cons(_exp, _outExpl);
1941#line 5720 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1942 _outExpl = tmpMeta[3];
1943#line 1943 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1944
1945#line 5721 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1946 tmpMeta[3] = mmc_mk_cons(mmc_mk_boolean(_b2)((_b2) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), _outBool);
1947#line 5721 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1948 _outBool = tmpMeta[3];
1949#line 1949 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1950 }
1951 }
1952
1953#line 5723 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1954 _outExpl = listReverseInPlace(_outExpl);
1955#line 1955 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1956
1957#line 5724 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1958 _outBool = listReverseInPlace(_outBool);
1959#line 1959 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
1960 _return: OMC_LABEL_UNUSED__attribute__((unused))
1961 if (out_outBool) { *out_outBool = _outBool; }
1962 return _outExpl;
1963}
1964
1965DLLExport
1966modelica_metatype omc_ExpressionSimplify_simplifyList1(threadData_t *threadData, modelica_metatype _expl, modelica_metatype *out_outBool)
1967{
1968 modelica_metatype _outExpl = NULL((void*)0);
1969 modelica_metatype _outBool = NULL((void*)0);
1970 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
1971 MMC_SO()mmc_check_stackoverflow(threadData);
1972 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1973 // _outExpl has no default value.
1974 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1975 _outBool = tmpMeta[0];
1976#line 5694 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1977 {
1978#line 5694 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1979 modelica_metatype _D_24tmpVar1;
1980#line 5694 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1981 modelica_metatype* tmp1;
1982#line 5694 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1983 modelica_metatype _D_24tmpVar0;
1984#line 5694 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1985 int tmp6;
1986#line 5694 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1987 modelica_metatype _exp_loopVar = 0;
1988#line 5694 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1989 modelica_metatype _exp;
1990#line 5694 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1991 _exp_loopVar = _expl;
1992#line 5694 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1993 tmpMeta[2] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
1994#line 5694 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1995 _D_24tmpVar1 = tmpMeta[2]; /* defaultValue */
1996#line 5694 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1997 tmp1 = &_D_24tmpVar1;
1998#line 5694 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
1999 while(1) {
2000#line 5694 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2001 tmp6 = 1;
2002#line 5694 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2003 if (!listEmpty(_exp_loopVar)((*(mmc_uint_t*)((void*)((char*)(_exp_loopVar) - 3))) == (((0
) << 10) + (((0) & 255) << 2)))
) {
2004#line 5694 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2005 _exp = MMC_CAR(_exp_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_exp_loopVar) -
3))) + (1)))))
;
2006#line 5694 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2007 _exp_loopVar = MMC_CDR(_exp_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_exp_loopVar) -
3))) + (2)))))
;
2008#line 5694 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2009 tmp6--;
2010#line 5694 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2011 }
2012#line 5694 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2013 if (tmp6 == 0) {
2014#line 2014 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2015 { /* match expression */
2016 {
2017 modelica_metatype _e = NULL((void*)0);
2018 modelica_boolean _b2;
2019 volatile mmc_switch_type tmp4;
2020 int tmp5;
2021 // _e has no default value.
2022 // _b2 has no default value.
2023 tmp4 = 0;
2024 for (; tmp4 < 1; tmp4++) {
2025 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2026 case 0: {
2027 /* Pattern matching succeeded */
2028#line 5700 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2029 _e = omc_ExpressionSimplify_simplify(threadData, _exp ,&_b2);
2030#line 2030 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2031
2032#line 5701 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2033 tmpMeta[4] = mmc_mk_cons(mmc_mk_boolean(_b2)((_b2) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), _outBool);
2034#line 5701 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2035 _outBool = tmpMeta[4];
2036#line 2036 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2037#line 5702 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2038 tmpMeta[3] = _e;
2039#line 2039 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2040 goto tmp3_done;
2041 }
2042 }
2043 goto tmp3_end;
2044 tmp3_end: ;
2045 }
2046 goto goto_2;
2047 goto_2:;
2048 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2049 goto tmp3_done;
2050 tmp3_done:;
2051 }
2052 }_D_24tmpVar0 = tmpMeta[3];
2053 *tmp1 = mmc_mk_cons(_D_24tmpVar0,0);
2054 tmp1 = &MMC_CDR(*tmp1)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp1) - 3))) +
(2)))))
;
2055 } else if (tmp6 == 1) {
2056 break;
2057 } else {
2058 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2059 }
2060 }
2061 *tmp1 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
2062 tmpMeta[1] = _D_24tmpVar1;
2063 }
2064 _outExpl = tmpMeta[1];
2065
2066#line 5704 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2067 _outBool = listReverseInPlace(_outBool);
2068#line 2068 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2069 _return: OMC_LABEL_UNUSED__attribute__((unused))
2070 if (out_outBool) { *out_outBool = _outBool; }
2071 return _outExpl;
2072}
2073
2074DLLExport
2075modelica_metatype omc_ExpressionSimplify_simplifyList(threadData_t *threadData, modelica_metatype _expl)
2076{
2077 modelica_metatype _outExpl = NULL((void*)0);
2078 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2079 MMC_SO()mmc_check_stackoverflow(threadData);
2080 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2081 // _outExpl has no default value.
2082#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2083 {
2084#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2085 modelica_metatype _D_24tmpVar3;
2086#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2087 modelica_metatype* tmp1;
2088#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2089 modelica_metatype _D_24tmpVar2;
2090#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2091 int tmp2;
2092#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2093 modelica_metatype _exp_loopVar = 0;
2094#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2095 modelica_metatype _exp;
2096#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2097 _exp_loopVar = _expl;
2098#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2099 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
2100#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2101 _D_24tmpVar3 = tmpMeta[1]; /* defaultValue */
2102#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2103 tmp1 = &_D_24tmpVar3;
2104#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2105 while(1) {
2106#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2107 tmp2 = 1;
2108#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2109 if (!listEmpty(_exp_loopVar)((*(mmc_uint_t*)((void*)((char*)(_exp_loopVar) - 3))) == (((0
) << 10) + (((0) & 255) << 2)))
) {
2110#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2111 _exp = MMC_CAR(_exp_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_exp_loopVar) -
3))) + (1)))))
;
2112#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2113 _exp_loopVar = MMC_CDR(_exp_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_exp_loopVar) -
3))) + (2)))))
;
2114#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2115 tmp2--;
2116#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2117 }
2118#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2119 if (tmp2 == 0) {
2120#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2121 _D_24tmpVar2 = omc_ExpressionSimplify_simplify1(threadData, _exp, NULL((void*)0));
2122#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2123 *tmp1 = mmc_mk_cons(_D_24tmpVar2,0);
2124#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2125 tmp1 = &MMC_CDR(*tmp1)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp1) - 3))) +
(2)))))
;
2126#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2127 } else if (tmp2 == 1) {
2128#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2129 break;
2130#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2131 } else {
2132#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2133 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2134#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2135 }
2136#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2137 }
2138#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2139 *tmp1 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
2140#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2141 tmpMeta[0] = _D_24tmpVar3;
2142#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2143 }
2144#line 5686 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2145 _outExpl = tmpMeta[0];
2146#line 2146 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2147 _return: OMC_LABEL_UNUSED__attribute__((unused))
2148 return _outExpl;
2149}
2150
2151PROTECTED_FUNCTION_STATIC modelica_boolean omc_ExpressionSimplify_hasZeroLengthIterator(threadData_t *threadData, modelica_metatype _inIters)
2152{
2153 modelica_boolean _b;
2154 modelica_boolean tmp1 = 0;
2155 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
2156 MMC_SO()mmc_check_stackoverflow(threadData);
2157 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2158 // _b has no default value.
2159#line 2159 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2160 { /* match expression */
2161 modelica_metatype tmp4_1;
2162 tmp4_1 = _inIters;
2163 {
2164 modelica_metatype _iters = NULL((void*)0);
2165 volatile mmc_switch_type tmp4;
2166 int tmp5;
2167 // _iters has no default value.
2168 tmp4 = 0;
2169 for (; tmp4 < 5; tmp4++) {
2170 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2171 case 0: {
2172 if (!listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2173 /* Pattern matching succeeded */
2174#line 5674 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2175 tmp1 = 0;
2176#line 2176 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2177 goto tmp3_done;
2178 }
2179 case 1: {
2180 modelica_integer tmp6;
2181 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2182 tmpMeta[0] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
2183 tmpMeta[1] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2184 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
2185 if (optionNone(tmpMeta[2])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[2]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
2186 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
2187 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
2188 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
2189 tmp6 = mmc_unbox_integer(tmpMeta[4])(((mmc_sint_t) (tmpMeta[4])) >> 1);
2190 if (0 != tmp6) goto tmp3_end;
2191
2192 /* Pattern matching succeeded */
2193#line 5675 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2194 tmp1 = 1;
2195#line 2195 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2196 goto tmp3_done;
2197 }
2198 case 2: {
2199 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2200 tmpMeta[0] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
2201 tmpMeta[1] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2202 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
2203 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],28,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((28 +3) & 255) << 2)))
== 0) goto tmp3_end;
2204 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2205 if (!listEmpty(tmpMeta[3])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2206
2207 /* Pattern matching succeeded */
2208#line 5676 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2209 tmp1 = 1;
2210#line 2210 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2211 goto tmp3_done;
2212 }
2213 case 3: {
2214 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2215 tmpMeta[0] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
2216 tmpMeta[1] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2217 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
2218 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],16,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((3 +1)
<< 10) + (((16 +3) & 255) << 2)))
== 0) goto tmp3_end;
2219 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (4)))))
;
2220 if (!listEmpty(tmpMeta[3])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2221
2222 /* Pattern matching succeeded */
2223#line 5677 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2224 tmp1 = 1;
2225#line 2225 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2226 goto tmp3_done;
2227 }
2228 case 4: {
2229 if (listEmpty(tmp4_1)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2230 tmpMeta[0] = MMC_CAR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(1)))))
;
2231 tmpMeta[1] = MMC_CDR(tmp4_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2232 _iters = tmpMeta[1];
2233 /* Pattern matching succeeded */
2234#line 5678 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2235 /* Tail recursive call */
2236#line 5678 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2237 _inIters = _iters;
2238#line 5678 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2239 goto _tailrecursive;
2240#line 5678 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2241 /* TODO: Make sure any eventual dead code below is never generated */
2242#line 2242 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2243 goto tmp3_done;
2244 }
2245 }
2246 goto tmp3_end;
2247 tmp3_end: ;
2248 }
2249 goto goto_2;
2250 goto_2:;
2251 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2252 goto tmp3_done;
2253 tmp3_done:;
2254 }
2255 }
2256 _b = tmp1;
2257 _return: OMC_LABEL_UNUSED__attribute__((unused))
2258 return _b;
2259}
2260PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_hasZeroLengthIterator(threadData_t *threadData, modelica_metatype _inIters)
2261{
2262 modelica_boolean _b;
2263 modelica_metatype out_b;
2264 _b = omc_ExpressionSimplify_hasZeroLengthIterator(threadData, _inIters);
2265 out_b = mmc_mk_icon(_b);
2266 return out_b;
2267}
2268
2269PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyReductionFoldPhase2(threadData_t *threadData, modelica_metatype _inExps, modelica_metatype _foldExp, modelica_string _foldName, modelica_string _resultName, modelica_metatype _acc)
2270{
2271 modelica_metatype _exp = NULL((void*)0);
2272 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
2273 MMC_SO()mmc_check_stackoverflow(threadData);
2274 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2275 // _exp has no default value.
2276#line 2276 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2277 { /* match expression */
2278 modelica_metatype tmp3_1;
2279 tmp3_1 = _inExps;
2280 {
2281 modelica_metatype _exps = NULL((void*)0);
2282 volatile mmc_switch_type tmp3;
2283 int tmp4;
2284 // _exps has no default value.
2285 tmp3 = 0;
2286 for (; tmp3 < 2; tmp3++) {
2287 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2288 case 0: {
2289 if (!listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2290 /* Pattern matching succeeded */
2291#line 5658 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2292 tmpMeta[0] = _acc;
2293#line 2293 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2294 goto tmp2_done;
2295 }
2296 case 1: {
2297 if (listEmpty(tmp3_1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2298 tmpMeta[1] = MMC_CAR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(1)))))
;
2299 tmpMeta[2] = MMC_CDR(tmp3_1)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2300 _exp = tmpMeta[1];
2301 _exps = tmpMeta[2];
2302 /* Pattern matching succeeded */
2303#line 5661 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2304 _exp = omc_ExpressionSimplify_replaceIteratorWithExp(threadData, _exp, _foldExp, _foldName);
2305#line 2305 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2306
2307#line 5662 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2308 _exp = omc_ExpressionSimplify_replaceIteratorWithExp(threadData, _acc, _exp, _resultName);
2309#line 2309 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2310#line 5663 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2311 /* Tail recursive call */
2312#line 5663 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2313 _inExps = _exps;
2314#line 5663 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2315 _acc = _exp;
2316#line 5663 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2317 goto _tailrecursive;
2318#line 5663 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2319 /* TODO: Make sure any eventual dead code below is never generated */
2320#line 2320 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2321 goto tmp2_done;
2322 }
2323 }
2324 goto tmp2_end;
2325 tmp2_end: ;
2326 }
2327 goto goto_1;
2328 goto_1:;
2329 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2330 goto tmp2_done;
2331 tmp2_done:;
2332 }
2333 }
2334 _exp = tmpMeta[0];
2335 _return: OMC_LABEL_UNUSED__attribute__((unused))
2336 return _exp;
2337}
2338
2339PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyReductionFoldPhase(threadData_t *threadData, modelica_metatype _path, modelica_metatype _optFoldExp, modelica_string _foldName, modelica_string _resultName, modelica_metatype _ty, modelica_metatype _inExps, modelica_metatype _defaultValue)
2340{
2341 modelica_metatype _exp = NULL((void*)0);
2342 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2343 MMC_SO()mmc_check_stackoverflow(threadData);
2344 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2345 // _exp has no default value.
2346#line 2346 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2347 { /* match expression */
2348 modelica_metatype tmp3_1;modelica_metatype tmp3_2;modelica_metatype tmp3_3;modelica_metatype tmp3_4;
2349 tmp3_1 = _path;
2350 tmp3_2 = _optFoldExp;
2351 tmp3_3 = _inExps;
2352 tmp3_4 = _defaultValue;
2353 {
2354 modelica_metatype _val = NULL((void*)0);
2355 modelica_metatype _arr_exp = NULL((void*)0);
2356 modelica_metatype _foldExp = NULL((void*)0);
2357 modelica_metatype _aty = NULL((void*)0);
2358 modelica_metatype _ty2 = NULL((void*)0);
2359 modelica_metatype _exps = NULL((void*)0);
2360 modelica_integer _length;
2361 volatile mmc_switch_type tmp3;
2362 int tmp4;
2363 // _val has no default value.
2364 // _arr_exp has no default value.
2365 // _foldExp has no default value.
2366 // _aty has no default value.
2367 // _ty2 has no default value.
2368 // _exps has no default value.
2369 // _length has no default value.
2370 tmp3 = 0;
2371 for (; tmp3 < 7; tmp3++) {
2372 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2373 case 0: {
2374 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;
2375 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2376 if (5 != MMC_STRLEN(tmpMeta[1])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT9)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT9).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
) != 0) goto tmp2_end;
2377
2378 /* Pattern matching succeeded */
2379#line 5611 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2380 _aty = omc_Types_unliftArray(threadData, omc_Types_expTypetoTypesType(threadData, _ty));
2381#line 2381 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2382
2383#line 5612 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2384 _length = listLength(_inExps);
2385#line 2385 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2386
2387#line 5613 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2388 tmpMeta[1] = mmc_mk_box2(3, &DAE_Dimension_DIM__INTEGER__desc, mmc_mk_integermmc_mk_icon(_length));
2389#line 5613 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2390 _ty2 = omc_Types_liftArray(threadData, _aty, tmpMeta[1]);
2391#line 2391 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2392#line 5614 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2393 tmpMeta[0] = omc_Expression_makeArray(threadData, _inExps, _ty2, (!omc_Types_isArray(threadData, _aty)));
2394#line 2394 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2395 goto tmp2_done;
2396 }
2397 case 1: {
2398 if (!listEmpty(tmp3_3)((*(mmc_uint_t*)((void*)((char*)(tmp3_3) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2399 if (optionNone(tmp3_4)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_4) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_4) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_4
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
2400 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_4), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_4) - 3))) +
(1)))))
;
2401
2402 _val = tmpMeta[1];
2403 /* Pattern matching succeeded */
2404#line 5617 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2405 tmpMeta[0] = omc_ValuesUtil_valueExp(threadData, _val, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
2406#line 2406 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2407 goto tmp2_done;
2408 }
2409 case 2: {
2410 if (!listEmpty(tmp3_3)((*(mmc_uint_t*)((void*)((char*)(tmp3_3) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2411 if (!optionNone(tmp3_4)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_4) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_4) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_4
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
2412
2413 /* Pattern matching succeeded */
2414#line 5618 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2415 goto goto_1;
2416#line 2416 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2417 goto tmp2_done;
2418 }
2419 case 3: {
2420 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;
2421 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2422 if (3 != MMC_STRLEN(tmpMeta[1])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT7)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT7).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
) != 0) goto tmp2_end;
2423
2424 /* Pattern matching succeeded */
2425#line 5622 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2426 _arr_exp = omc_Expression_makeScalarArray(threadData, _inExps, _ty);
2427#line 2427 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2428#line 5623 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2429 tmpMeta[1] = mmc_mk_cons(_arr_exp, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
2430#line 5623 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2431 tmpMeta[0] = omc_Expression_makePureBuiltinCall(threadData, _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)), tmpMeta[1], _ty);
2432#line 2432 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2433 goto tmp2_done;
2434 }
2435 case 4: {
2436 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;
2437 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2438 if (3 != MMC_STRLEN(tmpMeta[1])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT8)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT8).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[1])(((struct mmc_string*)((void*)((char*)(tmpMeta[1]) - 3)))->
data)
) != 0) goto tmp2_end;
2439
2440 /* Pattern matching succeeded */
2441#line 5627 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2442 _arr_exp = omc_Expression_makeScalarArray(threadData, _inExps, _ty);
2443#line 2443 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2444#line 5628 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2445 tmpMeta[1] = mmc_mk_cons(_arr_exp, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
2446#line 5628 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2447 tmpMeta[0] = omc_Expression_makePureBuiltinCall(threadData, _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)), tmpMeta[1], _ty);
2448#line 2448 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2449 goto tmp2_done;
2450 }
2451 case 5: {
2452 if (optionNone(tmp3_2)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_2
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
2453 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
2454 if (listEmpty(tmp3_3)((*(mmc_uint_t*)((void*)((char*)(tmp3_3) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2455 tmpMeta[2] = MMC_CAR(tmp3_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(1)))))
;
2456 tmpMeta[3] = MMC_CDR(tmp3_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(2)))))
;
2457 if (!listEmpty(tmpMeta[3])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2458
2459 _exp = tmpMeta[2];
2460 /* Pattern matching succeeded */
2461#line 5631 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2462 tmpMeta[0] = _exp;
2463#line 2463 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2464 goto tmp2_done;
2465 }
2466 case 6: {
2467 if (optionNone(tmp3_2)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_2
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
2468 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
2469 if (listEmpty(tmp3_3)((*(mmc_uint_t*)((void*)((char*)(tmp3_3) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2470 tmpMeta[2] = MMC_CAR(tmp3_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(1)))))
;
2471 tmpMeta[3] = MMC_CDR(tmp3_3)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_3) - 3))) +
(2)))))
;
2472
2473 _foldExp = tmpMeta[1];
2474 _exp = tmpMeta[2];
2475 _exps = tmpMeta[3];
2476 /* Pattern matching succeeded */
2477#line 5641 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2478 tmpMeta[0] = omc_ExpressionSimplify_simplifyReductionFoldPhase2(threadData, _exps, _foldExp, _foldName, _resultName, _exp);
2479#line 2479 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2480 goto tmp2_done;
2481 }
2482 }
2483 goto tmp2_end;
2484 tmp2_end: ;
2485 }
2486 goto goto_1;
2487 goto_1:;
2488 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2489 goto tmp2_done;
2490 tmp2_done:;
2491 }
2492 }
2493 _exp = tmpMeta[0];
2494 _return: OMC_LABEL_UNUSED__attribute__((unused))
2495 return _exp;
2496}
2497
2498PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_replaceIteratorWithExpTraverser(threadData_t *threadData, modelica_metatype _inExp, modelica_metatype _inTpl, modelica_metatype *out_outTpl)
2499{
2500 modelica_metatype _outExp = NULL((void*)0);
2501 modelica_metatype _outTpl = NULL((void*)0);
2502 modelica_metatype tmpMeta[17] __attribute__((unused)) = {0};
2503 MMC_SO()mmc_check_stackoverflow(threadData);
2504 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2505 // _outExp has no default value.
2506 // _outTpl has no default value.
2507#line 5549 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2508
2509#line 5549 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2510
2511#line 2511 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2512 { /* matchcontinue expression */
2513 volatile modelica_metatype tmp4_1;volatile modelica_metatype tmp4_2;
2514 tmp4_1 = _inExp;
2515 tmp4_2 = _inTpl;
2516 {
2517 modelica_string _id = NULL((void*)0);
2518 modelica_string _id2 = NULL((void*)0);
2519 modelica_string _name = NULL((void*)0);
2520 modelica_string _replName = NULL((void*)0);
2521 modelica_metatype _iterExp = NULL((void*)0);
2522 modelica_metatype _ty = NULL((void*)0);
2523 modelica_metatype _ty1 = NULL((void*)0);
2524 modelica_metatype _ss = NULL((void*)0);
2525 modelica_metatype _cr = NULL((void*)0);
2526 modelica_metatype _exp = NULL((void*)0);
2527 modelica_metatype _tpl = NULL((void*)0);
2528 modelica_metatype _callPath = NULL((void*)0);
2529 modelica_metatype _recordPath = NULL((void*)0);
2530 modelica_metatype _varLst = NULL((void*)0);
2531 modelica_metatype _exps = NULL((void*)0);
2532 modelica_integer _i;
2533 volatile mmc_switch_type tmp4;
2534 int tmp5;
2535 // _id has no default value.
2536 // _id2 has no default value.
2537 // _name has no default value.
2538 // _replName has no default value.
2539 // _iterExp has no default value.
2540 // _ty has no default value.
2541 // _ty1 has no default value.
2542 // _ss has no default value.
2543 // _cr has no default value.
2544 // _exp has no default value.
2545 // _tpl has no default value.
2546 // _callPath has no default value.
2547 // _recordPath has no default value.
2548 // _varLst has no default value.
2549 // _exps has no default value.
2550 // _i has no default value.
2551 tmp4 = 0;
2552 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) {
2553 tmp3_top:
2554 threadData->mmc_jumper = &new_mmc_jumper;
2555 for (; tmp4 < 8; tmp4++) {
2556 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2557 case 0: {
2558 modelica_integer tmp6;
2559 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
2560 tmp6 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
2561 if (0 != tmp6) goto tmp3_end;
2562
2563 /* Pattern matching succeeded */
2564#line 5563 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2565 tmpMeta[0+0] = _inExp;
2566#line 5563 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2567 tmpMeta[0+1] = _inTpl;
2568#line 2568 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2569 goto tmp3_done;
2570 }
2571 case 1: {
2572 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,6,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
2573 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2574 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 tmp3_end;
2575 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2576 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (4)))))
;
2577 if (!listEmpty(tmpMeta[4])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2578 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2579 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2580
2581 _id = tmpMeta[3];
2582 _tpl = tmp4_2;
2583 _name = tmpMeta[5];
2584 _iterExp = tmpMeta[6];
2585 /* Pattern matching succeeded */
2586 /* Check guard condition after assignments */
2587 if (!(stringEqual(_name, _id)((((((*(mmc_uint_t*)((void*)((char*)(_name) - 3)))) >> (
3)) - 8)) == (((((*(mmc_uint_t*)((void*)((char*)(_id) - 3))))
>> (3)) - 8)) && !mmc_stringCompare(_name,_id)
)
)) goto tmp3_end;
2588#line 5567 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2589 tmpMeta[0+0] = _iterExp;
2590#line 5567 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2591 tmpMeta[0+1] = _tpl;
2592#line 2592 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2593 goto tmp3_done;
2594 }
2595 case 2: {
2596 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,6,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
2597 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2598 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 tmp3_end;
2599 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2600 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2601 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2602
2603 _exp = tmp4_1;
2604 _id = tmpMeta[3];
2605 _name = tmpMeta[4];
2606 _iterExp = tmpMeta[5];
2607 tmp4 += 4; /* Pattern matching succeeded; we may skip some cases if we fail */
2608 /* Check guard condition after assignments */
2609 if (!(stringEqual(_name, _id)((((((*(mmc_uint_t*)((void*)((char*)(_name) - 3)))) >> (
3)) - 8)) == (((((*(mmc_uint_t*)((void*)((char*)(_id) - 3))))
>> (3)) - 8)) && !mmc_stringCompare(_name,_id)
)
)) goto tmp3_end;
2610#line 5570 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2611 tmpMeta[2] = mmc_mk_box3(0, _name, _iterExp, mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
2612#line 5570 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2613 tmpMeta[0+0] = _exp;
2614#line 5570 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2615 tmpMeta[0+1] = tmpMeta[2];
2616#line 2616 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2617 goto tmp3_done;
2618 }
2619 case 3: {
2620 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,6,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
2621 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2622 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],0,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((4 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
2623 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2624 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
2625 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (4)))))
;
2626 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (5)))))
;
2627 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
2628 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2629 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2630 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[9],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[9]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
2631 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[9]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[9]) - 3
))) + (2)))))
;
2632 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[10],1,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[10]) - 3)))==(((3 +1
) << 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2633 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[10]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[10]) - 3
))) + (2)))))
;
2634 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[10]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[10]) - 3
))) + (4)))))
;
2635 if (!listEmpty(tmpMeta[12])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[12]) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) goto tmp3_end;
2636
2637 _id = tmpMeta[3];
2638 _ty1 = tmpMeta[4];
2639 _ss = tmpMeta[5];
2640 _cr = tmpMeta[6];
2641 _ty = tmpMeta[7];
2642 _tpl = tmp4_2;
2643 _name = tmpMeta[8];
2644 _replName = tmpMeta[11];
2645 /* Pattern matching succeeded */
2646 /* Check guard condition after assignments */
2647 if (!(stringEqual(_name, _id)((((((*(mmc_uint_t*)((void*)((char*)(_name) - 3)))) >> (
3)) - 8)) == (((((*(mmc_uint_t*)((void*)((char*)(_id) - 3))))
>> (3)) - 8)) && !mmc_stringCompare(_name,_id)
)
)) goto tmp3_end;
2648#line 5573 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2649 tmpMeta[2] = mmc_mk_box5(3, &DAE_ComponentRef_CREF__QUAL__desc, _replName, _ty1, _ss, _cr);
2650#line 5573 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2651 tmpMeta[3] = mmc_mk_box3(9, &DAE_Exp_CREF__desc, tmpMeta[2], _ty);
2652#line 5573 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2653 tmpMeta[0+0] = tmpMeta[3];
2654#line 5573 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2655 tmpMeta[0+1] = _tpl;
2656#line 2656 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2657 goto tmp3_done;
2658 }
2659 case 4: {
2660 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2661 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2662 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
2663 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
2664 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],1,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((3 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2665 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (2)))))
;
2666 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (4)))))
;
2667 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,6,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
2668 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2669 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[7],0,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3)))==(((4 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
2670 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (2)))))
;
2671 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (3)))))
;
2672 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (4)))))
;
2673 if (!listEmpty(tmpMeta[10])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[10]) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) goto tmp3_end;
2674 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (5)))))
;
2675 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(3)))))
;
2676 _tpl = tmp4_2;
2677 _name = tmpMeta[2];
2678 _replName = tmpMeta[5];
2679 _ss = tmpMeta[6];
2680 _id = tmpMeta[8];
2681 _ty1 = tmpMeta[9];
2682 _cr = tmpMeta[11];
2683 _ty = tmpMeta[12];
2684 tmp4 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
2685 /* Check guard condition after assignments */
2686 if (!(stringEqual(_name, _id)((((((*(mmc_uint_t*)((void*)((char*)(_name) - 3)))) >> (
3)) - 8)) == (((((*(mmc_uint_t*)((void*)((char*)(_id) - 3))))
>> (3)) - 8)) && !mmc_stringCompare(_name,_id)
)
)) goto tmp3_end;
2687#line 5576 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2688 tmpMeta[2] = mmc_mk_box5(3, &DAE_ComponentRef_CREF__QUAL__desc, _replName, _ty1, _ss, _cr);
2689#line 5576 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2690 tmpMeta[3] = mmc_mk_box3(9, &DAE_Exp_CREF__desc, tmpMeta[2], _ty);
2691#line 5576 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2692 tmpMeta[0+0] = tmpMeta[3];
2693#line 5576 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2694 tmpMeta[0+1] = _tpl;
2695#line 2695 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2696 goto tmp3_done;
2697 }
2698 case 5: {
2699 modelica_boolean tmp7;
2700 modelica_boolean tmp8;
2701 modelica_boolean tmp9;
2702 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2703 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2704 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],13,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((3 +1)
<< 10) + (((13 +3) & 255) << 2)))
== 0) goto tmp3_end;
2705 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
2706 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (3)))))
;
2707 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (4)))))
;
2708 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[6]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[6]) - 3
))) + (2)))))
;
2709 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[7],9,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[7]) - 3)))==(((3 +1)
<< 10) + (((9 +3) & 255) << 2)))
== 0) goto tmp3_end;
2710 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (2)))))
;
2711 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[8],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp3_end;
2712 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (2)))))
;
2713 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[7]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[7]) - 3
))) + (3)))))
;
2714 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,6,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
2715 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2716 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[11],0,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[11]) - 3)))==(((4 +1
) << 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
2717 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[11]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[11]) - 3
))) + (2)))))
;
2718 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[11]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[11]) - 3
))) + (4)))))
;
2719 if (!listEmpty(tmpMeta[13])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[13]) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) goto tmp3_end;
2720 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[11]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[11]) - 3
))) + (5)))))
;
2721 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[14],1,3)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[14]) - 3)))==(((3 +1
) << 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2722 tmpMeta[15] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[14]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[14]) - 3
))) + (2)))))
;
2723 tmpMeta[16] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[14]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[14]) - 3
))) + (4)))))
;
2724 if (!listEmpty(tmpMeta[16])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[16]) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) goto tmp3_end;
2725
2726 _tpl = tmp4_2;
2727 _name = tmpMeta[2];
2728 _callPath = tmpMeta[4];
2729 _exps = tmpMeta[5];
2730 _recordPath = tmpMeta[9];
2731 _varLst = tmpMeta[10];
2732 _id = tmpMeta[12];
2733 _id2 = tmpMeta[15];
2734 /* Pattern matching succeeded */
2735#line 5579 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2736 /* Pattern-matching assignment */
2737#line 5579 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2738 tmp7 = (stringEqual(_name, _id)((((((*(mmc_uint_t*)((void*)((char*)(_name) - 3)))) >> (
3)) - 8)) == (((((*(mmc_uint_t*)((void*)((char*)(_id) - 3))))
>> (3)) - 8)) && !mmc_stringCompare(_name,_id)
)
);
2739#line 5579 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2740 if (1 != tmp7) goto goto_2;
2741#line 2741 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2742
2743#line 5580 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2744 /* Pattern-matching assignment */
2745#line 5580 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2746 tmp8 = omc_AbsynUtil_pathEqual(threadData, _callPath, _recordPath);
2747#line 5580 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2748 if (1 != tmp8) goto goto_2;
2749#line 2749 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2750
2751#line 5581 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2752 /* Pattern-matching assignment */
2753#line 5581 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2754 tmp9 = (listLength(_varLst) == listLength(_exps));
2755#line 5581 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2756 if (1 != tmp9) goto goto_2;
2757#line 2757 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2758
2759#line 5582 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2760 _i = omc_List_position1OnTrue(threadData, _varLst, boxvar_DAEUtil_typeVarIdentEqual((void*)((char*)(&(boxvar_lit_DAEUtil_typeVarIdentEqual).
header) + 3))
, _id2);
2761#line 2761 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2762
2763#line 5583 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2764 _exp = listGet(_exps, _i)boxptr_listGet(threadData,_exps,mmc_mk_icon(_i));
2765#line 2765 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2766#line 5584 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2767 tmpMeta[0+0] = _exp;
2768#line 5584 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2769 tmpMeta[0+1] = _tpl;
2770#line 2770 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2771 goto tmp3_done;
2772 }
2773 case 6: {
2774 if (mmc__uniontype__metarecord__typedef__equal(tmp4_1,6,2)((*(mmc_uint_t*)((void*)((char*)(tmp4_1) - 3)))==(((2 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
2775 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_1) - 3))) +
(2)))))
;
2776 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],0,4)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((4 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
2777 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
2778 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2779 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2780
2781 _exp = tmp4_1;
2782 _id = tmpMeta[3];
2783 _name = tmpMeta[4];
2784 _iterExp = tmpMeta[5];
2785 /* Pattern matching succeeded */
2786 /* Check guard condition after assignments */
2787 if (!(stringEqual(_name, _id)((((((*(mmc_uint_t*)((void*)((char*)(_name) - 3)))) >> (
3)) - 8)) == (((((*(mmc_uint_t*)((void*)((char*)(_id) - 3))))
>> (3)) - 8)) && !mmc_stringCompare(_name,_id)
)
)) goto tmp3_end;
2788#line 5587 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2789 tmpMeta[2] = mmc_mk_box3(0, _name, _iterExp, mmc_mk_boolean(0)((0) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
2790#line 5587 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2791 tmpMeta[0+0] = _exp;
2792#line 5587 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2793 tmpMeta[0+1] = tmpMeta[2];
2794#line 2794 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2795 goto tmp3_done;
2796 }
2797 case 7: {
2798
2799 /* Pattern matching succeeded */
2800#line 5588 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2801 tmpMeta[0+0] = _inExp;
2802#line 5588 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2803 tmpMeta[0+1] = _inTpl;
2804#line 2804 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2805 goto tmp3_done;
2806 }
2807 }
2808 goto tmp3_end;
2809 tmp3_end: ;
2810 }
2811 goto goto_2;
2812 tmp3_done:
2813 (void)tmp4;
2814 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
2815 goto tmp3_done2;
2816 goto_2:;
2817 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
2818 if (++tmp4 < 8) {
2819 goto tmp3_top;
2820 }
2821 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2822 tmp3_done2:;
2823 }
2824 }
2825 _outExp = tmpMeta[0+0];
2826 _outTpl = tmpMeta[0+1];
2827 _return: OMC_LABEL_UNUSED__attribute__((unused))
2828 if (out_outTpl) { *out_outTpl = _outTpl; }
2829 return _outExp;
2830}
2831
2832PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_replaceIteratorWithExp(threadData_t *threadData, modelica_metatype _iterExp, modelica_metatype _exp, modelica_string _name)
2833{
2834 modelica_metatype _outExp = NULL((void*)0);
2835 modelica_integer tmp1;
2836 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2837 MMC_SO()mmc_check_stackoverflow(threadData);
2838 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2839 // _outExp has no default value.
2840#line 5540 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2841 /* Pattern-matching tuple assignment */
2842#line 5540 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2843 tmpMeta[2] = mmc_mk_box3(0, _name, _iterExp, mmc_mk_boolean(1)((1) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
2844#line 5540 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2845 tmpMeta[3] = omc_Expression_traverseExpBottomUp(threadData, _exp, boxvar_ExpressionSimplify_replaceIteratorWithExpTraverser((void*)((char*)(&(boxvar_lit_ExpressionSimplify_replaceIteratorWithExpTraverser
).header) + 3))
, tmpMeta[2], &tmpMeta[0]);
2846#line 5540 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2847 _outExp = tmpMeta[3];
2848#line 5540 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2849 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
2850#line 5540 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2851 tmp1 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
2852#line 5540 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2853 if (1 != tmp1) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2854#line 2854 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2855 _return: OMC_LABEL_UNUSED__attribute__((unused))
2856 return _outExp;
2857}
2858
2859PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_getIteratorValues(threadData_t *threadData, modelica_metatype _iter, modelica_metatype _inValues)
2860{
2861 modelica_metatype _values = NULL((void*)0);
2862 modelica_string _iter_name = NULL((void*)0);
2863 modelica_metatype _range = NULL((void*)0);
2864 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
2865 MMC_SO()mmc_check_stackoverflow(threadData);
2866 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2867 // _values has no default value.
2868 // _iter_name has no default value.
2869 // _range has no default value.
2870#line 5529 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2871 /* Pattern-matching assignment */
2872#line 5529 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2873 tmpMeta[0] = _iter;
2874#line 5529 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2875 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (2)))))
;
2876#line 5529 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2877 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (3)))))
;
2878#line 5529 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2879 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[0]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[0]) - 3
))) + (4)))))
;
2880#line 5529 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2881 if (!optionNone(tmpMeta[3])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[3]) - 3)))) >> 10)) ? 1 : 0)
) MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2882#line 5529 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2883 _iter_name = tmpMeta[1];
2884#line 5529 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2885 _range = tmpMeta[2];
2886#line 2886 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2887
2888#line 5530 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2889 _values = omc_Expression_getArrayOrRangeContents(threadData, _range);
2890#line 2890 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2891
2892#line 5531 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2893 _values = omc_List_threadMap1(threadData, _values, _inValues, boxvar_ExpressionSimplify_replaceIteratorWithExp((void*)((char*)(&(boxvar_lit_ExpressionSimplify_replaceIteratorWithExp
).header) + 3))
, _iter_name);
2894#line 2894 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2895 _return: OMC_LABEL_UNUSED__attribute__((unused))
2896 return _values;
2897}
2898
2899PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyReduction(threadData_t *threadData, modelica_metatype _inReduction)
2900{
2901 modelica_metatype _outValue = NULL((void*)0);
2902 modelica_metatype tmpMeta[16] __attribute__((unused)) = {0};
2903 MMC_SO()mmc_check_stackoverflow(threadData);
2904 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2905 // _outValue has no default value.
2906#line 2906 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2907 { /* matchcontinue expression */
2908 volatile modelica_metatype tmp3_1;
2909 tmp3_1 = _inReduction;
2910 {
2911 modelica_metatype _expr = NULL((void*)0);
2912 modelica_metatype _range = NULL((void*)0);
2913 modelica_metatype _foldExpr = NULL((void*)0);
2914 modelica_metatype _foldExpr2 = NULL((void*)0);
2915 modelica_string _iter_name = NULL((void*)0);
2916 modelica_metatype _values = NULL((void*)0);
2917 modelica_metatype _defaultValue = NULL((void*)0);
2918 modelica_metatype _v = NULL((void*)0);
2919 modelica_metatype _foldExp = NULL((void*)0);
2920 modelica_metatype _ty = NULL((void*)0);
2921 modelica_metatype _ty1 = NULL((void*)0);
2922 modelica_metatype _ety = NULL((void*)0);
2923 modelica_metatype _iter = NULL((void*)0);
2924 modelica_metatype _iterators = NULL((void*)0);
2925 modelica_string _foldName = NULL((void*)0);
2926 modelica_string _resultName = NULL((void*)0);
2927 modelica_string _foldName2 = NULL((void*)0);
2928 modelica_string _resultName2 = NULL((void*)0);
2929 modelica_metatype _path = NULL((void*)0);
2930 volatile mmc_switch_type tmp3;
2931 int tmp4;
2932 // _expr has no default value.
2933 // _range has no default value.
2934 // _foldExpr has no default value.
2935 // _foldExpr2 has no default value.
2936 // _iter_name has no default value.
2937 // _values has no default value.
2938 // _defaultValue has no default value.
2939 // _v has no default value.
2940 // _foldExp has no default value.
2941 // _ty has no default value.
2942 // _ty1 has no default value.
2943 // _ety has no default value.
2944 // _iter has no default value.
2945 // _iterators has no default value.
2946 // _foldName has no default value.
2947 // _resultName has no default value.
2948 // _foldName2 has no default value.
2949 // _resultName2 has no default value.
2950 // _path has no default value.
2951 tmp3 = 0;
2952 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) {
2953 tmp2_top:
2954 threadData->mmc_jumper = &new_mmc_jumper;
2955 for (; tmp3 < 8; tmp3++) {
2956 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2957 case 0: {
2958 modelica_boolean tmp5;
2959 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,27,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((27 +3) & 255) << 2)))
== 0) goto tmp2_end;
2960 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
2961 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (5)))))
;
2962 if (optionNone(tmpMeta[2])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[2]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
2963 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (1)))))
;
2964 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
2965 _v = tmpMeta[3];
2966 _iterators = tmpMeta[4];
2967 /* Pattern matching succeeded */
2968#line 5454 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2969 /* Pattern-matching assignment */
2970#line 5454 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2971 tmp5 = omc_ExpressionSimplify_hasZeroLengthIterator(threadData, _iterators);
2972#line 5454 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2973 if (1 != tmp5) goto goto_1;
2974#line 2974 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2975#line 5455 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2976 tmpMeta[0] = omc_ValuesUtil_valueExp(threadData, _v, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
2977#line 2977 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2978 goto tmp2_done;
2979 }
2980 case 1: {
2981 modelica_boolean tmp6;
2982 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,27,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((27 +3) & 255) << 2)))
== 0) goto tmp2_end;
2983 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
2984 _iterators = tmpMeta[1];
2985 /* Pattern matching succeeded */
2986#line 5460 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2987 /* Pattern-matching assignment */
2988#line 5460 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2989 tmp6 = omc_ExpressionSimplify_hasZeroLengthIterator(threadData, _iterators);
2990#line 5460 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2991 if (1 != tmp6) goto goto_1;
2992#line 2992 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2993#line 5461 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
2994 tmpMeta[0] = omc_ValuesUtil_valueExp(threadData, _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)), mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
2995#line 2995 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
2996 goto tmp2_done;
2997 }
2998 case 2: {
2999 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,27,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((27 +3) & 255) << 2)))
== 0) goto tmp2_end;
3000 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3001 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
3002 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (4)))))
;
3003 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (5)))))
;
3004 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (6)))))
;
3005 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (7)))))
;
3006 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (8)))))
;
3007 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
3008 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
3009 if (listEmpty(tmpMeta[9])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[9]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3010 tmpMeta[10] = MMC_CAR(tmpMeta[9])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[9]) - 3
))) + (1)))))
;
3011 tmpMeta[11] = MMC_CDR(tmpMeta[9])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[9]) - 3
))) + (2)))))
;
3012 tmpMeta[12] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[10]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[10]) - 3
))) + (2)))))
;
3013 tmpMeta[13] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[10]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[10]) - 3
))) + (3)))))
;
3014 tmpMeta[14] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[10]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[10]) - 3
))) + (4)))))
;
3015 if (!optionNone(tmpMeta[14])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[14]) - 3))))
& (7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta
[14]) - 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char
*)(tmpMeta[14]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
3016 if (!listEmpty(tmpMeta[11])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[11]) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) goto tmp2_end;
3017 _path = tmpMeta[2];
3018 _ty = tmpMeta[3];
3019 _defaultValue = tmpMeta[4];
3020 _foldName = tmpMeta[5];
3021 _resultName = tmpMeta[6];
3022 _foldExp = tmpMeta[7];
3023 _expr = tmpMeta[8];
3024 _iter_name = tmpMeta[12];
3025 _range = tmpMeta[13];
3026 /* Pattern matching succeeded */
3027#line 5466 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3028 _values = omc_Expression_getArrayOrRangeContents(threadData, _range);
3029#line 3029 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3030
3031#line 5469 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3032 _ety = omc_Types_simplifyType(threadData, _ty);
3033#line 3033 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3034
3035#line 5470 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3036 _values = omc_List_map2(threadData, _values, boxvar_ExpressionSimplify_replaceIteratorWithExp((void*)((char*)(&(boxvar_lit_ExpressionSimplify_replaceIteratorWithExp
).header) + 3))
, _expr, _iter_name);
3037#line 3037 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3038#line 5471 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3039 tmpMeta[0] = omc_ExpressionSimplify_simplifyReductionFoldPhase(threadData, _path, _foldExp, _foldName, _resultName, _ety, _values, _defaultValue);
3040#line 3040 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3041 goto tmp2_done;
3042 }
3043 case 3: {
3044 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,27,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((27 +3) & 255) << 2)))
== 0) goto tmp2_end;
3045 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3046 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
3047 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
3048 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],1,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((0 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
3049 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (4)))))
;
3050 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (5)))))
;
3051 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (6)))))
;
3052 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (7)))))
;
3053 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (8)))))
;
3054 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
3055 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
3056 _path = tmpMeta[2];
3057 _ty = tmpMeta[4];
3058 _defaultValue = tmpMeta[5];
3059 _foldName = tmpMeta[6];
3060 _resultName = tmpMeta[7];
3061 _foldExp = tmpMeta[8];
3062 _expr = tmpMeta[9];
3063 _iterators = tmpMeta[10];
3064 tmp3 += 3; /* Pattern matching succeeded; we may skip some cases if we fail */
3065#line 5478 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3066 /* Pattern-matching assignment */
3067#line 5478 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3068 tmpMeta[1] = _iterators;
3069#line 5478 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3070 if (listEmpty(tmpMeta[1])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto goto_1;
3071#line 5478 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3072 tmpMeta[2] = MMC_CAR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (1)))))
;
3073#line 5478 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3074 tmpMeta[3] = MMC_CDR(tmpMeta[1])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
3075#line 5478 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3076 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
3077#line 5478 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3078 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (3)))))
;
3079#line 5478 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3080 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (4)))))
;
3081#line 5478 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3082 if (!optionNone(tmpMeta[6])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[6])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[6]) - 3)))) >> 10)) ? 1 : 0)
) goto goto_1;
3083#line 5478 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3084 _iter_name = tmpMeta[4];
3085#line 5478 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3086 _range = tmpMeta[5];
3087#line 5478 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3088 _iterators = tmpMeta[3];
3089#line 3089 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3090
3091#line 5479 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3092 _values = omc_Expression_getArrayOrRangeContents(threadData, _range);
3093#line 3093 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3094
3095#line 5480 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3096 _ety = omc_Types_simplifyType(threadData, _ty);
3097#line 3097 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3098
3099#line 5481 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3100 _values = omc_List_map2(threadData, _values, boxvar_ExpressionSimplify_replaceIteratorWithExp((void*)((char*)(&(boxvar_lit_ExpressionSimplify_replaceIteratorWithExp
).header) + 3))
, _expr, _iter_name);
3101#line 3101 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3102
3103#line 5483 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3104 _values = omc_List_fold(threadData, _iterators, boxvar_ExpressionSimplify_getIteratorValues((void*)((char*)(&(boxvar_lit_ExpressionSimplify_getIteratorValues
).header) + 3))
, _values);
3105#line 3105 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3106#line 5485 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3107 tmpMeta[0] = omc_ExpressionSimplify_simplifyReductionFoldPhase(threadData, _path, _foldExp, _foldName, _resultName, _ety, _values, _defaultValue);
3108#line 3108 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3109 goto tmp2_done;
3110 }
3111 case 4: {
3112 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,27,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((27 +3) & 255) << 2)))
== 0) goto tmp2_end;
3113 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3114 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
3115 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 tmp2_end;
3116 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
3117 if (5 != MMC_STRLEN(tmpMeta[3])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT9)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT9).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[3])(((struct mmc_string*)((void*)((char*)(tmpMeta[3]) - 3)))->
data)
) != 0) goto tmp2_end;
3118 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
3119 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],0,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((0 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3120 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (4)))))
;
3121 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (6)))))
;
3122 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (7)))))
;
3123 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
3124 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
3125 if (listEmpty(tmpMeta[9])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[9]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
3126 tmpMeta[10] = MMC_CAR(tmpMeta[9])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[9]) - 3
))) + (1)))))
;
3127 tmpMeta[11] = MMC_CDR(tmpMeta[9])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[9]) - 3
))) + (2)))))
;
3128 if (listEmpty(tmpMeta[11])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[11]) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) goto tmp2_end;
3129 tmpMeta[12] = MMC_CAR(tmpMeta[11])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[11]) - 3
))) + (1)))))
;
3130 tmpMeta[13] = MMC_CDR(tmpMeta[11])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[11]) - 3
))) + (2)))))
;
3131 _path = tmpMeta[2];
3132 _ty = tmpMeta[5];
3133 _foldName = tmpMeta[6];
3134 _resultName = tmpMeta[7];
3135 _expr = tmpMeta[8];
3136 _iter = tmpMeta[10];
3137 _iterators = tmpMeta[11];
3138 /* Pattern matching succeeded */
3139#line 5491 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3140 _foldName2 = omc_Util_getTempVariableIndex(threadData);
3141#line 3141 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3142
3143#line 5492 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3144 _resultName2 = omc_Util_getTempVariableIndex(threadData);
3145#line 3145 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3146
3147#line 5493 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3148 _ty1 = omc_Types_unliftArray(threadData, _ty);
3149#line 3149 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3150
3151#line 5494 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3152 tmpMeta[1] = mmc_mk_box8(3, &DAE_ReductionInfo_REDUCTIONINFO__desc, _path, _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), _ty1, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _foldName, _resultName, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
3153#line 5494 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3154 tmpMeta[2] = mmc_mk_box4(30, &DAE_Exp_REDUCTION__desc, tmpMeta[1], _expr, _iterators);
3155#line 5494 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3156 _expr = tmpMeta[2];
3157#line 3157 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3158#line 5495 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3159 tmpMeta[1] = mmc_mk_box8(3, &DAE_ReductionInfo_REDUCTIONINFO__desc, _path, _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), _ty, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)), _foldName2, _resultName2, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
3160#line 5495 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3161 tmpMeta[2] = mmc_mk_cons(_iter, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3162#line 5495 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3163 tmpMeta[3] = mmc_mk_box4(30, &DAE_Exp_REDUCTION__desc, tmpMeta[1], _expr, tmpMeta[2]);
3164#line 5495 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3165 tmpMeta[0] = tmpMeta[3];
3166#line 3166 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3167 goto tmp2_done;
3168 }
3169 case 5: {
3170 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,27,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((27 +3) & 255) << 2)))
== 0) goto tmp2_end;
3171 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3172 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
3173 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
3174 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],0,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((0 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3175 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (4)))))
;
3176 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (5)))))
;
3177 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (6)))))
;
3178 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (7)))))
;
3179 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (8)))))
;
3180 if (!optionNone(tmpMeta[8])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[8]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
3181 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
3182 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
3183 if (listEmpty(tmpMeta[10])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[10]) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) goto tmp2_end;
3184 tmpMeta[11] = MMC_CAR(tmpMeta[10])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[10]) - 3
))) + (1)))))
;
3185 tmpMeta[12] = MMC_CDR(tmpMeta[10])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[10]) - 3
))) + (2)))))
;
3186 if (listEmpty(tmpMeta[12])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[12]) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) goto tmp2_end;
3187 tmpMeta[13] = MMC_CAR(tmpMeta[12])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[12]) - 3
))) + (1)))))
;
3188 tmpMeta[14] = MMC_CDR(tmpMeta[12])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[12]) - 3
))) + (2)))))
;
3189 _path = tmpMeta[2];
3190 _ty = tmpMeta[4];
3191 _defaultValue = tmpMeta[5];
3192 _foldName = tmpMeta[6];
3193 _resultName = tmpMeta[7];
3194 _expr = tmpMeta[9];
3195 _iter = tmpMeta[11];
3196 _iterators = tmpMeta[12];
3197 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
3198#line 5500 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3199 _foldName2 = omc_Util_getTempVariableIndex(threadData);
3200#line 3200 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3201
3202#line 5501 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3203 _resultName2 = omc_Util_getTempVariableIndex(threadData);
3204#line 3204 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3205
3206#line 5502 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3207 tmpMeta[1] = mmc_mk_box8(3, &DAE_ReductionInfo_REDUCTIONINFO__desc, _path, _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), _ty, _defaultValue, _foldName2, _resultName2, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
3208#line 5502 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3209 tmpMeta[2] = mmc_mk_cons(_iter, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3210#line 5502 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3211 tmpMeta[3] = mmc_mk_box4(30, &DAE_Exp_REDUCTION__desc, tmpMeta[1], _expr, tmpMeta[2]);
3212#line 5502 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3213 _expr = tmpMeta[3];
3214#line 3214 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3215#line 5503 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3216 tmpMeta[1] = mmc_mk_box8(3, &DAE_ReductionInfo_REDUCTIONINFO__desc, _path, _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), _ty, _defaultValue, _foldName, _resultName, mmc_mk_none()((void*)((char*)(&(mmc_none).header) + 3)));
3217#line 5503 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3218 tmpMeta[2] = mmc_mk_box4(30, &DAE_Exp_REDUCTION__desc, tmpMeta[1], _expr, _iterators);
3219#line 5503 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3220 tmpMeta[0] = tmpMeta[2];
3221#line 3221 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3222 goto tmp2_done;
3223 }
3224 case 6: {
3225 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,27,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((27 +3) & 255) << 2)))
== 0) goto tmp2_end;
3226 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3227 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
3228 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
3229 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],0,0)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((0 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3230 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (4)))))
;
3231 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (5)))))
;
3232 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (6)))))
;
3233 tmpMeta[7] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (7)))))
;
3234 tmpMeta[8] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 8))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (8)))))
;
3235 if (optionNone(tmpMeta[8])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[8]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
3236 tmpMeta[9] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[8]), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (1)))))
;
3237 tmpMeta[10] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(3)))))
;
3238 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(4)))))
;
3239 if (listEmpty(tmpMeta[11])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[11]) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) goto tmp2_end;
3240 tmpMeta[12] = MMC_CAR(tmpMeta[11])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[11]) - 3
))) + (1)))))
;
3241 tmpMeta[13] = MMC_CDR(tmpMeta[11])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[11]) - 3
))) + (2)))))
;
3242 if (listEmpty(tmpMeta[13])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[13]) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) goto tmp2_end;
3243 tmpMeta[14] = MMC_CAR(tmpMeta[13])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[13]) - 3
))) + (1)))))
;
3244 tmpMeta[15] = MMC_CDR(tmpMeta[13])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[13]) - 3
))) + (2)))))
;
3245 _path = tmpMeta[2];
3246 _ty = tmpMeta[4];
3247 _defaultValue = tmpMeta[5];
3248 _foldName = tmpMeta[6];
3249 _resultName = tmpMeta[7];
3250 _foldExpr = tmpMeta[9];
3251 _expr = tmpMeta[10];
3252 _iter = tmpMeta[12];
3253 _iterators = tmpMeta[13];
3254 /* Pattern matching succeeded */
3255#line 5508 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3256 _foldName2 = omc_Util_getTempVariableIndex(threadData);
3257#line 3257 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3258
3259#line 5509 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3260 _resultName2 = omc_Util_getTempVariableIndex(threadData);
3261#line 3261 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3262
3263#line 5510 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3264 tmpMeta[1] = mmc_mk_box2(0, _foldName, _foldName2);
3265#line 5510 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3266 _foldExpr2 = omc_Expression_traverseExpBottomUp(threadData, _foldExpr, boxvar_Expression_renameExpCrefIdent((void*)((char*)(&(boxvar_lit_Expression_renameExpCrefIdent
).header) + 3))
, tmpMeta[1], NULL((void*)0));
3267#line 3267 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3268
3269#line 5511 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3270 tmpMeta[1] = mmc_mk_box2(0, _resultName, _resultName2);
3271#line 5511 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3272 _foldExpr2 = omc_Expression_traverseExpBottomUp(threadData, _foldExpr2, boxvar_Expression_renameExpCrefIdent((void*)((char*)(&(boxvar_lit_Expression_renameExpCrefIdent
).header) + 3))
, tmpMeta[1], NULL((void*)0));
3273#line 3273 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3274
3275#line 5512 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3276 tmpMeta[1] = mmc_mk_box8(3, &DAE_ReductionInfo_REDUCTIONINFO__desc, _path, _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), _ty, _defaultValue, _foldName2, _resultName2, mmc_mk_some(_foldExpr2));
3277#line 5512 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3278 tmpMeta[2] = mmc_mk_cons(_iter, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3279#line 5512 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3280 tmpMeta[3] = mmc_mk_box4(30, &DAE_Exp_REDUCTION__desc, tmpMeta[1], _expr, tmpMeta[2]);
3281#line 5512 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3282 _expr = tmpMeta[3];
3283#line 3283 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3284#line 5513 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3285 tmpMeta[1] = mmc_mk_box8(3, &DAE_ReductionInfo_REDUCTIONINFO__desc, _path, _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)), _ty, _defaultValue, _foldName, _resultName, mmc_mk_some(_foldExpr));
3286#line 5513 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3287 tmpMeta[2] = mmc_mk_box4(30, &DAE_Exp_REDUCTION__desc, tmpMeta[1], _expr, _iterators);
3288#line 5513 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3289 tmpMeta[0] = tmpMeta[2];
3290#line 3290 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3291 goto tmp2_done;
3292 }
3293 case 7: {
3294
3295 /* Pattern matching succeeded */
3296#line 5516 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3297 tmpMeta[0] = _inReduction;
3298#line 3298 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3299 goto tmp2_done;
3300 }
3301 }
3302 goto tmp2_end;
3303 tmp2_end: ;
3304 }
3305 goto goto_1;
3306 tmp2_done:
3307 (void)tmp3;
3308 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3309 goto tmp2_done2;
3310 goto_1:;
3311 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3312 if (++tmp3 < 8) {
3313 goto tmp2_top;
3314 }
3315 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3316 tmp2_done2:;
3317 }
3318 }
3319 _outValue = tmpMeta[0];
3320 _return: OMC_LABEL_UNUSED__attribute__((unused))
3321 return _outValue;
3322}
3323
3324PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyRangeReal2(threadData_t *threadData, modelica_real _inStart, modelica_real _inStep, modelica_integer _inSteps, modelica_metatype _inValues)
3325{
3326 modelica_metatype _outValues = NULL((void*)0);
3327 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3328 MMC_SO()mmc_check_stackoverflow(threadData);
3329 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3330 // _outValues has no default value.
3331#line 3331 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3332 { /* match expression */
3333 modelica_integer tmp3_1;
3334 tmp3_1 = _inSteps;
3335 {
3336 modelica_real _next;
3337 modelica_metatype _vals = NULL((void*)0);
3338 volatile mmc_switch_type tmp3;
3339 int tmp4;
3340 // _next has no default value.
3341 // _vals has no default value.
3342 tmp3 = 0;
3343 for (; tmp3 < 2; tmp3++) {
3344 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3345 case 0: {
3346 if (-1 != tmp3_1) goto tmp2_end;
3347 /* Pattern matching succeeded */
3348#line 5421 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3349 tmpMeta[0] = _inValues;
3350#line 3350 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3351 goto tmp2_done;
3352 }
3353 case 1: {
3354
3355 /* Pattern matching succeeded */
3356#line 5425 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3357 _next = _inStart + (_inStep) * (((modelica_real)_inSteps));
3358#line 3358 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3359
3360#line 5426 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3361 tmpMeta[1] = mmc_mk_cons(mmc_mk_realmmc_mk_rcon(_next), _inValues);
3362#line 5426 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3363 _vals = tmpMeta[1];
3364#line 3364 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3365#line 5427 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3366 /* Tail recursive call */
3367#line 5427 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3368 _inSteps = ((modelica_integer) -1) + _inSteps;
3369#line 5427 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3370 _inValues = _vals;
3371#line 5427 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3372 goto _tailrecursive;
3373#line 5427 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3374 /* TODO: Make sure any eventual dead code below is never generated */
3375#line 3375 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3376 goto tmp2_done;
3377 }
3378 }
3379 goto tmp2_end;
3380 tmp2_end: ;
3381 }
3382 goto goto_1;
3383 goto_1:;
3384 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3385 goto tmp2_done;
3386 tmp2_done:;
3387 }
3388 }
3389 _outValues = tmpMeta[0];
3390 _return: OMC_LABEL_UNUSED__attribute__((unused))
3391 return _outValues;
3392}
3393PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_simplifyRangeReal2(threadData_t *threadData, modelica_metatype _inStart, modelica_metatype _inStep, modelica_metatype _inSteps, modelica_metatype _inValues)
3394{
3395 modelica_real tmp1;
3396 modelica_real tmp2;
3397 modelica_integer tmp3;
3398 modelica_metatype _outValues = NULL((void*)0);
3399 tmp1 = mmc_unbox_real(_inStart)mmc_prim_get_real(_inStart);
3400 tmp2 = mmc_unbox_real(_inStep)mmc_prim_get_real(_inStep);
3401 tmp3 = mmc_unbox_integer(_inSteps)(((mmc_sint_t) (_inSteps)) >> 1);
3402 _outValues = omc_ExpressionSimplify_simplifyRangeReal2(threadData, tmp1, tmp2, tmp3, _inValues);
3403 /* skip box _outValues; list<#Real> */
3404 return _outValues;
3405}
3406
3407DLLExport
3408modelica_metatype omc_ExpressionSimplify_simplifyRangeReal(threadData_t *threadData, modelica_real _inStart, modelica_real _inStep, modelica_real _inStop)
3409{
3410 modelica_metatype _outValues = NULL((void*)0);
3411 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
3412 MMC_SO()mmc_check_stackoverflow(threadData);
3413 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3414 // _outValues has no default value.
3415#line 3415 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3416 { /* matchcontinue expression */
3417 {
3418 modelica_string _error_str = NULL((void*)0);
3419 modelica_integer _steps;
3420 volatile mmc_switch_type tmp3;
3421 int tmp4;
3422 // _error_str has no default value.
3423 // _steps has no default value.
3424 tmp3 = 0;
3425 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) {
3426 tmp2_top:
3427 threadData->mmc_jumper = &new_mmc_jumper;
3428 for (; tmp3 < 3; tmp3++) {
3429 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3430 case 0: {
3431 modelica_boolean tmp5;
3432 /* Pattern matching succeeded */
3433#line 5387 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3434 /* Pattern-matching assignment */
3435#line 5387 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3436 tmp5 = (fabs(_inStep) <= 1e-14);
3437#line 5387 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3438 if (1 != tmp5) goto goto_1;
3439#line 3439 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3440
3441#line 5388 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3442 tmpMeta[1] = mmc_mk_cons(mmc_mk_realmmc_mk_rcon(_inStart), mmc_mk_cons(mmc_mk_realmmc_mk_rcon(_inStep), mmc_mk_cons(mmc_mk_realmmc_mk_rcon(_inStop), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)))));
3443#line 5388 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3444 _error_str = stringDelimitList(omc_List_map(threadData, tmpMeta[1], boxvar_realString((void*)((char*)(&(boxvar_lit_realString).header) + 3))), _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)));
3445#line 3445 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3446
3447#line 5390 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3448 tmpMeta[1] = mmc_mk_cons(_error_str, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3449#line 5390 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3450 omc_Error_addMessage(threadData, _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)), tmpMeta[1]);
3451#line 3451 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3452#line 5391 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3453 goto goto_1;
3454#line 3454 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3455 goto tmp2_done;
3456 }
3457 case 1: {
3458 /* Pattern matching succeeded */
3459#line 5396 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3460 equality(mmc_mk_real(_inStart), mmc_mk_real(_inStop))boxptr_equality(threadData,mmc_mk_rcon(_inStart),mmc_mk_rcon(
_inStop))
;
3461#line 3461 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3462#line 5397 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3463 tmpMeta[1] = mmc_mk_cons(mmc_mk_realmmc_mk_rcon(_inStart), MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)));
3464#line 5397 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3465 tmpMeta[0] = tmpMeta[1];
3466#line 3466 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3467 goto tmp2_done;
3468 }
3469 case 2: {
3470 /* Pattern matching succeeded */
3471#line 5401 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3472 _steps = ((modelica_integer) -1) + omc_Util_realRangeSize(threadData, _inStart, _inStep, _inStop);
3473#line 3473 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3474#line 5402 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3475 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3476#line 5402 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3477 tmpMeta[0] = omc_ExpressionSimplify_simplifyRangeReal2(threadData, _inStart, _inStep, _steps, tmpMeta[1]);
3478#line 3478 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3479 goto tmp2_done;
3480 }
3481 }
3482 goto tmp2_end;
3483 tmp2_end: ;
3484 }
3485 goto goto_1;
3486 tmp2_done:
3487 (void)tmp3;
3488 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
3489 goto tmp2_done2;
3490 goto_1:;
3491 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
3492 if (++tmp3 < 3) {
3493 goto tmp2_top;
3494 }
3495 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3496 tmp2_done2:;
3497 }
3498 }
3499 _outValues = tmpMeta[0];
3500 _return: OMC_LABEL_UNUSED__attribute__((unused))
3501 return _outValues;
3502}
3503modelica_metatype boxptr_ExpressionSimplify_simplifyRangeReal(threadData_t *threadData, modelica_metatype _inStart, modelica_metatype _inStep, modelica_metatype _inStop)
3504{
3505 modelica_real tmp1;
3506 modelica_real tmp2;
3507 modelica_real tmp3;
3508 modelica_metatype _outValues = NULL((void*)0);
3509 tmp1 = mmc_unbox_real(_inStart)mmc_prim_get_real(_inStart);
3510 tmp2 = mmc_unbox_real(_inStep)mmc_prim_get_real(_inStep);
3511 tmp3 = mmc_unbox_real(_inStop)mmc_prim_get_real(_inStop);
3512 _outValues = omc_ExpressionSimplify_simplifyRangeReal(threadData, tmp1, tmp2, tmp3);
3513 /* skip box _outValues; list<#Real> */
3514 return _outValues;
3515}
3516
3517DLLExport
3518modelica_metatype omc_ExpressionSimplify_simplifyRange(threadData_t *threadData, modelica_integer _inStart, modelica_integer _inStep, modelica_integer _inStop)
3519{
3520 modelica_metatype _outValues = NULL((void*)0);
3521 MMC_SO()mmc_check_stackoverflow(threadData);
3522 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3523 // _outValues has no default value.
3524#line 5370 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3525 _outValues = omc_List_intRange3(threadData, _inStart, _inStep, _inStop);
3526#line 3526 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3527 _return: OMC_LABEL_UNUSED__attribute__((unused))
3528 return _outValues;
3529}
3530modelica_metatype boxptr_ExpressionSimplify_simplifyRange(threadData_t *threadData, modelica_metatype _inStart, modelica_metatype _inStep, modelica_metatype _inStop)
3531{
3532 modelica_integer tmp1;
3533 modelica_integer tmp2;
3534 modelica_integer tmp3;
3535 modelica_metatype _outValues = NULL((void*)0);
3536 tmp1 = mmc_unbox_integer(_inStart)(((mmc_sint_t) (_inStart)) >> 1);
3537 tmp2 = mmc_unbox_integer(_inStep)(((mmc_sint_t) (_inStep)) >> 1);
3538 tmp3 = mmc_unbox_integer(_inStop)(((mmc_sint_t) (_inStop)) >> 1);
3539 _outValues = omc_ExpressionSimplify_simplifyRange(threadData, tmp1, tmp2, tmp3);
3540 /* skip box _outValues; list<#Integer> */
3541 return _outValues;
3542}
3543
3544DLLExport
3545modelica_metatype omc_ExpressionSimplify_simplifyRangeBool(threadData_t *threadData, modelica_boolean _inStart, modelica_boolean _inStop)
3546{
3547 modelica_metatype _outRange = NULL((void*)0);
3548 modelica_boolean tmp1;
3549 modelica_boolean tmp2;
3550 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
3551 MMC_SO()mmc_check_stackoverflow(threadData);
3552 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3553 // _outRange has no default value.
3554#line 5356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3555 tmp2 = (modelica_boolean)_inStart;
3556#line 5356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3557 if(tmp2)
3558#line 5356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3559 {
3560#line 5356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3561 tmp1 = (modelica_boolean)_inStop;
3562#line 5356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3563 if(tmp1)
3564#line 5356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3565 {
3566#line 5356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3567 tmpMeta[1] = _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3));
3568#line 5356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3569 }
3570#line 5356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3571 else
3572#line 5356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3573 {
3574#line 5356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3575 tmpMeta[0] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
3576#line 5356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3577 tmpMeta[1] = tmpMeta[0];
3578#line 5356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3579 }
3580#line 5356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3581 tmpMeta[2] = tmpMeta[1];
3582#line 5356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3583 }
3584#line 5356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3585 else
3586#line 5356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3587 {
3588#line 5356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3589 tmpMeta[2] = (_inStop?_OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)):_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)));
3590#line 5356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3591 }
3592#line 5356 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3593 _outRange = tmpMeta[2];
3594#line 3594 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3595 _return: OMC_LABEL_UNUSED__attribute__((unused))
3596 return _outRange;
3597}
3598modelica_metatype boxptr_ExpressionSimplify_simplifyRangeBool(threadData_t *threadData, modelica_metatype _inStart, modelica_metatype _inStop)
3599{
3600 modelica_integer tmp1;
3601 modelica_integer tmp2;
3602 modelica_metatype _outRange = NULL((void*)0);
3603 tmp1 = mmc_unbox_integer(_inStart)(((mmc_sint_t) (_inStart)) >> 1);
3604 tmp2 = mmc_unbox_integer(_inStop)(((mmc_sint_t) (_inStop)) >> 1);
3605 _outRange = omc_ExpressionSimplify_simplifyRangeBool(threadData, tmp1, tmp2);
3606 /* skip box _outRange; list<#Boolean> */
3607 return _outRange;
3608}
3609
3610PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_removeOperatorDimension(threadData_t *threadData, modelica_metatype _inop)
3611{
3612 modelica_metatype _outop = NULL((void*)0);
3613 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
3614 MMC_SO()mmc_check_stackoverflow(threadData);
3615 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3616 // _outop has no default value.
3617#line 3617 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3618 { /* match expression */
3619 modelica_metatype tmp3_1;
3620 tmp3_1 = _inop;
3621 {
3622 modelica_metatype _ty1 = NULL((void*)0);
3623 modelica_metatype _ty2 = NULL((void*)0);
3624 modelica_boolean _b;
3625 int tmp3;
3626 // _ty1 has no default value.
3627 // _ty2 has no default value.
3628 // _b has no default value.
3629 {
3630 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_1))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))) >> 2
) & 255))
) {
3631 case 10: {
3632 modelica_boolean tmp4;
3633 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,7,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((7 +3) & 255) << 2)))
== 0) goto tmp2_end;
3634 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3635 _ty1 = tmpMeta[1];
3636 /* Pattern matching succeeded */
3637#line 5319 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3638 _ty2 = omc_Expression_unliftArray(threadData, _ty1);
3639#line 3639 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3640
3641#line 5320 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3642 _b = omc_DAEUtil_expTypeArray(threadData, _ty2);
3643#line 3643 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3644#line 5321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3645 tmp4 = (modelica_boolean)_b;
3646#line 5321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3647 if(tmp4)
3648#line 5321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3649 {
3650#line 5321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3651 tmpMeta[1] = mmc_mk_box2(10, &DAE_Operator_ADD__ARR__desc, _ty2);
3652#line 5321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3653 tmpMeta[3] = tmpMeta[1];
3654#line 5321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3655 }
3656#line 5321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3657 else
3658#line 5321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3659 {
3660#line 5321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3661 tmpMeta[2] = mmc_mk_box2(3, &DAE_Operator_ADD__desc, _ty2);
3662#line 5321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3663 tmpMeta[3] = tmpMeta[2];
3664#line 5321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3665 }
3666#line 5321 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3667 tmpMeta[0] = tmpMeta[3];
3668#line 3668 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3669 goto tmp2_done;
3670 }
3671 case 11: {
3672 modelica_boolean tmp5;
3673 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,8,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((8 +3) & 255) << 2)))
== 0) goto tmp2_end;
3674 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3675 _ty1 = tmpMeta[1];
3676 /* Pattern matching succeeded */
3677#line 5325 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3678 _ty2 = omc_Expression_unliftArray(threadData, _ty1);
3679#line 3679 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3680
3681#line 5326 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3682 _b = omc_DAEUtil_expTypeArray(threadData, _ty2);
3683#line 3683 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3684#line 5327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3685 tmp5 = (modelica_boolean)_b;
3686#line 5327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3687 if(tmp5)
3688#line 5327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3689 {
3690#line 5327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3691 tmpMeta[1] = mmc_mk_box2(11, &DAE_Operator_SUB__ARR__desc, _ty2);
3692#line 5327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3693 tmpMeta[3] = tmpMeta[1];
3694#line 5327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3695 }
3696#line 5327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3697 else
3698#line 5327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3699 {
3700#line 5327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3701 tmpMeta[2] = mmc_mk_box2(4, &DAE_Operator_SUB__desc, _ty2);
3702#line 5327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3703 tmpMeta[3] = tmpMeta[2];
3704#line 5327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3705 }
3706#line 5327 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3707 tmpMeta[0] = tmpMeta[3];
3708#line 3708 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3709 goto tmp2_done;
3710 }
3711 case 13: {
3712 modelica_boolean tmp6;
3713 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,10,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((10 +3) & 255) << 2)))
== 0) goto tmp2_end;
3714 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3715 _ty1 = tmpMeta[1];
3716 /* Pattern matching succeeded */
3717#line 5331 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3718 _ty2 = omc_Expression_unliftArray(threadData, _ty1);
3719#line 3719 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3720
3721#line 5332 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3722 _b = omc_DAEUtil_expTypeArray(threadData, _ty2);
3723#line 3723 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3724#line 5333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3725 tmp6 = (modelica_boolean)_b;
3726#line 5333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3727 if(tmp6)
3728#line 5333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3729 {
3730#line 5333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3731 tmpMeta[1] = mmc_mk_box2(13, &DAE_Operator_DIV__ARR__desc, _ty2);
3732#line 5333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3733 tmpMeta[3] = tmpMeta[1];
3734#line 5333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3735 }
3736#line 5333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3737 else
3738#line 5333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3739 {
3740#line 5333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3741 tmpMeta[2] = mmc_mk_box2(6, &DAE_Operator_DIV__desc, _ty2);
3742#line 5333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3743 tmpMeta[3] = tmpMeta[2];
3744#line 5333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3745 }
3746#line 5333 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3747 tmpMeta[0] = tmpMeta[3];
3748#line 3748 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3749 goto tmp2_done;
3750 }
3751 case 12: {
3752 modelica_boolean tmp7;
3753 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,9,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((9 +3) & 255) << 2)))
== 0) goto tmp2_end;
3754 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3755 _ty1 = tmpMeta[1];
3756 /* Pattern matching succeeded */
3757#line 5337 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3758 _ty2 = omc_Expression_unliftArray(threadData, _ty1);
3759#line 3759 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3760
3761#line 5338 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3762 _b = omc_DAEUtil_expTypeArray(threadData, _ty2);
3763#line 3763 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3764#line 5339 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3765 tmp7 = (modelica_boolean)_b;
3766#line 5339 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3767 if(tmp7)
3768#line 5339 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3769 {
3770#line 5339 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3771 tmpMeta[1] = mmc_mk_box2(12, &DAE_Operator_MUL__ARR__desc, _ty2);
3772#line 5339 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3773 tmpMeta[3] = tmpMeta[1];
3774#line 5339 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3775 }
3776#line 5339 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3777 else
3778#line 5339 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3779 {
3780#line 5339 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3781 tmpMeta[2] = mmc_mk_box2(5, &DAE_Operator_MUL__desc, _ty2);
3782#line 5339 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3783 tmpMeta[3] = tmpMeta[2];
3784#line 5339 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3785 }
3786#line 5339 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3787 tmpMeta[0] = tmpMeta[3];
3788#line 3788 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3789 goto tmp2_done;
3790 }
3791 case 24: {
3792 modelica_boolean tmp8;
3793 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,21,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((21 +3) & 255) << 2)))
== 0) goto tmp2_end;
3794 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3795 _ty1 = tmpMeta[1];
3796 /* Pattern matching succeeded */
3797#line 5343 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3798 _ty2 = omc_Expression_unliftArray(threadData, _ty1);
3799#line 3799 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3800
3801#line 5344 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3802 _b = omc_DAEUtil_expTypeArray(threadData, _ty2);
3803#line 3803 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3804#line 5345 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3805 tmp8 = (modelica_boolean)_b;
3806#line 5345 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3807 if(tmp8)
3808#line 5345 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3809 {
3810#line 5345 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3811 tmpMeta[1] = mmc_mk_box2(24, &DAE_Operator_POW__ARR2__desc, _ty2);
3812#line 5345 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3813 tmpMeta[3] = tmpMeta[1];
3814#line 5345 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3815 }
3816#line 5345 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3817 else
3818#line 5345 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3819 {
3820#line 5345 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3821 tmpMeta[2] = mmc_mk_box2(7, &DAE_Operator_POW__desc, _ty2);
3822#line 5345 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3823 tmpMeta[3] = tmpMeta[2];
3824#line 5345 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3825 }
3826#line 5345 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3827 tmpMeta[0] = tmpMeta[3];
3828#line 3828 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3829 goto tmp2_done;
3830 }
3831 }
3832 goto tmp2_end;
3833 tmp2_end: ;
3834 }
3835 goto goto_1;
3836 goto_1:;
3837 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3838 goto tmp2_done;
3839 tmp2_done:;
3840 }
3841 }
3842 _outop = tmpMeta[0];
3843 _return: OMC_LABEL_UNUSED__attribute__((unused))
3844 return _outop;
3845}
3846
3847PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyBuiltinConstantDer(threadData_t *threadData, modelica_metatype _inExp)
3848{
3849 modelica_metatype _outExp = NULL((void*)0);
3850 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
3851 MMC_SO()mmc_check_stackoverflow(threadData);
3852 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3853 // _outExp has no default value.
3854#line 3854 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3855 { /* match expression */
3856 modelica_metatype tmp3_1;
3857 tmp3_1 = _inExp;
3858 {
3859 modelica_metatype _dims = NULL((void*)0);
3860 volatile mmc_switch_type tmp3;
3861 int tmp4;
3862 // _dims has no default value.
3863 tmp3 = 0;
3864 for (; tmp3 < 4; tmp3++) {
3865 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3866 case 0: {
3867 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;
3868
3869 /* Pattern matching succeeded */
3870#line 5292 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3871 tmpMeta[0] = _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3));
3872#line 3872 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3873 goto tmp2_done;
3874 }
3875 case 1: {
3876 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;
3877
3878 /* Pattern matching succeeded */
3879#line 5293 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3880 tmpMeta[0] = _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3));
3881#line 3881 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3882 goto tmp2_done;
3883 }
3884 case 2: {
3885 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,16,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((16 +3) & 255) << 2)))
== 0) goto tmp2_end;
3886 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3887 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp2_end;
3888 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
3889 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 tmp2_end;
3890 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
3891
3892 _dims = tmpMeta[3];
3893 /* Pattern matching succeeded */
3894#line 5296 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3895 tmpMeta[0] = omc_Expression_makeZeroExpression(threadData, _dims, NULL((void*)0));
3896#line 3896 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3897 goto tmp2_done;
3898 }
3899 case 3: {
3900 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,16,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((3 +1) <<
10) + (((16 +3) & 255) << 2)))
== 0) goto tmp2_end;
3901 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_1), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_1) - 3))) +
(2)))))
;
3902 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp2_end;
3903 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
3904 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3905 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (3)))))
;
3906
3907 _dims = tmpMeta[3];
3908 /* Pattern matching succeeded */
3909#line 5301 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3910 tmpMeta[0] = omc_Expression_makeZeroExpression(threadData, _dims, NULL((void*)0));
3911#line 3911 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3912 goto tmp2_done;
3913 }
3914 }
3915 goto tmp2_end;
3916 tmp2_end: ;
3917 }
3918 goto goto_1;
3919 goto_1:;
3920 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3921 goto tmp2_done;
3922 tmp2_done:;
3923 }
3924 }
3925 _outExp = tmpMeta[0];
3926 _return: OMC_LABEL_UNUSED__attribute__((unused))
3927 return _outExp;
3928}
3929
3930PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyBinarySortConstantsMul(threadData_t *threadData, modelica_metatype _inExp)
3931{
3932 modelica_metatype _outExp = NULL((void*)0);
3933 modelica_metatype _e_lst = NULL((void*)0);
3934 modelica_metatype _e_lst_1 = NULL((void*)0);
3935 modelica_metatype _const_es1 = NULL((void*)0);
3936 modelica_metatype _const_es1_1 = NULL((void*)0);
3937 modelica_metatype _notconst_es1 = NULL((void*)0);
3938 modelica_metatype _res1 = NULL((void*)0);
3939 modelica_metatype _res2 = NULL((void*)0);
3940 MMC_SO()mmc_check_stackoverflow(threadData);
3941 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3942 // _outExp has no default value.
3943 // _e_lst has no default value.
3944 // _e_lst_1 has no default value.
3945 // _const_es1 has no default value.
3946 // _const_es1_1 has no default value.
3947 // _notconst_es1 has no default value.
3948 // _res1 has no default value.
3949 // _res2 has no default value.
3950#line 5267 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3951 _e_lst = omc_Expression_factors(threadData, _inExp);
3952#line 3952 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3953
3954#line 5269 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3955 _const_es1 = omc_List_splitOnTrue(threadData, _e_lst, boxvar_Expression_isConst((void*)((char*)(&(boxvar_lit_Expression_isConst).header)
+ 3))
,&_notconst_es1);
3956#line 3956 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3957
3958#line 5272 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3959 if((!listEmpty(_const_es1)((*(mmc_uint_t*)((void*)((char*)(_const_es1) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
))
3960#line 5272 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3961 {
3962#line 5273 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3963 _res1 = omc_ExpressionSimplify_simplifyBinaryMulConstants(threadData, _const_es1);
3964#line 3964 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3965
3966#line 5274 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3967 _res1 = omc_ExpressionSimplify_simplify1(threadData, _res1, NULL((void*)0));
3968#line 3968 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3969
3970#line 5275 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3971 _res2 = omc_Expression_makeProductLst(threadData, _notconst_es1);
3972#line 3972 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3973
3974#line 5276 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3975 _outExp = omc_Expression_expMul(threadData, _res1, _res2);
3976#line 3976 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3977 }
3978 else
3979 {
3980#line 5278 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3981 _outExp = _inExp;
3982#line 3982 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
3983 }
3984 _return: OMC_LABEL_UNUSED__attribute__((unused))
3985 return _outExp;
3986}
3987
3988PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyVectorScalarMatrix(threadData_t *threadData, modelica_metatype _imexpl, modelica_metatype _op, modelica_metatype _s1, modelica_boolean _arrayScalar)
3989{
3990 modelica_metatype _outExp = NULL((void*)0);
3991 modelica_boolean tmp9;
3992 modelica_metatype tmpMeta[11] __attribute__((unused)) = {0};
3993 MMC_SO()mmc_check_stackoverflow(threadData);
3994 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3995 // _outExp has no default value.
3996#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3997 tmp9 = (modelica_boolean)_arrayScalar;
3998#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
3999 if(tmp9)
4000#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4001 {
4002#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4003 {
4004#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4005 modelica_metatype _D_24tmpVar7;
4006#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4007 modelica_metatype* tmp1;
4008#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4009 modelica_metatype _D_24tmpVar6;
4010#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4011 int tmp4;
4012#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4013 modelica_metatype _row_loopVar = 0;
4014#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4015 modelica_metatype _row;
4016#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4017 _row_loopVar = _imexpl;
4018#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4019 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4020#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4021 _D_24tmpVar7 = tmpMeta[1]; /* defaultValue */
4022#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4023 tmp1 = &_D_24tmpVar7;
4024#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4025 while(1) {
4026#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4027 tmp4 = 1;
4028#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4029 if (!listEmpty(_row_loopVar)((*(mmc_uint_t*)((void*)((char*)(_row_loopVar) - 3))) == (((0
) << 10) + (((0) & 255) << 2)))
) {
4030#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4031 _row = MMC_CAR(_row_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_row_loopVar) -
3))) + (1)))))
;
4032#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4033 _row_loopVar = MMC_CDR(_row_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_row_loopVar) -
3))) + (2)))))
;
4034#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4035 tmp4--;
4036#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4037 }
4038#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4039 if (tmp4 == 0) {
4040#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4041 {
4042#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4043 modelica_metatype _D_24tmpVar5;
4044#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4045 modelica_metatype* tmp2;
4046#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4047 modelica_metatype _D_24tmpVar4;
4048#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4049 int tmp3;
4050#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4051 modelica_metatype _e_loopVar = 0;
4052#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4053 modelica_metatype _e;
4054#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4055 _e_loopVar = _row;
4056#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4057 tmpMeta[3] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4058#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4059 _D_24tmpVar5 = tmpMeta[3]; /* defaultValue */
4060#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4061 tmp2 = &_D_24tmpVar5;
4062#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4063 while(1) {
4064#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4065 tmp3 = 1;
4066#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4067 if (!listEmpty(_e_loopVar)((*(mmc_uint_t*)((void*)((char*)(_e_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
4068#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4069 _e = MMC_CAR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (1)))))
;
4070#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4071 _e_loopVar = MMC_CDR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (2)))))
;
4072#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4073 tmp3--;
4074#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4075 }
4076#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4077 if (tmp3 == 0) {
4078#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4079 tmpMeta[4] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, _e, _op, _s1);
4080#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4081 _D_24tmpVar4 = tmpMeta[4];
4082#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4083 *tmp2 = mmc_mk_cons(_D_24tmpVar4,0);
4084#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4085 tmp2 = &MMC_CDR(*tmp2)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp2) - 3))) +
(2)))))
;
4086#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4087 } else if (tmp3 == 1) {
4088#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4089 break;
4090#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4091 } else {
4092#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4093 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4094#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4095 }
4096#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4097 }
4098#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4099 *tmp2 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
4100#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4101 tmpMeta[2] = _D_24tmpVar5;
4102#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4103 }
4104#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4105 _D_24tmpVar6 = tmpMeta[2];
4106#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4107 *tmp1 = mmc_mk_cons(_D_24tmpVar6,0);
4108#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4109 tmp1 = &MMC_CDR(*tmp1)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp1) - 3))) +
(2)))))
;
4110#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4111 } else if (tmp4 == 1) {
4112#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4113 break;
4114#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4115 } else {
4116#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4117 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4118#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4119 }
4120#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4121 }
4122#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4123 *tmp1 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
4124#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4125 tmpMeta[0] = _D_24tmpVar7;
4126#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4127 }
4128#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4129 tmpMeta[10] = tmpMeta[0];
4130#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4131 }
4132#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4133 else
4134#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4135 {
4136#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4137 {
4138#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4139 modelica_metatype _D_24tmpVar11;
4140#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4141 modelica_metatype* tmp5;
4142#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4143 modelica_metatype _D_24tmpVar10;
4144#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4145 int tmp8;
4146#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4147 modelica_metatype _row_loopVar = 0;
4148#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4149 modelica_metatype _row;
4150#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4151 _row_loopVar = _imexpl;
4152#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4153 tmpMeta[6] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4154#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4155 _D_24tmpVar11 = tmpMeta[6]; /* defaultValue */
4156#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4157 tmp5 = &_D_24tmpVar11;
4158#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4159 while(1) {
4160#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4161 tmp8 = 1;
4162#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4163 if (!listEmpty(_row_loopVar)((*(mmc_uint_t*)((void*)((char*)(_row_loopVar) - 3))) == (((0
) << 10) + (((0) & 255) << 2)))
) {
4164#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4165 _row = MMC_CAR(_row_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_row_loopVar) -
3))) + (1)))))
;
4166#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4167 _row_loopVar = MMC_CDR(_row_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_row_loopVar) -
3))) + (2)))))
;
4168#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4169 tmp8--;
4170#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4171 }
4172#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4173 if (tmp8 == 0) {
4174#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4175 {
4176#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4177 modelica_metatype _D_24tmpVar9;
4178#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4179 modelica_metatype* tmp6;
4180#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4181 modelica_metatype _D_24tmpVar8;
4182#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4183 int tmp7;
4184#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4185 modelica_metatype _e_loopVar = 0;
4186#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4187 modelica_metatype _e;
4188#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4189 _e_loopVar = _row;
4190#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4191 tmpMeta[8] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4192#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4193 _D_24tmpVar9 = tmpMeta[8]; /* defaultValue */
4194#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4195 tmp6 = &_D_24tmpVar9;
4196#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4197 while(1) {
4198#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4199 tmp7 = 1;
4200#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4201 if (!listEmpty(_e_loopVar)((*(mmc_uint_t*)((void*)((char*)(_e_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
4202#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4203 _e = MMC_CAR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (1)))))
;
4204#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4205 _e_loopVar = MMC_CDR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (2)))))
;
4206#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4207 tmp7--;
4208#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4209 }
4210#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4211 if (tmp7 == 0) {
4212#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4213 tmpMeta[9] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, _s1, _op, _e);
4214#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4215 _D_24tmpVar8 = tmpMeta[9];
4216#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4217 *tmp6 = mmc_mk_cons(_D_24tmpVar8,0);
4218#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4219 tmp6 = &MMC_CDR(*tmp6)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp6) - 3))) +
(2)))))
;
4220#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4221 } else if (tmp7 == 1) {
4222#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4223 break;
4224#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4225 } else {
4226#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4227 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4228#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4229 }
4230#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4231 }
4232#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4233 *tmp6 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
4234#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4235 tmpMeta[7] = _D_24tmpVar9;
4236#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4237 }
4238#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4239 _D_24tmpVar10 = tmpMeta[7];
4240#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4241 *tmp5 = mmc_mk_cons(_D_24tmpVar10,0);
4242#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4243 tmp5 = &MMC_CDR(*tmp5)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp5) - 3))) +
(2)))))
;
4244#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4245 } else if (tmp8 == 1) {
4246#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4247 break;
4248#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4249 } else {
4250#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4251 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4252#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4253 }
4254#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4255 }
4256#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4257 *tmp5 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
4258#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4259 tmpMeta[5] = _D_24tmpVar11;
4260#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4261 }
4262#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4263 tmpMeta[10] = tmpMeta[5];
4264#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4265 }
4266#line 5254 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4267 _outExp = tmpMeta[10];
4268#line 4268 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4269 _return: OMC_LABEL_UNUSED__attribute__((unused))
4270 return _outExp;
4271}
4272PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_simplifyVectorScalarMatrix(threadData_t *threadData, modelica_metatype _imexpl, modelica_metatype _op, modelica_metatype _s1, modelica_metatype _arrayScalar)
4273{
4274 modelica_integer tmp1;
4275 modelica_metatype _outExp = NULL((void*)0);
4276 tmp1 = mmc_unbox_integer(_arrayScalar)(((mmc_sint_t) (_arrayScalar)) >> 1);
4277 _outExp = omc_ExpressionSimplify_simplifyVectorScalarMatrix(threadData, _imexpl, _op, _s1, tmp1);
4278 /* skip box _outExp; list<list<DAE.Exp>> */
4279 return _outExp;
4280}
4281
4282PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyUnary(threadData_t *threadData, modelica_metatype _origExp, modelica_metatype _inOperator2, modelica_metatype _inExp3)
4283{
4284 modelica_metatype _outExp = NULL((void*)0);
4285 modelica_metatype tmpMeta[12] __attribute__((unused)) = {0};
4286 MMC_SO()mmc_check_stackoverflow(threadData);
4287 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4288 // _outExp has no default value.
4289#line 4289 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4290 { /* matchcontinue expression */
4291 volatile modelica_metatype tmp3_1;volatile modelica_metatype tmp3_2;
4292 tmp3_1 = _inOperator2;
4293 tmp3_2 = _inExp3;
4294 {
4295 modelica_metatype _ty1 = NULL((void*)0);
4296 modelica_metatype _e1 = NULL((void*)0);
4297 modelica_metatype _e_1 = NULL((void*)0);
4298 modelica_metatype _e2 = NULL((void*)0);
4299 modelica_metatype _e3 = NULL((void*)0);
4300 modelica_integer _i_1;
4301 modelica_integer _i;
4302 modelica_real _r_1;
4303 modelica_real _r;
4304 modelica_boolean _b1;
4305 modelica_metatype _attr = NULL((void*)0);
4306 modelica_metatype _expl = NULL((void*)0);
4307 modelica_metatype _mat = NULL((void*)0);
4308 modelica_metatype _op = NULL((void*)0);
4309 modelica_metatype _op2 = NULL((void*)0);
4310 modelica_metatype _path = NULL((void*)0);
4311 volatile mmc_switch_type tmp3;
4312 int tmp4;
4313 // _ty1 has no default value.
4314 // _e1 has no default value.
4315 // _e_1 has no default value.
4316 // _e2 has no default value.
4317 // _e3 has no default value.
4318 // _i_1 has no default value.
4319 // _i has no default value.
4320 // _r_1 has no default value.
4321 // _r has no default value.
4322 // _b1 has no default value.
4323 // _attr has no default value.
4324 // _expl has no default value.
4325 // _mat has no default value.
4326 // _op has no default value.
4327 // _op2 has no default value.
4328 // _path has no default value.
4329 tmp3 = 0;
4330 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) {
4331 tmp2_top:
4332 threadData->mmc_jumper = &new_mmc_jumper;
4333 for (; tmp3 < 20; tmp3++) {
4334 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
4335 case 0: {
4336 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,24,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((24 +3) & 255) << 2)))
== 0) goto tmp2_end;
4337
4338 _e1 = tmp3_2;
4339 /* Pattern matching succeeded */
4340#line 5171 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4341 _b1 = omc_Expression_toBool(threadData, _e1);
4342#line 4342 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4343
4344#line 5172 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4345 _b1 = (!_b1);
4346#line 4346 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4347#line 5173 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4348 tmpMeta[1] = mmc_mk_box2(6, &DAE_Exp_BCONST__desc, mmc_mk_boolean(_b1)((_b1) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))));
4349#line 5173 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4350 tmpMeta[0] = tmpMeta[1];
4351#line 4351 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4352 goto tmp2_done;
4353 }
4354 case 1: {
4355 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,24,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((24 +3) & 255) << 2)))
== 0) goto tmp2_end;
4356 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,10,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((2 +1) <<
10) + (((10 +3) & 255) << 2)))
== 0) goto tmp2_end;
4357 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
4358 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],24,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((1 +1)
<< 10) + (((24 +3) & 255) << 2)))
== 0) goto tmp2_end;
4359 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
4360 _e1 = tmpMeta[2];
4361 tmp3 += 17; /* Pattern matching succeeded; we may skip some cases if we fail */
4362#line 5177 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4363 tmpMeta[0] = _e1;
4364#line 4364 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4365 goto tmp2_done;
4366 }
4367 case 2: {
4368 modelica_integer tmp5;
4369 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
4370 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,0,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((1 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
4371 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
4372 tmp5 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
4373 _i = tmp5 /* pattern as ty=Integer */;
4374 tmp3 += 3; /* Pattern matching succeeded; we may skip some cases if we fail */
4375#line 5182 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4376 _i_1 = (-_i);
4377#line 4377 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4378#line 5183 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4379 tmpMeta[1] = mmc_mk_box2(3, &DAE_Exp_ICONST__desc, mmc_mk_integermmc_mk_icon(_i_1));
4380#line 5183 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4381 tmpMeta[0] = tmpMeta[1];
4382#line 4382 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4383 goto tmp2_done;
4384 }
4385 case 3: {
4386 modelica_real tmp6;
4387 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
4388 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,1,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((1 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
4389 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
4390 tmp6 = mmc_unbox_real(tmpMeta[1])mmc_prim_get_real(tmpMeta[1]);
4391 _r = tmp6 /* pattern as ty=Real */;
4392 tmp3 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
4393#line 5188 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4394 _r_1 = (-_r);
4395#line 4395 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4396#line 5189 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4397 tmpMeta[1] = mmc_mk_box2(4, &DAE_Exp_RCONST__desc, mmc_mk_realmmc_mk_rcon(_r_1));
4398#line 5189 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4399 tmpMeta[0] = tmpMeta[1];
4400#line 4400 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4401 goto tmp2_done;
4402 }
4403 case 4: {
4404 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
4405 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,7,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((3 +1) <<
10) + (((7 +3) & 255) << 2)))
== 0) goto tmp2_end;
4406 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
4407 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
4408 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],2,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((2 +3) & 255) << 2)))
== 0) goto tmp2_end;
4409 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
4410 _op2 = tmp3_1;
4411 _e1 = tmpMeta[1];
4412 _op = tmpMeta[2];
4413 _e2 = tmpMeta[3];
4414 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
4415#line 5193 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4416 tmpMeta[1] = mmc_mk_box3(11, &DAE_Exp_UNARY__desc, _op2, _e1);
4417#line 5193 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4418 tmpMeta[2] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, tmpMeta[1], _op, _e2);
4419#line 5193 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4420 tmpMeta[0] = tmpMeta[2];
4421#line 4421 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4422 goto tmp2_done;
4423 }
4424 case 5: {
4425 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,6,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp2_end;
4426 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,7,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((3 +1) <<
10) + (((7 +3) & 255) << 2)))
== 0) goto tmp2_end;
4427 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
4428 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
4429 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],9,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((9 +3) & 255) << 2)))
== 0) goto tmp2_end;
4430 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
4431 _op2 = tmp3_1;
4432 _e1 = tmpMeta[1];
4433 _op = tmpMeta[2];
4434 _e2 = tmpMeta[3];
4435 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
4436#line 5196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4437 tmpMeta[1] = mmc_mk_box3(11, &DAE_Exp_UNARY__desc, _op2, _e1);
4438#line 5196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4439 tmpMeta[2] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, tmpMeta[1], _op, _e2);
4440#line 5196 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4441 tmpMeta[0] = tmpMeta[2];
4442#line 4442 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4443 goto tmp2_done;
4444 }
4445 case 6: {
4446 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
4447
4448 _e1 = tmp3_2;
4449 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
4450 /* Check guard condition after assignments */
4451 if (!omc_Expression_isZero(threadData, _e1)) goto tmp2_end;
4452#line 5200 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4453 tmpMeta[0] = _e1;
4454#line 4454 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4455 goto tmp2_done;
4456 }
4457 case 7: {
4458 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,6,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp2_end;
4459
4460 _e1 = tmp3_2;
4461 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
4462 /* Check guard condition after assignments */
4463 if (!omc_Expression_isZero(threadData, _e1)) goto tmp2_end;
4464#line 5203 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4465 tmpMeta[0] = _e1;
4466#line 4466 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4467 goto tmp2_done;
4468 }
4469 case 8: {
4470 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
4471 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,7,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((3 +1) <<
10) + (((7 +3) & 255) << 2)))
== 0) goto tmp2_end;
4472 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
4473 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
4474 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 tmp2_end;
4475 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
4476 _e1 = tmpMeta[1];
4477 _op = tmpMeta[2];
4478 _e2 = tmpMeta[3];
4479 tmp3 += 10; /* Pattern matching succeeded; we may skip some cases if we fail */
4480#line 5206 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4481 tmpMeta[1] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, _e2, _op, _e1);
4482#line 5206 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4483 tmpMeta[0] = tmpMeta[1];
4484#line 4484 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4485 goto tmp2_done;
4486 }
4487 case 9: {
4488 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,6,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp2_end;
4489 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,7,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((3 +1) <<
10) + (((7 +3) & 255) << 2)))
== 0) goto tmp2_end;
4490 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
4491 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
4492 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],8,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((8 +3) & 255) << 2)))
== 0) goto tmp2_end;
4493 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
4494 _e1 = tmpMeta[1];
4495 _op = tmpMeta[2];
4496 _e2 = tmpMeta[3];
4497 tmp3 += 9; /* Pattern matching succeeded; we may skip some cases if we fail */
4498#line 5208 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4499 tmpMeta[1] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, _e2, _op, _e1);
4500#line 5208 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4501 tmpMeta[0] = tmpMeta[1];
4502#line 4502 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4503 goto tmp2_done;
4504 }
4505 case 10: {
4506 modelica_boolean tmp7;
4507 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
4508 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,7,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((3 +1) <<
10) + (((7 +3) & 255) << 2)))
== 0) goto tmp2_end;
4509 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
4510 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
4511 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],0,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
4512 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
4513 _op2 = tmp3_1;
4514 _e1 = tmpMeta[1];
4515 _op = tmpMeta[2];
4516 _e2 = tmpMeta[3];
4517 tmp3 += 8; /* Pattern matching succeeded; we may skip some cases if we fail */
4518#line 5212 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4519 /* Pattern-matching tuple assignment */
4520#line 5212 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4521 tmpMeta[1] = mmc_mk_box3(11, &DAE_Exp_UNARY__desc, _op2, _e1);
4522#line 5212 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4523 tmpMeta[2] = mmc_mk_box3(11, &DAE_Exp_UNARY__desc, _op2, _e2);
4524#line 5212 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4525 tmpMeta[3] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, tmpMeta[1], _op, tmpMeta[2]);
4526#line 5212 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4527 tmpMeta[4] = omc_ExpressionSimplify_simplify1(threadData, tmpMeta[3], &tmp7);
4528#line 5212 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4529 _e_1 = tmpMeta[4];
4530#line 5212 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4531 if (1 != tmp7) goto goto_1;
4532#line 4532 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4533#line 5213 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4534 tmpMeta[0] = _e_1;
4535#line 4535 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4536 goto tmp2_done;
4537 }
4538 case 11: {
4539 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,6,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp2_end;
4540 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,7,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((3 +1) <<
10) + (((7 +3) & 255) << 2)))
== 0) goto tmp2_end;
4541 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
4542 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
4543 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],7,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((7 +3) & 255) << 2)))
== 0) goto tmp2_end;
4544 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
4545 _op2 = tmp3_1;
4546 _e1 = tmpMeta[1];
4547 _op = tmpMeta[2];
4548 _e2 = tmpMeta[3];
4549 tmp3 += 7; /* Pattern matching succeeded; we may skip some cases if we fail */
4550#line 5215 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4551 tmpMeta[1] = mmc_mk_box3(11, &DAE_Exp_UNARY__desc, _op2, _e1);
4552#line 5215 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4553 tmpMeta[2] = mmc_mk_box3(11, &DAE_Exp_UNARY__desc, _op2, _e2);
4554#line 5215 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4555 tmpMeta[3] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, tmpMeta[1], _op, tmpMeta[2]);
4556#line 5215 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4557 tmpMeta[0] = tmpMeta[3];
4558#line 4558 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4559 goto tmp2_done;
4560 }
4561 case 12: {
4562 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
4563 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,7,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((3 +1) <<
10) + (((7 +3) & 255) << 2)))
== 0) goto tmp2_end;
4564 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
4565 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
4566 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],3,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((3 +3) & 255) << 2)))
== 0) goto tmp2_end;
4567 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
4568 _op2 = tmp3_1;
4569 _e1 = tmpMeta[1];
4570 _op = tmpMeta[2];
4571 _e2 = tmpMeta[3];
4572 tmp3 += 6; /* Pattern matching succeeded; we may skip some cases if we fail */
4573#line 5218 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4574 tmpMeta[1] = mmc_mk_box3(11, &DAE_Exp_UNARY__desc, _op2, _e1);
4575#line 5218 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4576 tmpMeta[2] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, tmpMeta[1], _op, _e2);
4577#line 5218 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4578 tmpMeta[0] = tmpMeta[2];
4579#line 4579 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4580 goto tmp2_done;
4581 }
4582 case 13: {
4583 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,6,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp2_end;
4584 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,7,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((3 +1) <<
10) + (((7 +3) & 255) << 2)))
== 0) goto tmp2_end;
4585 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
4586 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
4587 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[2],10,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))==(((1 +1)
<< 10) + (((10 +3) & 255) << 2)))
== 0) goto tmp2_end;
4588 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
4589 _op2 = tmp3_1;
4590 _e1 = tmpMeta[1];
4591 _op = tmpMeta[2];
4592 _e2 = tmpMeta[3];
4593 tmp3 += 5; /* Pattern matching succeeded; we may skip some cases if we fail */
4594#line 5220 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4595 tmpMeta[1] = mmc_mk_box3(11, &DAE_Exp_UNARY__desc, _op2, _e1);
4596#line 5220 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4597 tmpMeta[2] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, tmpMeta[1], _op, _e2);
4598#line 5220 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4599 tmpMeta[0] = tmpMeta[2];
4600#line 4600 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4601 goto tmp2_done;
4602 }
4603 case 14: {
4604 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
4605 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,8,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((2 +1) <<
10) + (((8 +3) & 255) << 2)))
== 0) goto tmp2_end;
4606 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
4607 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],5,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((1 +1)
<< 10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
4608 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
4609 _e1 = tmpMeta[2];
4610 tmp3 += 4; /* Pattern matching succeeded; we may skip some cases if we fail */
4611#line 5223 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4612 tmpMeta[0] = _e1;
4613#line 4613 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4614 goto tmp2_done;
4615 }
4616 case 15: {
4617 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,6,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp2_end;
4618 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,8,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((2 +1) <<
10) + (((8 +3) & 255) << 2)))
== 0) goto tmp2_end;
4619 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
4620 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],6,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((1 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp2_end;
4621 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
4622 _e1 = tmpMeta[2];
4623 tmp3 += 3; /* Pattern matching succeeded; we may skip some cases if we fail */
4624#line 5225 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4625 tmpMeta[0] = _e1;
4626#line 4626 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4627 goto tmp2_done;
4628 }
4629 case 16: {
4630 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,5,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((5 +3) & 255) << 2)))
== 0) goto tmp2_end;
4631 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,13,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((3 +1) <<
10) + (((13 +3) & 255) << 2)))
== 0) goto tmp2_end;
4632 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
4633 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[1],1,1)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[1]) - 3)))==(((1 +1)
<< 10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
4634 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
4635 if (10 != MMC_STRLEN(tmpMeta[2])(((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[2]) - 3)))) >>
(3)) - 8))
|| strcmp(MMC_STRINGDATA(_OMC_LIT21)(((struct mmc_string*)((void*)((char*)(((void*)((char*)(&
(_OMC_LIT_STRUCT21).header) + 3))) - 3)))->data)
, MMC_STRINGDATA(tmpMeta[2])(((struct mmc_string*)((void*)((char*)(tmpMeta[2]) - 3)))->
data)
) != 0) goto tmp2_end;
4636 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
4637 if (listEmpty(tmpMeta[3])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
4638 tmpMeta[4] = MMC_CAR(tmpMeta[3])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (1)))))
;
4639 tmpMeta[5] = MMC_CDR(tmpMeta[3])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
4640 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[4],8,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[4]) - 3)))==(((2 +1)
<< 10) + (((8 +3) & 255) << 2)))
== 0) goto tmp2_end;
4641 tmpMeta[6] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[4]), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[4]) - 3
))) + (3)))))
;
4642 if (listEmpty(tmpMeta[5])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
4643 tmpMeta[7] = MMC_CAR(tmpMeta[5])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (1)))))
;
4644 tmpMeta[8] = MMC_CDR(tmpMeta[5])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[5]) - 3
))) + (2)))))
;
4645 if (listEmpty(tmpMeta[8])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[8]) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
4646 tmpMeta[9] = MMC_CAR(tmpMeta[8])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (1)))))
;
4647 tmpMeta[10] = MMC_CDR(tmpMeta[8])(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[8]) - 3
))) + (2)))))
;
4648 if (!listEmpty(tmpMeta[10])((*(mmc_uint_t*)((void*)((char*)(tmpMeta[10]) - 3))) == (((0)
<< 10) + (((0) & 255) << 2)))
) goto tmp2_end;
4649 tmpMeta[11] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
4650 _path = tmpMeta[1];
4651 _e1 = tmpMeta[6];
4652 _e2 = tmpMeta[7];
4653 _e3 = tmpMeta[9];
4654 _attr = tmpMeta[11];
4655 tmp3 += 2; /* Pattern matching succeeded; we may skip some cases if we fail */
4656#line 5228 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4657 tmpMeta[1] = mmc_mk_cons(_e1, mmc_mk_cons(_e3, mmc_mk_cons(_e2, MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)))));
4658#line 5228 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4659 tmpMeta[2] = mmc_mk_box4(16, &DAE_Exp_CALL__desc, _path, tmpMeta[1], _attr);
4660#line 5228 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4661 tmpMeta[0] = tmpMeta[2];
4662#line 4662 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4663 goto tmp2_done;
4664 }
4665 case 17: {
4666 modelica_integer tmp8;
4667 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,6,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp2_end;
4668 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,16,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((3 +1) <<
10) + (((16 +3) & 255) << 2)))
== 0) goto tmp2_end;
4669 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
4670 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
4671 tmp8 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
4672 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
4673 _ty1 = tmpMeta[1];
4674 _b1 = tmp8 /* pattern as ty=Boolean */;
4675 _expl = tmpMeta[3];
4676 tmp3 += 1; /* Pattern matching succeeded; we may skip some cases if we fail */
4677#line 5232 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4678 _expl = omc_List_map(threadData, _expl, boxvar_Expression_negate((void*)((char*)(&(boxvar_lit_Expression_negate).header) +
3))
);
4679#line 4679 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4680#line 5233 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4681 tmpMeta[1] = mmc_mk_box4(19, &DAE_Exp_ARRAY__desc, _ty1, mmc_mk_boolean(_b1)((_b1) != 0 ? (mmc_mk_icon(1)) : (mmc_mk_icon(0))), _expl);
4682#line 5233 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4683 tmpMeta[0] = tmpMeta[1];
4684#line 4684 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4685 goto tmp2_done;
4686 }
4687 case 18: {
4688 modelica_integer tmp9;
4689 if (mmc__uniontype__metarecord__typedef__equal(tmp3_1,6,1)((*(mmc_uint_t*)((void*)((char*)(tmp3_1) - 3)))==(((1 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp2_end;
4690 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,17,3)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((3 +1) <<
10) + (((17 +3) & 255) << 2)))
== 0) goto tmp2_end;
4691 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
4692 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
4693 tmp9 = mmc_unbox_integer(tmpMeta[2])(((mmc_sint_t) (tmpMeta[2])) >> 1);
4694 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(4)))))
;
4695 _ty1 = tmpMeta[1];
4696 _i = tmp9 /* pattern as ty=Integer */;
4697 _mat = tmpMeta[3];
4698 /* Pattern matching succeeded */
4699#line 5238 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4700 _mat = omc_List_mapList(threadData, _mat, boxvar_Expression_negate((void*)((char*)(&(boxvar_lit_Expression_negate).header) +
3))
);
4701#line 4701 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4702#line 5239 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4703 tmpMeta[1] = mmc_mk_box4(20, &DAE_Exp_MATRIX__desc, _ty1, mmc_mk_integermmc_mk_icon(_i), _mat);
4704#line 5239 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4705 tmpMeta[0] = tmpMeta[1];
4706#line 4706 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4707 goto tmp2_done;
4708 }
4709 case 19: {
4710
4711 /* Pattern matching succeeded */
4712#line 5242 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4713 tmpMeta[0] = _origExp;
4714#line 4714 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4715 goto tmp2_done;
4716 }
4717 }
4718 goto tmp2_end;
4719 tmp2_end: ;
4720 }
4721 goto goto_1;
4722 tmp2_done:
4723 (void)tmp3;
4724 MMC_RESTORE_INTERNAL(mmc_jumper)threadData->mmc_jumper = old_jumper;;
4725 goto tmp2_done2;
4726 goto_1:;
4727 MMC_CATCH_INTERNAL(mmc_jumper)} threadData->mmc_jumper = old_jumper;mmc_catch_dummy_fn()
;}
;
4728 if (++tmp3 < 20) {
4729 goto tmp2_top;
4730 }
4731 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4732 tmp2_done2:;
4733 }
4734 }
4735 _outExp = tmpMeta[0];
4736 _return: OMC_LABEL_UNUSED__attribute__((unused))
4737 return _outExp;
4738}
4739
4740PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyBinaryDistributePow(threadData_t *threadData, modelica_metatype _inExpLst, modelica_metatype _inExp)
4741{
4742 modelica_metatype _outExpLst = NULL((void*)0);
4743 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
4744 MMC_SO()mmc_check_stackoverflow(threadData);
4745 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4746 // _outExpLst has no default value.
4747#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4748 {
4749#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4750 modelica_metatype _D_24tmpVar13;
4751#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4752 modelica_metatype* tmp1;
4753#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4754 modelica_metatype _D_24tmpVar12;
4755#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4756 int tmp2;
4757#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4758 modelica_metatype _e_loopVar = 0;
4759#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4760 modelica_metatype _e;
4761#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4762 _e_loopVar = _inExpLst;
4763#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4764 tmpMeta[1] = MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3));
4765#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4766 _D_24tmpVar13 = tmpMeta[1]; /* defaultValue */
4767#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4768 tmp1 = &_D_24tmpVar13;
4769#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4770 while(1) {
4771#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4772 tmp2 = 1;
4773#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4774 while (!listEmpty(_e_loopVar)((*(mmc_uint_t*)((void*)((char*)(_e_loopVar) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) {
4775#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4776 _e = MMC_CAR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (1)))))
;
4777#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4778 _e_loopVar = MMC_CDR(_e_loopVar)(*(void**)(((void*)((void**)(((void*)((char*)(_e_loopVar) - 3
))) + (2)))))
;
4779#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4780 if ((!omc_Expression_isConstOne(threadData, _e))) {
4781#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4782 tmp2--;
4783#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4784 break;
4785#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4786 }
4787#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4788 }
4789#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4790 if (tmp2 == 0) {
4791#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4792 tmpMeta[2] = mmc_mk_box2(7, &DAE_Operator_POW__desc, omc_Expression_typeof(threadData, _e));
4793#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4794 tmpMeta[3] = mmc_mk_box4(10, &DAE_Exp_BINARY__desc, _e, tmpMeta[2], _inExp);
4795#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4796 _D_24tmpVar12 = tmpMeta[3];
4797#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4798 *tmp1 = mmc_mk_cons(_D_24tmpVar12,0);
4799#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4800 tmp1 = &MMC_CDR(*tmp1)(*(void**)(((void*)((void**)(((void*)((char*)(*tmp1) - 3))) +
(2)))))
;
4801#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4802 } else if (tmp2 == 1) {
4803#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4804 break;
4805#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4806 } else {
4807#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4808 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
4809#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4810 }
4811#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4812 }
4813#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4814 *tmp1 = mmc_mk_nil()((void*)((char*)(&(mmc_nil).header) + 3));
4815#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4816 tmpMeta[0] = _D_24tmpVar13;
4817#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4818 }
4819#line 5145 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4820 _outExpLst = tmpMeta[0];
4821#line 4821 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4822 _return: OMC_LABEL_UNUSED__attribute__((unused))
4823 return _outExpLst;
4824}
4825
4826PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyRelation2(threadData_t *threadData, modelica_metatype _origExp, modelica_metatype _inOp, modelica_metatype _lhs, modelica_metatype _rhs, modelica_integer _index, modelica_metatype _optionExpisASUB, modelica_fnptr _isPositive)
4827{
4828 modelica_metatype _oExp = NULL((void*)0);
4829 modelica_boolean _b;
4830 modelica_metatype _tp = NULL((void*)0);
4831 MMC_SO()mmc_check_stackoverflow(threadData);
4832 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
4833 // _oExp has no default value.
4834 // _b has no default value.
4835 // _tp has no default value.
4836#line 5114 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4837 _oExp = omc_Expression_expSub(threadData, _lhs, _rhs);
4838#line 4838 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4839
4840#line 5115 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4841 _oExp = omc_ExpressionSimplify_simplify(threadData, _oExp ,&_b);
4842#line 4842 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4843
4844#line 5116 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4845 if((omc_Expression_isGreatereqOrLesseq(threadData, _inOp) && mmc_unbox_boolean((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_isPositive), 2))) ? ((modelica_metatype(*)(threadData_t*, modelica_metatype, modelica_metatype)) (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_isPositive), 1)))) (threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_isPositive), 2))), _oExp) : ((modelica_metatype(*)(threadData_t*, modelica_metatype)) (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_isPositive), 1)))) (threadData, _oExp))(((mmc_sint_t) (((*(void**)(((void*)((void**)(((void*)((char*
)(_isPositive) - 3))) + (2)))))) ? ((modelica_metatype(*)(threadData_t
*, modelica_metatype, modelica_metatype)) ((*(void**)(((void*
)((void**)(((void*)((char*)(_isPositive) - 3))) + (1))))))) (
threadData, ((*(void**)(((void*)((void**)(((void*)((char*)(_isPositive
) - 3))) + (2)))))), _oExp) : ((modelica_metatype(*)(threadData_t
*, modelica_metatype)) ((*(void**)(((void*)((void**)(((void*)
((char*)(_isPositive) - 3))) + (1))))))) (threadData, _oExp))
) >> 1)
))
4846#line 5116 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4847 {
4848#line 5117 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4849 _oExp = _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3));
4850#line 4850 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4851 }
4852 else
4853 {
4854#line 5126 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4855 if(omc_Expression_isGreatereqOrLesseq(threadData, _inOp))
4856#line 5126 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4857 {
4858#line 5127 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4859 _oExp = _origExp;
4860#line 4860 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4861 }
4862 else
4863 {
4864#line 5129 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4865 _oExp = omc_Expression_negate(threadData, _oExp);
4866#line 4866 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4867
4868#line 5130 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4869 _oExp = omc_ExpressionSimplify_simplify(threadData, _oExp, NULL((void*)0));
4870#line 4870 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4871
4872#line 5131 "/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/FrontEnd/ExpressionSimplify.mo"
4873 _oExp = (mmc_unbox_boolean((MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_isPositive), 2))) ? ((modelica_metatype(*)(threadData_t*, modelica_metatype, modelica_metatype)) (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_isPositive), 1)))) (threadData, (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_isPositive), 2))), _oExp) : ((modelica_metatype(*)(threadData_t*, modelica_metatype)) (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(_isPositive), 1)))) (threadData, _oExp))(((mmc_sint_t) (((*(void**)(((void*)((void**)(((void*)((char*
)(_isPositive) - 3))) + (2)))))) ? ((modelica_metatype(*)(threadData_t
*, modelica_metatype, modelica_metatype)) ((*(void**)(((void*
)((void**)(((void*)((char*)(_isPositive) - 3))) + (1))))))) (
threadData, ((*(void**)(((void*)((void**)(((void*)((char*)(_isPositive
) - 3))) + (2)))))), _oExp) : ((modelica_metatype(*)(threadData_t
*, modelica_metatype)) ((*(void**)(((void*)((void**)(((void*)
((char*)(_isPositive) - 3))) + (1))))))) (threadData, _oExp))
) >> 1)
?_OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)):_origExp);
4874#line 4874 OMC_FILE"/var/lib/jenkins1/ws/ins.slow_JKRT-OMSens-minor-fixes/OMCompiler/Compiler/boot/build/tmp/ExpressionSimplify.c"
4875 }
4876 }
4877 _return: OMC_LABEL_UNUSED__attribute__((unused))
4878 return _oExp;
4879}
4880PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_ExpressionSimplify_simplifyRelation2(threadData_t *threadData, modelica_metatype _origExp, modelica_metatype _inOp, modelica_metatype _lhs, modelica_metatype _rhs, modelica_metatype _index, modelica_metatype _optionExpisASUB, modelica_fnptr _isPositive)
4881{
4882 modelica_integer tmp1;
4883 modelica_metatype _oExp = NULL((void*)0);
4884 tmp1 = mmc_unbox_integer(_index)(((mmc_sint_t) (_index)) >> 1);
4885 _oExp = omc_ExpressionSimplify_simplifyRelation2(threadData, _origExp, _inOp, _lhs, _rhs, tmp1, _optionExpisASUB, _isPositive);
4886 /* skip box _oExp; DAE.Exp */
4887 return _oExp;
4888}
4889
4890PROTECTED_FUNCTION_STATIC modelica_metatype omc_ExpressionSimplify_simplifyRelation(threadData_t *threadData, modelica_metatype _origExp, modelica_metatype _inOperator2, modelica_metatype _inExp3, modelica_metatype _inExp4, modelica_integer _index, modelica_metatype _optionExpisASUB)