Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Hysteresis,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_Hysteresis",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.165/2.165, allocations: 235 MB / 241.9 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1375/2.302, allocations: 57.2 MB / 299.1 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/2.582, allocations: 54.84 MB / 354 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.189/2.771, allocations: 79.38 MB / 433.3 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/2.771, allocations: 63.97 kB / 433.4 MB, free: 13.87 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.004334/2.775, allocations: 0.946 MB / 434.4 MB, free: 12.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/2.776, allocations: 11.98 kB / 434.4 MB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/2.776, allocations: 4 kB / 434.4 MB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/2.776, allocations: 174.9 kB / 434.5 MB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/2.776, allocations: 0 / 434.5 MB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/2.776, allocations: 15.92 kB / 434.6 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.526e-05/2.776, allocations: 8 kB / 434.6 MB, free: 12.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/2.776, allocations: 51.41 kB / 434.6 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/2.776, allocations: 0 / 434.6 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/2.776, allocations: 0 / 434.6 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/2.776, allocations: 3.906 kB / 434.6 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004702/2.777, allocations: 245.5 kB / 434.9 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.494e-05/2.777, allocations: 30.52 kB / 434.9 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.944e-05/2.777, allocations: 8.922 kB / 434.9 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/2.777, allocations: 0 / 434.9 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/2.777, allocations: 30.56 kB / 434.9 MB, free: 12.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/2.777, allocations: 4 kB / 434.9 MB, free: 12.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002104/2.777, allocations: 49.59 kB / 435 MB, free: 12.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/2.777, allocations: 77.11 kB / 435.1 MB, free: 12.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/2.777, allocations: 97 kB / 435.1 MB, free: 11.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/2.777, allocations: 25.7 kB / 435.2 MB, free: 11.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/2.777, allocations: 92.06 kB / 435.3 MB, free: 11.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/2.777, allocations: 7.906 kB / 435.3 MB, free: 11.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/2.777, allocations: 0 / 435.3 MB, free: 11.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/2.778, allocations: 318.9 kB / 435.6 MB, free: 11.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.632e-05/2.778, allocations: 7.938 kB / 435.6 MB, free: 11.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-05/2.778, allocations: 21.7 kB / 435.6 MB, free: 11.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.93e-05/2.778, allocations: 8 kB / 435.6 MB, free: 11.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/2.778, allocations: 0 / 435.6 MB, free: 11.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001361/2.778, allocations: 49.59 kB / 435.7 MB, free: 11.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/2.778, allocations: 8 kB / 435.7 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/2.778, allocations: 3.938 kB / 435.7 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/2.778, allocations: 32 / 435.7 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/2.778, allocations: 8 kB / 435.7 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/2.778, allocations: 0 / 435.7 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/2.778, allocations: 11.98 kB / 435.7 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/2.778, allocations: 0 / 435.7 MB, free: 11.36 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: 2 ($PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001063/2.778, allocations: 114.1 kB / 435.8 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/2.778, allocations: 0 / 435.8 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/2.778, allocations: 15.56 kB / 435.8 MB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/2.778, allocations: 3.984 kB / 435.8 MB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/2.778, allocations: 0 / 435.8 MB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/2.779, allocations: 3.906 kB / 435.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/2.779, allocations: 134.2 kB / 436 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/2.779, allocations: 4 kB / 436 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.499e-05/2.779, allocations: 11.92 kB / 436 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/2.779, allocations: 0 / 436 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/2.779, allocations: 4 kB / 436 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/2.779, allocations: 0 / 436 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/2.779, allocations: 0 / 436 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001809/2.779, allocations: 139.5 kB / 436.1 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003021/2.779, allocations: 0.5194 MB / 436.6 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/2.779, allocations: 81.16 kB / 436.7 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/2.78, allocations: 4 kB / 436.7 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/2.78, allocations: 11.98 kB / 436.7 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.165e-05/2.78, allocations: 11.97 kB / 436.7 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/2.78, allocations: 0 / 436.7 MB, free: 10.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.309e-05/2.78, allocations: 91.27 kB / 436.8 MB, free: 10.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001156/2.781, allocations: 8 kB / 436.8 MB, free: 10.11 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 (hysteresis.y) * Number of discrete states: 1 (hysteresis.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001386/2.781, allocations: 91.25 kB / 436.9 MB, free: 10.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001359/2.781, allocations: 16 kB / 436.9 MB, free: 9.996 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/2.781, allocations: 0 / 436.9 MB, free: 9.996 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.119e-05/2.781, allocations: 8 kB / 437 MB, free: 9.988 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/2.782, allocations: 4 kB / 437 MB, free: 9.984 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/2.782, allocations: 75.62 kB / 437 MB, free: 9.887 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003371/2.782, allocations: 0.6958 MB / 437.7 MB, free: 9.164 MB / 378.7 MB Notification: Performance of SimCode: time 7.52e-07/2.782, allocations: 0 / 437.7 MB, free: 9.164 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis_res.mat does not exist to compare? outputFormat=mat