Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_FourbarVariants_JointUSP",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.284/2.284, allocations: 235 MB / 241.9 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.176/2.46, allocations: 57.22 MB / 299.1 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/2.732, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4473/3.18, allocations: 108 MB / 462 MB, free: 26.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/3.18, allocations: 80.39 kB / 462.1 MB, free: 26.31 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: 2163 * Number of variables: 2163 Notification: Performance of Generate backend data structure: time 0.7072/3.887, allocations: 144 MB / 0.5919 GB, free: 1.766 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/3.887, allocations: 12 kB / 0.5919 GB, free: 1.754 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07838/3.966, allocations: 8.936 MB / 0.6006 GB, free: 8.789 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04034/4.006, allocations: 9.196 MB / 0.6096 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005127/4.007, allocations: 208 kB / 0.6098 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004116/4.011, allocations: 383.8 kB / 0.6102 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03729/4.048, allocations: 9.662 MB / 0.6196 GB, free: 5.352 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2397/4.288, allocations: 13.57 MB / 0.6329 GB, free: 126.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000519/4.288, allocations: 79.56 kB / 0.6329 GB, free: 126.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003166/4.292, allocations: 36.78 kB / 0.633 GB, free: 126.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003415/4.295, allocations: 1.474 MB / 0.6344 GB, free: 126.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1174/4.413, allocations: 63.72 MB / 0.6966 GB, free: 92.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00895/4.422, allocations: 4.279 MB / 0.7008 GB, free: 91.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00684/4.428, allocations: 3.361 MB / 0.7041 GB, free: 91.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03265/4.461, allocations: 12.37 MB / 0.7162 GB, free: 85.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.489e-05/4.461, allocations: 55.05 kB / 0.7162 GB, free: 85.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=245): time 7.384e-06/4.461, allocations: 0 / 0.7162 GB, free: 85.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=338): time 0.1436/4.605, allocations: 27.26 MB / 0.7429 GB, free: 76.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/4.605, allocations: 241.6 kB / 0.7431 GB, free: 75.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01382/4.619, allocations: 4.44 MB / 0.7474 GB, free: 74.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001325/4.62, allocations: 29.3 kB / 0.7475 GB, free: 74.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005571/4.626, allocations: 4.012 MB / 0.7514 GB, free: 71.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002977/4.629, allocations: 1.195 MB / 0.7525 GB, free: 70.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001947/4.631, allocations: 0 / 0.7525 GB, free: 70.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00137/4.632, allocations: 0.6609 MB / 0.7532 GB, free: 69.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01339/4.646, allocations: 3.524 MB / 0.7566 GB, free: 68.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01767/4.664, allocations: 8.155 MB / 0.7646 GB, free: 61.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01863/4.682, allocations: 5.341 MB / 0.7698 GB, free: 59.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002576/4.683, allocations: 47.38 kB / 0.7699 GB, free: 59.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.05798/4.741, allocations: 13.6 MB / 0.7831 GB, free: 53.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/4.741, allocations: 8 kB / 0.7831 GB, free: 53.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002856/4.741, allocations: 164 kB / 0.7833 GB, free: 53.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02591/4.767, allocations: 3.367 MB / 0.7866 GB, free: 51.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01375/4.781, allocations: 1.811 MB / 0.7884 GB, free: 49.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04978/4.831, allocations: 16.06 MB / 0.804 GB, free: 35.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01123/4.842, allocations: 272.3 kB / 0.8043 GB, free: 35.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002631/4.845, allocations: 483.8 kB / 0.8048 GB, free: 34.92 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 748 * Number of states: 0 () * Number of discrete variables: 43 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (996): * Single equations (assignments): 992 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003239/4.848, allocations: 0.5002 MB / 0.8052 GB, free: 34.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00158/4.849, allocations: 0.5052 MB / 0.8057 GB, free: 33.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04754/4.897, allocations: 8.485 MB / 0.814 GB, free: 27.17 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001834/4.897, allocations: 39.66 kB / 0.8141 GB, free: 27.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.21e-05/4.897, allocations: 15.47 kB / 0.8141 GB, free: 27.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001393/4.898, allocations: 17.5 kB / 0.8141 GB, free: 27.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07038/4.968, allocations: 17.12 MB / 0.8308 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.028e-05/4.968, allocations: 4 kB / 0.8308 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004832/4.973, allocations: 464.2 kB / 0.8313 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02506/4.998, allocations: 2.97 MB / 0.8342 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009311/4.999, allocations: 14.39 kB / 0.8342 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2719/5.271, allocations: 13.99 MB / 0.8478 GB, free: 119.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.66e-05/5.271, allocations: 7.344 kB / 0.8478 GB, free: 119.2 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05263/5.324, allocations: 13.93 MB / 0.8615 GB, free: 117.5 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.07892/5.403, allocations: 27 MB / 0.8878 GB, free: 115.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004341/5.407, allocations: 1.054 MB / 0.8888 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002436/5.41, allocations: 11.97 kB / 0.8889 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006279/5.416, allocations: 101.4 kB / 0.889 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001313/5.417, allocations: 171.3 kB / 0.8891 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007159/5.418, allocations: 84.94 kB / 0.8892 GB, free: 115.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.009259/5.427, allocations: 3.043 MB / 0.8922 GB, free: 115 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01268/5.44, allocations: 1.437 MB / 0.8936 GB, free: 115 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 250 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001455/5.442, allocations: 192.9 kB / 0.8938 GB, free: 115 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02069/5.462, allocations: 8.483 MB / 0.902 GB, free: 114 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/5.462, allocations: 3.844 kB / 0.902 GB, free: 114 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008528/5.471, allocations: 3.283 MB / 0.9053 GB, free: 112.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006237/5.477, allocations: 0.5661 MB / 0.9058 GB, free: 112.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0505/5.528, allocations: 13.08 MB / 0.9186 GB, free: 107.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01702/5.545, allocations: 5.322 MB / 0.9238 GB, free: 106.1 MB / 490.7 MB Notification: Performance of SimCode: time 2.335e-06/5.545, allocations: 0 / 0.9238 GB, free: 106.1 MB / 490.7 MB