Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.FlipFlop,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_FlipFlop",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.754/1.754, allocations: 171.2 MB / 178.1 MB, free: 8.285 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1894/1.943, allocations: 41.1 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09238/2.036, allocations: 38.76 MB / 258 MB, free: 4.371 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2978/2.334, allocations: 72.55 MB / 330.6 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/2.334, allocations: 70.78 kB / 330.6 MB, free: 15.4 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.1483/2.482, allocations: 42.6 MB / 373.2 MB, free: 10.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/2.482, allocations: 11.98 kB / 373.2 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002574/2.483, allocations: 47.44 kB / 373.3 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008096/2.483, allocations: 346.7 kB / 373.6 MB, free: 9.938 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/2.483, allocations: 12 kB / 373.6 MB, free: 9.926 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/2.484, allocations: 20 kB / 373.7 MB, free: 9.906 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001139/2.485, allocations: 337.2 kB / 374 MB, free: 9.578 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/2.486, allocations: 428.5 kB / 374.4 MB, free: 9.148 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/2.486, allocations: 3.984 kB / 374.4 MB, free: 9.145 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/2.486, allocations: 4 kB / 374.4 MB, free: 9.141 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/2.486, allocations: 12 kB / 374.4 MB, free: 9.129 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003078/2.489, allocations: 1.006 MB / 375.4 MB, free: 8.086 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/2.491, allocations: 382.8 kB / 375.8 MB, free: 7.703 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004188/2.491, allocations: 144.8 kB / 375.9 MB, free: 7.559 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.835e-05/2.491, allocations: 4 kB / 375.9 MB, free: 7.555 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006909/2.492, allocations: 301.1 kB / 376.2 MB, free: 7.246 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 3.967e-06/2.492, allocations: 4 kB / 376.2 MB, free: 7.242 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.001355/2.493, allocations: 434.9 kB / 376.7 MB, free: 6.812 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.726e-05/2.493, allocations: 118.8 kB / 376.8 MB, free: 6.672 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005072/2.494, allocations: 260.8 kB / 377 MB, free: 6.414 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001114/2.494, allocations: 33.7 kB / 377.1 MB, free: 6.375 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/2.494, allocations: 148.7 kB / 377.2 MB, free: 6.223 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/2.494, allocations: 71.11 kB / 377.3 MB, free: 6.152 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.223e-05/2.495, allocations: 3.984 kB / 377.3 MB, free: 6.148 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/2.495, allocations: 342.8 kB / 377.6 MB, free: 5.805 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004581/2.495, allocations: 148.7 kB / 377.8 MB, free: 5.656 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005041/2.496, allocations: 197.4 kB / 378 MB, free: 5.449 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/2.496, allocations: 167.8 kB / 378.1 MB, free: 5.285 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/2.496, allocations: 4 kB / 378.1 MB, free: 5.281 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001782/2.498, allocations: 500 kB / 378.6 MB, free: 4.789 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/2.498, allocations: 8.031 kB / 378.6 MB, free: 4.781 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/2.498, allocations: 4 kB / 378.6 MB, free: 4.777 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/2.498, allocations: 3.938 kB / 378.6 MB, free: 4.773 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003846/2.499, allocations: 55.91 kB / 378.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/2.499, allocations: 4 kB / 378.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009303/2.5, allocations: 43.86 kB / 378.7 MB, free: 4.672 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006723/2.5, allocations: 279.7 kB / 379 MB, free: 4.398 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition1,FF.RS2.Nor2.x[2],FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.auxiliary_n,$PRE.FF.RS2.TD1.x,FF.RS2.TD1.x_delayed,FF.And2.y,$PRE.FF.And2.auxiliary_n,FF.RS1.Nor2.x[2],FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.auxiliary_n,$PRE.FF.RS1.TD1.x,FF.RS1.TD1.x_delayed,FF.And4.y,$PRE.FF.And4.auxiliary_n,FF.RS2.Nor1.auxiliary[2],$PRE.FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor1.auxiliary_n,$PRE.FF.RS2.Nor2.auxiliary_n,FF.RS2.TD1.x,FF.And1.y,$PRE.FF.And1.auxiliary_n,FF.And3.x[1],FF.And3.x[2],FF.And3.auxiliary_n,FF.And4.auxiliary_n,$PRE.FF.Not1.auxiliary,FF.RS1.Nor1.auxiliary[2],$PRE.FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor1.auxiliary_n,$PRE.FF.RS1.Nor2.auxiliary_n,FF.RS1.TD1.x,FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.y,$PRE.FF.And3.auxiliary_n,FF.Not1.auxiliary,CLK.y,$PRE.CLK.t_i,CLK.t_i,J.y,K.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 2 * 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.0005532/2.501, allocations: 204.1 kB / 379.2 MB, free: 4.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/2.501, allocations: 31.62 kB / 379.2 MB, free: 4.148 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/2.501, allocations: 30.95 kB / 379.3 MB, free: 4.117 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/2.501, allocations: 4 kB / 379.3 MB, free: 4.113 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/2.501, allocations: 4 kB / 379.3 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/2.501, allocations: 4 kB / 379.3 MB, free: 4.105 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/2.503, allocations: 397.9 kB / 379.7 MB, free: 3.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/2.503, allocations: 0 / 379.7 MB, free: 3.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/2.503, allocations: 55.91 kB / 379.7 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.551e-05/2.503, allocations: 4 kB / 379.7 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002075/2.503, allocations: 39.97 kB / 379.8 MB, free: 3.582 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-05/2.504, allocations: 4 kB / 379.8 MB, free: 3.578 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/2.504, allocations: 3.906 kB / 379.8 MB, free: 3.574 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002222/2.506, allocations: 468.4 kB / 380.2 MB, free: 3.098 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002072/2.508, allocations: 0.8348 MB / 381.1 MB, free: 2.242 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008259/2.509, allocations: 196.7 kB / 381.3 MB, free: 2.031 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002916/2.509, allocations: 8 kB / 381.3 MB, free: 2.023 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006542/2.51, allocations: 39.88 kB / 381.3 MB, free: 1.984 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004646/2.51, allocations: 71.92 kB / 381.4 MB, free: 1.914 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005512/2.511, allocations: 287.7 kB / 381.7 MB, free: 1.633 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0003346/2.511, allocations: 189.2 kB / 381.8 MB, free: 1.445 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001584/2.513, allocations: 76 kB / 381.9 MB, free: 1.371 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: 33 ($whenCondition1,FF.RS1.Nor1.auxiliary[2],FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor2.x[2],FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.auxiliary_n,FF.RS1.TD1.x,FF.RS1.TD1.x_delayed,FF.RS2.Nor1.auxiliary[2],FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor2.x[2],FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.auxiliary_n,FF.RS2.TD1.x,FF.RS2.TD1.x_delayed,FF.And1.y,FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.y,FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.x[1],FF.And3.x[2],FF.And3.y,FF.And3.auxiliary_n,FF.And4.y,FF.And4.auxiliary_n,FF.Not1.auxiliary,CLK.y,CLK.t_i,J.y,K.y) * Number of discrete states: 13 (K.y,J.y,FF.Not1.auxiliary,FF.And4.auxiliary_n,FF.And3.auxiliary_n,FF.And2.auxiliary_n,FF.And1.auxiliary_n,FF.RS2.TD1.x,FF.RS2.Nor2.auxiliary_n,FF.RS2.Nor1.auxiliary_n,FF.RS1.TD1.x,FF.RS1.Nor2.auxiliary_n,FF.RS1.Nor1.auxiliary_n) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 1 * 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.0003229/2.513, allocations: 141.7 kB / 382.1 MB, free: 1.223 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001271/2.514, allocations: 451.1 kB / 382.5 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/2.514, allocations: 0 / 382.5 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006751/2.515, allocations: 267.3 kB / 382.8 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/2.517, allocations: 264.6 kB / 383 MB, free: 244 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/2.52, allocations: 0.5258 MB / 383.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003072/2.523, allocations: 1.476 MB / 385 MB, free: 14.18 MB / 330.7 MB Notification: Performance of SimCode: time 1.623e-06/2.523, allocations: 0 / 385 MB, free: 14.18 MB / 330.7 MB