Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSR,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_FourbarVariants_JointUSR",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.163/2.163, allocations: 234.9 MB / 241.9 MB, free: 9.793 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1471/2.31, allocations: 57.2 MB / 299.1 MB, free: 488 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/2.607, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4056/3.013, allocations: 110.1 MB / 464 MB, free: 30.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/3.013, allocations: 77.89 kB / 464.1 MB, free: 30.43 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: 2779 * Number of variables: 2779 Notification: Performance of Generate backend data structure: time 1.084/4.098, allocations: 174 MB / 0.6231 GB, free: 71.62 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.705e-05/4.098, allocations: 11.12 kB / 0.6231 GB, free: 71.62 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05617/4.154, allocations: 6.081 MB / 0.6291 GB, free: 71.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04007/4.194, allocations: 9.91 MB / 0.6388 GB, free: 70.28 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006337/4.195, allocations: 248.3 kB / 0.639 GB, free: 70.28 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005306/4.2, allocations: 461.1 kB / 0.6394 GB, free: 70.27 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04535/4.246, allocations: 13.58 MB / 0.6527 GB, free: 70.23 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05226/4.298, allocations: 18.02 MB / 0.6703 GB, free: 66.37 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006086/4.299, allocations: 90.91 kB / 0.6704 GB, free: 66.36 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004755/4.304, allocations: 49.25 kB / 0.6704 GB, free: 66.36 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004728/4.308, allocations: 2.085 MB / 0.6725 GB, free: 66.35 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.193/4.501, allocations: 80.6 MB / 0.7512 GB, free: 28.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01696/4.518, allocations: 5.141 MB / 0.7562 GB, free: 23.55 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01096/4.529, allocations: 4.276 MB / 0.7604 GB, free: 19.63 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06603/4.596, allocations: 20.09 MB / 0.78 GB, free: 1.461 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001202/4.596, allocations: 71.72 kB / 0.7801 GB, free: 1.383 MB / 490.7 MB Notification: Performance of pre-optimization done (n=340): time 1.083e-05/4.596, allocations: 0 / 0.7801 GB, free: 1.383 MB / 490.7 MB Notification: Performance of matching and sorting (n=432): time 0.3745/4.97, allocations: 27.09 MB / 0.8065 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.566e-05/4.97, allocations: 193.7 kB / 0.8067 GB, free: 134 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0151/4.986, allocations: 5.13 MB / 0.8117 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001097/4.987, allocations: 25.7 kB / 0.8117 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005395/4.992, allocations: 5.082 MB / 0.8167 GB, free: 131.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003743/4.996, allocations: 1.539 MB / 0.8182 GB, free: 130.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002476/4.999, allocations: 0 / 0.8182 GB, free: 130.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001999/5.001, allocations: 0.7753 MB / 0.819 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01707/5.018, allocations: 4.121 MB / 0.823 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02191/5.04, allocations: 10.17 MB / 0.8329 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02293/5.063, allocations: 6.547 MB / 0.8393 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003414/5.063, allocations: 61.91 kB / 0.8394 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1437) (initialization): time 0.07874/5.142, allocations: 14.9 MB / 0.8539 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/5.142, allocations: 5.406 kB / 0.8539 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004925/5.142, allocations: 214.3 kB / 0.8541 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02145/5.164, allocations: 2.233 MB / 0.8563 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02468/5.189, allocations: 2.494 MB / 0.8587 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0347/5.223, allocations: 10.66 MB / 0.8692 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01793/5.241, allocations: 423.7 kB / 0.8696 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003377/5.245, allocations: 0.6174 MB / 0.8702 GB, free: 120.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 979 * Number of states: 0 () * Number of discrete variables: 46 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[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],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1336): * Single equations (assignments): 1329 * 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%) 52} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004998/5.25, allocations: 0.6339 MB / 0.8708 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002033/5.252, allocations: 0.5713 MB / 0.8713 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03376/5.286, allocations: 8.097 MB / 0.8792 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001863/5.286, allocations: 64.94 kB / 0.8793 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.72e-05/5.286, allocations: 11.25 kB / 0.8793 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.086e-05/5.286, allocations: 17.77 kB / 0.8793 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06449/5.351, allocations: 17.45 MB / 0.8964 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.765e-05/5.351, allocations: 11.06 kB / 0.8964 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006768/5.358, allocations: 0.6263 MB / 0.897 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0137/5.371, allocations: 1.738 MB / 0.8987 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00101/5.372, allocations: 27.05 kB / 0.8987 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02878/5.401, allocations: 8.982 MB / 0.9075 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.367e-05/5.401, allocations: 22.41 kB / 0.9075 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05935/5.461, allocations: 14.37 MB / 0.9215 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08736/5.548, allocations: 27.39 MB / 0.9483 GB, free: 78.24 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004732/5.553, allocations: 1.147 MB / 0.9494 GB, free: 77.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002712/5.556, allocations: 22.75 kB / 0.9494 GB, free: 77.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007718/5.563, allocations: 138.6 kB / 0.9496 GB, free: 77.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001594/5.565, allocations: 225.5 kB / 0.9498 GB, free: 76.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001036/5.566, allocations: 115.7 kB / 0.9499 GB, free: 76.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.01131/5.578, allocations: 3.438 MB / 0.9533 GB, free: 73.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01487/5.592, allocations: 1.674 MB / 0.9549 GB, free: 72.16 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 2 (j2.s,j2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (343): * Single equations (assignments): 336 * 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%) 42} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001692/5.594, allocations: 223.7 kB / 0.9551 GB, free: 71.97 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03022/5.624, allocations: 9.619 MB / 0.9645 GB, free: 63.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-05/5.625, allocations: 0 / 0.9645 GB, free: 63.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009191/5.634, allocations: 3.295 MB / 0.9677 GB, free: 60.14 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007637/5.641, allocations: 0.5528 MB / 0.9683 GB, free: 59.67 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05189/5.693, allocations: 15.06 MB / 0.983 GB, free: 45.96 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02025/5.714, allocations: 6.239 MB / 0.9891 GB, free: 41.25 MB / 0.4948 GB Notification: Performance of SimCode: time 1.492e-06/5.714, allocations: 3.5 kB / 0.9891 GB, free: 41.25 MB / 0.4948 GB