Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.HalfAdder,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_HalfAdder",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.789/1.789, allocations: 171.2 MB / 178.1 MB, free: 8.281 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.25/2.039, allocations: 41.09 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/2.171, allocations: 38.77 MB / 258 MB, free: 4.355 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2877/2.458, allocations: 73.25 MB / 331.3 MB, free: 14.77 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/2.459, allocations: 69.66 kB / 331.3 MB, free: 14.73 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.1355/2.594, allocations: 34.62 MB / 366 MB, free: 1.578 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/2.594, allocations: 8 kB / 366 MB, free: 1.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003171/2.595, allocations: 82.97 kB / 366 MB, free: 1.488 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/2.596, allocations: 415.6 kB / 366.4 MB, free: 1.043 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.943e-05/2.596, allocations: 8 kB / 366.5 MB, free: 1.035 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.371e-05/2.596, allocations: 16 kB / 366.5 MB, free: 1.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007262/2.597, allocations: 195.9 kB / 366.7 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007939/2.597, allocations: 273.5 kB / 366.9 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/2.597, allocations: 0 / 366.9 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.088e-05/2.598, allocations: 8 kB / 366.9 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/2.598, allocations: 4 kB / 366.9 MB, free: 0.543 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002942/2.6, allocations: 0.8478 MB / 367.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006534/2.601, allocations: 202.5 kB / 368 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003937/2.602, allocations: 148.8 kB / 368.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.096e-05/2.602, allocations: 12.03 kB / 368.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006532/2.602, allocations: 338 kB / 368.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 4.138e-06/2.602, allocations: 0 / 368.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.001191/2.604, allocations: 356.5 kB / 368.8 MB, free: 14.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/2.604, allocations: 174.2 kB / 369 MB, free: 14.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003172/2.607, allocations: 0.8393 MB / 369.8 MB, free: 13.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002347/2.607, allocations: 33.7 kB / 369.9 MB, free: 13.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/2.607, allocations: 129.8 kB / 370 MB, free: 13.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/2.608, allocations: 59.27 kB / 370 MB, free: 13.28 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.782e-05/2.608, allocations: 4 kB / 370.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000308/2.608, allocations: 334.8 kB / 370.4 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000639/2.609, allocations: 112 kB / 370.5 MB, free: 12.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007872/2.61, allocations: 146.5 kB / 370.6 MB, free: 12.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005614/2.61, allocations: 99.84 kB / 370.7 MB, free: 12.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/2.61, allocations: 4 kB / 370.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001653/2.612, allocations: 337.2 kB / 371.1 MB, free: 12.24 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/2.612, allocations: 4 kB / 371.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/2.612, allocations: 4 kB / 371.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/2.612, allocations: 3.906 kB / 371.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/2.612, allocations: 19.92 kB / 371.1 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/2.612, allocations: 3.984 kB / 371.1 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009684/2.613, allocations: 31.88 kB / 371.1 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003379/2.614, allocations: 111.9 kB / 371.2 MB, free: 12.06 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 28 (a.y,b.y,Adder.AND.G1.auxiliary_n,Adder.XOR.G1.auxiliary_n,$whenCondition1,$whenCondition2,$PRE.Adder.XOR.G1.auxiliary_n,$PRE.Adder.XOR.G2.x,Adder.XOR.G2.x,$PRE.Adder.XOR.G2.y,Adder.XOR.G2.y,Adder.XOR.G2.delayTime,Adder.XOR.G2.y_auxiliary,Adder.XOR.G2.y_old,Adder.XOR.G2.lh,Adder.XOR.G2.t_next,$whenCondition3,$whenCondition4,$PRE.Adder.AND.G1.auxiliary_n,$PRE.Adder.AND.G2.x,Adder.AND.G2.x,$PRE.Adder.AND.G2.y,Adder.AND.G2.y,Adder.AND.G2.delayTime,Adder.AND.G2.y_auxiliary,Adder.AND.G2.y_old,Adder.AND.G2.lh,Adder.AND.G2.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006672/2.614, allocations: 266.3 kB / 371.5 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003422/2.615, allocations: 79.06 kB / 371.6 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006532/2.615, allocations: 126.3 kB / 371.7 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/2.615, allocations: 0 / 371.7 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/2.615, allocations: 0 / 371.7 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/2.616, allocations: 12.02 kB / 371.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/2.618, allocations: 0.5834 MB / 372.3 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/2.618, allocations: 0 / 372.3 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/2.618, allocations: 11.98 kB / 372.3 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.337e-05/2.618, allocations: 0 / 372.3 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002054/2.618, allocations: 28.11 kB / 372.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.295e-06/2.618, allocations: 4 kB / 372.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/2.618, allocations: 0 / 372.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001811/2.62, allocations: 431.8 kB / 372.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001959/2.622, allocations: 0.795 MB / 373.6 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002204/2.625, allocations: 0.5035 MB / 374.1 MB, free: 9.105 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003536/2.625, allocations: 24.08 kB / 374.1 MB, free: 9.082 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007812/2.626, allocations: 35.86 kB / 374.1 MB, free: 9.047 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003809/2.626, allocations: 59.78 kB / 374.2 MB, free: 8.988 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003197/2.627, allocations: 119.9 kB / 374.3 MB, free: 8.871 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.002799/2.629, allocations: 0.69 MB / 375 MB, free: 8.184 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002396/2.632, allocations: 72 kB / 375 MB, free: 8.113 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,a.y,b.y,Adder.AND.G1.auxiliary_n,Adder.AND.G2.x,Adder.AND.G2.y,Adder.AND.G2.delayTime,Adder.AND.G2.y_auxiliary,Adder.AND.G2.y_old,Adder.AND.G2.lh,Adder.AND.G2.t_next,Adder.XOR.G1.auxiliary_n,Adder.XOR.G2.x,Adder.XOR.G2.y,Adder.XOR.G2.delayTime,Adder.XOR.G2.y_auxiliary,Adder.XOR.G2.y_old,Adder.XOR.G2.lh,Adder.XOR.G2.t_next) * Number of discrete states: 22 (Adder.XOR.G2.y,Adder.XOR.G2.y_auxiliary,Adder.XOR.G2.t_next,Adder.XOR.G2.delayTime,Adder.XOR.G2.lh,Adder.XOR.G2.y_old,$whenCondition2,$whenCondition1,Adder.XOR.G2.x,Adder.XOR.G1.auxiliary_n,Adder.AND.G2.y,Adder.AND.G2.y_auxiliary,Adder.AND.G2.t_next,Adder.AND.G2.delayTime,Adder.AND.G2.lh,Adder.AND.G2.y_old,$whenCondition4,$whenCondition3,Adder.AND.G2.x,Adder.AND.G1.auxiliary_n,b.y,a.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000536/2.633, allocations: 134.8 kB / 375.2 MB, free: 7.973 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001625/2.634, allocations: 418.7 kB / 375.6 MB, free: 7.539 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.862e-06/2.634, allocations: 0 / 375.6 MB, free: 7.539 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001243/2.635, allocations: 422.7 kB / 376 MB, free: 7.102 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/2.637, allocations: 163.1 kB / 376.2 MB, free: 6.941 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003691/2.641, allocations: 1.055 MB / 377.2 MB, free: 5.848 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001978/2.643, allocations: 1.142 MB / 378.4 MB, free: 4.676 MB / 314.7 MB Notification: Performance of SimCode: time 1.423e-06/2.643, allocations: 0 / 378.4 MB, free: 4.676 MB / 314.7 MB