Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotion2",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.349/2.349, allocations: 235 MB / 241.9 MB, free: 9.777 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1855/2.535, allocations: 57.2 MB / 299.1 MB, free: 472 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/2.83, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4411/3.271, allocations: 102.1 MB / 456.1 MB, free: 34.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003677/3.271, allocations: 71.52 kB / 456.1 MB, free: 34.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: 2027 * Number of variables: 2027 Notification: Performance of Generate backend data structure: time 0.5694/3.841, allocations: 120.5 MB / 0.5631 GB, free: 6.176 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.964e-05/3.841, allocations: 8 kB / 0.5631 GB, free: 6.168 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0789/3.92, allocations: 6.633 MB / 0.5696 GB, free: 15.51 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03853/3.958, allocations: 7.877 MB / 0.5773 GB, free: 7.555 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007165/3.959, allocations: 188 kB / 0.5774 GB, free: 7.371 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004346/3.963, allocations: 351.8 kB / 0.5778 GB, free: 7.027 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03678/4, allocations: 8.457 MB / 0.586 GB, free: 14.56 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04822/4.049, allocations: 12.65 MB / 0.5984 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007646/4.049, allocations: 87.16 kB / 0.5985 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003776/4.053, allocations: 32 kB / 0.5985 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004236/4.058, allocations: 1.411 MB / 0.5999 GB, free: 15.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.319/4.377, allocations: 60.67 MB / 0.6591 GB, free: 91.38 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009738/4.386, allocations: 5.063 MB / 0.6641 GB, free: 90.71 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006519/4.393, allocations: 3.535 MB / 0.6675 GB, free: 90.68 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02623/4.419, allocations: 9.786 MB / 0.6771 GB, free: 88.57 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/4.419, allocations: 68.89 kB / 0.6771 GB, free: 88.54 MB / 474.7 MB Notification: Performance of pre-optimization done (n=248): time 7.274e-06/4.419, allocations: 0 / 0.6771 GB, free: 88.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=316): time 0.1362/4.556, allocations: 28.69 MB / 0.7052 GB, free: 82.22 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.817e-05/4.556, allocations: 270.8 kB / 0.7054 GB, free: 81.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01441/4.57, allocations: 3.976 MB / 0.7093 GB, free: 80.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001298/4.572, allocations: 25.7 kB / 0.7093 GB, free: 80.49 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004887/4.576, allocations: 3.707 MB / 0.7129 GB, free: 77.96 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003289/4.58, allocations: 1.14 MB / 0.7141 GB, free: 77.11 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001148/4.581, allocations: 3.188 kB / 0.7141 GB, free: 77.11 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000615/4.582, allocations: 0.6349 MB / 0.7147 GB, free: 76.66 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00849/4.59, allocations: 3.236 MB / 0.7178 GB, free: 75.47 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01163/4.602, allocations: 7.579 MB / 0.7252 GB, free: 68.43 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01195/4.614, allocations: 4.945 MB / 0.7301 GB, free: 66.84 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001914/4.614, allocations: 41.62 kB / 0.7301 GB, free: 66.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=1027) (initialization): time 0.04321/4.657, allocations: 11.61 MB / 0.7414 GB, free: 63.36 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/4.657, allocations: 4.125 kB / 0.7414 GB, free: 63.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005451/4.658, allocations: 153.4 kB / 0.7416 GB, free: 63.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01155/4.67, allocations: 2.087 MB / 0.7436 GB, free: 62.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01348/4.683, allocations: 1.773 MB / 0.7454 GB, free: 62.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03584/4.719, allocations: 13.2 MB / 0.7583 GB, free: 52.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01605/4.735, allocations: 256.4 kB / 0.7585 GB, free: 52.33 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003033/4.738, allocations: 470.8 kB / 0.7589 GB, free: 51.89 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 700 * Number of states: 0 () * Number of discrete variables: 39 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (951): * Single equations (assignments): 946 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 20,(7,46.9%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004018/4.742, allocations: 496.2 kB / 0.7594 GB, free: 51.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002085/4.744, allocations: 454.1 kB / 0.7599 GB, free: 50.95 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03369/4.778, allocations: 6.815 MB / 0.7665 GB, free: 45.33 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001882/4.778, allocations: 28 kB / 0.7665 GB, free: 45.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.187e-05/4.778, allocations: 8 kB / 0.7665 GB, free: 45.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001214/4.779, allocations: 18.02 kB / 0.7666 GB, free: 45.29 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06939/4.848, allocations: 14.4 MB / 0.7806 GB, free: 33.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.96e-05/4.848, allocations: 4 kB / 0.7806 GB, free: 33.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007544/4.856, allocations: 481.5 kB / 0.7811 GB, free: 33.03 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0135/4.869, allocations: 1.775 MB / 0.7828 GB, free: 31.69 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001243/4.871, allocations: 19.75 kB / 0.7828 GB, free: 31.67 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04095/4.912, allocations: 11.43 MB / 0.794 GB, free: 21.41 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.769e-05/4.912, allocations: 11.94 kB / 0.794 GB, free: 21.4 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0437/4.955, allocations: 11.84 MB / 0.8056 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2389/5.194, allocations: 16.28 MB / 0.8215 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00406/5.198, allocations: 0.9867 MB / 0.8224 GB, free: 115.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001685/5.2, allocations: 12.61 kB / 0.8224 GB, free: 115.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005329/5.206, allocations: 119.8 kB / 0.8226 GB, free: 115.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001081/5.207, allocations: 159.6 kB / 0.8227 GB, free: 115.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004099/5.207, allocations: 86.31 kB / 0.8228 GB, free: 115.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.006886/5.214, allocations: 2.711 MB / 0.8254 GB, free: 115.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01155/5.226, allocations: 1.277 MB / 0.8267 GB, free: 115.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (255): * Single equations (assignments): 250 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,55.6%) 18,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001285/5.227, allocations: 159.8 kB / 0.8268 GB, free: 115.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02465/5.252, allocations: 8.393 MB / 0.835 GB, free: 115.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/5.252, allocations: 2.719 kB / 0.835 GB, free: 115.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01247/5.264, allocations: 3.499 MB / 0.8385 GB, free: 114.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005392/5.27, allocations: 496 kB / 0.8389 GB, free: 114.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0405/5.31, allocations: 12.22 MB / 0.8509 GB, free: 112.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01379/5.324, allocations: 4.894 MB / 0.8556 GB, free: 111.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.263e-06/5.324, allocations: 3.719 kB / 0.8557 GB, free: 111.8 MB / 474.7 MB