Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",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.342/2.342, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2366/2.579, allocations: 51.04 MB / 267.3 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/2.696, allocations: 48.68 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3621/3.058, allocations: 95.56 MB / 411.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/3.058, allocations: 81.89 kB / 411.6 MB, free: 13.39 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: 2238 * Number of variables: 2238 Notification: Performance of Generate backend data structure: time 0.8522/3.911, allocations: 128.4 MB / 0.5274 GB, free: 81.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/3.911, allocations: 6.688 kB / 0.5274 GB, free: 81.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06671/3.977, allocations: 7.628 MB / 0.5348 GB, free: 81.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03263/4.01, allocations: 7.414 MB / 0.5421 GB, free: 79.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005351/4.011, allocations: 196.9 kB / 0.5423 GB, free: 79.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004225/4.015, allocations: 348.6 kB / 0.5426 GB, free: 79.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0319/4.047, allocations: 10.42 MB / 0.5528 GB, free: 75.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04304/4.09, allocations: 14.34 MB / 0.5668 GB, free: 60.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000445/4.09, allocations: 75.05 kB / 0.5669 GB, free: 60.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003817/4.094, allocations: 36 kB / 0.5669 GB, free: 60.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003345/4.098, allocations: 1.724 MB / 0.5686 GB, free: 59.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1164/4.214, allocations: 62.36 MB / 0.6295 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01605/4.23, allocations: 4.688 MB / 0.6341 GB, free: 6.645 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01292/4.243, allocations: 3.618 MB / 0.6376 GB, free: 3.012 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2568/4.5, allocations: 15.53 MB / 0.6528 GB, free: 134.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.499e-05/4.5, allocations: 61.06 kB / 0.6528 GB, free: 134.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=295): time 1.623e-05/4.5, allocations: 0 / 0.6528 GB, free: 134.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=345): time 0.1589/4.659, allocations: 29.23 MB / 0.6814 GB, free: 129.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.307e-05/4.659, allocations: 217.8 kB / 0.6816 GB, free: 129.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01701/4.676, allocations: 4.332 MB / 0.6858 GB, free: 127.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00103/4.678, allocations: 33.64 kB / 0.6858 GB, free: 127.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003769/4.681, allocations: 4.171 MB / 0.6899 GB, free: 124.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002627/4.684, allocations: 1.236 MB / 0.6911 GB, free: 123.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001691/4.686, allocations: 2.938 kB / 0.6911 GB, free: 123.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001015/4.687, allocations: 0.6956 MB / 0.6918 GB, free: 122.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01166/4.698, allocations: 4.55 MB / 0.6962 GB, free: 121.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02322/4.722, allocations: 9.729 MB / 0.7057 GB, free: 112.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0242/4.746, allocations: 6.608 MB / 0.7122 GB, free: 110.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003056/4.746, allocations: 51.84 kB / 0.7122 GB, free: 110.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.08141/4.828, allocations: 17.7 MB / 0.7295 GB, free: 98.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/4.828, allocations: 13.53 kB / 0.7295 GB, free: 98.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004724/4.828, allocations: 184 kB / 0.7297 GB, free: 98.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04588/4.874, allocations: 5.333 MB / 0.7349 GB, free: 95.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01562/4.89, allocations: 2.089 MB / 0.737 GB, free: 93.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05301/4.943, allocations: 20.9 MB / 0.7574 GB, free: 74.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01347/4.957, allocations: 312.8 kB / 0.7577 GB, free: 74.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00265/4.959, allocations: 0.5282 MB / 0.7582 GB, free: 74.15 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 838 * Number of states: 0 () * Number of discrete variables: 42 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.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 (1112): * Single equations (assignments): 1104 * Array equations: 6 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003864/4.963, allocations: 0.5616 MB / 0.7587 GB, free: 73.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001684/4.965, allocations: 473.8 kB / 0.7592 GB, free: 73.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06945/5.035, allocations: 12.09 MB / 0.771 GB, free: 61.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001802/5.035, allocations: 47.98 kB / 0.771 GB, free: 61.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.691e-05/5.035, allocations: 12 kB / 0.771 GB, free: 61.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.088e-05/5.035, allocations: 15.94 kB / 0.7711 GB, free: 61.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09608/5.131, allocations: 22.53 MB / 0.7931 GB, free: 38.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-05/5.131, allocations: 8.031 kB / 0.7931 GB, free: 38.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006203/5.137, allocations: 0.5184 MB / 0.7936 GB, free: 37.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03936/5.177, allocations: 4.33 MB / 0.7978 GB, free: 33.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001002/5.178, allocations: 15.92 kB / 0.7978 GB, free: 33.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2299/5.408, allocations: 16.81 MB / 0.8142 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.348e-05/5.408, allocations: 10.09 kB / 0.8142 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06973/5.477, allocations: 17.3 MB / 0.8311 GB, free: 120.8 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1177/5.595, allocations: 33.55 MB / 0.8639 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004747/5.6, allocations: 1.192 MB / 0.8651 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002366/5.603, allocations: 18.47 kB / 0.8651 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006649/5.609, allocations: 127.2 kB / 0.8652 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001364/5.611, allocations: 155.4 kB / 0.8654 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005876/5.611, allocations: 84.64 kB / 0.8654 GB, free: 107.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.009023/5.62, allocations: 2.908 MB / 0.8683 GB, free: 106.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01983/5.64, allocations: 1.479 MB / 0.8697 GB, free: 106.4 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 (260): * Single equations (assignments): 252 * Array equations: 6 * 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 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001774/5.642, allocations: 167.7 kB / 0.8699 GB, free: 106.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02655/5.669, allocations: 10.3 MB / 0.8799 GB, free: 101.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/5.669, allocations: 4 kB / 0.8799 GB, free: 101.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009525/5.678, allocations: 3.908 MB / 0.8838 GB, free: 98.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004938/5.683, allocations: 456.1 kB / 0.8842 GB, free: 97.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04628/5.73, allocations: 13.72 MB / 0.8976 GB, free: 85.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0181/5.748, allocations: 5.139 MB / 0.9026 GB, free: 81.73 MB / 426.7 MB Notification: Performance of SimCode: time 1.834e-06/5.748, allocations: 0 / 0.9026 GB, free: 81.73 MB / 426.7 MB