Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_SpringDamperSeries",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.482/2.482, allocations: 235.1 MB / 242 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1737/2.656, allocations: 57.2 MB / 299.2 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/2.927, allocations: 54.85 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4078/3.334, allocations: 96.1 MB / 450.2 MB, free: 32.56 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/3.335, allocations: 82.75 kB / 450.3 MB, free: 32.55 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: 1337 * Number of variables: 1337 Notification: Performance of Generate backend data structure: time 0.3026/3.637, allocations: 65.49 MB / 0.5037 GB, free: 15.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/3.637, allocations: 7.938 kB / 0.5037 GB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01758/3.655, allocations: 1.684 MB / 0.5053 GB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008428/3.664, allocations: 1.935 MB / 0.5072 GB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003833/3.664, allocations: 122.6 kB / 0.5073 GB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002476/3.666, allocations: 214.6 kB / 0.5075 GB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0184/3.685, allocations: 5.715 MB / 0.5131 GB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02901/3.714, allocations: 8.64 MB / 0.5215 GB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004684/3.715, allocations: 59.41 kB / 0.5216 GB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003072/3.718, allocations: 24 kB / 0.5216 GB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00453/3.722, allocations: 1.025 MB / 0.5226 GB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09275/3.815, allocations: 42.24 MB / 0.5639 GB, free: 3.289 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01126/3.826, allocations: 3.229 MB / 0.567 GB, free: 15.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008662/3.835, allocations: 2.221 MB / 0.5692 GB, free: 13.67 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000895/3.836, allocations: 380.2 kB / 0.5696 GB, free: 13.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.287e-05/3.836, allocations: 59.5 kB / 0.5696 GB, free: 13.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=169): time 6.151e-06/3.836, allocations: 0 / 0.5696 GB, free: 13.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=214): time 0.1288/3.965, allocations: 21.99 MB / 0.5911 GB, free: 7.039 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/3.965, allocations: 179.5 kB / 0.5913 GB, free: 6.828 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007544/3.973, allocations: 2.373 MB / 0.5936 GB, free: 4.441 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006971/3.973, allocations: 25.7 kB / 0.5936 GB, free: 4.41 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003243/3.977, allocations: 2.536 MB / 0.5961 GB, free: 1.828 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001809/3.979, allocations: 0.7785 MB / 0.5968 GB, free: 1.039 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001144/3.98, allocations: 0 / 0.5968 GB, free: 1.039 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001024/3.981, allocations: 0.6015 MB / 0.5974 GB, free: 436 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009302/3.99, allocations: 2.514 MB / 0.5999 GB, free: 13.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01341/4.004, allocations: 5.82 MB / 0.6056 GB, free: 6.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01418/4.018, allocations: 4.006 MB / 0.6095 GB, free: 2.402 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000118/4.018, allocations: 32 kB / 0.6095 GB, free: 2.371 MB / 474.7 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.2084/4.226, allocations: 8.574 MB / 0.6179 GB, free: 158.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/4.227, allocations: 7.25 kB / 0.6179 GB, free: 158.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001985/4.227, allocations: 115.5 kB / 0.618 GB, free: 158.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006989/4.234, allocations: 1.117 MB / 0.6191 GB, free: 158.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01147/4.245, allocations: 1.35 MB / 0.6204 GB, free: 158.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009251/4.255, allocations: 4.957 MB / 0.6253 GB, free: 155.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008076/4.263, allocations: 182.8 kB / 0.6254 GB, free: 155.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002187/4.265, allocations: 372.3 kB / 0.6258 GB, free: 155.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 24 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[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 (718): * Single equations (assignments): 711 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002789/4.268, allocations: 396.6 kB / 0.6262 GB, free: 155.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/4.269, allocations: 263.8 kB / 0.6264 GB, free: 155.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01886/4.288, allocations: 4.705 MB / 0.631 GB, free: 155.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001724/4.288, allocations: 21.42 kB / 0.631 GB, free: 155.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.9e-05/4.288, allocations: 3.625 kB / 0.631 GB, free: 155.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.14e-05/4.288, allocations: 16.28 kB / 0.631 GB, free: 155.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03652/4.325, allocations: 9.685 MB / 0.6405 GB, free: 154.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.209e-05/4.325, allocations: 0 / 0.6405 GB, free: 154.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005421/4.33, allocations: 353.3 kB / 0.6408 GB, free: 154.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006617/4.337, allocations: 0.9241 MB / 0.6417 GB, free: 154.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006758/4.337, allocations: 16.8 kB / 0.6418 GB, free: 154.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01177/4.349, allocations: 4.37 MB / 0.646 GB, free: 152.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.196e-06/4.349, allocations: 0 / 0.646 GB, free: 152.2 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03279/4.382, allocations: 8.316 MB / 0.6541 GB, free: 149.7 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03748/4.42, allocations: 11.71 MB / 0.6656 GB, free: 144.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002821/4.423, allocations: 0.7193 MB / 0.6663 GB, free: 144.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001143/4.424, allocations: 6.109 kB / 0.6663 GB, free: 144.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003946/4.428, allocations: 56.22 kB / 0.6663 GB, free: 144.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009726/4.429, allocations: 98.77 kB / 0.6664 GB, free: 144.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005369/4.429, allocations: 69.81 kB / 0.6665 GB, free: 144.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.004362/4.434, allocations: 1.56 MB / 0.668 GB, free: 143.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009246/4.443, allocations: 0.8171 MB / 0.6688 GB, free: 143.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001024/4.444, allocations: 167.5 kB / 0.669 GB, free: 143.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02103/4.465, allocations: 6.557 MB / 0.6754 GB, free: 140.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/4.465, allocations: 1.031 kB / 0.6754 GB, free: 140.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01102/4.476, allocations: 2.841 MB / 0.6782 GB, free: 139.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003734/4.48, allocations: 207.3 kB / 0.6784 GB, free: 139.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03348/4.514, allocations: 7.761 MB / 0.6859 GB, free: 135.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01037/4.524, allocations: 3.204 MB / 0.6891 GB, free: 132.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.743e-06/4.524, allocations: 0 / 0.6891 GB, free: 132.9 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat does not exist to compare? outputFormat=mat