Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Utilities_TestReadFile",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(ModelicaTest): time 2.372/2.372, allocations: 235 MB / 241.9 MB, free: 9.777 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1845/2.556, allocations: 57.21 MB / 299.1 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/2.841, allocations: 54.83 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1669/3.008, allocations: 78.88 MB / 432.8 MB, free: 14.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/3.008, allocations: 63.8 kB / 432.9 MB, free: 14.38 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.01977/3.028, allocations: 3.764 MB / 436.7 MB, free: 10.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.529e-05/3.028, allocations: 8 kB / 436.7 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/3.028, allocations: 3.906 kB / 436.7 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/3.028, allocations: 171.1 kB / 436.9 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/3.028, allocations: 0 / 436.9 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/3.028, allocations: 0 / 436.9 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.98e-05/3.028, allocations: 4 kB / 436.9 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.45e-05/3.028, allocations: 25.7 kB / 436.9 MB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/3.028, allocations: 3.938 kB / 436.9 MB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/3.028, allocations: 3.906 kB / 436.9 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/3.028, allocations: 4 kB / 436.9 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/3.029, allocations: 126.2 kB / 437 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.317e-05/3.029, allocations: 22.56 kB / 437 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.421e-05/3.029, allocations: 8.953 kB / 437 MB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/3.029, allocations: 0 / 437 MB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.789e-05/3.029, allocations: 64.2 kB / 437.1 MB, free: 10.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.713e-06/3.029, allocations: 0 / 437.1 MB, free: 10.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002263/3.029, allocations: 29.7 kB / 437.1 MB, free: 9.984 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/3.029, allocations: 77.11 kB / 437.2 MB, free: 9.891 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/3.029, allocations: 97.02 kB / 437.3 MB, free: 9.789 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/3.029, allocations: 25.7 kB / 437.3 MB, free: 9.758 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/3.029, allocations: 84.08 kB / 437.4 MB, free: 9.672 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/3.029, allocations: 3.906 kB / 437.4 MB, free: 9.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/3.029, allocations: 0 / 437.4 MB, free: 9.668 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001923/3.03, allocations: 314.8 kB / 437.7 MB, free: 9.352 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/3.03, allocations: 4 kB / 437.7 MB, free: 9.348 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.103e-05/3.03, allocations: 128 / 437.7 MB, free: 9.348 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.271e-05/3.03, allocations: 4.062 kB / 437.7 MB, free: 9.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/3.03, allocations: 0 / 437.7 MB, free: 9.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002144/3.03, allocations: 37.69 kB / 437.8 MB, free: 9.301 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/3.03, allocations: 4 kB / 437.8 MB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/3.03, allocations: 0 / 437.8 MB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/3.03, allocations: 0 / 437.8 MB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.245e-06/3.03, allocations: 0 / 437.8 MB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/3.03, allocations: 3.906 kB / 437.8 MB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.708e-05/3.03, allocations: 4 kB / 437.8 MB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/3.03, allocations: 4.031 kB / 437.8 MB, free: 9.285 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001888/3.031, allocations: 130.7 kB / 437.9 MB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/3.031, allocations: 3.984 kB / 437.9 MB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/3.031, allocations: 7 kB / 437.9 MB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/3.031, allocations: 0 / 437.9 MB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/3.031, allocations: 3.984 kB / 437.9 MB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/3.031, allocations: 7.844 kB / 437.9 MB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/3.031, allocations: 122.2 kB / 438.1 MB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/3.031, allocations: 0 / 438.1 MB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.247e-06/3.031, allocations: 4 kB / 438.1 MB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/3.031, allocations: 4 kB / 438.1 MB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/3.031, allocations: 4 kB / 438.1 MB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/3.031, allocations: 0 / 438.1 MB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/3.031, allocations: 0 / 438.1 MB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001795/3.031, allocations: 64.97 kB / 438.1 MB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003544/3.032, allocations: 449.5 kB / 438.6 MB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/3.032, allocations: 84.95 kB / 438.7 MB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/3.032, allocations: 4 kB / 438.7 MB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.731e-05/3.032, allocations: 4 kB / 438.7 MB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.513e-05/3.032, allocations: 0 / 438.7 MB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/3.032, allocations: 3.984 kB / 438.7 MB, free: 8.297 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.179e-05/3.032, allocations: 75.28 kB / 438.7 MB, free: 8.223 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001479/3.033, allocations: 32.12 kB / 438.8 MB, free: 8.191 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005401/3.034, allocations: 176.7 kB / 438.9 MB, free: 8.031 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001114/3.034, allocations: 33.69 kB / 439 MB, free: 7.992 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/3.034, allocations: 0 / 439 MB, free: 7.992 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.835e-05/3.034, allocations: 29.7 kB / 439 MB, free: 7.957 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/3.034, allocations: 0 / 439 MB, free: 7.957 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/3.034, allocations: 51.88 kB / 439.1 MB, free: 7.883 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003272/3.035, allocations: 0.6841 MB / 439.7 MB, free: 7.172 MB / 378.7 MB Notification: Performance of SimCode: time 9.41e-07/3.035, allocations: 128 / 439.7 MB, free: 7.172 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile_res.mat does not exist to compare? outputFormat=mat