Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_Prismatic",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.453/2.453, allocations: 234.9 MB / 241.9 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1721/2.625, allocations: 57.21 MB / 299.1 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/2.899, allocations: 54.85 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4056/3.305, allocations: 94.65 MB / 448.6 MB, free: 31.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003655/3.305, allocations: 76.67 kB / 448.7 MB, free: 31.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: 1554 * Number of variables: 1554 Notification: Performance of Generate backend data structure: time 0.4632/3.768, allocations: 85.63 MB / 0.5218 GB, free: 236 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/3.768, allocations: 8 kB / 0.5218 GB, free: 228 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0368/3.805, allocations: 2.802 MB / 0.5245 GB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01955/3.825, allocations: 4.227 MB / 0.5287 GB, free: 9.125 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003251/3.825, allocations: 124 kB / 0.5288 GB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002944/3.828, allocations: 224 kB / 0.529 GB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02193/3.85, allocations: 7.208 MB / 0.536 GB, free: 1.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03499/3.885, allocations: 9.374 MB / 0.5452 GB, free: 7.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002776/3.885, allocations: 19.81 kB / 0.5452 GB, free: 7.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002675/3.888, allocations: 16 kB / 0.5452 GB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00359/3.892, allocations: 1.238 MB / 0.5464 GB, free: 6.477 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1007/3.993, allocations: 29.97 MB / 0.5757 GB, free: 7.879 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004558/3.997, allocations: 1.55 MB / 0.5772 GB, free: 6.316 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003361/4.001, allocations: 1.061 MB / 0.5783 GB, free: 5.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03048/4.031, allocations: 6.47 MB / 0.5846 GB, free: 14.22 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.318e-05/4.031, allocations: 43.55 kB / 0.5846 GB, free: 14.17 MB / 458.7 MB Notification: Performance of pre-optimization done (n=154): time 8.646e-06/4.031, allocations: 0 / 0.5846 GB, free: 14.17 MB / 458.7 MB Notification: Performance of matching and sorting (n=160): time 0.04875/4.08, allocations: 6.991 MB / 0.5914 GB, free: 7.078 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/4.08, allocations: 60.41 kB / 0.5915 GB, free: 7.008 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009645/4.09, allocations: 2.484 MB / 0.5939 GB, free: 4.508 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004171/4.09, allocations: 25.7 kB / 0.594 GB, free: 4.477 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003972/4.094, allocations: 2.814 MB / 0.5967 GB, free: 1.617 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001138/4.096, allocations: 0.6054 MB / 0.5973 GB, free: 1.004 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006789/4.096, allocations: 4 kB / 0.5973 GB, free: 1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008585/4.097, allocations: 0.5848 MB / 0.5979 GB, free: 416 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005932/4.103, allocations: 1.557 MB / 0.5994 GB, free: 14.84 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01284/4.116, allocations: 4.68 MB / 0.604 GB, free: 8.59 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01125/4.127, allocations: 2.795 MB / 0.6067 GB, free: 5.789 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001577/4.128, allocations: 35.94 kB / 0.6067 GB, free: 5.754 MB / 474.7 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.02785/4.155, allocations: 5.608 MB / 0.6122 GB, free: 148 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/4.156, allocations: 7.938 kB / 0.6122 GB, free: 140 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003014/4.156, allocations: 112 kB / 0.6123 GB, free: 28 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1975/4.353, allocations: 202.3 kB / 0.6125 GB, free: 155.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01136/4.365, allocations: 1.158 MB / 0.6136 GB, free: 155.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/4.368, allocations: 1.599 MB / 0.6152 GB, free: 154.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009147/4.377, allocations: 127.2 kB / 0.6153 GB, free: 154.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001922/4.379, allocations: 319.5 kB / 0.6156 GB, free: 154.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 509 * 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],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (648): * Single equations (assignments): 641 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002358/4.381, allocations: 381.8 kB / 0.616 GB, free: 154.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000885/4.382, allocations: 245.6 kB / 0.6162 GB, free: 154.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/4.384, allocations: 316.5 kB / 0.6165 GB, free: 154 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001605/4.384, allocations: 15.03 kB / 0.6165 GB, free: 154 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.161e-05/4.384, allocations: 0 / 0.6165 GB, free: 154 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.517e-05/4.384, allocations: 6.656 kB / 0.6165 GB, free: 154 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02196/4.406, allocations: 5.223 MB / 0.6216 GB, free: 153.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.214e-05/4.406, allocations: 5.875 kB / 0.6217 GB, free: 153.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003357/4.41, allocations: 184.6 kB / 0.6218 GB, free: 153.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000475/4.41, allocations: 49.88 kB / 0.6219 GB, free: 153.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004698/4.411, allocations: 11.5 kB / 0.6219 GB, free: 153.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002315/4.413, allocations: 1.4 MB / 0.6233 GB, free: 152.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.445e-05/4.413, allocations: 7.562 kB / 0.6233 GB, free: 152.4 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009053/4.422, allocations: 3.701 MB / 0.6269 GB, free: 151.8 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01091/4.433, allocations: 5.355 MB / 0.6321 GB, free: 150.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001871/4.435, allocations: 489.3 kB / 0.6326 GB, free: 150.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008555/4.436, allocations: 7.219 kB / 0.6326 GB, free: 150.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001972/4.438, allocations: 19.11 kB / 0.6326 GB, free: 150.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003813/4.439, allocations: 64.98 kB / 0.6327 GB, free: 150.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/4.439, allocations: 49.47 kB / 0.6327 GB, free: 150.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.00483/4.444, allocations: 1.631 MB / 0.6343 GB, free: 150.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01045/4.454, allocations: 0.7182 MB / 0.635 GB, free: 150.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 104 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/4.455, allocations: 147.3 kB / 0.6351 GB, free: 150.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01149/4.467, allocations: 3.707 MB / 0.6388 GB, free: 150.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/4.467, allocations: 0 / 0.6388 GB, free: 150.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002461/4.469, allocations: 1.054 MB / 0.6398 GB, free: 150.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/4.471, allocations: 205.8 kB / 0.64 GB, free: 150.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02105/4.492, allocations: 6.72 MB / 0.6465 GB, free: 148.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009666/4.502, allocations: 3.482 MB / 0.6499 GB, free: 148 MB / 474.7 MB Notification: Performance of SimCode: time 2.425e-06/4.502, allocations: 0 / 0.6499 GB, free: 148 MB / 474.7 MB