Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical",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.131/2.131, allocations: 235 MB / 241.9 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1775/2.309, allocations: 57.2 MB / 299.1 MB, free: 456 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/2.579, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4204/2.999, allocations: 99.43 MB / 453.4 MB, free: 33.27 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/3, allocations: 76.59 kB / 453.5 MB, free: 33.27 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: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.4518/3.452, allocations: 95.94 MB / 0.5365 GB, free: 1.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/3.452, allocations: 12 kB / 0.5366 GB, free: 1.309 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05007/3.502, allocations: 6.33 MB / 0.5427 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02817/3.53, allocations: 6.376 MB / 0.549 GB, free: 4.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000356/3.53, allocations: 136 kB / 0.5491 GB, free: 4.387 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002699/3.533, allocations: 259.9 kB / 0.5493 GB, free: 4.133 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02219/3.555, allocations: 6.807 MB / 0.556 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03654/3.592, allocations: 9.777 MB / 0.5655 GB, free: 2.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005016/3.592, allocations: 71.39 kB / 0.5656 GB, free: 2.449 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00264/3.595, allocations: 31.94 kB / 0.5656 GB, free: 2.418 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002802/3.598, allocations: 1.096 MB / 0.5667 GB, free: 1.316 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1034/3.701, allocations: 46.94 MB / 0.6125 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1841/3.886, allocations: 3.006 MB / 0.6155 GB, free: 145.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004386/3.89, allocations: 1.938 MB / 0.6174 GB, free: 145.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0207/3.911, allocations: 8.362 MB / 0.6255 GB, free: 142.6 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.611e-05/3.911, allocations: 55.56 kB / 0.6256 GB, free: 142.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=180): time 6.152e-06/3.911, allocations: 3.844 kB / 0.6256 GB, free: 142.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=236): time 0.1372/4.048, allocations: 24.75 MB / 0.6498 GB, free: 140.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.664e-05/4.048, allocations: 207 kB / 0.65 GB, free: 140.1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/4.058, allocations: 3.319 MB / 0.6532 GB, free: 139.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007029/4.059, allocations: 25.7 kB / 0.6532 GB, free: 139.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003025/4.062, allocations: 2.971 MB / 0.6561 GB, free: 138.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001778/4.064, allocations: 0.8506 MB / 0.657 GB, free: 137.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001267/4.065, allocations: 0 / 0.657 GB, free: 137.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008155/4.066, allocations: 0.5757 MB / 0.6575 GB, free: 137.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008793/4.075, allocations: 3.392 MB / 0.6608 GB, free: 137.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01101/4.086, allocations: 7.118 MB / 0.6678 GB, free: 131.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01246/4.098, allocations: 4.999 MB / 0.6727 GB, free: 129.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001398/4.099, allocations: 43.66 kB / 0.6727 GB, free: 129.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=846) (initialization): time 0.07808/4.177, allocations: 14.66 MB / 0.687 GB, free: 126 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/4.177, allocations: 3.938 kB / 0.687 GB, free: 126 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002661/4.177, allocations: 130.7 kB / 0.6872 GB, free: 126 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04674/4.224, allocations: 5.627 MB / 0.6926 GB, free: 125.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01072/4.235, allocations: 1.446 MB / 0.6941 GB, free: 124.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06406/4.299, allocations: 22.61 MB / 0.7161 GB, free: 109.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01478/4.314, allocations: 226.5 kB / 0.7164 GB, free: 109.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003536/4.317, allocations: 397.9 kB / 0.7167 GB, free: 109.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 39 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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 (769): * Single equations (assignments): 764 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00473/4.322, allocations: 441.5 kB / 0.7172 GB, free: 108.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00208/4.324, allocations: 374.1 kB / 0.7175 GB, free: 108.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07304/4.397, allocations: 10.58 MB / 0.7278 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001279/4.397, allocations: 27.91 kB / 0.7279 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.21e-05/4.397, allocations: 8 kB / 0.7279 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.725e-05/4.397, allocations: 13.52 kB / 0.7279 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09656/4.494, allocations: 19.07 MB / 0.7465 GB, free: 84.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.459e-05/4.494, allocations: 10.62 kB / 0.7465 GB, free: 84.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006364/4.501, allocations: 344 kB / 0.7468 GB, free: 83.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04501/4.546, allocations: 4.684 MB / 0.7514 GB, free: 79.27 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007367/4.546, allocations: 17.62 kB / 0.7514 GB, free: 79.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04827/4.595, allocations: 18.59 MB / 0.7696 GB, free: 60.43 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.39e-05/4.595, allocations: 15.84 kB / 0.7696 GB, free: 60.42 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06224/4.657, allocations: 14.45 MB / 0.7837 GB, free: 45.74 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1175/4.775, allocations: 26.64 MB / 0.8097 GB, free: 18.84 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003495/4.778, allocations: 0.9257 MB / 0.8107 GB, free: 17.89 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001609/4.78, allocations: 8 kB / 0.8107 GB, free: 17.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00517/4.785, allocations: 87.86 kB / 0.8107 GB, free: 17.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009481/4.786, allocations: 117.1 kB / 0.8109 GB, free: 17.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004005/4.786, allocations: 71.98 kB / 0.8109 GB, free: 17.62 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.006289/4.793, allocations: 2.249 MB / 0.8131 GB, free: 15.35 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01028/4.803, allocations: 1.15 MB / 0.8142 GB, free: 14.21 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 160 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 47} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001263/4.804, allocations: 170 kB / 0.8144 GB, free: 14.04 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.2014/5.006, allocations: 7.708 MB / 0.8219 GB, free: 142 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/5.006, allocations: 0 / 0.8219 GB, free: 142 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007907/5.014, allocations: 3 MB / 0.8249 GB, free: 141.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004382/5.018, allocations: 404.4 kB / 0.8252 GB, free: 141.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0412/5.059, allocations: 10.06 MB / 0.8351 GB, free: 140.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01021/5.07, allocations: 3.862 MB / 0.8388 GB, free: 139.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.773e-06/5.07, allocations: 0 / 0.8388 GB, free: 139.4 MB / 474.7 MB