Running command: "" <> buildModelFMU(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_OnDelay",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(ModelicaTest): time 2.137/2.137, allocations: 209.3 MB / 216.3 MB, free: 6.809 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2797/2.416, allocations: 51.03 MB / 267.3 MB, free: 5.164 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/2.535, allocations: 48.69 MB / 316 MB, free: 4.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3616/2.897, allocations: 74.03 MB / 390 MB, free: 2.648 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/2.897, allocations: 65.47 kB / 390.1 MB, free: 2.617 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.009935/2.907, allocations: 2.197 MB / 392.3 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/2.907, allocations: 11.94 kB / 392.3 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/2.907, allocations: 15.91 kB / 392.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/2.908, allocations: 179 kB / 392.5 MB, free: 368 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/2.908, allocations: 89.05 kB / 392.6 MB, free: 260 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/2.908, allocations: 12 kB / 392.6 MB, free: 248 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002558/2.908, allocations: 61.73 kB / 392.6 MB, free: 208 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/2.908, allocations: 123.9 kB / 392.7 MB, free: 88 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/2.908, allocations: 0 / 392.7 MB, free: 88 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/2.909, allocations: 4 kB / 392.8 MB, free: 84 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/2.909, allocations: 4 kB / 392.8 MB, free: 80 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008311/2.909, allocations: 0.4919 MB / 393.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/2.91, allocations: 140.4 kB / 393.4 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/2.91, allocations: 88.42 kB / 393.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/2.91, allocations: 0 / 393.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005154/2.91, allocations: 427 kB / 393.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 2.144e-06/2.91, allocations: 0 / 393.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005798/2.911, allocations: 195.1 kB / 394.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/2.911, allocations: 243.1 kB / 394.3 MB, free: 14.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/2.911, allocations: 125.4 kB / 394.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/2.911, allocations: 29.7 kB / 394.5 MB, free: 14.31 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/2.912, allocations: 87.83 kB / 394.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.445e-05/2.912, allocations: 46.97 kB / 394.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.475e-05/2.912, allocations: 0 / 394.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/2.912, allocations: 329.9 kB / 394.9 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/2.912, allocations: 54.23 kB / 395 MB, free: 13.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/2.912, allocations: 102 kB / 395.1 MB, free: 13.71 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/2.912, allocations: 58.53 kB / 395.1 MB, free: 13.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/2.912, allocations: 4 kB / 395.1 MB, free: 13.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005007/2.913, allocations: 180.3 kB / 395.3 MB, free: 13.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/2.913, allocations: 12.19 kB / 395.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/2.913, allocations: 4 kB / 395.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/2.913, allocations: 4 kB / 395.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/2.913, allocations: 19.73 kB / 395.3 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/2.913, allocations: 4 kB / 395.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/2.913, allocations: 12 kB / 395.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/2.913, allocations: 8 kB / 395.4 MB, free: 13.46 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$whenCondition6,$whenCondition7,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition4,$whenCondition5,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next,$whenCondition1,$whenCondition2,$whenCondition3,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,$PRE.booleanTable.y,booleanTable.y,$PRE.booleanTable.nextTime,booleanTable.nextTime,$PRE.booleanTable.index,booleanTable.index) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 5 * 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.0002526/2.914, allocations: 268.5 kB / 395.6 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/2.914, allocations: 19.89 kB / 395.7 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.973e-05/2.914, allocations: 11.81 kB / 395.7 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/2.914, allocations: 3.906 kB / 395.7 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/2.914, allocations: 4 kB / 395.7 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/2.914, allocations: 0 / 395.7 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008071/2.915, allocations: 441.7 kB / 396.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/2.915, allocations: 4 kB / 396.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.456e-05/2.915, allocations: 0 / 396.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/2.915, allocations: 0 / 396.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/2.915, allocations: 11.98 kB / 396.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/2.915, allocations: 4 kB / 396.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/2.915, allocations: 3.938 kB / 396.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006041/2.915, allocations: 350.3 kB / 396.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008518/2.916, allocations: 0.7185 MB / 397.2 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/2.916, allocations: 89 kB / 397.3 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.262e-05/2.916, allocations: 8 kB / 397.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/2.917, allocations: 19.98 kB / 397.3 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.482e-05/2.917, allocations: 21.89 kB / 397.3 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.645e-05/2.917, allocations: 11.12 kB / 397.3 MB, free: 11.51 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.503e-05/2.917, allocations: 105.2 kB / 397.4 MB, free: 11.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0014/2.918, allocations: 56 kB / 397.5 MB, free: 11.36 MB / 330.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: 22 (onDelay1.u,$whenCondition1,$whenCondition2,$whenCondition3,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition4,$whenCondition5,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next,$whenCondition6,$whenCondition7,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next) * Number of discrete states: 16 (onDelay2.t_next,onDelay2.delaySignal,$whenCondition7,$whenCondition6,onDelay3.t_next,onDelay3.delaySignal,$whenCondition5,$whenCondition4,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition3,onDelay1.t_next,onDelay1.delaySignal,$whenCondition2,$whenCondition1) * 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.000321/2.919, allocations: 135 kB / 397.6 MB, free: 11.22 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005469/2.919, allocations: 292 kB / 397.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/2.919, allocations: 0 / 397.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004234/2.92, allocations: 287.1 kB / 398.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/2.92, allocations: 12 kB / 398.2 MB, free: 10.72 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007618/2.921, allocations: 215.5 kB / 398.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005535/2.921, allocations: 0.7309 MB / 399.1 MB, free: 9.758 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/2.921, allocations: 0 / 399.1 MB, free: 9.758 MB / 330.7 MB