Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_1_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.026/2.026, allocations: 209.3 MB / 216.3 MB, free: 6.781 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2979/2.324, allocations: 51.02 MB / 267.3 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/2.459, allocations: 48.69 MB / 316 MB, free: 4.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3806/2.84, allocations: 93.72 MB / 409.7 MB, free: 15.24 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/2.84, allocations: 78.64 kB / 409.8 MB, free: 15.2 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: 1723 * Number of variables: 1723 Notification: Performance of Generate backend data structure: time 0.8385/3.679, allocations: 104.7 MB / 0.5024 GB, free: 83.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/3.679, allocations: 6.25 kB / 0.5024 GB, free: 83.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06142/3.74, allocations: 6.537 MB / 0.5088 GB, free: 82.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03722/3.778, allocations: 7.561 MB / 0.5162 GB, free: 82.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004786/3.778, allocations: 160.8 kB / 0.5163 GB, free: 82.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003429/3.782, allocations: 292.1 kB / 0.5166 GB, free: 82.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02742/3.809, allocations: 7.266 MB / 0.5237 GB, free: 82.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03137/3.841, allocations: 11.01 MB / 0.5344 GB, free: 76.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000539/3.841, allocations: 71.34 kB / 0.5345 GB, free: 76.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002622/3.844, allocations: 33.22 kB / 0.5345 GB, free: 76.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00285/3.847, allocations: 1.217 MB / 0.5357 GB, free: 76.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1036/3.95, allocations: 54.91 MB / 0.5893 GB, free: 33.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00897/3.959, allocations: 4.284 MB / 0.5935 GB, free: 29.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006152/3.966, allocations: 2.944 MB / 0.5964 GB, free: 26.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02628/3.992, allocations: 9.609 MB / 0.6058 GB, free: 18.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.778e-05/3.992, allocations: 56.47 kB / 0.6058 GB, free: 17.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=206): time 1.021e-05/3.992, allocations: 4 kB / 0.6059 GB, free: 17.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=262): time 0.142/4.134, allocations: 26.71 MB / 0.6319 GB, free: 7.555 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001991/4.134, allocations: 209.9 kB / 0.6321 GB, free: 7.309 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01575/4.15, allocations: 3.65 MB / 0.6357 GB, free: 3.645 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00152/4.152, allocations: 25.7 kB / 0.6357 GB, free: 3.613 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004622/4.156, allocations: 3.246 MB / 0.6389 GB, free: 324 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1751/4.332, allocations: 0.9445 MB / 0.6398 GB, free: 137.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001459/4.333, allocations: 0 / 0.6398 GB, free: 137.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001046/4.334, allocations: 0.5947 MB / 0.6404 GB, free: 137.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008272/4.343, allocations: 2.893 MB / 0.6432 GB, free: 137.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01555/4.358, allocations: 6.794 MB / 0.6499 GB, free: 132.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01212/4.37, allocations: 4.427 MB / 0.6542 GB, free: 132.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002755/4.371, allocations: 37.53 kB / 0.6542 GB, free: 132.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=897) (initialization): time 0.04807/4.419, allocations: 11.95 MB / 0.6659 GB, free: 132.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/4.419, allocations: 3.688 kB / 0.6659 GB, free: 132.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002686/4.419, allocations: 149.3 kB / 0.666 GB, free: 132.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0228/4.442, allocations: 3.829 MB / 0.6698 GB, free: 132.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009482/4.452, allocations: 1.443 MB / 0.6712 GB, free: 132 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06624/4.518, allocations: 23.1 MB / 0.6937 GB, free: 121.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009211/4.527, allocations: 215.2 kB / 0.6939 GB, free: 121.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001869/4.529, allocations: 414.9 kB / 0.6943 GB, free: 121.4 MB / 426.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.001774/4.531, allocations: 458.1 kB / 0.6948 GB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/4.532, allocations: 407.2 kB / 0.6952 GB, free: 120.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03194/4.564, allocations: 7.597 MB / 0.7026 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001369/4.564, allocations: 31.64 kB / 0.7026 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.844e-05/4.564, allocations: 12 kB / 0.7026 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-05/4.564, allocations: 11.84 kB / 0.7026 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06328/4.628, allocations: 15.22 MB / 0.7175 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.022e-05/4.628, allocations: 4 kB / 0.7175 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002937/4.631, allocations: 275.4 kB / 0.7178 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02757/4.658, allocations: 3.538 MB / 0.7212 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001304/4.66, allocations: 15.81 kB / 0.7212 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06316/4.723, allocations: 21.86 MB / 0.7426 GB, free: 87.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/4.723, allocations: 8 kB / 0.7426 GB, free: 87.85 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03837/4.761, allocations: 12.12 MB / 0.7544 GB, free: 77.16 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06224/4.824, allocations: 22.84 MB / 0.7767 GB, free: 54.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003787/4.827, allocations: 0.8915 MB / 0.7776 GB, free: 53.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001532/4.829, allocations: 6.938 kB / 0.7776 GB, free: 53.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003994/4.833, allocations: 88 kB / 0.7777 GB, free: 53.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005309/4.834, allocations: 121.7 kB / 0.7778 GB, free: 53.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000344/4.834, allocations: 71.98 kB / 0.7779 GB, free: 53.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.00578/4.84, allocations: 2.498 MB / 0.7803 GB, free: 50.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0108/4.851, allocations: 1.196 MB / 0.7815 GB, free: 49.58 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 (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.001061/4.852, allocations: 147.2 kB / 0.7816 GB, free: 49.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02021/4.872, allocations: 7.53 MB / 0.789 GB, free: 41.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/4.872, allocations: 0 / 0.789 GB, free: 41.92 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009469/4.882, allocations: 3.103 MB / 0.792 GB, free: 38.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004567/4.886, allocations: 457.2 kB / 0.7925 GB, free: 38.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03456/4.921, allocations: 10.39 MB / 0.8026 GB, free: 27.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01409/4.935, allocations: 4.281 MB / 0.8068 GB, free: 23.54 MB / 426.7 MB Notification: Performance of SimCode: time 1.633e-06/4.935, allocations: 0 / 0.8068 GB, free: 23.54 MB / 426.7 MB