Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_2_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 2.288/2.288, allocations: 234.9 MB / 241.9 MB, free: 9.793 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1946/2.483, allocations: 57.21 MB / 299.1 MB, free: 484 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/2.776, allocations: 54.85 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1632/2.939, allocations: 86.76 MB / 440.7 MB, free: 6.555 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/2.94, allocations: 75.95 kB / 440.8 MB, free: 6.48 MB / 378.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.274/3.214, allocations: 16.55 MB / 457.4 MB, free: 81.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/3.214, allocations: 8.875 kB / 457.4 MB, free: 81.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003358/3.217, allocations: 220.1 kB / 457.6 MB, free: 81.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/3.22, allocations: 0.5549 MB / 458.1 MB, free: 81.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/3.22, allocations: 32.47 kB / 458.2 MB, free: 81.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005724/3.221, allocations: 49.75 kB / 458.2 MB, free: 81.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004798/3.226, allocations: 0.9965 MB / 459.2 MB, free: 80.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006015/3.232, allocations: 1.581 MB / 460.8 MB, free: 79.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.499e-05/3.232, allocations: 8.188 kB / 460.8 MB, free: 79.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002429/3.232, allocations: 4.156 kB / 460.8 MB, free: 79.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008034/3.233, allocations: 191.4 kB / 461 MB, free: 79.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01416/3.247, allocations: 6.948 MB / 467.9 MB, free: 74.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004202/3.248, allocations: 149.8 kB / 468.1 MB, free: 74.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/3.248, allocations: 76.3 kB / 468.2 MB, free: 74.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.108e-05/3.248, allocations: 2.094 kB / 468.2 MB, free: 74.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/3.248, allocations: 32.05 kB / 468.2 MB, free: 74.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.675e-06/3.248, allocations: 1.031 kB / 468.2 MB, free: 74.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008383/3.249, allocations: 238.4 kB / 468.4 MB, free: 74.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/3.249, allocations: 53.73 kB / 468.5 MB, free: 74.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/3.251, allocations: 0.6962 MB / 469.2 MB, free: 73.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.901e-05/3.252, allocations: 25.7 kB / 469.2 MB, free: 73.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007104/3.252, allocations: 0.6472 MB / 469.9 MB, free: 73.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/3.252, allocations: 67.73 kB / 469.9 MB, free: 73.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.485e-05/3.253, allocations: 0 / 469.9 MB, free: 73.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002167/3.253, allocations: 378.2 kB / 470.3 MB, free: 72.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009343/3.254, allocations: 227.9 kB / 470.5 MB, free: 72.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/3.255, allocations: 0.9322 MB / 471.4 MB, free: 71.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/3.256, allocations: 445 kB / 471.9 MB, free: 71.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.221e-05/3.256, allocations: 4 kB / 471.9 MB, free: 71.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003244/3.26, allocations: 0.9856 MB / 472.9 MB, free: 70.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/3.26, allocations: 4 kB / 472.9 MB, free: 70.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.452e-05/3.26, allocations: 28 kB / 472.9 MB, free: 70.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.745e-05/3.26, allocations: 36.78 kB / 472.9 MB, free: 70.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00192/3.262, allocations: 255.5 kB / 473.2 MB, free: 69.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.981e-05/3.262, allocations: 51.84 kB / 473.2 MB, free: 69.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/3.263, allocations: 130.5 kB / 473.4 MB, free: 69.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/3.263, allocations: 64 kB / 473.4 MB, free: 69.59 MB / 378.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.0002036/3.264, allocations: 174.1 kB / 473.6 MB, free: 69.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/3.264, allocations: 63.16 kB / 473.7 MB, free: 69.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007615/3.265, allocations: 275.2 kB / 473.9 MB, free: 69.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/3.265, allocations: 4 kB / 473.9 MB, free: 69.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/3.265, allocations: 0 / 473.9 MB, free: 69.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/3.265, allocations: 0 / 473.9 MB, free: 69.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/3.266, allocations: 0.5172 MB / 474.4 MB, free: 68.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/3.266, allocations: 3.938 kB / 474.5 MB, free: 68.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004091/3.266, allocations: 35.97 kB / 474.5 MB, free: 68.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/3.266, allocations: 4 kB / 474.5 MB, free: 68.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/3.266, allocations: 3.906 kB / 474.5 MB, free: 68.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/3.266, allocations: 7.984 kB / 474.5 MB, free: 68.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/3.266, allocations: 0 / 474.5 MB, free: 68.46 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005636/3.267, allocations: 339.3 kB / 474.8 MB, free: 68.11 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000565/3.267, allocations: 0.718 MB / 475.6 MB, free: 67.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/3.268, allocations: 132.2 kB / 475.7 MB, free: 67.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/3.268, allocations: 0 / 475.7 MB, free: 67.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000546/3.268, allocations: 15.98 kB / 475.7 MB, free: 67.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.782e-05/3.268, allocations: 15.97 kB / 475.7 MB, free: 67.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/3.269, allocations: 4 kB / 475.7 MB, free: 67.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0008431/3.269, allocations: 495.1 kB / 476.2 MB, free: 66.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00221/3.272, allocations: 207 kB / 476.4 MB, free: 66.51 MB / 378.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.0002654/3.272, allocations: 107.2 kB / 476.5 MB, free: 66.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001382/3.273, allocations: 0.5278 MB / 477 MB, free: 65.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/3.273, allocations: 1.625 kB / 477 MB, free: 65.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002199/3.274, allocations: 91.88 kB / 477.1 MB, free: 65.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006348/3.274, allocations: 62.98 kB / 477.2 MB, free: 65.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003302/3.278, allocations: 1.104 MB / 478.3 MB, free: 64.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/3.279, allocations: 1.221 MB / 479.5 MB, free: 63.34 MB / 378.7 MB Notification: Performance of SimCode: time 1.443e-06/3.279, allocations: 3.938 kB / 479.5 MB, free: 63.34 MB / 378.7 MB