Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BooleanNetwork1,fileNamePrefix="Modelica_3_2_1_Modelica_Blocks_Examples_BooleanNetwork1",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.732/1.732, allocations: 171.2 MB / 178.1 MB, free: 8.281 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2502/1.982, allocations: 41.09 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/2.085, allocations: 38.76 MB / 258 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3151/2.4, allocations: 69.35 MB / 327.4 MB, free: 2.648 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003658/2.401, allocations: 67.28 kB / 327.4 MB, free: 2.617 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.02572/2.426, allocations: 5.333 MB / 332.8 MB, free: 13.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/2.426, allocations: 16 kB / 332.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/2.427, allocations: 47.44 kB / 332.8 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006092/2.427, allocations: 293.2 kB / 333.1 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.472e-05/2.427, allocations: 42.36 kB / 333.1 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.221e-05/2.427, allocations: 24 kB / 333.2 MB, free: 13.51 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006756/2.428, allocations: 214.8 kB / 333.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008163/2.429, allocations: 355.9 kB / 333.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/2.429, allocations: 0 / 333.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.832e-05/2.429, allocations: 4 kB / 333.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.982e-05/2.429, allocations: 16.38 kB / 333.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002764/2.432, allocations: 1.507 MB / 335.3 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005723/2.433, allocations: 239.7 kB / 335.5 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/2.433, allocations: 124 kB / 335.6 MB, free: 11.29 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.473e-05/2.433, allocations: 8 kB / 335.6 MB, free: 11.28 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005453/2.433, allocations: 331.2 kB / 335.9 MB, free: 10.96 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 3.015e-06/2.434, allocations: 0 / 335.9 MB, free: 10.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001099/2.435, allocations: 289.3 kB / 336.2 MB, free: 10.72 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/2.435, allocations: 191.6 kB / 336.4 MB, free: 10.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004041/2.435, allocations: 245.9 kB / 336.6 MB, free: 10.29 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.301e-05/2.435, allocations: 29.7 kB / 336.7 MB, free: 10.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/2.435, allocations: 174.1 kB / 336.8 MB, free: 10.1 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.884e-05/2.436, allocations: 72.19 kB / 336.9 MB, free: 10.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/2.436, allocations: 0 / 336.9 MB, free: 10.04 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001969/2.436, allocations: 345.2 kB / 337.3 MB, free: 9.707 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/2.436, allocations: 98.17 kB / 337.4 MB, free: 9.645 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004154/2.437, allocations: 225.7 kB / 337.6 MB, free: 9.422 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005811/2.437, allocations: 129.2 kB / 337.7 MB, free: 9.324 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/2.437, allocations: 4 kB / 337.7 MB, free: 9.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001205/2.438, allocations: 383.5 kB / 338.1 MB, free: 9.004 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/2.438, allocations: 4 kB / 338.1 MB, free: 9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/2.438, allocations: 4 kB / 338.1 MB, free: 8.996 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/2.438, allocations: 4 kB / 338.1 MB, free: 8.992 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/2.439, allocations: 31.73 kB / 338.1 MB, free: 8.965 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/2.439, allocations: 11.94 kB / 338.1 MB, free: 8.953 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004131/2.439, allocations: 32.19 kB / 338.2 MB, free: 8.922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.076e-05/2.439, allocations: 23.81 kB / 338.2 MB, free: 8.902 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.onDelay.u,$PRE.onDelay.t_next,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition5,$whenCondition4,rSFlipFlop.Q,rSFlipFlop.QI,$PRE.rSFlipFlop.pre.u,rSFlipFlop.pre.u,rSFlipFlop.S,rSFlipFlop.R,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.u,onDelay.y,onDelay.delaySignal,onDelay.t_next,$PRE.booleanTable.y,booleanTable.y,$PRE.booleanTable.nextTime,booleanTable.nextTime,$PRE.booleanTable.index,booleanTable.index,triggeredAdd.local_set,triggeredAdd.local_reset,$whenCondition6,and1.u[1],and1.u[2],$PRE.booleanPulse1.pulsStart,booleanPulse1.pulsStart,$PRE.booleanPulse2.pulsStart,booleanPulse2.pulsStart,or1.u[1],xor1.u[1],nand1.u[1],or2.u[1],nor1.y,$PRE.rising.u,rising.u,set1.u[1],set1.u[2],$PRE.set1.y,set1.y,set1.firstActiveIndex,$PRE.falling.not_u,falling.not_u,$PRE.changing.u,changing.u,changing.y,set1.expr[1],set1.expr[2],showValue6.active,showValue5.active,showValue1.number,showValue4.active,showValue3.active,showValue2.active,showValue.active) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 3 * 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.0003041/2.44, allocations: 214.8 kB / 338.4 MB, free: 8.684 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.697e-05/2.44, allocations: 31.62 kB / 338.4 MB, free: 8.652 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009076/2.441, allocations: 221.7 kB / 338.6 MB, free: 8.477 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/2.441, allocations: 4 kB / 338.6 MB, free: 8.473 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/2.441, allocations: 7.906 kB / 338.7 MB, free: 8.465 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/2.441, allocations: 0 / 338.7 MB, free: 8.465 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/2.443, allocations: 0.8179 MB / 339.5 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/2.443, allocations: 4 kB / 339.5 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.353e-05/2.443, allocations: 15.88 kB / 339.5 MB, free: 7.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.416e-05/2.443, allocations: 4 kB / 339.5 MB, free: 7.707 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.197e-05/2.443, allocations: 11.05 kB / 339.5 MB, free: 7.699 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.094e-06/2.443, allocations: 4 kB / 339.5 MB, free: 7.695 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/2.443, allocations: 96 / 339.5 MB, free: 7.695 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001105/2.444, allocations: 0.5158 MB / 340 MB, free: 7.219 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001196/2.445, allocations: 0.8838 MB / 340.9 MB, free: 6.367 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/2.446, allocations: 100.7 kB / 341 MB, free: 6.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/2.446, allocations: 11.38 kB / 341 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004658/2.446, allocations: 31.97 kB / 341 MB, free: 6.211 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/2.446, allocations: 34.42 kB / 341.1 MB, free: 6.184 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.143e-05/2.446, allocations: 18.98 kB / 341.1 MB, free: 6.168 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0002326/2.447, allocations: 158.7 kB / 341.3 MB, free: 6.035 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.003089/2.45, allocations: 99.41 kB / 341.4 MB, free: 5.941 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 38 (onDelay.u,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.y,onDelay.delaySignal,onDelay.t_next,booleanTable.y,booleanTable.nextTime,booleanTable.index,rSFlipFlop.Q,rSFlipFlop.QI,rSFlipFlop.pre.u,rSFlipFlop.S,rSFlipFlop.R,nor1.y,or2.u[1],changing.y,$cse1,$cse2,$whenCondition6,$whenCondition5,$whenCondition4,and1.u[1],and1.u[2],booleanPulse1.pulsStart,booleanPulse2.pulsStart,or1.u[1],xor1.u[1],nand1.u[1],rising.u,set1.u[1],set1.u[2],set1.y,set1.firstActiveIndex,falling.not_u,changing.u,triggeredAdd.y) * Number of discrete states: 14 (rising.u,falling.not_u,set1.y,changing.u,triggeredAdd.y,rSFlipFlop.pre.u,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition3,onDelay.t_next,onDelay.delaySignal,$whenCondition2,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 3 * 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.0005769/2.45, allocations: 153.1 kB / 341.5 MB, free: 5.785 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009838/2.451, allocations: 376 kB / 341.9 MB, free: 5.477 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/2.451, allocations: 0 / 341.9 MB, free: 5.477 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000553/2.452, allocations: 241.8 kB / 342.1 MB, free: 5.289 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008245/2.453, allocations: 39.53 kB / 342.1 MB, free: 5.258 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/2.455, allocations: 457.8 kB / 342.6 MB, free: 4.836 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/2.456, allocations: 0.8378 MB / 343.4 MB, free: 3.977 MB / 282.7 MB Notification: Performance of SimCode: time 2.745e-06/2.456, allocations: 0 / 343.4 MB, free: 3.977 MB / 282.7 MB