Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Translational_Examples_InitialConditions",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.785/1.785, allocations: 171.2 MB / 178.1 MB, free: 8.332 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2334/2.018, allocations: 41.11 MB / 219.3 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/2.122, allocations: 38.75 MB / 258 MB, free: 4.383 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2871/2.409, allocations: 65.95 MB / 324 MB, free: 6.055 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/2.409, allocations: 62.53 kB / 324 MB, free: 6.023 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.02105/2.43, allocations: 4.634 MB / 328.7 MB, free: 2.148 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/2.43, allocations: 8 kB / 328.7 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/2.43, allocations: 31.62 kB / 328.7 MB, free: 2.109 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/2.431, allocations: 238.3 kB / 328.9 MB, free: 1.852 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/2.431, allocations: 8 kB / 328.9 MB, free: 1.844 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-05/2.431, allocations: 19.31 kB / 329 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005472/2.431, allocations: 157.4 kB / 329.1 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005404/2.432, allocations: 207.1 kB / 329.3 MB, free: 1.555 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/2.432, allocations: 14.42 kB / 329.3 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/2.432, allocations: 0 / 329.3 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/2.432, allocations: 4 kB / 329.3 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/2.434, allocations: 0.6951 MB / 330 MB, free: 0.918 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/2.434, allocations: 181.8 kB / 330.2 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/2.435, allocations: 113.9 kB / 330.3 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/2.435, allocations: 11.92 kB / 330.3 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/2.435, allocations: 34.56 kB / 330.4 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 5.641e-06/2.435, allocations: 4 kB / 330.4 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.003679/2.438, allocations: 1.479 MB / 331.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/2.439, allocations: 81.11 kB / 331.9 MB, free: 15.08 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/2.439, allocations: 138.6 kB / 332.1 MB, free: 14.95 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/2.439, allocations: 25.7 kB / 332.1 MB, free: 14.92 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/2.439, allocations: 127 kB / 332.2 MB, free: 14.8 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/2.439, allocations: 172.3 kB / 332.4 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/2.439, allocations: 0 / 332.4 MB, free: 14.65 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002072/2.439, allocations: 341.6 kB / 332.7 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/2.44, allocations: 85.06 kB / 332.8 MB, free: 14.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/2.44, allocations: 143.5 kB / 332.9 MB, free: 14.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/2.44, allocations: 108.2 kB / 333 MB, free: 14.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/2.44, allocations: 0 / 333 MB, free: 14.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008525/2.441, allocations: 320.1 kB / 333.3 MB, free: 13.85 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/2.441, allocations: 8.062 kB / 333.4 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/2.441, allocations: 7.938 kB / 333.4 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/2.441, allocations: 7.984 kB / 333.4 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008379/2.442, allocations: 98.89 kB / 333.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/2.442, allocations: 7.938 kB / 333.5 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/2.443, allocations: 0 / 333.5 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/2.443, allocations: 15.12 kB / 333.5 MB, free: 13.71 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0001492/2.443, allocations: 112.8 kB / 333.6 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/2.443, allocations: 27.72 kB / 333.6 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/2.443, allocations: 43.11 kB / 333.7 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/2.443, allocations: 4 kB / 333.7 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/2.443, allocations: 0 / 333.7 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/2.443, allocations: 0 / 333.7 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/2.445, allocations: 0.8585 MB / 334.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/2.445, allocations: 0 / 334.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00199/2.447, allocations: 95.2 kB / 334.6 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.94e-05/2.447, allocations: 4 kB / 334.6 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-05/2.447, allocations: 11 kB / 334.6 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/2.447, allocations: 3.938 kB / 334.6 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/2.447, allocations: 4 kB / 334.6 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001187/2.449, allocations: 0.627 MB / 335.3 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001681/2.45, allocations: 1.137 MB / 336.4 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/2.451, allocations: 96.83 kB / 336.5 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.793e-05/2.451, allocations: 7.906 kB / 336.5 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003282/2.451, allocations: 0 / 336.5 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/2.451, allocations: 26.83 kB / 336.5 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/2.451, allocations: 11.69 kB / 336.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0001656/2.451, allocations: 121.8 kB / 336.7 MB, free: 10.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001438/2.453, allocations: 64 kB / 336.7 MB, free: 10.8 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * 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.0002436/2.453, allocations: 107.5 kB / 336.8 MB, free: 10.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007591/2.454, allocations: 256.1 kB / 337.1 MB, free: 10.51 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/2.454, allocations: 0 / 337.1 MB, free: 10.51 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003417/2.454, allocations: 151.1 kB / 337.2 MB, free: 10.4 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007677/2.455, allocations: 51.02 kB / 337.3 MB, free: 10.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/2.457, allocations: 0.8498 MB / 338.1 MB, free: 9.523 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006854/2.458, allocations: 0.8253 MB / 339 MB, free: 8.68 MB / 282.7 MB Notification: Performance of SimCode: time 1.774e-06/2.458, allocations: 0 / 339 MB, free: 8.68 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat