Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Visualizers_Torus",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.561/2.561, allocations: 235 MB / 242 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1536/2.715, allocations: 57.2 MB / 299.2 MB, free: 460 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/3.011, allocations: 54.85 MB / 354.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2009/3.212, allocations: 88.63 MB / 442.7 MB, free: 4.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004196/3.213, allocations: 75.91 kB / 442.8 MB, free: 4.586 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: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.5588/3.771, allocations: 68.67 MB / 0.4995 GB, free: 33.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/3.771, allocations: 8 kB / 0.4995 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0324/3.804, allocations: 2.658 MB / 0.5021 GB, free: 30.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007867/3.812, allocations: 2.063 MB / 0.5041 GB, free: 28.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002792/3.812, allocations: 119.9 kB / 0.5042 GB, free: 28.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002609/3.815, allocations: 208 kB / 0.5044 GB, free: 28.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02112/3.836, allocations: 6.512 MB / 0.5108 GB, free: 21.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0313/3.867, allocations: 8.564 MB / 0.5191 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001367/3.867, allocations: 15.81 kB / 0.5191 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001653/3.869, allocations: 15.98 kB / 0.5191 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001749/3.871, allocations: 1.112 MB / 0.5202 GB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06755/3.938, allocations: 26.62 MB / 0.5462 GB, free: 396 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006119/3.945, allocations: 2.668 MB / 0.5488 GB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002652/3.947, allocations: 0.8919 MB / 0.5497 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002432/3.95, allocations: 1.626 MB / 0.5513 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.868e-05/3.95, allocations: 47.55 kB / 0.5513 GB, free: 10.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=162): time 5.781e-06/3.95, allocations: 0 / 0.5513 GB, free: 10.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=162): time 0.009939/3.96, allocations: 2.239 MB / 0.5535 GB, free: 8.391 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/3.96, allocations: 68.39 kB / 0.5536 GB, free: 8.309 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006614/3.967, allocations: 2.07 MB / 0.5556 GB, free: 6.211 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003418/3.967, allocations: 29.7 kB / 0.5556 GB, free: 6.176 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003183/3.97, allocations: 2.559 MB / 0.5581 GB, free: 3.574 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001256/3.972, allocations: 0.5898 MB / 0.5587 GB, free: 2.977 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005598/3.972, allocations: 0 / 0.5587 GB, free: 2.977 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0007415/3.973, allocations: 0.5564 MB / 0.5593 GB, free: 2.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004784/3.978, allocations: 1.388 MB / 0.5606 GB, free: 1.016 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008561/3.986, allocations: 4.354 MB / 0.5649 GB, free: 11.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008277/3.995, allocations: 2.557 MB / 0.5674 GB, free: 8.598 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001385/3.995, allocations: 32 kB / 0.5674 GB, free: 8.566 MB / 426.7 MB Notification: Performance of matching and sorting (n=639) (initialization): time 0.02083/4.016, allocations: 5.072 MB / 0.5723 GB, free: 3.488 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/4.016, allocations: 7.984 kB / 0.5724 GB, free: 3.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001927/4.016, allocations: 108 kB / 0.5725 GB, free: 3.375 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002555/4.016, allocations: 152 kB / 0.5726 GB, free: 3.227 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008003/4.024, allocations: 1.061 MB / 0.5736 GB, free: 2.164 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002973/4.025, allocations: 207.2 kB / 0.5738 GB, free: 1.961 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006398/4.031, allocations: 0.5286 MB / 0.5744 GB, free: 1.426 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001484/4.033, allocations: 307.9 kB / 0.5746 GB, free: 1.129 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 485 * Number of states: 0 () * Number of discrete variables: 18 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (591): * Single equations (assignments): 585 * Array equations: 6 * 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.001609/4.034, allocations: 368.2 kB / 0.575 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000618/4.035, allocations: 217.1 kB / 0.5752 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007575/4.042, allocations: 2.13 MB / 0.5773 GB, free: 14.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001311/4.043, allocations: 12 kB / 0.5773 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/4.043, allocations: 0 / 0.5773 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.877e-05/4.043, allocations: 3.984 kB / 0.5773 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02362/4.066, allocations: 6.408 MB / 0.5836 GB, free: 7.719 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.879e-05/4.066, allocations: 8 kB / 0.5836 GB, free: 7.711 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00207/4.069, allocations: 195.8 kB / 0.5838 GB, free: 7.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.522e-05/4.069, allocations: 16 kB / 0.5838 GB, free: 7.504 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003614/4.069, allocations: 23.98 kB / 0.5838 GB, free: 7.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.837e-05/4.069, allocations: 19.92 kB / 0.5838 GB, free: 7.461 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.882e-05/4.069, allocations: 15.94 kB / 0.5838 GB, free: 7.445 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008671/4.078, allocations: 3.025 MB / 0.5868 GB, free: 3.977 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007735/4.086, allocations: 3.42 MB / 0.5901 GB, free: 112 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009994/4.087, allocations: 301.9 kB / 0.5904 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001124/4.088, allocations: 15.98 kB / 0.5904 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002245/4.09, allocations: 23.89 kB / 0.5904 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005701/4.091, allocations: 84.41 kB / 0.5905 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002273/4.091, allocations: 59.98 kB / 0.5906 GB, free: 15.61 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.004557/4.096, allocations: 1.359 MB / 0.5919 GB, free: 14.23 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01311/4.109, allocations: 0.9251 MB / 0.5928 GB, free: 13.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 106 * Array equations: 6 * 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.001028/4.11, allocations: 146.8 kB / 0.593 GB, free: 13.15 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01471/4.125, allocations: 3.322 MB / 0.5962 GB, free: 9.855 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.949e-05/4.125, allocations: 3.938 kB / 0.5962 GB, free: 9.852 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004093/4.129, allocations: 0.9491 MB / 0.5971 GB, free: 8.906 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/4.132, allocations: 163.6 kB / 0.5973 GB, free: 8.742 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02968/4.161, allocations: 6.415 MB / 0.6035 GB, free: 2.137 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.196/4.357, allocations: 3.255 MB / 0.6067 GB, free: 160.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.723e-06/4.358, allocations: 0 / 0.6067 GB, free: 160.7 MB / 458.7 MB