Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_TestMove",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.117/2.117, allocations: 209.3 MB / 216.3 MB, free: 6.785 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.277/2.394, allocations: 51.02 MB / 267.3 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/2.526, allocations: 48.69 MB / 316 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3687/2.895, allocations: 87.7 MB / 403.7 MB, free: 5.234 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/2.895, allocations: 80.11 kB / 403.7 MB, free: 5.195 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: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.3485/3.244, allocations: 58.63 MB / 462.4 MB, free: 13.69 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/3.244, allocations: 8 kB / 462.4 MB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02227/3.266, allocations: 1.584 MB / 464 MB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0203/3.286, allocations: 3.376 MB / 467.3 MB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003037/3.287, allocations: 80 kB / 467.4 MB, free: 8.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001911/3.289, allocations: 139.9 kB / 467.6 MB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01688/3.306, allocations: 4.092 MB / 471.7 MB, free: 4.355 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02579/3.331, allocations: 6.37 MB / 478 MB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002368/3.332, allocations: 47.56 kB / 478.1 MB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001562/3.333, allocations: 27.91 kB / 478.1 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002674/3.336, allocations: 0.7576 MB / 478.9 MB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.251/3.587, allocations: 32.73 MB / 0.4996 GB, free: 127 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005319/3.593, allocations: 2.06 MB / 0.5016 GB, free: 126.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003279/3.596, allocations: 1.142 MB / 0.5027 GB, free: 126.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01409/3.61, allocations: 3.666 MB / 0.5063 GB, free: 125 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.711e-05/3.61, allocations: 41.39 kB / 0.5063 GB, free: 125 MB / 410.7 MB Notification: Performance of pre-optimization done (n=94): time 7.003e-06/3.61, allocations: 3.969 kB / 0.5063 GB, free: 125 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.03024/3.64, allocations: 6.228 MB / 0.5124 GB, free: 123.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.098e-05/3.641, allocations: 143.8 kB / 0.5126 GB, free: 123.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007433/3.648, allocations: 2.194 MB / 0.5147 GB, free: 123.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003685/3.648, allocations: 32.7 kB / 0.5147 GB, free: 123.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00234/3.651, allocations: 2.065 MB / 0.5168 GB, free: 121.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008396/3.652, allocations: 428.6 kB / 0.5172 GB, free: 121.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000455/3.652, allocations: 0 / 0.5172 GB, free: 121.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005655/3.653, allocations: 0.5469 MB / 0.5177 GB, free: 121.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004601/3.657, allocations: 1.33 MB / 0.519 GB, free: 121.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007643/3.665, allocations: 4.268 MB / 0.5232 GB, free: 117.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008372/3.674, allocations: 2.392 MB / 0.5255 GB, free: 116.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001684/3.674, allocations: 31.16 kB / 0.5255 GB, free: 116.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=590) (initialization): time 0.01826/3.692, allocations: 4.877 MB / 0.5303 GB, free: 115.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/3.692, allocations: 6.844 kB / 0.5303 GB, free: 115.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001931/3.692, allocations: 105.5 kB / 0.5304 GB, free: 115.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001807/3.693, allocations: 157.7 kB / 0.5306 GB, free: 115.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008849/3.701, allocations: 1.091 MB / 0.5316 GB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002004/3.702, allocations: 216.3 kB / 0.5318 GB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006509/3.708, allocations: 178.5 kB / 0.532 GB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001629/3.71, allocations: 295.9 kB / 0.5323 GB, free: 115.1 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: 15 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (566): * Single equations (assignments): 563 * Array equations: 3 * 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.001492/3.711, allocations: 353.4 kB / 0.5326 GB, free: 114.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008426/3.712, allocations: 220.8 kB / 0.5328 GB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003971/3.716, allocations: 1.213 MB / 0.534 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.285e-05/3.716, allocations: 11.12 kB / 0.534 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/3.716, allocations: 10.17 kB / 0.534 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.966e-05/3.717, allocations: 3 kB / 0.534 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009913/3.726, allocations: 3.215 MB / 0.5372 GB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.95e-05/3.727, allocations: 6.922 kB / 0.5372 GB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002367/3.729, allocations: 176.1 kB / 0.5373 GB, free: 113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-05/3.729, allocations: 3.344 kB / 0.5374 GB, free: 113 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001486/3.729, allocations: 4.656 kB / 0.5374 GB, free: 113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/3.729, allocations: 12.22 kB / 0.5374 GB, free: 113 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-06/3.729, allocations: 5.156 kB / 0.5374 GB, free: 113 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004464/3.734, allocations: 1.996 MB / 0.5393 GB, free: 112.1 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00515/3.739, allocations: 2.398 MB / 0.5417 GB, free: 110.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/3.74, allocations: 419.7 kB / 0.5421 GB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006373/3.741, allocations: 1.375 kB / 0.5421 GB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002125/3.743, allocations: 45.5 kB / 0.5421 GB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003016/3.743, allocations: 46.77 kB / 0.5422 GB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/3.744, allocations: 28.91 kB / 0.5422 GB, free: 110.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.00444/3.748, allocations: 1.459 MB / 0.5436 GB, free: 109.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007014/3.755, allocations: 0.5479 MB / 0.5441 GB, free: 109.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 3 * 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.0007176/3.756, allocations: 164.3 kB / 0.5443 GB, free: 109.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008057/3.764, allocations: 3.054 MB / 0.5473 GB, free: 108 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/3.764, allocations: 0 / 0.5473 GB, free: 108 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001791/3.766, allocations: 0.7496 MB / 0.548 GB, free: 107.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/3.768, allocations: 190.9 kB / 0.5482 GB, free: 107.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/3.782, allocations: 4.364 MB / 0.5525 GB, free: 103.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00586/3.788, allocations: 2.454 MB / 0.5549 GB, free: 101.3 MB / 410.7 MB Notification: Performance of SimCode: time 2.194e-06/3.788, allocations: 0 / 0.5549 GB, free: 101.3 MB / 410.7 MB