Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Planar",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.097/2.097, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2338/2.331, allocations: 51.03 MB / 267.3 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/2.461, allocations: 48.68 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3539/2.815, allocations: 92.44 MB / 408.4 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004215/2.815, allocations: 81.83 kB / 408.5 MB, free: 484 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1910 * Number of variables: 1910 Notification: Performance of Generate backend data structure: time 0.7671/3.582, allocations: 117.6 MB / 0.5137 GB, free: 88.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/3.582, allocations: 14.7 kB / 0.5138 GB, free: 88.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02829/3.611, allocations: 2.938 MB / 0.5166 GB, free: 88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01895/3.63, allocations: 4.859 MB / 0.5214 GB, free: 87.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003115/3.63, allocations: 165.2 kB / 0.5215 GB, free: 87.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003258/3.633, allocations: 288.3 kB / 0.5218 GB, free: 87.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02324/3.657, allocations: 8.654 MB / 0.5303 GB, free: 86.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04061/3.697, allocations: 11.39 MB / 0.5414 GB, free: 81.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005043/3.698, allocations: 32.84 kB / 0.5414 GB, free: 81.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004122/3.702, allocations: 15.44 kB / 0.5414 GB, free: 81.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005409/3.708, allocations: 1.472 MB / 0.5429 GB, free: 81.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1277/3.835, allocations: 40.15 MB / 0.5821 GB, free: 47.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007099/3.843, allocations: 3.084 MB / 0.5851 GB, free: 44.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005486/3.848, allocations: 2.503 MB / 0.5875 GB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02994/3.878, allocations: 10.06 MB / 0.5973 GB, free: 31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.81e-05/3.878, allocations: 52.56 kB / 0.5974 GB, free: 30.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=218): time 8.837e-06/3.878, allocations: 0 / 0.5974 GB, free: 30.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=245): time 0.06585/3.944, allocations: 16.6 MB / 0.6136 GB, free: 14.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/3.944, allocations: 73.34 kB / 0.6137 GB, free: 14.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009856/3.954, allocations: 2.895 MB / 0.6165 GB, free: 11.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001059/3.955, allocations: 29.7 kB / 0.6165 GB, free: 11.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002774/3.958, allocations: 3.322 MB / 0.6198 GB, free: 7.867 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001683/3.96, allocations: 0.8865 MB / 0.6206 GB, free: 6.969 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001193/3.961, allocations: 0 / 0.6206 GB, free: 6.969 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0008302/3.962, allocations: 0.5908 MB / 0.6212 GB, free: 6.371 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006933/3.969, allocations: 2.547 MB / 0.6237 GB, free: 3.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01084/3.98, allocations: 6.177 MB / 0.6297 GB, free: 11.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01445/3.994, allocations: 4.036 MB / 0.6337 GB, free: 7.793 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001418/3.994, allocations: 39.94 kB / 0.6337 GB, free: 7.754 MB / 426.7 MB Notification: Performance of matching and sorting (n=867) (initialization): time 0.2375/4.232, allocations: 8.784 MB / 0.6423 GB, free: 132.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/4.232, allocations: 6.75 kB / 0.6423 GB, free: 132.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002167/4.232, allocations: 128.8 kB / 0.6424 GB, free: 132.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007257/4.24, allocations: 1.007 MB / 0.6434 GB, free: 132.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01475/4.254, allocations: 1.465 MB / 0.6448 GB, free: 132.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/4.266, allocations: 4.786 MB / 0.6495 GB, free: 131.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007699/4.274, allocations: 174.7 kB / 0.6497 GB, free: 131.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001715/4.276, allocations: 387.9 kB / 0.6501 GB, free: 131.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * Number of states: 0 () * Number of discrete variables: 39 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (805): * Single equations (assignments): 798 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,76.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002282/4.278, allocations: 440.3 kB / 0.6505 GB, free: 131.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008216/4.279, allocations: 317.2 kB / 0.6508 GB, free: 131.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01641/4.295, allocations: 4.944 MB / 0.6556 GB, free: 131.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001437/4.296, allocations: 40.89 kB / 0.6556 GB, free: 131.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.686e-05/4.296, allocations: 6.094 kB / 0.6557 GB, free: 131.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-05/4.296, allocations: 8.953 kB / 0.6557 GB, free: 131.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03573/4.331, allocations: 10.16 MB / 0.6656 GB, free: 130.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-05/4.331, allocations: 7.219 kB / 0.6656 GB, free: 130.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003879/4.335, allocations: 351.7 kB / 0.6659 GB, free: 130.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005563/4.341, allocations: 0.8037 MB / 0.6667 GB, free: 130.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006656/4.342, allocations: 20.95 kB / 0.6667 GB, free: 130.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/4.352, allocations: 4.163 MB / 0.6708 GB, free: 129.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.377e-05/4.352, allocations: 3.438 kB / 0.6708 GB, free: 129.3 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02108/4.373, allocations: 7.96 MB / 0.6786 GB, free: 128.1 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02664/4.4, allocations: 11.08 MB / 0.6894 GB, free: 123.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002706/4.402, allocations: 0.7153 MB / 0.6901 GB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001402/4.404, allocations: 7.156 kB / 0.6901 GB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003602/4.407, allocations: 63.11 kB / 0.6902 GB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008597/4.408, allocations: 115.8 kB / 0.6903 GB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003298/4.409, allocations: 59.75 kB / 0.6903 GB, free: 123.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.005644/4.414, allocations: 1.903 MB / 0.6922 GB, free: 122.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009328/4.424, allocations: 0.996 MB / 0.6932 GB, free: 122.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (188): * Single equations (assignments): 181 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009999/4.425, allocations: 143.1 kB / 0.6933 GB, free: 122.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02092/4.446, allocations: 5.993 MB / 0.6991 GB, free: 120.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.981e-05/4.446, allocations: 4.234 kB / 0.6991 GB, free: 120.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005919/4.452, allocations: 2.124 MB / 0.7012 GB, free: 120.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/4.455, allocations: 263.9 kB / 0.7015 GB, free: 120.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.048/4.503, allocations: 9.438 MB / 0.7107 GB, free: 111.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02422/4.527, allocations: 4.213 MB / 0.7148 GB, free: 108.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.603e-06/4.527, allocations: 0 / 0.7148 GB, free: 108.6 MB / 426.7 MB