Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_1_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.146/2.146, allocations: 209.3 MB / 216.3 MB, free: 4.234 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1808/2.327, allocations: 51.02 MB / 267.3 MB, free: 1.25 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/2.634, allocations: 48.7 MB / 316 MB, free: 13.46 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1689/2.803, allocations: 87.95 MB / 403.9 MB, free: 9.078 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/2.803, allocations: 75.95 kB / 404 MB, free: 9.004 MB / 346.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.6439/3.447, allocations: 85.62 MB / 489.6 MB, free: 79.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/3.447, allocations: 8 kB / 489.6 MB, free: 79.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03845/3.486, allocations: 2.802 MB / 492.4 MB, free: 76.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02474/3.51, allocations: 4.225 MB / 496.7 MB, free: 72.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003929/3.511, allocations: 128 kB / 496.8 MB, free: 72.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00331/3.514, allocations: 220 kB / 497 MB, free: 72.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02577/3.54, allocations: 7.208 MB / 0.4924 GB, free: 64.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03628/3.576, allocations: 9.371 MB / 0.5015 GB, free: 55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002559/3.577, allocations: 23.81 kB / 0.5016 GB, free: 54.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003122/3.58, allocations: 12 kB / 0.5016 GB, free: 54.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003681/3.584, allocations: 1.23 MB / 0.5028 GB, free: 53.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09587/3.68, allocations: 29.99 MB / 0.5321 GB, free: 23.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005345/3.685, allocations: 1.548 MB / 0.5336 GB, free: 21.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003589/3.689, allocations: 1.057 MB / 0.5346 GB, free: 20.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02335/3.712, allocations: 6.468 MB / 0.5409 GB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.502e-05/3.712, allocations: 43.56 kB / 0.541 GB, free: 13.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=154): time 1.125e-05/3.712, allocations: 4.094 kB / 0.541 GB, free: 13.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=160): time 0.03931/3.752, allocations: 6.991 MB / 0.5478 GB, free: 6.586 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/3.752, allocations: 72.39 kB / 0.5479 GB, free: 6.504 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008329/3.76, allocations: 2.476 MB / 0.5503 GB, free: 4.016 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003757/3.76, allocations: 29.64 kB / 0.5503 GB, free: 3.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003053/3.764, allocations: 2.818 MB / 0.5531 GB, free: 1.117 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001236/3.765, allocations: 0.6054 MB / 0.5537 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007488/3.766, allocations: 0 / 0.5537 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000821/3.766, allocations: 0.5809 MB / 0.5542 GB, free: 15.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006558/3.773, allocations: 1.564 MB / 0.5558 GB, free: 14.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01146/3.785, allocations: 4.676 MB / 0.5603 GB, free: 8.102 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01073/3.795, allocations: 2.795 MB / 0.5631 GB, free: 5.309 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001598/3.796, allocations: 32 kB / 0.5631 GB, free: 5.277 MB / 394.7 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.02573/3.821, allocations: 5.607 MB / 0.5686 GB, free: 15.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/3.821, allocations: 4.938 kB / 0.5686 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002751/3.822, allocations: 112 kB / 0.5687 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008172/3.823, allocations: 204.8 kB / 0.5689 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0119/3.835, allocations: 1.162 MB / 0.57 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00332/3.838, allocations: 1.603 MB / 0.5716 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008577/3.847, allocations: 120 kB / 0.5717 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001669/3.848, allocations: 324 kB / 0.572 GB, free: 12.03 MB / 410.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.001684/3.85, allocations: 392.9 kB / 0.5724 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008765/3.851, allocations: 248.7 kB / 0.5726 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/3.853, allocations: 318.7 kB / 0.5729 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001451/3.853, allocations: 8 kB / 0.5729 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.727e-05/3.853, allocations: 4 kB / 0.5729 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.721e-05/3.853, allocations: 7.969 kB / 0.5729 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02615/3.879, allocations: 5.208 MB / 0.578 GB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.075e-05/3.879, allocations: 4 kB / 0.578 GB, free: 5.777 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002805/3.882, allocations: 192.1 kB / 0.5782 GB, free: 5.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003762/3.882, allocations: 48.83 kB / 0.5782 GB, free: 5.539 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002807/3.883, allocations: 8 kB / 0.5782 GB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002559/3.885, allocations: 1.408 MB / 0.5796 GB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-05/3.885, allocations: 4 kB / 0.5796 GB, free: 4.004 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01013/3.895, allocations: 3.706 MB / 0.5832 GB, free: 164 kB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0119/3.907, allocations: 5.359 MB / 0.5885 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001898/3.909, allocations: 489.7 kB / 0.5889 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008744/3.91, allocations: 8.062 kB / 0.589 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002519/3.913, allocations: 19.97 kB / 0.589 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000629/3.914, allocations: 68.81 kB / 0.589 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003449/3.914, allocations: 44 kB / 0.5891 GB, free: 10.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.007757/3.922, allocations: 1.634 MB / 0.5907 GB, free: 8.383 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00866/3.93, allocations: 0.7148 MB / 0.5914 GB, free: 7.668 MB / 426.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.001203/3.932, allocations: 144.6 kB / 0.5915 GB, free: 7.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01063/3.942, allocations: 3.704 MB / 0.5951 GB, free: 3.836 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/3.943, allocations: 4 kB / 0.5951 GB, free: 3.832 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00283/3.945, allocations: 1.056 MB / 0.5962 GB, free: 2.758 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/3.948, allocations: 197.8 kB / 0.5964 GB, free: 2.562 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.186/4.134, allocations: 6.714 MB / 0.6029 GB, free: 158 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009038/4.143, allocations: 3.482 MB / 0.6063 GB, free: 157.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.874e-06/4.143, allocations: 0 / 0.6063 GB, free: 157.3 MB / 426.7 MB