Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Universal",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.207/2.207, allocations: 209.3 MB / 216.3 MB, free: 4.27 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1432/2.35, allocations: 51.03 MB / 267.3 MB, free: 1.25 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/2.619, allocations: 48.69 MB / 316 MB, free: 13.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1738/2.793, allocations: 89.37 MB / 405.4 MB, free: 7.656 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/2.793, allocations: 67.97 kB / 405.4 MB, free: 7.59 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: 1761 * Number of variables: 1761 Notification: Performance of Generate backend data structure: time 0.6473/3.44, allocations: 95.62 MB / 0.4893 GB, free: 67.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/3.44, allocations: 8 kB / 0.4893 GB, free: 67.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02697/3.467, allocations: 2.899 MB / 0.4921 GB, free: 65.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0177/3.485, allocations: 4.496 MB / 0.4965 GB, free: 60.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003327/3.485, allocations: 144 kB / 0.4967 GB, free: 60.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003076/3.489, allocations: 259.9 kB / 0.4969 GB, free: 60.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02265/3.511, allocations: 8.359 MB / 0.5051 GB, free: 51.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03205/3.543, allocations: 10.9 MB / 0.5157 GB, free: 40.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003315/3.544, allocations: 35.66 kB / 0.5158 GB, free: 40.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003135/3.547, allocations: 15.98 kB / 0.5158 GB, free: 40.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002735/3.55, allocations: 1.418 MB / 0.5172 GB, free: 38.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1036/3.653, allocations: 39.13 MB / 0.5554 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01831/3.672, allocations: 5.231 MB / 0.5605 GB, free: 9.586 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0111/3.683, allocations: 3.084 MB / 0.5635 GB, free: 6.496 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04923/3.732, allocations: 11.67 MB / 0.5749 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.585e-05/3.732, allocations: 48.56 kB / 0.5749 GB, free: 10.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=219): time 1.015e-05/3.732, allocations: 0 / 0.5749 GB, free: 10.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=249): time 0.265/3.997, allocations: 16.11 MB / 0.5907 GB, free: 133.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/3.998, allocations: 75.59 kB / 0.5907 GB, free: 133.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00628/4.004, allocations: 2.689 MB / 0.5934 GB, free: 133 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006949/4.005, allocations: 25.7 kB / 0.5934 GB, free: 133 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002441/4.007, allocations: 3.069 MB / 0.5964 GB, free: 131.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001581/4.009, allocations: 0.8914 MB / 0.5973 GB, free: 130.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008111/4.01, allocations: 3.938 kB / 0.5973 GB, free: 130.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005511/4.01, allocations: 0.574 MB / 0.5978 GB, free: 130.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006992/4.017, allocations: 2.819 MB / 0.6006 GB, free: 130.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009541/4.027, allocations: 6.193 MB / 0.6066 GB, free: 125.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/4.037, allocations: 4.225 MB / 0.6107 GB, free: 125.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001361/4.037, allocations: 35.72 kB / 0.6108 GB, free: 125.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.03602/4.073, allocations: 9.474 MB / 0.62 GB, free: 124.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/4.073, allocations: 7.156 kB / 0.62 GB, free: 124.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000205/4.074, allocations: 116.4 kB / 0.6201 GB, free: 124.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007088/4.081, allocations: 1.29 MB / 0.6214 GB, free: 124.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01196/4.093, allocations: 1.432 MB / 0.6228 GB, free: 124.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02078/4.114, allocations: 6.783 MB / 0.6294 GB, free: 121 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008437/4.122, allocations: 237 kB / 0.6297 GB, free: 121 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001855/4.124, allocations: 368.8 kB / 0.63 GB, free: 121 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 27 (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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[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 (758): * Single equations (assignments): 751 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003599/4.128, allocations: 407 kB / 0.6304 GB, free: 120.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008699/4.128, allocations: 295.8 kB / 0.6307 GB, free: 120.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02464/4.153, allocations: 5.986 MB / 0.6365 GB, free: 118.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001851/4.153, allocations: 38.33 kB / 0.6366 GB, free: 118.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.318e-05/4.153, allocations: 3.562 kB / 0.6366 GB, free: 118.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.447e-05/4.154, allocations: 8.859 kB / 0.6366 GB, free: 118.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04432/4.198, allocations: 11.32 MB / 0.6476 GB, free: 114.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-05/4.198, allocations: 3.938 kB / 0.6476 GB, free: 114.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004361/4.202, allocations: 354.6 kB / 0.648 GB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006871/4.209, allocations: 1.099 MB / 0.649 GB, free: 114.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007165/4.21, allocations: 6.562 kB / 0.649 GB, free: 114.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01402/4.224, allocations: 5.909 MB / 0.6548 GB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/4.224, allocations: 7.203 kB / 0.6548 GB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03041/4.255, allocations: 9.081 MB / 0.6637 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0358/4.29, allocations: 12.86 MB / 0.6762 GB, free: 90.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003433/4.294, allocations: 0.7886 MB / 0.677 GB, free: 89.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001339/4.295, allocations: 4 kB / 0.677 GB, free: 89.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003658/4.299, allocations: 103.5 kB / 0.6771 GB, free: 89.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005656/4.3, allocations: 94.97 kB / 0.6772 GB, free: 89.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003187/4.3, allocations: 56 kB / 0.6773 GB, free: 89.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.003892/4.304, allocations: 1.774 MB / 0.679 GB, free: 87.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01406/4.318, allocations: 0.9948 MB / 0.68 GB, free: 86.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 179 * 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 {(4,75.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001233/4.319, allocations: 145.2 kB / 0.6801 GB, free: 86.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0161/4.335, allocations: 6.605 MB / 0.6866 GB, free: 80.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/4.335, allocations: 2.516 kB / 0.6866 GB, free: 80.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007188/4.343, allocations: 2.607 MB / 0.6891 GB, free: 78.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/4.345, allocations: 224.3 kB / 0.6893 GB, free: 78.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03423/4.379, allocations: 9.235 MB / 0.6983 GB, free: 69.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0151/4.394, allocations: 3.951 MB / 0.7022 GB, free: 66.78 MB / 410.7 MB Notification: Performance of SimCode: time 2.835e-06/4.394, allocations: 0 / 0.7022 GB, free: 66.78 MB / 410.7 MB