Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_Spring",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.533/2.533, allocations: 235 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1983/2.731, allocations: 57.21 MB / 299.2 MB, free: 436 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/3.037, allocations: 54.85 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4416/3.478, allocations: 96.58 MB / 450.7 MB, free: 32.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/3.479, allocations: 75.73 kB / 450.7 MB, free: 32.3 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: 1500 * Number of variables: 1500 Notification: Performance of Generate backend data structure: time 0.4154/3.894, allocations: 85.72 MB / 0.5239 GB, free: 14.29 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/3.894, allocations: 8 kB / 0.5239 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02836/3.922, allocations: 1.968 MB / 0.5258 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03009/3.953, allocations: 5.191 MB / 0.5309 GB, free: 7.051 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005581/3.953, allocations: 136 kB / 0.531 GB, free: 6.918 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003161/3.956, allocations: 248 kB / 0.5312 GB, free: 6.676 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02785/3.984, allocations: 6.224 MB / 0.5373 GB, free: 456 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0407/4.025, allocations: 9.477 MB / 0.5466 GB, free: 5.855 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003934/4.026, allocations: 67.39 kB / 0.5466 GB, free: 5.789 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002645/4.028, allocations: 32 kB / 0.5467 GB, free: 5.758 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003752/4.032, allocations: 1.08 MB / 0.5477 GB, free: 4.668 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1072/4.139, allocations: 47.33 MB / 0.594 GB, free: 3.68 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005081/4.144, allocations: 1.851 MB / 0.5958 GB, free: 1.668 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003261/4.148, allocations: 0.9913 MB / 0.5967 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01525/4.163, allocations: 4.433 MB / 0.6011 GB, free: 11.98 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.482e-05/4.163, allocations: 43.22 kB / 0.6011 GB, free: 11.93 MB / 474.7 MB Notification: Performance of pre-optimization done (n=134): time 6.502e-06/4.163, allocations: 0 / 0.6011 GB, free: 11.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=146): time 0.03995/4.203, allocations: 7.582 MB / 0.6085 GB, free: 4.219 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001724/4.203, allocations: 196.6 kB / 0.6087 GB, free: 3.984 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01387/4.217, allocations: 3.086 MB / 0.6117 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003456/4.218, allocations: 25.7 kB / 0.6117 GB, free: 0.875 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1939/4.412, allocations: 3.01 MB / 0.6147 GB, free: 153 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008548/4.412, allocations: 0.5742 MB / 0.6152 GB, free: 152.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006496/4.413, allocations: 2.781 kB / 0.6152 GB, free: 152.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004654/4.414, allocations: 0.5549 MB / 0.6158 GB, free: 152.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004848/4.418, allocations: 1.494 MB / 0.6172 GB, free: 152.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007793/4.426, allocations: 5.398 MB / 0.6225 GB, free: 147.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007911/4.434, allocations: 2.88 MB / 0.6253 GB, free: 147.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001414/4.435, allocations: 41.91 kB / 0.6254 GB, free: 147.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01939/4.454, allocations: 5.914 MB / 0.6311 GB, free: 146.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/4.454, allocations: 3.906 kB / 0.6311 GB, free: 146.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000241/4.454, allocations: 141.6 kB / 0.6313 GB, free: 146.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002632/4.455, allocations: 204.5 kB / 0.6315 GB, free: 146.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01074/4.465, allocations: 1.457 MB / 0.6329 GB, free: 146.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000263/4.466, allocations: 277.7 kB / 0.6332 GB, free: 146.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008684/4.474, allocations: 253.2 kB / 0.6334 GB, free: 146.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001556/4.476, allocations: 385.8 kB / 0.6338 GB, free: 146.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 642 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (770): * Single equations (assignments): 767 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00201/4.478, allocations: 446.2 kB / 0.6342 GB, free: 146.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008741/4.479, allocations: 315.5 kB / 0.6345 GB, free: 146.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004005/4.483, allocations: 1.152 MB / 0.6356 GB, free: 146.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.209e-05/4.483, allocations: 13.56 kB / 0.6356 GB, free: 146.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/4.483, allocations: 0 / 0.6356 GB, free: 146.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.161e-05/4.483, allocations: 3.516 kB / 0.6356 GB, free: 146.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/4.497, allocations: 4.518 MB / 0.64 GB, free: 145.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.081e-05/4.497, allocations: 17.16 kB / 0.6401 GB, free: 145.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002292/4.5, allocations: 257.9 kB / 0.6403 GB, free: 145.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-05/4.5, allocations: 25.31 kB / 0.6403 GB, free: 145.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001734/4.5, allocations: 28.75 kB / 0.6404 GB, free: 145.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.997e-05/4.5, allocations: 31.41 kB / 0.6404 GB, free: 145.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.189e-05/4.5, allocations: 29.95 kB / 0.6404 GB, free: 145.1 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00625/4.506, allocations: 4.639 MB / 0.6449 GB, free: 142 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008131/4.515, allocations: 5.823 MB / 0.6506 GB, free: 138.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001785/4.516, allocations: 495.7 kB / 0.6511 GB, free: 138.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007183/4.517, allocations: 26.03 kB / 0.6511 GB, free: 138.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002681/4.52, allocations: 54.53 kB / 0.6512 GB, free: 138.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/4.52, allocations: 117.4 kB / 0.6513 GB, free: 138.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/4.52, allocations: 63.55 kB / 0.6514 GB, free: 138.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.005795/4.526, allocations: 2.043 MB / 0.6533 GB, free: 138.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01042/4.537, allocations: 0.7547 MB / 0.6541 GB, free: 138.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 131 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008214/4.537, allocations: 171.5 kB / 0.6542 GB, free: 138.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01286/4.55, allocations: 3.422 MB / 0.6576 GB, free: 137.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.95e-05/4.55, allocations: 4.625 kB / 0.6576 GB, free: 137.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002385/4.553, allocations: 0.6773 MB / 0.6583 GB, free: 137.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005159/4.558, allocations: 343.1 kB / 0.6586 GB, free: 137.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03461/4.593, allocations: 6.986 MB / 0.6654 GB, free: 135.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01261/4.605, allocations: 3.49 MB / 0.6688 GB, free: 134.9 MB / 474.7 MB Notification: Performance of SimCode: time 2.224e-06/4.605, allocations: 0 / 0.6688 GB, free: 134.9 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.Spring_res.mat does not exist to compare? outputFormat=mat