Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.382/2.382, allocations: 235 MB / 242 MB, free: 9.746 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2143/2.596, allocations: 57.19 MB / 299.2 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/2.894, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4706/3.365, allocations: 108.7 MB / 462.8 MB, free: 30.37 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003824/3.366, allocations: 77.2 kB / 462.9 MB, free: 30.37 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: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.9472/4.313, allocations: 156 MB / 0.6044 GB, free: 10.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/4.313, allocations: 8 kB / 0.6044 GB, free: 10.09 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06383/4.377, allocations: 5.801 MB / 0.61 GB, free: 4.27 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2562/4.633, allocations: 8.435 MB / 0.6183 GB, free: 115.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006286/4.634, allocations: 232.1 kB / 0.6185 GB, free: 115.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004829/4.639, allocations: 427.1 kB / 0.6189 GB, free: 115.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03832/4.677, allocations: 12.04 MB / 0.6307 GB, free: 115.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05223/4.729, allocations: 16.22 MB / 0.6465 GB, free: 111.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000589/4.73, allocations: 87.31 kB / 0.6466 GB, free: 111.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00534/4.735, allocations: 35.59 kB / 0.6466 GB, free: 111.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007158/4.742, allocations: 1.841 MB / 0.6484 GB, free: 111.7 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1612/4.904, allocations: 72.12 MB / 0.7189 GB, free: 68.68 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01048/4.914, allocations: 3.924 MB / 0.7227 GB, free: 66.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008207/4.923, allocations: 2.938 MB / 0.7256 GB, free: 65.63 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05039/4.973, allocations: 15.5 MB / 0.7407 GB, free: 56.89 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.418e-05/4.973, allocations: 61.59 kB / 0.7408 GB, free: 56.84 MB / 474.7 MB Notification: Performance of pre-optimization done (n=292): time 9.889e-06/4.973, allocations: 0 / 0.7408 GB, free: 56.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=352): time 0.1172/5.09, allocations: 17.87 MB / 0.7582 GB, free: 49.98 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/5.091, allocations: 183.9 kB / 0.7584 GB, free: 49.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01648/5.107, allocations: 4.676 MB / 0.763 GB, free: 45.81 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009665/5.108, allocations: 25.7 kB / 0.763 GB, free: 45.78 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004908/5.113, allocations: 4.728 MB / 0.7676 GB, free: 41.52 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002343/5.115, allocations: 1.266 MB / 0.7688 GB, free: 40.38 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001451/5.117, allocations: 0 / 0.7688 GB, free: 40.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001063/5.118, allocations: 0.7253 MB / 0.7695 GB, free: 39.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01078/5.129, allocations: 3.198 MB / 0.7727 GB, free: 36.87 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01535/5.144, allocations: 8.88 MB / 0.7813 GB, free: 25.79 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01781/5.162, allocations: 5.675 MB / 0.7869 GB, free: 21.11 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002351/5.162, allocations: 60 kB / 0.7869 GB, free: 21.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=1295) (initialization): time 0.05175/5.214, allocations: 12.11 MB / 0.7988 GB, free: 10.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/5.214, allocations: 7.125 kB / 0.7988 GB, free: 10.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000393/5.215, allocations: 207.9 kB / 0.799 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01037/5.225, allocations: 1.307 MB / 0.8002 GB, free: 9.242 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0194/5.244, allocations: 2.239 MB / 0.8024 GB, free: 7.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03239/5.277, allocations: 7.227 MB / 0.8095 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01477/5.292, allocations: 335.9 kB / 0.8098 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003783/5.296, allocations: 0.5778 MB / 0.8104 GB, free: 24 kB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 924 * Number of states: 0 () * Number of discrete variables: 43 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (1209): * Single equations (assignments): 1202 * 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%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2366/5.532, allocations: 0.5963 MB / 0.8109 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001813/5.534, allocations: 0.4983 MB / 0.8114 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02752/5.562, allocations: 5.374 MB / 0.8167 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002225/5.562, allocations: 35.59 kB / 0.8167 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.901e-05/5.562, allocations: 6.188 kB / 0.8167 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-05/5.562, allocations: 17.7 kB / 0.8167 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06618/5.628, allocations: 12.65 MB / 0.8291 GB, free: 99.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.325e-05/5.628, allocations: 11.44 kB / 0.8291 GB, free: 99.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00641/5.635, allocations: 0.5043 MB / 0.8296 GB, free: 99.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009036/5.644, allocations: 0.86 MB / 0.8304 GB, free: 99.27 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008792/5.645, allocations: 30.44 kB / 0.8305 GB, free: 99.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01825/5.663, allocations: 4.999 MB / 0.8353 GB, free: 98.07 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.015e-05/5.663, allocations: 21.69 kB / 0.8354 GB, free: 98.07 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0379/5.701, allocations: 10.33 MB / 0.8455 GB, free: 95.26 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06886/5.77, allocations: 19.19 MB / 0.8642 GB, free: 91.93 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006248/5.776, allocations: 0.9171 MB / 0.8651 GB, free: 91.56 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003383/5.78, allocations: 18.2 kB / 0.8651 GB, free: 91.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009559/5.789, allocations: 91.33 kB / 0.8652 GB, free: 91.56 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001507/5.791, allocations: 189.6 kB / 0.8654 GB, free: 91.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008826/5.792, allocations: 110.9 kB / 0.8655 GB, free: 91.55 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.01567/5.808, allocations: 3.109 MB / 0.8685 GB, free: 91.37 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0239/5.832, allocations: 1.438 MB / 0.8699 GB, free: 91.37 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (276): * Single equations (assignments): 268 * Array equations: 7 * 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%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00235/5.834, allocations: 225 kB / 0.8701 GB, free: 91.29 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03285/5.867, allocations: 7.568 MB / 0.8775 GB, free: 90.07 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.386e-05/5.867, allocations: 3.625 kB / 0.8775 GB, free: 90.07 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01147/5.879, allocations: 2.339 MB / 0.8798 GB, free: 89.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009235/5.888, allocations: 0.4928 MB / 0.8803 GB, free: 89.04 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07321/5.961, allocations: 12.94 MB / 0.8929 GB, free: 84.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02876/5.99, allocations: 5.748 MB / 0.8985 GB, free: 82.69 MB / 474.7 MB Notification: Performance of SimCode: time 2.975e-06/5.99, allocations: 3.75 kB / 0.8985 GB, free: 82.69 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat does not exist to compare? outputFormat=mat