Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Visualizers_Torus",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.875/1.875, allocations: 209.3 MB / 216.3 MB, free: 6.809 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2621/2.137, allocations: 51.03 MB / 267.3 MB, free: 5.168 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/2.266, allocations: 48.69 MB / 316 MB, free: 4.391 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3599/2.626, allocations: 82.29 MB / 398.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/2.627, allocations: 83.33 kB / 398.3 MB, free: 10.58 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: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.3165/2.943, allocations: 68.68 MB / 467 MB, free: 8.887 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.198e-05/2.943, allocations: 8 kB / 467 MB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03474/2.978, allocations: 2.647 MB / 469.7 MB, free: 6.223 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0123/2.991, allocations: 2.063 MB / 471.7 MB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004663/2.991, allocations: 116 kB / 471.9 MB, free: 4 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003224/2.994, allocations: 200 kB / 472 MB, free: 3.805 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02451/3.019, allocations: 6.516 MB / 478.6 MB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03787/3.057, allocations: 8.564 MB / 487.1 MB, free: 4.352 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001968/3.057, allocations: 19.81 kB / 487.1 MB, free: 4.332 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002532/3.06, allocations: 12 kB / 487.2 MB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002408/3.062, allocations: 1.109 MB / 488.3 MB, free: 3.215 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2228/3.285, allocations: 26.62 MB / 0.5028 GB, free: 139.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004573/3.29, allocations: 2.676 MB / 0.5054 GB, free: 138.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00212/3.292, allocations: 0.8967 MB / 0.5063 GB, free: 138.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001752/3.294, allocations: 1.627 MB / 0.5079 GB, free: 136.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/3.294, allocations: 47.06 kB / 0.5079 GB, free: 136.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=162): time 6.512e-06/3.294, allocations: 3.406 kB / 0.5079 GB, free: 136.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=162): time 0.007813/3.302, allocations: 2.239 MB / 0.5101 GB, free: 136.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/3.302, allocations: 66.38 kB / 0.5102 GB, free: 136.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004681/3.306, allocations: 2.069 MB / 0.5122 GB, free: 136.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002806/3.307, allocations: 25.7 kB / 0.5122 GB, free: 136.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001833/3.309, allocations: 2.548 MB / 0.5147 GB, free: 134.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008996/3.309, allocations: 0.5955 MB / 0.5153 GB, free: 134.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005125/3.31, allocations: 0 / 0.5153 GB, free: 134.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005077/3.311, allocations: 0.5554 MB / 0.5159 GB, free: 134.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003713/3.314, allocations: 1.388 MB / 0.5172 GB, free: 134.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006069/3.32, allocations: 4.358 MB / 0.5215 GB, free: 130.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006099/3.327, allocations: 2.555 MB / 0.524 GB, free: 129.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001125/3.327, allocations: 31.03 kB / 0.524 GB, free: 129.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01435/3.341, allocations: 5.074 MB / 0.5289 GB, free: 127.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/3.341, allocations: 10.88 kB / 0.529 GB, free: 127.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001635/3.341, allocations: 104.5 kB / 0.5291 GB, free: 127.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001883/3.342, allocations: 154.9 kB / 0.5292 GB, free: 127.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006733/3.348, allocations: 1.057 MB / 0.5302 GB, free: 127.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002206/3.349, allocations: 213.7 kB / 0.5304 GB, free: 127.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005062/3.354, allocations: 0.5271 MB / 0.531 GB, free: 127.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00119/3.355, allocations: 307.1 kB / 0.5312 GB, free: 127.4 MB / 410.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.001019/3.356, allocations: 368.1 kB / 0.5316 GB, free: 127.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005225/3.356, allocations: 216.9 kB / 0.5318 GB, free: 126.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005576/3.362, allocations: 2.117 MB / 0.5339 GB, free: 126.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-05/3.362, allocations: 11.72 kB / 0.5339 GB, free: 126.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/3.362, allocations: 5 kB / 0.5339 GB, free: 126.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/3.362, allocations: 6.797 kB / 0.5339 GB, free: 126.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.018/3.38, allocations: 6.417 MB / 0.5402 GB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-05/3.38, allocations: 8 kB / 0.5402 GB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/3.382, allocations: 189.9 kB / 0.5403 GB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-05/3.382, allocations: 16 kB / 0.5404 GB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/3.382, allocations: 23.23 kB / 0.5404 GB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-05/3.382, allocations: 19.94 kB / 0.5404 GB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/3.382, allocations: 11.94 kB / 0.5404 GB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004519/3.387, allocations: 3.024 MB / 0.5434 GB, free: 118.9 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004604/3.392, allocations: 3.429 MB / 0.5467 GB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006791/3.392, allocations: 297.7 kB / 0.547 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004624/3.393, allocations: 19.8 kB / 0.547 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/3.394, allocations: 23.08 kB / 0.547 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/3.394, allocations: 89.34 kB / 0.5471 GB, free: 114.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/3.394, allocations: 63.73 kB / 0.5472 GB, free: 114.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.003156/3.398, allocations: 1.353 MB / 0.5485 GB, free: 113.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007337/3.405, allocations: 0.9192 MB / 0.5494 GB, free: 112.7 MB / 410.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.0006914/3.406, allocations: 146.7 kB / 0.5495 GB, free: 112.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007571/3.413, allocations: 3.322 MB / 0.5528 GB, free: 109.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/3.413, allocations: 0.9844 kB / 0.5528 GB, free: 109.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002009/3.415, allocations: 0.9423 MB / 0.5537 GB, free: 108.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/3.417, allocations: 176.3 kB / 0.5539 GB, free: 108.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02003/3.437, allocations: 6.416 MB / 0.5601 GB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007834/3.445, allocations: 3.258 MB / 0.5633 GB, free: 100 MB / 410.7 MB Notification: Performance of SimCode: time 2.836e-06/3.445, allocations: 0 / 0.5633 GB, free: 100 MB / 410.7 MB