Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_WhyArrows",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(Modelica): time 1.783/1.783, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.229/2.012, allocations: 46.83 MB / 249.3 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0901/2.102, allocations: 44.51 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2687/2.371, allocations: 70.47 MB / 364.3 MB, free: 7.195 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/2.371, allocations: 65.67 kB / 364.4 MB, free: 7.195 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.01281/2.384, allocations: 3.483 MB / 367.9 MB, free: 6.559 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/2.384, allocations: 7.781 kB / 367.9 MB, free: 6.559 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.88e-05/2.384, allocations: 23.06 kB / 367.9 MB, free: 6.547 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/2.385, allocations: 194.1 kB / 368.1 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/2.385, allocations: 7.75 kB / 368.1 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/2.385, allocations: 15.38 kB / 368.1 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003458/2.385, allocations: 109.5 kB / 368.2 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004109/2.385, allocations: 196.6 kB / 368.4 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/2.385, allocations: 0 / 368.4 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/2.386, allocations: 3.906 kB / 368.4 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/2.386, allocations: 11.55 kB / 368.4 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/2.387, allocations: 0.8164 MB / 369.2 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/2.387, allocations: 129.8 kB / 369.4 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/2.387, allocations: 56.73 kB / 369.4 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/2.387, allocations: 3.875 kB / 369.4 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/2.387, allocations: 39.5 kB / 369.5 MB, free: 5.586 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 2.585e-06/2.387, allocations: 0 / 369.5 MB, free: 5.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003782/2.388, allocations: 114.4 kB / 369.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/2.388, allocations: 102.8 kB / 369.7 MB, free: 5.418 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/2.388, allocations: 154.4 kB / 369.8 MB, free: 5.316 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/2.388, allocations: 25.7 kB / 369.8 MB, free: 5.285 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.599e-05/2.388, allocations: 153.3 kB / 370 MB, free: 5.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/2.388, allocations: 69.03 kB / 370.1 MB, free: 5.117 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/2.388, allocations: 1.203 kB / 370.1 MB, free: 5.117 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/2.388, allocations: 323.2 kB / 370.4 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/2.389, allocations: 42.69 kB / 370.4 MB, free: 20.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/2.389, allocations: 140 kB / 370.6 MB, free: 20.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/2.389, allocations: 67.86 kB / 370.6 MB, free: 20.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/2.389, allocations: 0 / 370.6 MB, free: 20.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004696/2.389, allocations: 207 kB / 370.8 MB, free: 20.6 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/2.389, allocations: 7.75 kB / 370.8 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/2.389, allocations: 3.781 kB / 370.8 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/2.389, allocations: 3.812 kB / 370.8 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004101/2.39, allocations: 60.06 kB / 370.9 MB, free: 20.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/2.39, allocations: 7.109 kB / 370.9 MB, free: 20.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/2.39, allocations: 31.19 kB / 370.9 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/2.39, allocations: 11.53 kB / 371 MB, free: 20.57 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * 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.0001088/2.39, allocations: 120.4 kB / 371.1 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.936e-05/2.39, allocations: 16.48 kB / 371.1 MB, free: 20.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.283e-05/2.39, allocations: 22.16 kB / 371.1 MB, free: 20.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/2.39, allocations: 5.438 kB / 371.1 MB, free: 20.44 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/2.39, allocations: 0 / 371.1 MB, free: 20.44 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/2.391, allocations: 0 / 371.1 MB, free: 20.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006562/2.391, allocations: 378.8 kB / 371.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/2.391, allocations: 7.891 kB / 371.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/2.392, allocations: 43.62 kB / 371.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/2.392, allocations: 0 / 371.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/2.392, allocations: 7.906 kB / 371.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/2.392, allocations: 12.88 kB / 371.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/2.392, allocations: 0 / 371.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000469/2.392, allocations: 404.8 kB / 371.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006318/2.393, allocations: 0.8133 MB / 372.8 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/2.393, allocations: 96.8 kB / 372.9 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/2.393, allocations: 1.594 kB / 372.9 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/2.393, allocations: 3.875 kB / 372.9 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/2.393, allocations: 10.97 kB / 372.9 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/2.393, allocations: 3.875 kB / 372.9 MB, free: 19.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001154/2.393, allocations: 127.2 kB / 373 MB, free: 18.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001436/2.395, allocations: 46.12 kB / 373 MB, free: 18.92 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * 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.0001991/2.395, allocations: 104.2 kB / 373.1 MB, free: 18.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003454/2.395, allocations: 121.8 kB / 373.3 MB, free: 18.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/2.395, allocations: 0 / 373.3 MB, free: 18.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.978e-05/2.396, allocations: 48.55 kB / 373.3 MB, free: 18.81 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/2.396, allocations: 23.95 kB / 373.3 MB, free: 18.81 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/2.397, allocations: 477.1 kB / 373.8 MB, free: 18.49 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004556/2.398, allocations: 0.7669 MB / 374.6 MB, free: 17.78 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/2.398, allocations: 0 / 374.6 MB, free: 17.78 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat does not exist to compare? outputFormat=mat