Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.FirstExample_Variant3,fileNamePrefix="Modelica_3_2_2_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.941/1.941, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2419/2.183, allocations: 46.82 MB / 249.3 MB, free: 5.367 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/2.303, allocations: 44.5 MB / 293.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3652/2.668, allocations: 70.7 MB / 364.5 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/2.668, allocations: 61.34 kB / 364.6 MB, free: 7.098 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.01148/2.68, allocations: 3.002 MB / 367.6 MB, free: 6.543 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/2.68, allocations: 7.719 kB / 367.6 MB, free: 6.543 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.963e-05/2.68, allocations: 19.5 kB / 367.6 MB, free: 6.535 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/2.68, allocations: 229.2 kB / 367.8 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/2.68, allocations: 11.12 kB / 367.9 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/2.68, allocations: 15.59 kB / 367.9 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004493/2.681, allocations: 146.1 kB / 368 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004704/2.681, allocations: 233.5 kB / 368.2 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/2.681, allocations: 0 / 368.2 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/2.681, allocations: 0 / 368.2 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/2.681, allocations: 7.812 kB / 368.2 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/2.682, allocations: 0.8807 MB / 369.1 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/2.683, allocations: 134.4 kB / 369.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/2.683, allocations: 64.98 kB / 369.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/2.683, allocations: 8.031 kB / 369.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/2.683, allocations: 100.7 kB / 369.4 MB, free: 5.535 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 3.096e-06/2.683, allocations: 4 kB / 369.4 MB, free: 5.531 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004005/2.684, allocations: 135.7 kB / 369.6 MB, free: 5.484 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/2.684, allocations: 58.97 kB / 369.6 MB, free: 5.422 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/2.684, allocations: 140.3 kB / 369.8 MB, free: 5.324 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/2.684, allocations: 34.5 kB / 369.8 MB, free: 5.293 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.796e-05/2.684, allocations: 134 kB / 369.9 MB, free: 5.184 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.487e-05/2.684, allocations: 53.22 kB / 370 MB, free: 5.152 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.45e-05/2.684, allocations: 0 / 370 MB, free: 5.152 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/2.684, allocations: 325.3 kB / 370.3 MB, free: 20.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/2.684, allocations: 59.2 kB / 370.4 MB, free: 20.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/2.685, allocations: 129.5 kB / 370.5 MB, free: 20.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/2.685, allocations: 63.88 kB / 370.5 MB, free: 20.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/2.685, allocations: 0 / 370.5 MB, free: 20.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000458/2.685, allocations: 213.9 kB / 370.7 MB, free: 20.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/2.685, allocations: 15.67 kB / 370.8 MB, free: 20.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/2.685, allocations: 3.875 kB / 370.8 MB, free: 20.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/2.685, allocations: 3.875 kB / 370.8 MB, free: 20.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/2.686, allocations: 35.53 kB / 370.8 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/2.686, allocations: 11.69 kB / 370.8 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/2.686, allocations: 12.73 kB / 370.8 MB, free: 20.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/2.686, allocations: 9.016 kB / 370.8 MB, free: 20.65 MB / 314.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.0001331/2.686, allocations: 131.4 kB / 371 MB, free: 20.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/2.686, allocations: 11.66 kB / 371 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000451/2.686, allocations: 162.5 kB / 371.1 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/2.686, allocations: 5.234 kB / 371.1 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/2.686, allocations: 0 / 371.1 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/2.686, allocations: 1.594 kB / 371.1 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009674/2.687, allocations: 0.5178 MB / 371.7 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/2.688, allocations: 1.266 kB / 371.7 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/2.688, allocations: 17.2 kB / 371.7 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/2.688, allocations: 1.781 kB / 371.7 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/2.688, allocations: 0 / 371.7 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/2.688, allocations: 0 / 371.7 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/2.688, allocations: 7.859 kB / 371.7 MB, free: 20.15 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003759/2.688, allocations: 243.6 kB / 371.9 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005255/2.689, allocations: 0.6176 MB / 372.5 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.491e-05/2.689, allocations: 90.27 kB / 372.6 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/2.689, allocations: 3.562 kB / 372.6 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/2.689, allocations: 5.844 kB / 372.6 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-05/2.689, allocations: 21.28 kB / 372.7 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/2.689, allocations: 11.22 kB / 372.7 MB, free: 19.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.45e-05/2.689, allocations: 93.67 kB / 372.8 MB, free: 19.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001407/2.691, allocations: 34.28 kB / 372.8 MB, free: 19.3 MB / 314.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.0002367/2.691, allocations: 104.7 kB / 372.9 MB, free: 19.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004066/2.691, allocations: 166.2 kB / 373.1 MB, free: 19.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/2.691, allocations: 4.5 kB / 373.1 MB, free: 19.19 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001589/2.691, allocations: 78.45 kB / 373.1 MB, free: 19.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/2.692, allocations: 17.89 kB / 373.2 MB, free: 19.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000705/2.692, allocations: 217.6 kB / 373.4 MB, free: 19.08 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004713/2.693, allocations: 0.7639 MB / 374.1 MB, free: 18.38 MB / 314.7 MB Notification: Performance of SimCode: time 1.192e-06/2.693, allocations: 4 kB / 374.1 MB, free: 18.37 MB / 314.7 MB