Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",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.183/2.183, allocations: 234.9 MB / 241.9 MB, free: 9.805 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1956/2.379, allocations: 57.21 MB / 299.1 MB, free: 496 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/2.635, allocations: 54.84 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4217/3.057, allocations: 100.3 MB / 454.3 MB, free: 33.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/3.057, allocations: 76.83 kB / 454.4 MB, free: 33.5 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.4667/3.524, allocations: 104.8 MB / 0.5461 GB, free: 7.625 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.717e-05/3.524, allocations: 12 kB / 0.5461 GB, free: 7.613 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07239/3.596, allocations: 6.528 MB / 0.5525 GB, free: 1.066 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04263/3.639, allocations: 7.554 MB / 0.5599 GB, free: 9.422 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006845/3.64, allocations: 160 kB / 0.56 GB, free: 9.266 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003895/3.644, allocations: 295.8 kB / 0.5603 GB, free: 8.977 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03109/3.675, allocations: 7.27 MB / 0.5674 GB, free: 1.699 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04512/3.72, allocations: 11.01 MB / 0.5781 GB, free: 5.566 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005408/3.721, allocations: 71.31 kB / 0.5782 GB, free: 5.496 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003016/3.724, allocations: 32 kB / 0.5782 GB, free: 5.465 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00421/3.728, allocations: 1.226 MB / 0.5794 GB, free: 4.234 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3336/4.062, allocations: 54.95 MB / 0.6331 GB, free: 108.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008994/4.071, allocations: 4.286 MB / 0.6373 GB, free: 107.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006247/4.077, allocations: 2.948 MB / 0.6402 GB, free: 107.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03222/4.109, allocations: 9.59 MB / 0.6495 GB, free: 105.6 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.645e-05/4.109, allocations: 56.53 kB / 0.6496 GB, free: 105.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=206): time 8.186e-06/4.109, allocations: 2.156 kB / 0.6496 GB, free: 105.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=262): time 0.154/4.263, allocations: 26.74 MB / 0.6757 GB, free: 102.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/4.264, allocations: 207.8 kB / 0.6759 GB, free: 102.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/4.274, allocations: 3.641 MB / 0.6794 GB, free: 101.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008759/4.275, allocations: 25.7 kB / 0.6795 GB, free: 101.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002892/4.278, allocations: 3.257 MB / 0.6827 GB, free: 99.02 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00188/4.279, allocations: 0.9389 MB / 0.6836 GB, free: 98.32 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001086/4.281, allocations: 0 / 0.6836 GB, free: 98.32 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005778/4.281, allocations: 0.5934 MB / 0.6842 GB, free: 97.89 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00766/4.289, allocations: 2.897 MB / 0.687 GB, free: 96.82 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.011/4.3, allocations: 6.797 MB / 0.6936 GB, free: 90.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01622/4.316, allocations: 4.422 MB / 0.6979 GB, free: 89.11 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002009/4.316, allocations: 40.47 kB / 0.698 GB, free: 89.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=897) (initialization): time 0.06172/4.378, allocations: 11.95 MB / 0.7096 GB, free: 85.88 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/4.378, allocations: 4.969 kB / 0.7097 GB, free: 85.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002567/4.379, allocations: 138.4 kB / 0.7098 GB, free: 85.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0281/4.407, allocations: 3.835 MB / 0.7135 GB, free: 85.08 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01042/4.417, allocations: 1.433 MB / 0.7149 GB, free: 84.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08261/4.5, allocations: 23.12 MB / 0.7375 GB, free: 66.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01392/4.514, allocations: 215.1 kB / 0.7377 GB, free: 66.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002723/4.517, allocations: 416.5 kB / 0.7381 GB, free: 65.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * Number of states: 0 () * Number of discrete variables: 39 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (781): * Single equations (assignments): 775 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.003897/4.521, allocations: 457 kB / 0.7385 GB, free: 65.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001893/4.522, allocations: 406.8 kB / 0.7389 GB, free: 64.85 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04642/4.569, allocations: 7.599 MB / 0.7464 GB, free: 58.87 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001094/4.569, allocations: 24 kB / 0.7464 GB, free: 58.84 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.113e-05/4.569, allocations: 12 kB / 0.7464 GB, free: 58.83 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.308e-05/4.569, allocations: 10.55 kB / 0.7464 GB, free: 58.83 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05331/4.623, allocations: 15.22 MB / 0.7613 GB, free: 46.42 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-05/4.623, allocations: 4.594 kB / 0.7613 GB, free: 46.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002951/4.626, allocations: 280 kB / 0.7615 GB, free: 46.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02079/4.646, allocations: 3.541 MB / 0.765 GB, free: 43.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007252/4.647, allocations: 15.7 kB / 0.765 GB, free: 43.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06365/4.711, allocations: 21.87 MB / 0.7864 GB, free: 24.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.436e-05/4.711, allocations: 4.859 kB / 0.7864 GB, free: 24.03 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04262/4.754, allocations: 12.12 MB / 0.7982 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2497/5.003, allocations: 22.84 MB / 0.8205 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003793/5.007, allocations: 0.8867 MB / 0.8214 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003184/5.01, allocations: 6.906 kB / 0.8214 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005155/5.016, allocations: 81.27 kB / 0.8215 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001194/5.017, allocations: 127.2 kB / 0.8216 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000998/5.018, allocations: 76.75 kB / 0.8216 GB, free: 127.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.009398/5.027, allocations: 2.485 MB / 0.8241 GB, free: 127.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01416/5.042, allocations: 1.195 MB / 0.8252 GB, free: 127.1 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 (158): * Single equations (assignments): 152 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001253/5.043, allocations: 159.1 kB / 0.8254 GB, free: 127 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02258/5.066, allocations: 7.522 MB / 0.8327 GB, free: 126.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/5.066, allocations: 0 / 0.8327 GB, free: 126.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009804/5.075, allocations: 3.103 MB / 0.8358 GB, free: 126.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004644/5.08, allocations: 456.8 kB / 0.8362 GB, free: 126.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04324/5.123, allocations: 10.4 MB / 0.8464 GB, free: 124.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01375/5.137, allocations: 4.282 MB / 0.8505 GB, free: 123.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.703e-06/5.137, allocations: 0 / 0.8505 GB, free: 123.6 MB / 474.7 MB