Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.FirstExample_Variant3,fileNamePrefix="Modelica_3_2_1_Modelica_StateGraph_Examples_FirstExample_Variant3",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.818/1.818, allocations: 171.2 MB / 178.1 MB, free: 8.289 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.246/2.064, allocations: 41.1 MB / 219.2 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/2.167, allocations: 38.77 MB / 258 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2996/2.467, allocations: 65.69 MB / 323.7 MB, free: 6.281 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/2.467, allocations: 66.22 kB / 323.8 MB, free: 6.254 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.01265/2.48, allocations: 2.986 MB / 326.7 MB, free: 3.645 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/2.48, allocations: 12 kB / 326.8 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.682e-05/2.48, allocations: 23.34 kB / 326.8 MB, free: 3.613 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/2.48, allocations: 226.2 kB / 327 MB, free: 3.367 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/2.48, allocations: 16 kB / 327 MB, free: 3.352 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/2.48, allocations: 16 kB / 327 MB, free: 3.336 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000482/2.481, allocations: 154.8 kB / 327.2 MB, free: 3.234 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005473/2.481, allocations: 226.2 kB / 327.4 MB, free: 3.039 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/2.481, allocations: 0 / 327.4 MB, free: 3.039 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/2.481, allocations: 0 / 327.4 MB, free: 3.039 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/2.481, allocations: 12 kB / 327.4 MB, free: 3.027 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/2.483, allocations: 0.8863 MB / 328.3 MB, free: 2.191 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/2.483, allocations: 131.8 kB / 328.4 MB, free: 2.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/2.484, allocations: 70.5 kB / 328.5 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/2.484, allocations: 4.188 kB / 328.5 MB, free: 2.035 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002331/2.484, allocations: 101 kB / 328.6 MB, free: 1.945 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 5.159e-06/2.484, allocations: 4 kB / 328.6 MB, free: 1.941 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004326/2.484, allocations: 138.2 kB / 328.7 MB, free: 1.824 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/2.484, allocations: 59.34 kB / 328.8 MB, free: 1.754 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/2.485, allocations: 143.6 kB / 328.9 MB, free: 1.625 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.775e-05/2.485, allocations: 37.69 kB / 329 MB, free: 1.582 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/2.485, allocations: 130.9 kB / 329.1 MB, free: 1.461 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.534e-05/2.485, allocations: 54.28 kB / 329.2 MB, free: 1.414 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.449e-05/2.485, allocations: 0 / 329.2 MB, free: 1.414 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/2.485, allocations: 333.6 kB / 329.5 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/2.485, allocations: 50.03 kB / 329.5 MB, free: 1.055 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/2.485, allocations: 124.8 kB / 329.7 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/2.486, allocations: 61.91 kB / 329.7 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/2.486, allocations: 4 kB / 329.7 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005507/2.486, allocations: 213.2 kB / 329.9 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/2.486, allocations: 4 kB / 329.9 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/2.486, allocations: 4 kB / 329.9 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/2.486, allocations: 4 kB / 329.9 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/2.487, allocations: 27.92 kB / 330 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/2.487, allocations: 8.266 kB / 330 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/2.487, allocations: 19.84 kB / 330 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/2.487, allocations: 15.75 kB / 330 MB, free: 0.625 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$whenCondition2,$whenCondition1,$PRE.initialStep.localActive,initialStep.localActive,$PRE.initialStep.newActive,initialStep.newActive,$PRE.initialStep.oldActive,initialStep.oldActive,initialStep.active,transition1.enableFire,transition1.fire,$PRE.transition1.t_start,transition1.t_start,$PRE.step.localActive,step.localActive,$PRE.step.newActive,step.newActive,$PRE.step.oldActive,step.oldActive,step.active,transition2.enableFire,$PRE.timer.entryTime,timer.entryTime,SetBoolean1.y,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.suspend,transition1.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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.0001371/2.487, allocations: 115.2 kB / 330.1 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/2.487, allocations: 15.81 kB / 330.1 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005038/2.488, allocations: 168.5 kB / 330.3 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.066e-06/2.488, allocations: 4 kB / 330.3 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/2.488, allocations: 4 kB / 330.3 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/2.488, allocations: 3.984 kB / 330.3 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/2.489, allocations: 0.5069 MB / 330.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/2.489, allocations: 3.938 kB / 330.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/2.489, allocations: 15.98 kB / 330.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/2.489, allocations: 0 / 330.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/2.489, allocations: 7.5 kB / 330.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.802e-06/2.489, allocations: 7.938 kB / 330.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/2.489, allocations: 0 / 330.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005123/2.49, allocations: 246.4 kB / 331.1 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005954/2.49, allocations: 0.6101 MB / 331.7 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/2.49, allocations: 96.86 kB / 331.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/2.49, allocations: 3.375 kB / 331.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/2.491, allocations: 7.984 kB / 331.8 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/2.491, allocations: 15.97 kB / 331.8 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/2.491, allocations: 7.438 kB / 331.8 MB, free: 14.85 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.22e-05/2.491, allocations: 103.4 kB / 331.9 MB, free: 14.76 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001323/2.492, allocations: 35.89 kB / 332 MB, free: 14.72 MB / 282.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: 19 (step.active,step.localActive,transition1.enableFire,initialStep.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,initialStep.newActive,initialStep.oldActive,initialStep.active,transition1.fire,transition1.t_start,step.newActive,step.oldActive,transition2.enableFire,timer.entryTime,SetBoolean1.y,stateGraphRoot.activeSteps) * Number of discrete states: 2 (initialStep.newActive,step.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002154/2.492, allocations: 111 kB / 332.1 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004719/2.493, allocations: 162.4 kB / 332.2 MB, free: 14.49 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/2.493, allocations: 0 / 332.2 MB, free: 14.49 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001801/2.493, allocations: 73.94 kB / 332.3 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/2.493, allocations: 14.98 kB / 332.3 MB, free: 14.42 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000785/2.494, allocations: 216.5 kB / 332.5 MB, free: 14.21 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005313/2.495, allocations: 0.7738 MB / 333.3 MB, free: 13.41 MB / 282.7 MB Notification: Performance of SimCode: time 1.703e-06/2.495, allocations: 0 / 333.3 MB, free: 13.41 MB / 282.7 MB