Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_2_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.666/1.666, allocations: 194.9 MB / 202.5 MB, free: 6.941 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.244/1.91, allocations: 46.83 MB / 249.3 MB, free: 5.332 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08802/1.998, allocations: 44.51 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2679/2.266, allocations: 70.94 MB / 364.8 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/2.266, allocations: 65.73 kB / 364.9 MB, free: 7.16 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.01768/2.284, allocations: 4.618 MB / 369.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/2.284, allocations: 13.06 kB / 369.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.83e-05/2.284, allocations: 31.22 kB / 369.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/2.284, allocations: 233.5 kB / 369.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/2.284, allocations: 15.72 kB / 369.8 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.938e-05/2.284, allocations: 16.56 kB / 369.8 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000437/2.285, allocations: 157.2 kB / 369.9 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000461/2.285, allocations: 210.2 kB / 370.1 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/2.285, allocations: 3.25 kB / 370.1 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/2.285, allocations: 0 / 370.1 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/2.285, allocations: 8.922 kB / 370.1 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/2.287, allocations: 0.6971 MB / 370.8 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/2.287, allocations: 189.8 kB / 371 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/2.287, allocations: 111.3 kB / 371.1 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/2.287, allocations: 3.875 kB / 371.1 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/2.287, allocations: 38.59 kB / 371.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 3.176e-06/2.287, allocations: 0 / 371.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.002997/2.29, allocations: 1.477 MB / 372.7 MB, free: 20.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/2.29, allocations: 84.86 kB / 372.7 MB, free: 20.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/2.291, allocations: 147.8 kB / 372.9 MB, free: 20.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/2.291, allocations: 26.91 kB / 372.9 MB, free: 20.47 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.034e-05/2.291, allocations: 127.9 kB / 373 MB, free: 20.37 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/2.291, allocations: 166.1 kB / 373.2 MB, free: 20.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.916e-05/2.291, allocations: 0 / 373.2 MB, free: 20.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/2.291, allocations: 342.6 kB / 373.5 MB, free: 19.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/2.291, allocations: 88.97 kB / 373.6 MB, free: 19.94 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/2.292, allocations: 139 kB / 373.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/2.292, allocations: 113 kB / 373.9 MB, free: 19.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/2.292, allocations: 0 / 373.9 MB, free: 19.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006851/2.293, allocations: 316.8 kB / 374.2 MB, free: 19.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/2.293, allocations: 4.531 kB / 374.2 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/2.293, allocations: 1.531 kB / 374.2 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/2.293, allocations: 7.781 kB / 374.2 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008082/2.293, allocations: 106 kB / 374.3 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/2.294, allocations: 9.297 kB / 374.3 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/2.294, allocations: 3.984 kB / 374.3 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/2.294, allocations: 15.56 kB / 374.3 MB, free: 19.82 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.0001357/2.294, allocations: 114.1 kB / 374.4 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.816e-05/2.294, allocations: 27.22 kB / 374.5 MB, free: 19.69 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/2.294, allocations: 36 kB / 374.5 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/2.294, allocations: 3.844 kB / 374.5 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/2.294, allocations: 0 / 374.5 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/2.294, allocations: 6.516 kB / 374.5 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/2.296, allocations: 0.8554 MB / 375.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.994e-06/2.296, allocations: 3.906 kB / 375.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008706/2.297, allocations: 106 kB / 375.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/2.297, allocations: 7.812 kB / 375.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/2.297, allocations: 8.625 kB / 375.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/2.297, allocations: 0 / 375.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/2.297, allocations: 3.906 kB / 375.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001043/2.298, allocations: 0.6306 MB / 376.1 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001375/2.299, allocations: 1.13 MB / 377.2 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.996e-05/2.3, allocations: 101.5 kB / 377.3 MB, free: 18.17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.014e-05/2.3, allocations: 3.938 kB / 377.3 MB, free: 18.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/2.3, allocations: 4 kB / 377.3 MB, free: 18.17 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/2.3, allocations: 28.59 kB / 377.4 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/2.3, allocations: 10.91 kB / 377.4 MB, free: 18.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001164/2.3, allocations: 116.6 kB / 377.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001383/2.302, allocations: 65.56 kB / 377.6 MB, free: 18.09 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.0001814/2.302, allocations: 108.9 kB / 377.7 MB, free: 17.99 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006064/2.302, allocations: 264.6 kB / 377.9 MB, free: 17.97 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/2.302, allocations: 0 / 377.9 MB, free: 17.97 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002704/2.303, allocations: 150.9 kB / 378.1 MB, free: 17.96 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006777/2.303, allocations: 34.61 kB / 378.1 MB, free: 17.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/2.305, allocations: 0.8478 MB / 379 MB, free: 17.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005831/2.306, allocations: 0.8261 MB / 379.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/2.306, allocations: 0 / 379.8 MB, free: 16.72 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat