Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.FirstExample,fileNamePrefix="Modelica_3_2_2_Modelica_StateGraph_Examples_FirstExample",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.039/2.039, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2986/2.337, allocations: 46.82 MB / 249.3 MB, free: 5.332 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/2.458, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3739/2.832, allocations: 70.05 MB / 363.9 MB, free: 7.223 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/2.832, allocations: 64.23 kB / 363.9 MB, free: 7.223 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0159/2.848, allocations: 2.855 MB / 366.8 MB, free: 6.664 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/2.848, allocations: 7.812 kB / 366.8 MB, free: 6.664 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/2.849, allocations: 23.31 kB / 366.8 MB, free: 6.652 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/2.849, allocations: 223.7 kB / 367 MB, free: 6.441 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.842e-05/2.849, allocations: 12.28 kB / 367.1 MB, free: 6.441 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.11e-05/2.849, allocations: 19.41 kB / 367.1 MB, free: 6.438 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006365/2.85, allocations: 145.4 kB / 367.2 MB, free: 6.438 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006693/2.851, allocations: 195.7 kB / 367.4 MB, free: 6.387 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/2.851, allocations: 0 / 367.4 MB, free: 6.387 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.49e-05/2.851, allocations: 9.234 kB / 367.4 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/2.851, allocations: 3.875 kB / 367.4 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/2.852, allocations: 0.6315 MB / 368.1 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004974/2.853, allocations: 144.4 kB / 368.2 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/2.853, allocations: 69.92 kB / 368.3 MB, free: 5.984 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/2.853, allocations: 192 / 368.3 MB, free: 5.984 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003023/2.854, allocations: 107.2 kB / 368.4 MB, free: 5.934 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 3.707e-06/2.854, allocations: 3.938 kB / 368.4 MB, free: 5.934 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005777/2.854, allocations: 142.8 kB / 368.5 MB, free: 5.887 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/2.854, allocations: 59.31 kB / 368.6 MB, free: 5.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/2.854, allocations: 130.3 kB / 368.7 MB, free: 5.719 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.079e-05/2.854, allocations: 32.89 kB / 368.7 MB, free: 5.688 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.712e-05/2.855, allocations: 125.5 kB / 368.9 MB, free: 5.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/2.855, allocations: 50.8 kB / 368.9 MB, free: 5.559 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/2.855, allocations: 0 / 368.9 MB, free: 5.559 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/2.855, allocations: 331.4 kB / 369.2 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/2.855, allocations: 53.5 kB / 369.3 MB, free: 21.24 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/2.855, allocations: 119.1 kB / 369.4 MB, free: 21.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/2.856, allocations: 60.7 kB / 369.5 MB, free: 21.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/2.856, allocations: 4 kB / 369.5 MB, free: 21.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007056/2.856, allocations: 200.5 kB / 369.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/2.857, allocations: 13.94 kB / 369.7 MB, free: 21.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/2.857, allocations: 0 / 369.7 MB, free: 21.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/2.857, allocations: 7.875 kB / 369.7 MB, free: 21.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/2.857, allocations: 32.59 kB / 369.7 MB, free: 21.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/2.857, allocations: 7.812 kB / 369.7 MB, free: 21.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/2.857, allocations: 21.17 kB / 369.7 MB, free: 21.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.454e-05/2.857, allocations: 12.7 kB / 369.7 MB, free: 21.08 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 31 ($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,transition2.fire,$PRE.transition2.t_start,transition2.t_start,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.suspend,transition2.condition,transition1.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001766/2.858, allocations: 123.5 kB / 369.9 MB, free: 20.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-05/2.858, allocations: 20.56 kB / 369.9 MB, free: 20.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007216/2.858, allocations: 156.3 kB / 370 MB, free: 20.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/2.858, allocations: 5.234 kB / 370 MB, free: 20.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/2.858, allocations: 4 kB / 370 MB, free: 20.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/2.858, allocations: 5.312 kB / 370.1 MB, free: 20.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/2.86, allocations: 498.9 kB / 370.5 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/2.86, allocations: 0 / 370.5 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/2.86, allocations: 22.36 kB / 370.6 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/2.86, allocations: 4 kB / 370.6 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/2.86, allocations: 1.688 kB / 370.6 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/2.86, allocations: 3.906 kB / 370.6 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/2.86, allocations: 0 / 370.6 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006416/2.861, allocations: 245.9 kB / 370.8 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007782/2.862, allocations: 0.6229 MB / 371.4 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.072e-05/2.862, allocations: 92.77 kB / 371.5 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/2.862, allocations: 3.875 kB / 371.5 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/2.862, allocations: 6.688 kB / 371.5 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/2.863, allocations: 20.8 kB / 371.6 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/2.863, allocations: 13.06 kB / 371.6 MB, free: 19.85 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001411/2.863, allocations: 87.83 kB / 371.7 MB, free: 19.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002182/2.865, allocations: 35.92 kB / 371.7 MB, free: 19.77 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 (transition2.enableFire,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,step.active,transition2.fire,transition2.t_start,stateGraphRoot.activeSteps) * Number of discrete states: 2 (initialStep.newActive,step.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * 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.0003301/2.865, allocations: 107.4 kB / 371.8 MB, free: 19.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006198/2.866, allocations: 162.5 kB / 372 MB, free: 19.67 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/2.866, allocations: 3.938 kB / 372 MB, free: 19.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002425/2.866, allocations: 82.41 kB / 372 MB, free: 19.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/2.867, allocations: 12.7 kB / 372.1 MB, free: 19.65 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/2.868, allocations: 217.2 kB / 372.3 MB, free: 19.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007045/2.869, allocations: 0.7551 MB / 373 MB, free: 18.85 MB / 314.7 MB Notification: Performance of SimCode: time 2.164e-06/2.869, allocations: 0 / 373 MB, free: 18.85 MB / 314.7 MB