Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_Revolute",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.2/2.2, allocations: 234.9 MB / 241.9 MB, free: 9.801 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1789/2.379, allocations: 57.21 MB / 299.1 MB, free: 488 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/2.694, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3843/3.078, allocations: 95.19 MB / 449.2 MB, free: 31.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/3.079, allocations: 76.28 kB / 449.2 MB, free: 31.61 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.431/3.51, allocations: 86.72 MB / 0.5234 GB, free: 14.65 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/3.51, allocations: 8 kB / 0.5234 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03297/3.543, allocations: 2.798 MB / 0.5261 GB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.026/3.569, allocations: 4.198 MB / 0.5302 GB, free: 7.578 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005227/3.569, allocations: 127.9 kB / 0.5304 GB, free: 7.453 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003696/3.573, allocations: 224 kB / 0.5306 GB, free: 7.234 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02856/3.602, allocations: 7.443 MB / 0.5378 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04022/3.642, allocations: 9.635 MB / 0.5472 GB, free: 5.703 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002745/3.642, allocations: 31.72 kB / 0.5473 GB, free: 5.672 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002613/3.645, allocations: 12 kB / 0.5473 GB, free: 5.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003248/3.648, allocations: 1.277 MB / 0.5485 GB, free: 4.379 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1219/3.77, allocations: 33.35 MB / 0.5811 GB, free: 2.387 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.014/3.784, allocations: 4.293 MB / 0.5853 GB, free: 13.86 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008769/3.793, allocations: 2.377 MB / 0.5876 GB, free: 11.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04267/3.836, allocations: 10.13 MB / 0.5975 GB, free: 0.625 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.884e-05/3.836, allocations: 51.86 kB / 0.5976 GB, free: 0.5664 MB / 458.7 MB Notification: Performance of pre-optimization done (n=186): time 1.16e-05/3.836, allocations: 3.984 kB / 0.5976 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of matching and sorting (n=201): time 0.06627/3.902, allocations: 11.92 MB / 0.6092 GB, free: 4.566 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/3.903, allocations: 64.72 kB / 0.6093 GB, free: 4.488 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/3.914, allocations: 2.479 MB / 0.6117 GB, free: 1.996 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007017/3.914, allocations: 25.7 kB / 0.6117 GB, free: 1.965 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1851/4.099, allocations: 2.804 MB / 0.6145 GB, free: 159.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001753/4.101, allocations: 0.7265 MB / 0.6152 GB, free: 159.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009907/4.102, allocations: 0 / 0.6152 GB, free: 159.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001167/4.104, allocations: 0.5976 MB / 0.6157 GB, free: 159 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00639/4.11, allocations: 2.195 MB / 0.6179 GB, free: 158.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007972/4.118, allocations: 5.321 MB / 0.6231 GB, free: 154.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01192/4.13, allocations: 3.481 MB / 0.6265 GB, free: 154.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001183/4.13, allocations: 33.94 kB / 0.6265 GB, free: 154.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=740) (initialization): time 0.02577/4.156, allocations: 7.496 MB / 0.6338 GB, free: 154.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/4.156, allocations: 10.41 kB / 0.6338 GB, free: 154.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001884/4.156, allocations: 109.6 kB / 0.634 GB, free: 154.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004368/4.161, allocations: 0.7594 MB / 0.6347 GB, free: 154.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00864/4.169, allocations: 1.248 MB / 0.6359 GB, free: 154.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008755/4.178, allocations: 3.924 MB / 0.6397 GB, free: 153 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008561/4.187, allocations: 165.1 kB / 0.6399 GB, free: 153 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002144/4.189, allocations: 333.5 kB / 0.6402 GB, free: 153 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 506 * Number of states: 0 () * Number of discrete variables: 24 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (680): * Single equations (assignments): 673 * 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 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00284/4.192, allocations: 377.5 kB / 0.6406 GB, free: 152.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/4.193, allocations: 259.4 kB / 0.6408 GB, free: 152.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01416/4.207, allocations: 4.187 MB / 0.6449 GB, free: 152.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001327/4.207, allocations: 38.7 kB / 0.645 GB, free: 152.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/4.207, allocations: 0 / 0.645 GB, free: 152.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.113e-05/4.207, allocations: 9.141 kB / 0.645 GB, free: 152.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02818/4.236, allocations: 8.101 MB / 0.6529 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.662e-05/4.236, allocations: 0 / 0.6529 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00313/4.239, allocations: 273.3 kB / 0.6531 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003987/4.243, allocations: 0.5788 MB / 0.6537 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005052/4.243, allocations: 6.844 kB / 0.6537 GB, free: 152.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007891/4.251, allocations: 3.43 MB / 0.6571 GB, free: 150.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/4.251, allocations: 96 / 0.6571 GB, free: 150.9 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0168/4.268, allocations: 6.385 MB / 0.6633 GB, free: 149.5 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02471/4.293, allocations: 9.161 MB / 0.6722 GB, free: 146.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002511/4.295, allocations: 0.6262 MB / 0.6729 GB, free: 145.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001105/4.297, allocations: 1.344 kB / 0.6729 GB, free: 145.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002945/4.3, allocations: 59.22 kB / 0.6729 GB, free: 145.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000512/4.3, allocations: 75.72 kB / 0.673 GB, free: 145.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002486/4.3, allocations: 49.97 kB / 0.673 GB, free: 145.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.004307/4.305, allocations: 1.631 MB / 0.6746 GB, free: 145.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008919/4.314, allocations: 0.8348 MB / 0.6754 GB, free: 145.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 139 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001084/4.315, allocations: 142.4 kB / 0.6756 GB, free: 145.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02136/4.336, allocations: 5.157 MB / 0.6806 GB, free: 143.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/4.336, allocations: 0 / 0.6806 GB, free: 143.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006596/4.343, allocations: 1.804 MB / 0.6824 GB, free: 142.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00391/4.347, allocations: 208.2 kB / 0.6826 GB, free: 142.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04479/4.392, allocations: 7.573 MB / 0.69 GB, free: 135.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01522/4.407, allocations: 3.541 MB / 0.6934 GB, free: 133.1 MB / 474.7 MB Notification: Performance of SimCode: time 4.518e-06/4.407, allocations: 3.438 kB / 0.6934 GB, free: 133.1 MB / 474.7 MB