Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_1_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 1.932/1.932, allocations: 209.3 MB / 216.3 MB, free: 6.789 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2465/2.178, allocations: 51.03 MB / 267.3 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/2.296, allocations: 48.69 MB / 316 MB, free: 4.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3744/2.67, allocations: 92.84 MB / 408.8 MB, free: 216 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/2.671, allocations: 77.75 kB / 408.9 MB, free: 172 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1534 * Number of variables: 1534 Notification: Performance of Generate backend data structure: time 0.6418/3.312, allocations: 95.9 MB / 0.493 GB, free: 84.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/3.313, allocations: 10.88 kB / 0.493 GB, free: 84.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04726/3.36, allocations: 6.343 MB / 0.4992 GB, free: 84.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.026/3.386, allocations: 6.361 MB / 0.5054 GB, free: 83.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003142/3.386, allocations: 140.4 kB / 0.5055 GB, free: 83.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002937/3.389, allocations: 270.2 kB / 0.5058 GB, free: 83.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02183/3.411, allocations: 6.795 MB / 0.5124 GB, free: 83.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03363/3.445, allocations: 9.772 MB / 0.522 GB, free: 80.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004783/3.445, allocations: 73.84 kB / 0.522 GB, free: 80.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002621/3.448, allocations: 32.98 kB / 0.5221 GB, free: 80.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003284/3.451, allocations: 1.09 MB / 0.5231 GB, free: 80.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09791/3.549, allocations: 46.92 MB / 0.5689 GB, free: 45.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00999/3.559, allocations: 3.023 MB / 0.5719 GB, free: 44.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006555/3.566, allocations: 1.933 MB / 0.5738 GB, free: 43.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03051/3.597, allocations: 8.377 MB / 0.582 GB, free: 38.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.333e-05/3.597, allocations: 54.41 kB / 0.582 GB, free: 38.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=180): time 8.716e-06/3.597, allocations: 0 / 0.582 GB, free: 38.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=236): time 0.1948/3.792, allocations: 24.74 MB / 0.6062 GB, free: 17.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.404e-05/3.792, allocations: 201.9 kB / 0.6064 GB, free: 17.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01062/3.802, allocations: 3.32 MB / 0.6096 GB, free: 14.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007783/3.803, allocations: 37.48 kB / 0.6096 GB, free: 14.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002595/3.806, allocations: 2.973 MB / 0.6125 GB, free: 11.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001632/3.807, allocations: 0.8479 MB / 0.6134 GB, free: 10.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000983/3.808, allocations: 0 / 0.6134 GB, free: 10.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005189/3.809, allocations: 0.5826 MB / 0.6139 GB, free: 9.867 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007994/3.817, allocations: 3.39 MB / 0.6173 GB, free: 6.473 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01124/3.828, allocations: 7.114 MB / 0.6242 GB, free: 13.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01348/3.842, allocations: 5.006 MB / 0.6291 GB, free: 8.469 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001278/3.842, allocations: 36 kB / 0.6291 GB, free: 8.434 MB / 426.7 MB Notification: Performance of matching and sorting (n=846) (initialization): time 0.2677/4.11, allocations: 14.65 MB / 0.6434 GB, free: 128.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/4.11, allocations: 6.156 kB / 0.6434 GB, free: 128.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002997/4.11, allocations: 134.3 kB / 0.6436 GB, free: 128.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05411/4.164, allocations: 5.618 MB / 0.6491 GB, free: 128.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01013/4.174, allocations: 1.445 MB / 0.6505 GB, free: 128.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0577/4.232, allocations: 22.62 MB / 0.6726 GB, free: 125.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009435/4.242, allocations: 229.1 kB / 0.6728 GB, free: 125.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001932/4.244, allocations: 399.7 kB / 0.6732 GB, free: 125.9 MB / 426.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.003036/4.247, allocations: 440.8 kB / 0.6736 GB, free: 125.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001269/4.248, allocations: 366.2 kB / 0.6739 GB, free: 125.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06424/4.312, allocations: 10.59 MB / 0.6843 GB, free: 122.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001073/4.312, allocations: 18.12 kB / 0.6843 GB, free: 122.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.37e-05/4.312, allocations: 11.34 kB / 0.6843 GB, free: 122.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.231e-05/4.313, allocations: 12.16 kB / 0.6843 GB, free: 122.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09801/4.411, allocations: 19.07 MB / 0.7029 GB, free: 115.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-05/4.411, allocations: 7.344 kB / 0.7029 GB, free: 115.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004053/4.415, allocations: 343.5 kB / 0.7033 GB, free: 115.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0412/4.456, allocations: 4.678 MB / 0.7078 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007084/4.457, allocations: 14.22 kB / 0.7078 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05216/4.509, allocations: 18.6 MB / 0.726 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.718e-05/4.509, allocations: 16.45 kB / 0.726 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07264/4.582, allocations: 14.45 MB / 0.7401 GB, free: 86.96 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08479/4.667, allocations: 26.65 MB / 0.7662 GB, free: 60.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005509/4.672, allocations: 0.9205 MB / 0.7671 GB, free: 59.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002784/4.675, allocations: 11.98 kB / 0.7671 GB, free: 59.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006567/4.682, allocations: 83.88 kB / 0.7672 GB, free: 59.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009474/4.683, allocations: 123.9 kB / 0.7673 GB, free: 58.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004524/4.683, allocations: 70.8 kB / 0.7673 GB, free: 58.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.007493/4.691, allocations: 2.257 MB / 0.7695 GB, free: 56.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01549/4.706, allocations: 1.151 MB / 0.7707 GB, free: 55.5 MB / 426.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.001659/4.708, allocations: 173 kB / 0.7708 GB, free: 55.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02451/4.732, allocations: 7.706 MB / 0.7784 GB, free: 48.01 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-05/4.733, allocations: 0 / 0.7784 GB, free: 48.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009758/4.742, allocations: 2.998 MB / 0.7813 GB, free: 45.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005497/4.748, allocations: 388.5 kB / 0.7817 GB, free: 44.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03928/4.787, allocations: 10.06 MB / 0.7915 GB, free: 34.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01008/4.797, allocations: 3.873 MB / 0.7953 GB, free: 30.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.653e-06/4.797, allocations: 1.312 kB / 0.7953 GB, free: 30.7 MB / 426.7 MB