Running command: "" <> buildModelFMU(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_3_2_2_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.312/2.312, allocations: 234.9 MB / 241.9 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1452/2.457, allocations: 57.21 MB / 299.1 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/2.73, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1603/2.891, allocations: 80.18 MB / 434.2 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/2.891, allocations: 67.91 kB / 434.2 MB, free: 13.07 MB / 378.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.01194/2.903, allocations: 2.192 MB / 436.4 MB, free: 10.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/2.903, allocations: 12 kB / 436.4 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.203e-05/2.903, allocations: 15.81 kB / 436.4 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/2.903, allocations: 184 kB / 436.6 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/2.903, allocations: 89.05 kB / 436.7 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/2.903, allocations: 8 kB / 436.7 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002418/2.904, allocations: 63.98 kB / 436.8 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/2.904, allocations: 120.2 kB / 436.9 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/2.904, allocations: 4 kB / 436.9 MB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/2.904, allocations: 8 kB / 436.9 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/2.904, allocations: 3.906 kB / 436.9 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000813/2.905, allocations: 0.4899 MB / 437.4 MB, free: 9.695 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/2.905, allocations: 135.6 kB / 437.5 MB, free: 9.535 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/2.905, allocations: 82.8 kB / 437.6 MB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/2.905, allocations: 7.938 kB / 437.6 MB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005691/2.906, allocations: 427.7 kB / 438 MB, free: 8.934 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 3.847e-06/2.906, allocations: 0 / 438 MB, free: 8.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007575/2.907, allocations: 185.4 kB / 438.2 MB, free: 8.746 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001526/2.907, allocations: 251.2 kB / 438.5 MB, free: 8.445 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/2.907, allocations: 133.7 kB / 438.6 MB, free: 8.309 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/2.907, allocations: 29.7 kB / 438.6 MB, free: 8.273 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/2.907, allocations: 84.58 kB / 438.7 MB, free: 8.188 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.523e-05/2.907, allocations: 47.5 kB / 438.8 MB, free: 8.141 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.532e-05/2.907, allocations: 0 / 438.8 MB, free: 8.141 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/2.908, allocations: 322.8 kB / 439.1 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/2.908, allocations: 47.98 kB / 439.1 MB, free: 7.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/2.908, allocations: 107.7 kB / 439.2 MB, free: 7.637 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/2.908, allocations: 59.84 kB / 439.3 MB, free: 7.578 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/2.908, allocations: 0 / 439.3 MB, free: 7.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005272/2.909, allocations: 193.3 kB / 439.5 MB, free: 7.383 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/2.909, allocations: 6.812 kB / 439.5 MB, free: 7.379 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/2.909, allocations: 7.906 kB / 439.5 MB, free: 7.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/2.909, allocations: 4 kB / 439.5 MB, free: 7.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/2.909, allocations: 11.94 kB / 439.5 MB, free: 7.355 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/2.909, allocations: 3.984 kB / 439.5 MB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/2.909, allocations: 16.19 kB / 439.5 MB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/2.909, allocations: 12 kB / 439.5 MB, free: 7.324 MB / 378.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.0002769/2.909, allocations: 262.4 kB / 439.8 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/2.91, allocations: 19.91 kB / 439.8 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.963e-05/2.91, allocations: 20.3 kB / 439.8 MB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/2.91, allocations: 0 / 439.8 MB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/2.91, allocations: 4 kB / 439.8 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/2.91, allocations: 7.906 kB / 439.8 MB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009046/2.911, allocations: 431 kB / 440.3 MB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/2.911, allocations: 0 / 440.3 MB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.312e-05/2.911, allocations: 4 kB / 440.3 MB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/2.911, allocations: 7.844 kB / 440.3 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.922e-05/2.911, allocations: 11.98 kB / 440.3 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/2.911, allocations: 0 / 440.3 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/2.911, allocations: 4 kB / 440.3 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006699/2.911, allocations: 354.8 kB / 440.6 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001304/2.913, allocations: 0.7048 MB / 441.3 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/2.913, allocations: 92.91 kB / 441.4 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/2.913, allocations: 16 kB / 441.4 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004834/2.914, allocations: 23.98 kB / 441.5 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/2.914, allocations: 15.92 kB / 441.5 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-05/2.914, allocations: 12 kB / 441.5 MB, free: 5.191 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001427/2.914, allocations: 101.9 kB / 441.6 MB, free: 5.094 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003089/2.917, allocations: 55.91 kB / 441.6 MB, free: 5.039 MB / 378.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.0006621/2.918, allocations: 131.2 kB / 441.8 MB, free: 4.902 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001077/2.919, allocations: 300.4 kB / 442.1 MB, free: 4.578 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/2.919, allocations: 0 / 442.1 MB, free: 4.578 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009117/2.92, allocations: 282.8 kB / 442.3 MB, free: 4.277 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/2.921, allocations: 8 kB / 442.3 MB, free: 4.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/2.922, allocations: 225.1 kB / 442.6 MB, free: 4.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004906/2.922, allocations: 0.7314 MB / 443.3 MB, free: 3.262 MB / 378.7 MB Notification: Performance of SimCode: time 3.457e-06/2.922, allocations: 0 / 443.3 MB, free: 3.262 MB / 378.7 MB