Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Utilities_TestStreams",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(ModelicaTest): time 2.723/2.723, allocations: 235.1 MB / 242 MB, free: 9.738 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2293/2.953, allocations: 57.19 MB / 299.2 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/3.283, allocations: 54.85 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1587/3.442, allocations: 79.19 MB / 433.3 MB, free: 14.08 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/3.442, allocations: 63.95 kB / 433.3 MB, free: 14.02 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.01119/3.453, allocations: 2.318 MB / 435.6 MB, free: 11.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/3.453, allocations: 8 kB / 435.6 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/3.453, allocations: 3.906 kB / 435.6 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/3.453, allocations: 167.1 kB / 435.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/3.453, allocations: 0 / 435.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/3.453, allocations: 3.938 kB / 435.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.222e-05/3.453, allocations: 0 / 435.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.808e-05/3.453, allocations: 37.69 kB / 435.9 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/3.454, allocations: 0 / 435.9 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/3.454, allocations: 0 / 435.9 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/3.454, allocations: 0 / 435.9 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/3.454, allocations: 130.1 kB / 436 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.837e-05/3.454, allocations: 26.53 kB / 436 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.988e-05/3.454, allocations: 4.859 kB / 436 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/3.454, allocations: 0 / 436 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.148e-05/3.454, allocations: 60.27 kB / 436.1 MB, free: 11.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.542e-06/3.454, allocations: 0 / 436.1 MB, free: 11.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002105/3.454, allocations: 37.75 kB / 436.1 MB, free: 11.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/3.454, allocations: 81.11 kB / 436.2 MB, free: 10.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.76e-05/3.454, allocations: 85 kB / 436.3 MB, free: 10.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/3.454, allocations: 25.7 kB / 436.3 MB, free: 10.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.445e-05/3.454, allocations: 80.14 kB / 436.4 MB, free: 10.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/3.454, allocations: 0 / 436.4 MB, free: 10.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/3.454, allocations: 4.031 kB / 436.4 MB, free: 10.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/3.455, allocations: 314.8 kB / 436.7 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/3.455, allocations: 7.938 kB / 436.7 MB, free: 10.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.815e-05/3.455, allocations: 3.984 kB / 436.7 MB, free: 10.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.921e-05/3.455, allocations: 0 / 436.7 MB, free: 10.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/3.455, allocations: 0 / 436.7 MB, free: 10.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001143/3.455, allocations: 41.69 kB / 436.7 MB, free: 10.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/3.455, allocations: 4 kB / 436.7 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/3.455, allocations: 4.094 kB / 436.7 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/3.455, allocations: 0 / 436.7 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.653e-06/3.455, allocations: 0 / 436.7 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/3.455, allocations: 4 kB / 436.7 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/3.455, allocations: 0 / 436.7 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/3.455, allocations: 0 / 436.7 MB, free: 10.37 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.0001171/3.455, allocations: 130.6 kB / 436.9 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/3.455, allocations: 0 / 436.9 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.719e-05/3.455, allocations: 10.95 kB / 436.9 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/3.455, allocations: 0 / 436.9 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/3.455, allocations: 7.938 kB / 436.9 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/3.455, allocations: 0 / 436.9 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/3.455, allocations: 126.2 kB / 437 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/3.455, allocations: 7.906 kB / 437 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-06/3.455, allocations: 0 / 437 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/3.455, allocations: 4 kB / 437 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/3.455, allocations: 3.938 kB / 437 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/3.455, allocations: 0 / 437 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/3.455, allocations: 0 / 437 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001472/3.456, allocations: 65.12 kB / 437.1 MB, free: 9.953 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003454/3.456, allocations: 441.4 kB / 437.5 MB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/3.456, allocations: 77.11 kB / 437.6 MB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/3.456, allocations: 3.938 kB / 437.6 MB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.56e-05/3.456, allocations: 4 kB / 437.6 MB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/3.456, allocations: 8.047 kB / 437.6 MB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-06/3.456, allocations: 0 / 437.6 MB, free: 9.391 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.19e-05/3.456, allocations: 79.22 kB / 437.7 MB, free: 9.312 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001405/3.458, allocations: 47.89 kB / 437.7 MB, free: 9.266 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.0008447/3.458, allocations: 279.6 kB / 438 MB, free: 9.039 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001002/3.459, allocations: 29.7 kB / 438 MB, free: 9.004 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/3.459, allocations: 0 / 438 MB, free: 9.004 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.034e-05/3.459, allocations: 29.7 kB / 438.1 MB, free: 8.969 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/3.459, allocations: 0 / 438.1 MB, free: 8.969 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001793/3.459, allocations: 52.12 kB / 438.1 MB, free: 8.895 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/3.459, allocations: 0.6802 MB / 438.8 MB, free: 8.188 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/3.459, allocations: 0 / 438.8 MB, free: 8.188 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Utilities.TestStreams_res.mat does not exist to compare? outputFormat=mat