Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Visualizers_Arrow",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 1.793/1.793, allocations: 209.3 MB / 216.3 MB, free: 6.781 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.239/2.032, allocations: 51.03 MB / 267.3 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/2.14, allocations: 48.68 MB / 316 MB, free: 4.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.334/2.474, allocations: 80.55 MB / 396.5 MB, free: 12.22 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/2.475, allocations: 73.12 kB / 396.6 MB, free: 12.19 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.07489/2.55, allocations: 16.61 MB / 413.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/2.55, allocations: 15.94 kB / 413.2 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002509/2.552, allocations: 218.3 kB / 413.4 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/2.554, allocations: 0.5618 MB / 414 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.296e-05/2.554, allocations: 28 kB / 414 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/2.554, allocations: 48 kB / 414.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002799/2.557, allocations: 0.9914 MB / 415.1 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003857/2.561, allocations: 1.577 MB / 416.6 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.262e-05/2.561, allocations: 7.938 kB / 416.6 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/2.561, allocations: 8 kB / 416.7 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005711/2.562, allocations: 182.4 kB / 416.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01237/2.574, allocations: 6.939 MB / 423.8 MB, free: 4.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/2.575, allocations: 142.5 kB / 423.9 MB, free: 4.031 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/2.575, allocations: 76.81 kB / 424 MB, free: 3.953 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.96e-05/2.575, allocations: 11.98 kB / 424 MB, free: 3.941 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/2.575, allocations: 30.56 kB / 424 MB, free: 3.902 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.644e-06/2.575, allocations: 0 / 424 MB, free: 3.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007298/2.576, allocations: 241 kB / 424.3 MB, free: 3.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/2.576, allocations: 59.41 kB / 424.3 MB, free: 3.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/2.578, allocations: 0.6945 MB / 425 MB, free: 2.887 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.574e-05/2.578, allocations: 33.7 kB / 425 MB, free: 2.848 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005648/2.578, allocations: 0.6508 MB / 425.7 MB, free: 2.184 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.801e-05/2.578, allocations: 59.38 kB / 425.8 MB, free: 2.125 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/2.578, allocations: 0 / 425.8 MB, free: 2.125 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000205/2.579, allocations: 382.7 kB / 426.1 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005787/2.579, allocations: 226.5 kB / 426.3 MB, free: 1.523 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/2.58, allocations: 0.9284 MB / 427.3 MB, free: 236 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/2.581, allocations: 443.4 kB / 427.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.622e-05/2.581, allocations: 8 kB / 427.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002479/2.584, allocations: 0.9859 MB / 428.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/2.584, allocations: 4 kB / 428.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.592e-05/2.584, allocations: 24 kB / 428.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.702e-05/2.584, allocations: 43.94 kB / 428.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/2.586, allocations: 264 kB / 429 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-05/2.586, allocations: 43.86 kB / 429.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/2.587, allocations: 130.5 kB / 429.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/2.587, allocations: 64 kB / 429.3 MB, free: 14.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 18 (world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 129 * 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.0002294/2.587, allocations: 178.1 kB / 429.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/2.587, allocations: 63.16 kB / 429.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008156/2.588, allocations: 263.3 kB / 429.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/2.588, allocations: 8 kB / 429.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/2.588, allocations: 0 / 429.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/2.588, allocations: 0 / 429.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/2.589, allocations: 0.5289 MB / 430.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/2.589, allocations: 0 / 430.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003744/2.59, allocations: 31.97 kB / 430.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.477e-05/2.59, allocations: 4 kB / 430.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/2.59, allocations: 0 / 430.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/2.59, allocations: 4 kB / 430.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/2.59, allocations: 0 / 430.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006269/2.591, allocations: 350.5 kB / 430.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007531/2.591, allocations: 0.71 MB / 431.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002821/2.592, allocations: 156.2 kB / 431.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/2.592, allocations: 4 kB / 431.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00049/2.592, allocations: 15.98 kB / 431.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/2.592, allocations: 7.984 kB / 431.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/2.592, allocations: 7.984 kB / 431.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.00102/2.593, allocations: 0.4912 MB / 432.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002243/2.596, allocations: 211 kB / 432.3 MB, free: 11.12 MB / 362.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0001976/2.596, allocations: 103.2 kB / 432.4 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001321/2.597, allocations: 0.5252 MB / 432.9 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/2.597, allocations: 4 kB / 432.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002287/2.598, allocations: 87.88 kB / 433 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005293/2.598, allocations: 50.98 kB / 433 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/2.601, allocations: 1.124 MB / 434.2 MB, free: 9.191 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001498/2.603, allocations: 1.233 MB / 435.4 MB, free: 7.93 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/2.603, allocations: 0 / 435.4 MB, free: 7.93 MB / 362.7 MB