Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ExecutionPaths,fileNamePrefix="Modelica_3_2_2_Modelica_StateGraph_Examples_ExecutionPaths",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.84/1.84, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2502/2.091, allocations: 46.82 MB / 249.3 MB, free: 5.363 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/2.197, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3053/2.502, allocations: 71.25 MB / 365.1 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/2.502, allocations: 63.09 kB / 365.1 MB, free: 7.164 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: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.04707/2.549, allocations: 11.7 MB / 376.8 MB, free: 5.102 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/2.549, allocations: 15.7 kB / 376.9 MB, free: 5.098 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000315/2.55, allocations: 89.5 kB / 377 MB, free: 5.055 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008508/2.551, allocations: 428.8 kB / 377.4 MB, free: 4.754 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.053e-05/2.551, allocations: 34.69 kB / 377.4 MB, free: 4.754 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/2.551, allocations: 65.62 kB / 377.5 MB, free: 4.754 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001979/2.553, allocations: 0.6629 MB / 378.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/2.555, allocations: 0.7933 MB / 378.9 MB, free: 4.445 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/2.555, allocations: 3.938 kB / 378.9 MB, free: 4.441 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.594e-05/2.555, allocations: 0 / 378.9 MB, free: 4.441 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.611e-05/2.555, allocations: 22.72 kB / 378.9 MB, free: 4.441 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004242/2.559, allocations: 2.149 MB / 381.1 MB, free: 3.207 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/2.561, allocations: 0.554 MB / 381.7 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006239/2.561, allocations: 295 kB / 381.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.466e-05/2.561, allocations: 22.34 kB / 382 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007718/2.562, allocations: 388.8 kB / 382.3 MB, free: 2.934 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 4.439e-06/2.562, allocations: 3.938 kB / 382.3 MB, free: 2.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=99): time 0.0014/2.564, allocations: 0.4974 MB / 382.8 MB, free: 2.812 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/2.564, allocations: 100.6 kB / 382.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004222/2.564, allocations: 294 kB / 383.2 MB, free: 2.551 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000157/2.564, allocations: 49.91 kB / 383.3 MB, free: 2.516 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/2.565, allocations: 272.9 kB / 383.5 MB, free: 18.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/2.565, allocations: 231.7 kB / 383.8 MB, free: 18.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/2.565, allocations: 0 / 383.8 MB, free: 18.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001974/2.565, allocations: 370.9 kB / 384.1 MB, free: 17.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000659/2.566, allocations: 227.5 kB / 384.4 MB, free: 17.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007623/2.567, allocations: 434.1 kB / 384.8 MB, free: 17.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007364/2.567, allocations: 255.3 kB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/2.567, allocations: 0 / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00194/2.569, allocations: 0.7333 MB / 385.8 MB, free: 17.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/2.569, allocations: 3.906 kB / 385.8 MB, free: 17.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/2.569, allocations: 3.906 kB / 385.8 MB, free: 17.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.432e-05/2.569, allocations: 20.41 kB / 385.8 MB, free: 17.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007258/2.57, allocations: 119.8 kB / 385.9 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/2.57, allocations: 15.72 kB / 385.9 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007449/2.571, allocations: 43.12 kB / 386 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/2.571, allocations: 56.48 kB / 386 MB, free: 17.3 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 124 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.transition6.enableFire,$PRE.transition7.enableFire,$PRE.transition4a.enableFire,$PRE.transition6a.enableFire,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.step0.localActive,step0.localActive,$PRE.step0.newActive,step0.newActive,$PRE.step0.oldActive,step0.oldActive,step0.active,transition1.enableFire,transition1.fire,$PRE.transition1.t_start,transition1.t_start,$PRE.step1.localActive,step1.localActive,$PRE.step1.newActive,step1.newActive,$PRE.step1.oldActive,step1.oldActive,step1.active,transition2.enableFire,transition2.fire,$PRE.transition2.t_start,transition2.t_start,$PRE.step6.localActive,step6.localActive,$PRE.step6.newActive,step6.newActive,$PRE.step6.oldActive,step6.oldActive,step6.active,$PRE.step2.localActive,step2.localActive,step2.outPort[1].reset,$PRE.step2.newActive,step2.newActive,$PRE.step2.oldActive,step2.oldActive,step2.active,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition4.fire,$PRE.transition4.t_start,transition4.t_start,$PRE.step3.localActive,step3.localActive,$PRE.step3.newActive,step3.newActive,$PRE.step3.oldActive,step3.oldActive,step3.active,$PRE.step4.localActive,step4.localActive,$PRE.step4.newActive,step4.newActive,$PRE.step4.oldActive,step4.oldActive,step4.active,transition5.enableFire,transition5.fire,$PRE.transition5.t_start,transition5.t_start,transition6.enableFire,transition6.fire,$PRE.transition6.t_start,transition6.t_start,$PRE.step5.localActive,step5.localActive,step5.inPort[1].set,$PRE.step5.newActive,step5.newActive,$PRE.step5.oldActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.enableFire,transition4a.fire,$PRE.transition4a.t_start,transition4a.t_start,$PRE.step4a.localActive,step4a.localActive,$PRE.step4a.newActive,step4a.newActive,$PRE.step4a.oldActive,step4a.oldActive,step4a.active,transition6a.enableFire,transition6a.fire,$PRE.transition6a.t_start,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.suspend,transition6a.condition,transition4a.condition,transition6.condition,transition5.condition,transition4.condition,transition3.condition,transition2.condition,transition1.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * 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.0007394/2.572, allocations: 183.7 kB / 386.2 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/2.572, allocations: 50.75 kB / 386.2 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002445/2.575, allocations: 0.6344 MB / 386.9 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/2.575, allocations: 7.75 kB / 386.9 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/2.575, allocations: 3.906 kB / 386.9 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/2.575, allocations: 3.984 kB / 386.9 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004441/2.579, allocations: 1.42 MB / 388.3 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/2.579, allocations: 3.906 kB / 388.3 MB, free: 16.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005228/2.58, allocations: 76.33 kB / 388.4 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.657e-05/2.58, allocations: 7.938 kB / 388.4 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.879e-05/2.58, allocations: 11.61 kB / 388.4 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/2.58, allocations: 7.719 kB / 388.4 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/2.58, allocations: 3.938 kB / 388.4 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001571/2.582, allocations: 0.6901 MB / 389.1 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001593/2.583, allocations: 1.069 MB / 390.2 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/2.583, allocations: 124 kB / 390.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/2.583, allocations: 7.953 kB / 390.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004541/2.584, allocations: 35.16 kB / 390.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002711/2.584, allocations: 96.8 kB / 390.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.338e-05/2.584, allocations: 33.98 kB / 390.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001656/2.584, allocations: 142.1 kB / 390.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001756/2.586, allocations: 146.7 kB / 390.8 MB, free: 15.11 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 84 (transition4a.enableFire,transition4.enableFire,transition6a.enableFire,step4a.localActive,transition2.enableFire,step5.localActive,transition5.enableFire,transition6.enableFire,step4.localActive,step3.localActive,transition3.enableFire,transition1.enableFire,step2.localActive,step6.localActive,step1.localActive,step0.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,step0.newActive,step0.oldActive,step0.active,transition1.fire,transition1.t_start,step1.newActive,step1.oldActive,step1.active,transition2.fire,transition2.t_start,step6.newActive,step6.oldActive,step6.active,step2.outPort[1].reset,step2.newActive,step2.oldActive,step2.active,transition3.fire,transition3.t_start,transition4.fire,transition4.t_start,step3.newActive,step3.oldActive,step3.active,step4.newActive,step4.oldActive,step4.active,transition5.fire,transition5.t_start,transition6.fire,transition6.t_start,step5.inPort[1].set,step5.newActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.fire,transition4a.t_start,step4a.newActive,step4a.oldActive,step4a.active,transition6a.fire,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps) * Number of discrete states: 8 (step0.newActive,step1.newActive,step6.newActive,step2.newActive,step3.newActive,step4.newActive,step5.newActive,step4a.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.0002859/2.587, allocations: 141.4 kB / 390.9 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00149/2.588, allocations: 0.6752 MB / 391.6 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/2.588, allocations: 4.25 kB / 391.6 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007148/2.589, allocations: 352.5 kB / 391.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/2.589, allocations: 49.28 kB / 392 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/2.592, allocations: 0.8611 MB / 392.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/2.593, allocations: 1.041 MB / 393.9 MB, free: 13.74 MB / 314.7 MB Notification: Performance of SimCode: time 1.583e-06/2.593, allocations: 0 / 393.9 MB, free: 13.74 MB / 314.7 MB