Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.446/2.446, allocations: 235.1 MB / 242 MB, free: 9.746 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1704/2.616, allocations: 57.2 MB / 299.2 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/2.896, allocations: 54.85 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2104/3.106, allocations: 86.77 MB / 440.8 MB, free: 6.504 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/3.107, allocations: 75.89 kB / 440.9 MB, free: 6.43 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.2958/3.403, allocations: 16.55 MB / 457.5 MB, free: 83.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/3.403, allocations: 8.281 kB / 457.5 MB, free: 83.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002998/3.406, allocations: 216 kB / 457.7 MB, free: 83.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/3.408, allocations: 0.5619 MB / 458.2 MB, free: 82.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.769e-05/3.408, allocations: 32.66 kB / 458.3 MB, free: 82.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002326/3.408, allocations: 53.83 kB / 458.3 MB, free: 82.67 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003184/3.411, allocations: 0.9924 MB / 459.3 MB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004229/3.415, allocations: 1.578 MB / 460.9 MB, free: 81.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.579e-05/3.416, allocations: 7.219 kB / 460.9 MB, free: 81.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/3.416, allocations: 6.594 kB / 460.9 MB, free: 81.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006635/3.416, allocations: 185.4 kB / 461.1 MB, free: 81.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0128/3.429, allocations: 6.956 MB / 468 MB, free: 75.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005508/3.43, allocations: 141 kB / 468.2 MB, free: 75.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/3.43, allocations: 77.38 kB / 468.3 MB, free: 75.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.422e-05/3.43, allocations: 9.938 kB / 468.3 MB, free: 75.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/3.43, allocations: 35.05 kB / 468.3 MB, free: 75.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 3.697e-06/3.43, allocations: 4.484 kB / 468.3 MB, free: 75.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008571/3.431, allocations: 235.9 kB / 468.5 MB, free: 75.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/3.431, allocations: 52.59 kB / 468.6 MB, free: 75.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/3.433, allocations: 0.7004 MB / 469.3 MB, free: 74.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/3.433, allocations: 25.7 kB / 469.3 MB, free: 74.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000427/3.433, allocations: 0.6431 MB / 470 MB, free: 74.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/3.433, allocations: 63.28 kB / 470 MB, free: 74.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/3.433, allocations: 3.938 kB / 470 MB, free: 74.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/3.433, allocations: 378.8 kB / 470.4 MB, free: 73.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005589/3.434, allocations: 230.5 kB / 470.6 MB, free: 73.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009188/3.435, allocations: 0.9284 MB / 471.5 MB, free: 72.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009474/3.436, allocations: 447.4 kB / 472 MB, free: 71.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/3.436, allocations: 8 kB / 472 MB, free: 71.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002433/3.438, allocations: 0.9739 MB / 473 MB, free: 70.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/3.438, allocations: 8 kB / 473 MB, free: 70.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.084e-05/3.438, allocations: 24.84 kB / 473 MB, free: 70.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.141e-05/3.439, allocations: 36 kB / 473 MB, free: 70.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/3.44, allocations: 263.5 kB / 473.3 MB, free: 70.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-05/3.44, allocations: 47.8 kB / 473.3 MB, free: 70.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/3.442, allocations: 126.5 kB / 473.5 MB, free: 70.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/3.442, allocations: 71.98 kB / 473.5 MB, free: 70.14 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.0002057/3.442, allocations: 178 kB / 473.7 MB, free: 69.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/3.442, allocations: 63.16 kB / 473.8 MB, free: 69.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008054/3.443, allocations: 275.2 kB / 474 MB, free: 69.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/3.443, allocations: 0 / 474 MB, free: 69.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/3.443, allocations: 0 / 474 MB, free: 69.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/3.443, allocations: 0 / 474 MB, free: 69.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/3.444, allocations: 0.521 MB / 474.6 MB, free: 69.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/3.444, allocations: 0 / 474.6 MB, free: 69.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004357/3.445, allocations: 31.97 kB / 474.6 MB, free: 69.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/3.445, allocations: 8 kB / 474.6 MB, free: 69.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/3.445, allocations: 7.844 kB / 474.6 MB, free: 69.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/3.445, allocations: 0 / 474.6 MB, free: 69.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/3.445, allocations: 4 kB / 474.6 MB, free: 69.01 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000593/3.445, allocations: 338.5 kB / 474.9 MB, free: 68.66 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006135/3.446, allocations: 0.7178 MB / 475.7 MB, free: 67.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00021/3.446, allocations: 136.2 kB / 475.8 MB, free: 67.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/3.446, allocations: 4 kB / 475.8 MB, free: 67.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007877/3.447, allocations: 11.98 kB / 475.8 MB, free: 67.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/3.447, allocations: 11.98 kB / 475.8 MB, free: 67.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/3.447, allocations: 4 kB / 475.8 MB, free: 67.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.001084/3.448, allocations: 495.1 kB / 476.3 MB, free: 67.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002867/3.451, allocations: 211 kB / 476.5 MB, free: 67.06 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.0001965/3.452, allocations: 95.25 kB / 476.6 MB, free: 66.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00132/3.453, allocations: 0.5378 MB / 477.1 MB, free: 66.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/3.453, allocations: 0 / 477.1 MB, free: 66.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002205/3.453, allocations: 91.83 kB / 477.2 MB, free: 66.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000637/3.454, allocations: 59.23 kB / 477.3 MB, free: 66.28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003443/3.457, allocations: 1.104 MB / 478.4 MB, free: 65.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/3.459, allocations: 1.221 MB / 479.6 MB, free: 63.89 MB / 378.7 MB Notification: Performance of SimCode: time 1.743e-06/3.459, allocations: 0 / 479.6 MB, free: 63.89 MB / 378.7 MB