Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BooleanNetwork1,fileNamePrefix="Modelica_3_2_2_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 2.044/2.044, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2792/2.324, allocations: 46.81 MB / 249.3 MB, free: 5.379 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/2.446, allocations: 44.51 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3834/2.829, allocations: 74.36 MB / 368.2 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/2.83, allocations: 65.33 kB / 368.3 MB, free: 7.09 MB / 298.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.03031/2.86, allocations: 5.326 MB / 373.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/2.86, allocations: 11.69 kB / 373.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/2.86, allocations: 43.53 kB / 373.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007323/2.861, allocations: 299.5 kB / 373.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.783e-05/2.861, allocations: 42.73 kB / 374 MB, free: 5.988 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.56e-05/2.861, allocations: 27.25 kB / 374 MB, free: 5.988 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008546/2.862, allocations: 205.4 kB / 374.2 MB, free: 5.984 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/2.863, allocations: 355.8 kB / 374.5 MB, free: 5.855 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/2.863, allocations: 0.75 kB / 374.5 MB, free: 5.855 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.451e-05/2.863, allocations: 4.297 kB / 374.6 MB, free: 5.855 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.405e-05/2.863, allocations: 16.64 kB / 374.6 MB, free: 5.852 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003297/2.867, allocations: 1.504 MB / 376.1 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006942/2.867, allocations: 240.6 kB / 376.3 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/2.868, allocations: 121.8 kB / 376.4 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/2.868, allocations: 10.08 kB / 376.4 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000691/2.869, allocations: 337.2 kB / 376.8 MB, free: 20.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 4.719e-06/2.869, allocations: 0 / 376.8 MB, free: 20.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001377/2.87, allocations: 280.1 kB / 377 MB, free: 20.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001678/2.87, allocations: 193.7 kB / 377.2 MB, free: 20.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005041/2.871, allocations: 249.2 kB / 377.5 MB, free: 20.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.48e-05/2.871, allocations: 30.17 kB / 377.5 MB, free: 20.08 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/2.871, allocations: 167.4 kB / 377.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/2.871, allocations: 70.3 kB / 377.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/2.871, allocations: 0 / 377.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002481/2.871, allocations: 342.1 kB / 378.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003865/2.872, allocations: 102.4 kB / 378.2 MB, free: 19.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004983/2.872, allocations: 231.9 kB / 378.4 MB, free: 19.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008078/2.873, allocations: 137.1 kB / 378.5 MB, free: 19.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/2.873, allocations: 0 / 378.5 MB, free: 19.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001585/2.875, allocations: 370.5 kB / 378.9 MB, free: 19.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/2.875, allocations: 8.547 kB / 378.9 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/2.875, allocations: 3.969 kB / 378.9 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.385e-05/2.875, allocations: 3.875 kB / 378.9 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/2.875, allocations: 38.48 kB / 378.9 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/2.875, allocations: 7.422 kB / 379 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005466/2.876, allocations: 35.61 kB / 379 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.712e-05/2.876, allocations: 23.66 kB / 379 MB, free: 19.36 MB / 314.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.0004072/2.876, allocations: 215 kB / 379.2 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/2.877, allocations: 35.78 kB / 379.3 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/2.878, allocations: 231.7 kB / 379.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/2.878, allocations: 3.844 kB / 379.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/2.878, allocations: 0 / 379.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/2.878, allocations: 2.438 kB / 379.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002646/2.88, allocations: 0.8148 MB / 380.3 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/2.881, allocations: 0 / 380.3 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/2.881, allocations: 18.19 kB / 380.3 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/2.881, allocations: 7.875 kB / 380.3 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-05/2.881, allocations: 10.28 kB / 380.3 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/2.881, allocations: 0.5156 kB / 380.3 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/2.881, allocations: 3.875 kB / 380.3 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001389/2.882, allocations: 0.5045 MB / 380.8 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001584/2.884, allocations: 0.8912 MB / 381.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/2.884, allocations: 100.5 kB / 381.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/2.884, allocations: 11.75 kB / 381.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006462/2.885, allocations: 32.03 kB / 381.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/2.885, allocations: 39 kB / 381.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.75e-05/2.885, allocations: 19.17 kB / 381.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002956/2.885, allocations: 158.4 kB / 382.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00262/2.888, allocations: 93.11 kB / 382.2 MB, free: 17.54 MB / 314.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.0005826/2.889, allocations: 156 kB / 382.3 MB, free: 17.44 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001154/2.89, allocations: 383.6 kB / 382.7 MB, free: 17.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/2.89, allocations: 4.812 kB / 382.7 MB, free: 17.31 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005851/2.891, allocations: 237.5 kB / 382.9 MB, free: 17.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008489/2.891, allocations: 41.91 kB / 383 MB, free: 17.22 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/2.893, allocations: 450.2 kB / 383.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008149/2.894, allocations: 0.8349 MB / 384.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of SimCode: time 1.373e-06/2.894, allocations: 0 / 384.3 MB, free: 16.26 MB / 314.7 MB