Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_1_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.782/1.782, allocations: 171.2 MB / 178.1 MB, free: 8.297 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2028/1.985, allocations: 41.1 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/2.09, allocations: 38.77 MB / 258 MB, free: 4.367 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2766/2.366, allocations: 65.48 MB / 323.5 MB, free: 6.477 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/2.367, allocations: 59.78 kB / 323.5 MB, free: 6.445 MB / 266.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.02156/2.388, allocations: 3.501 MB / 327 MB, free: 3.469 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/2.388, allocations: 8 kB / 327.1 MB, free: 3.461 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/2.389, allocations: 27.7 kB / 327.1 MB, free: 3.434 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/2.389, allocations: 188.4 kB / 327.3 MB, free: 3.211 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/2.389, allocations: 8 kB / 327.3 MB, free: 3.203 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.762e-05/2.389, allocations: 15.91 kB / 327.3 MB, free: 3.188 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000547/2.39, allocations: 112.3 kB / 327.4 MB, free: 3.117 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000713/2.39, allocations: 192.6 kB / 327.6 MB, free: 2.949 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/2.39, allocations: 3.375 kB / 327.6 MB, free: 2.949 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.082e-05/2.39, allocations: 0 / 327.6 MB, free: 2.949 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/2.39, allocations: 10.41 kB / 327.6 MB, free: 2.941 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/2.393, allocations: 0.8178 MB / 328.4 MB, free: 2.168 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/2.393, allocations: 128.7 kB / 328.5 MB, free: 2.051 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/2.393, allocations: 60.12 kB / 328.6 MB, free: 1.996 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/2.394, allocations: 0 / 328.6 MB, free: 1.996 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/2.394, allocations: 38 kB / 328.6 MB, free: 1.953 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 3.717e-06/2.394, allocations: 0 / 328.6 MB, free: 1.953 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.000633/2.394, allocations: 122.8 kB / 328.8 MB, free: 1.844 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.423e-05/2.394, allocations: 102.8 kB / 328.9 MB, free: 1.719 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/2.395, allocations: 151.9 kB / 329 MB, free: 1.578 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/2.395, allocations: 25.7 kB / 329 MB, free: 1.547 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/2.395, allocations: 157.3 kB / 329.2 MB, free: 1.398 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/2.395, allocations: 61.78 kB / 329.2 MB, free: 1.344 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-05/2.395, allocations: 0 / 329.2 MB, free: 1.344 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001891/2.395, allocations: 325.8 kB / 329.6 MB, free: 1.023 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/2.395, allocations: 39.31 kB / 329.6 MB, free: 1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/2.396, allocations: 146.1 kB / 329.7 MB, free: 0.832 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/2.396, allocations: 65.86 kB / 329.8 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/2.396, allocations: 7.906 kB / 329.8 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008354/2.397, allocations: 208.3 kB / 330 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/2.397, allocations: 4 kB / 330 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/2.397, allocations: 4 kB / 330 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.308e-05/2.397, allocations: 7.938 kB / 330 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000631/2.398, allocations: 64.34 kB / 330.1 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.426e-05/2.398, allocations: 11.94 kB / 330.1 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/2.398, allocations: 23.69 kB / 330.1 MB, free: 500 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/2.398, allocations: 15.19 kB / 330.1 MB, free: 488 kB / 266.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.0001641/2.399, allocations: 112.9 kB / 330.3 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/2.399, allocations: 15.81 kB / 330.3 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/2.399, allocations: 23.08 kB / 330.3 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/2.399, allocations: 0 / 330.3 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/2.399, allocations: 0 / 330.3 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/2.399, allocations: 4 kB / 330.3 MB, free: 328 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/2.4, allocations: 378.5 kB / 330.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/2.4, allocations: 0 / 330.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005814/2.401, allocations: 39.48 kB / 330.7 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/2.401, allocations: 0 / 330.7 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/2.401, allocations: 7.984 kB / 330.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/2.401, allocations: 3.938 kB / 330.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/2.401, allocations: 0 / 330.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007682/2.402, allocations: 404.5 kB / 331.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009894/2.403, allocations: 0.8093 MB / 331.9 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/2.403, allocations: 97.02 kB / 332 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.374e-05/2.403, allocations: 0 / 332 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/2.403, allocations: 7.875 kB / 332 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/2.403, allocations: 7.984 kB / 332 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/2.403, allocations: 4 kB / 332 MB, free: 14.55 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0001854/2.404, allocations: 122.6 kB / 332.2 MB, free: 14.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002281/2.406, allocations: 51.84 kB / 332.2 MB, free: 14.39 MB / 282.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.0002212/2.406, allocations: 103.2 kB / 332.3 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005302/2.407, allocations: 123.6 kB / 332.4 MB, free: 14.19 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/2.407, allocations: 0 / 332.4 MB, free: 14.19 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002133/2.407, allocations: 53.55 kB / 332.5 MB, free: 14.15 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006198/2.408, allocations: 26.23 kB / 332.5 MB, free: 14.13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/2.409, allocations: 480.6 kB / 333 MB, free: 13.65 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006698/2.41, allocations: 0.7731 MB / 333.8 MB, free: 12.85 MB / 282.7 MB Notification: Performance of SimCode: time 1.202e-06/2.41, allocations: 0 / 333.8 MB, free: 12.85 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat does not exist to compare? outputFormat=mat