Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_3_2_2_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.352/2.352, allocations: 234.9 MB / 241.9 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1639/2.516, allocations: 57.21 MB / 299.1 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/2.86, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4575/3.318, allocations: 99.03 MB / 453 MB, free: 33.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004238/3.318, allocations: 78.11 kB / 453.1 MB, free: 33.44 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: 1911 * Number of variables: 1911 Notification: Performance of Generate backend data structure: time 0.5618/3.88, allocations: 117.7 MB / 0.5574 GB, free: 11.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/3.88, allocations: 8 kB / 0.5574 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04366/3.924, allocations: 2.941 MB / 0.5603 GB, free: 8.727 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02722/3.951, allocations: 4.85 MB / 0.565 GB, free: 3.816 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000427/3.951, allocations: 160 kB / 0.5652 GB, free: 3.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003377/3.955, allocations: 287.9 kB / 0.5654 GB, free: 3.379 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02831/3.983, allocations: 8.658 MB / 0.5739 GB, free: 10.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04127/4.025, allocations: 11.4 MB / 0.585 GB, free: 14.78 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003266/4.025, allocations: 39.59 kB / 0.5851 GB, free: 14.74 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003335/4.028, allocations: 16 kB / 0.5851 GB, free: 14.72 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003689/4.032, allocations: 1.471 MB / 0.5865 GB, free: 13.25 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2771/4.309, allocations: 40.15 MB / 0.6257 GB, free: 126.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007309/4.317, allocations: 3.073 MB / 0.6287 GB, free: 126.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005806/4.322, allocations: 2.497 MB / 0.6312 GB, free: 126.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02757/4.35, allocations: 10.07 MB / 0.641 GB, free: 123.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/4.35, allocations: 50.62 kB / 0.641 GB, free: 123 MB / 474.7 MB Notification: Performance of pre-optimization done (n=218): time 5.781e-06/4.35, allocations: 0 / 0.641 GB, free: 123 MB / 474.7 MB Notification: Performance of matching and sorting (n=245): time 0.07041/4.421, allocations: 16.6 MB / 0.6573 GB, free: 121.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/4.421, allocations: 71.03 kB / 0.6573 GB, free: 121.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007312/4.428, allocations: 2.891 MB / 0.6601 GB, free: 121.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005854/4.429, allocations: 28.33 kB / 0.6602 GB, free: 121.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002666/4.431, allocations: 3.33 MB / 0.6634 GB, free: 119.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00144/4.433, allocations: 0.8879 MB / 0.6643 GB, free: 118.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000833/4.434, allocations: 0 / 0.6643 GB, free: 118.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005961/4.434, allocations: 0.5938 MB / 0.6649 GB, free: 118.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006524/4.441, allocations: 2.542 MB / 0.6674 GB, free: 118.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009568/4.45, allocations: 6.176 MB / 0.6734 GB, free: 113.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01005/4.461, allocations: 4.037 MB / 0.6773 GB, free: 113.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001651/4.461, allocations: 38.09 kB / 0.6774 GB, free: 113.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=867) (initialization): time 0.03044/4.491, allocations: 8.787 MB / 0.6859 GB, free: 111.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/4.491, allocations: 3.844 kB / 0.6859 GB, free: 111.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002567/4.492, allocations: 134 kB / 0.6861 GB, free: 111.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00617/4.498, allocations: 1.002 MB / 0.6871 GB, free: 111.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01018/4.508, allocations: 1.471 MB / 0.6885 GB, free: 111.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01687/4.525, allocations: 4.781 MB / 0.6932 GB, free: 109.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007979/4.533, allocations: 180.2 kB / 0.6933 GB, free: 109.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001814/4.535, allocations: 388 kB / 0.6937 GB, free: 109 MB / 474.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.001808/4.537, allocations: 444 kB / 0.6941 GB, free: 108.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000808/4.537, allocations: 310.2 kB / 0.6944 GB, free: 108.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01782/4.555, allocations: 4.955 MB / 0.6993 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001631/4.556, allocations: 34.94 kB / 0.6993 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.718e-05/4.556, allocations: 6.156 kB / 0.6993 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-05/4.556, allocations: 7.859 kB / 0.6993 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0437/4.599, allocations: 10.18 MB / 0.7092 GB, free: 103.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-05/4.599, allocations: 4.562 kB / 0.7092 GB, free: 103.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003921/4.603, allocations: 349.6 kB / 0.7096 GB, free: 103.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005678/4.609, allocations: 0.7974 MB / 0.7104 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006697/4.61, allocations: 12.67 kB / 0.7104 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/4.62, allocations: 4.164 MB / 0.7144 GB, free: 100.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.194e-05/4.62, allocations: 18.64 kB / 0.7145 GB, free: 100.1 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02482/4.645, allocations: 7.962 MB / 0.7222 GB, free: 92.91 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03801/4.683, allocations: 11.08 MB / 0.7331 GB, free: 82.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003984/4.687, allocations: 0.7083 MB / 0.7337 GB, free: 82.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002021/4.689, allocations: 10.44 kB / 0.7338 GB, free: 82.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004931/4.694, allocations: 68.03 kB / 0.7338 GB, free: 82.19 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00152/4.696, allocations: 108.9 kB / 0.7339 GB, free: 82.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009385/4.697, allocations: 60 kB / 0.734 GB, free: 82.07 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.009732/4.706, allocations: 1.911 MB / 0.7358 GB, free: 80.42 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01365/4.72, allocations: 0.9902 MB / 0.7368 GB, free: 79.43 MB / 474.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.0009409/4.721, allocations: 151.3 kB / 0.737 GB, free: 79.29 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0141/4.735, allocations: 5.986 MB / 0.7428 GB, free: 73.88 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/4.735, allocations: 0 / 0.7428 GB, free: 73.88 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005098/4.74, allocations: 2.122 MB / 0.7449 GB, free: 71.95 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/4.743, allocations: 254.6 kB / 0.7451 GB, free: 71.73 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03053/4.774, allocations: 9.447 MB / 0.7543 GB, free: 63.37 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01243/4.786, allocations: 4.21 MB / 0.7585 GB, free: 60.11 MB / 474.7 MB Notification: Performance of SimCode: time 1.634e-06/4.786, allocations: 3.094 kB / 0.7585 GB, free: 60.11 MB / 474.7 MB