Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Translational_Examples_InitialConditions",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(Modelica): time 1.707/1.707, allocations: 194.9 MB / 202.6 MB, free: 6.887 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.209/1.916, allocations: 46.82 MB / 249.4 MB, free: 5.332 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09233/2.009, allocations: 44.5 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2876/2.296, allocations: 70.95 MB / 364.9 MB, free: 6.805 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/2.297, allocations: 61.91 kB / 364.9 MB, free: 6.805 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.01953/2.316, allocations: 4.616 MB / 369.5 MB, free: 6.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/2.316, allocations: 11.69 kB / 369.5 MB, free: 6.066 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.48e-05/2.316, allocations: 31.16 kB / 369.6 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/2.317, allocations: 239.6 kB / 369.8 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/2.317, allocations: 7.875 kB / 369.8 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.864e-05/2.317, allocations: 15.5 kB / 369.8 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004798/2.317, allocations: 160.8 kB / 370 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005015/2.318, allocations: 211.7 kB / 370.2 MB, free: 5.762 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/2.318, allocations: 1.547 kB / 370.2 MB, free: 5.762 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/2.318, allocations: 3.938 kB / 370.2 MB, free: 5.762 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/2.318, allocations: 3.938 kB / 370.2 MB, free: 5.762 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/2.319, allocations: 0.7015 MB / 370.9 MB, free: 5.391 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004157/2.32, allocations: 186.3 kB / 371.1 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/2.32, allocations: 109 kB / 371.2 MB, free: 5.336 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/2.32, allocations: 3.875 kB / 371.2 MB, free: 5.336 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/2.32, allocations: 40.28 kB / 371.2 MB, free: 5.293 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 3.096e-06/2.32, allocations: 0 / 371.2 MB, free: 5.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.003262/2.323, allocations: 1.479 MB / 372.7 MB, free: 20.35 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/2.323, allocations: 86.08 kB / 372.8 MB, free: 20.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/2.324, allocations: 144 kB / 372.9 MB, free: 20.15 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/2.324, allocations: 25.7 kB / 373 MB, free: 20.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.782e-05/2.324, allocations: 126.7 kB / 373.1 MB, free: 20.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/2.324, allocations: 170.9 kB / 373.3 MB, free: 19.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.12e-05/2.324, allocations: 0 / 373.3 MB, free: 19.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/2.324, allocations: 339.3 kB / 373.6 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/2.324, allocations: 92.19 kB / 373.7 MB, free: 19.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003114/2.325, allocations: 136.8 kB / 373.8 MB, free: 19.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/2.325, allocations: 117.7 kB / 373.9 MB, free: 19.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/2.325, allocations: 1.641 kB / 373.9 MB, free: 19.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007673/2.326, allocations: 312 kB / 374.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/2.326, allocations: 7.156 kB / 374.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/2.326, allocations: 0 / 374.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/2.326, allocations: 7.812 kB / 374.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008677/2.327, allocations: 108.8 kB / 374.4 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/2.327, allocations: 3.906 kB / 374.4 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/2.327, allocations: 1.547 kB / 374.4 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/2.327, allocations: 14.91 kB / 374.4 MB, free: 19.47 MB / 314.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.0001294/2.327, allocations: 114.1 kB / 374.5 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/2.327, allocations: 30.59 kB / 374.5 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/2.327, allocations: 34.38 kB / 374.5 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/2.327, allocations: 5.203 kB / 374.6 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/2.327, allocations: 3.844 kB / 374.6 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/2.327, allocations: 11.12 kB / 374.6 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/2.329, allocations: 0.8605 MB / 375.4 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/2.329, allocations: 7.781 kB / 375.4 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009535/2.33, allocations: 97.41 kB / 375.5 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/2.33, allocations: 3.938 kB / 375.5 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/2.33, allocations: 3.938 kB / 375.5 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/2.33, allocations: 5.469 kB / 375.5 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/2.33, allocations: 3.938 kB / 375.5 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00103/2.331, allocations: 0.6289 MB / 376.2 MB, free: 18.61 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00148/2.333, allocations: 1.131 MB / 377.3 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.253e-05/2.333, allocations: 100.6 kB / 377.4 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.098e-05/2.333, allocations: 4 kB / 377.4 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/2.333, allocations: 5.188 kB / 377.4 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/2.334, allocations: 20.03 kB / 377.4 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/2.334, allocations: 16.38 kB / 377.4 MB, free: 17.81 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001187/2.334, allocations: 110.5 kB / 377.6 MB, free: 17.74 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001609/2.335, allocations: 69.03 kB / 377.6 MB, free: 17.73 MB / 314.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.0001787/2.336, allocations: 120.4 kB / 377.7 MB, free: 17.63 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006475/2.336, allocations: 260.5 kB / 378 MB, free: 17.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/2.336, allocations: 0 / 378 MB, free: 17.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000296/2.337, allocations: 143.3 kB / 378.1 MB, free: 17.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007215/2.337, allocations: 39.61 kB / 378.2 MB, free: 17.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/2.339, allocations: 0.8514 MB / 379 MB, free: 17.08 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005889/2.34, allocations: 0.8385 MB / 379.9 MB, free: 16.36 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/2.34, allocations: 0 / 379.9 MB, free: 16.36 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat