Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",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(Buildings): time 4.491/4.491, allocations: 404 MB / 410.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2646/4.755, allocations: 95.02 MB / 0.4941 GB, free: 7.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5372/5.293, allocations: 92.7 MB / 0.5846 GB, free: 3.355 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2582/5.551, allocations: 120.3 MB / 0.7021 GB, free: 13.42 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003795/5.551, allocations: 87.94 kB / 0.7021 GB, free: 13.34 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.005151/5.557, allocations: 1.009 MB / 0.7031 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/5.557, allocations: 16 kB / 0.7031 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/5.557, allocations: 3.906 kB / 0.7031 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/5.557, allocations: 174.9 kB / 0.7033 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/5.557, allocations: 3.984 kB / 0.7033 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/5.557, allocations: 8 kB / 0.7033 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000128/5.557, allocations: 16 kB / 0.7033 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/5.557, allocations: 45.69 kB / 0.7034 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/5.557, allocations: 4 kB / 0.7034 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/5.557, allocations: 0 / 0.7034 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/5.557, allocations: 0 / 0.7034 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006338/5.558, allocations: 265.4 kB / 0.7036 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/5.558, allocations: 42.69 kB / 0.7037 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.707e-05/5.558, allocations: 16.84 kB / 0.7037 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/5.558, allocations: 0 / 0.7037 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/5.558, allocations: 34.56 kB / 0.7037 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 2.004e-06/5.558, allocations: 4 kB / 0.7037 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002453/5.559, allocations: 53.58 kB / 0.7038 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/5.559, allocations: 51.41 kB / 0.7038 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/5.559, allocations: 101.1 kB / 0.7039 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/5.559, allocations: 29.64 kB / 0.704 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/5.559, allocations: 96.03 kB / 0.704 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/5.559, allocations: 7.844 kB / 0.704 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.467e-06/5.559, allocations: 0 / 0.704 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001402/5.559, allocations: 326.8 kB / 0.7044 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.382e-05/5.559, allocations: 8 kB / 0.7044 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.335e-05/5.559, allocations: 25.7 kB / 0.7044 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.948e-05/5.559, allocations: 8 kB / 0.7044 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/5.559, allocations: 3.906 kB / 0.7044 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001811/5.559, allocations: 53.7 kB / 0.7045 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/5.56, allocations: 7.938 kB / 0.7045 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/5.56, allocations: 3.984 kB / 0.7045 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/5.56, allocations: 192 / 0.7045 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/5.56, allocations: 20.03 kB / 0.7045 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/5.56, allocations: 3.938 kB / 0.7045 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/5.56, allocations: 27.88 kB / 0.7045 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/5.56, allocations: 4 kB / 0.7045 GB, free: 10.68 MB / 0.5886 GB 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.hysteresis1.y,hysteresis1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001076/5.56, allocations: 101 kB / 0.7046 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.116e-05/5.56, allocations: 7.906 kB / 0.7046 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/5.561, allocations: 57.69 kB / 0.7047 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/5.561, allocations: 0 / 0.7047 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.475e-06/5.561, allocations: 3.984 kB / 0.7047 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/5.561, allocations: 4 kB / 0.7047 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/5.561, allocations: 138.2 kB / 0.7048 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/5.561, allocations: 8 kB / 0.7048 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/5.561, allocations: 15.89 kB / 0.7048 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/5.561, allocations: 0 / 0.7048 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/5.561, allocations: 4 kB / 0.7048 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/5.561, allocations: 3.938 kB / 0.7048 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/5.561, allocations: 0 / 0.7048 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002018/5.561, allocations: 151.5 kB / 0.705 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003323/5.562, allocations: 0.5155 MB / 0.7055 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/5.562, allocations: 77.11 kB / 0.7056 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/5.562, allocations: 7.984 kB / 0.7056 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/5.562, allocations: 15.91 kB / 0.7056 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.359e-05/5.562, allocations: 11.97 kB / 0.7056 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/5.562, allocations: 0 / 0.7056 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.558e-05/5.562, allocations: 87.28 kB / 0.7057 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001325/5.563, allocations: 11.94 kB / 0.7057 GB, free: 9.363 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (hysteresis1.y) * Number of discrete states: 1 (hysteresis1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001797/5.564, allocations: 103 kB / 0.7058 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001846/5.564, allocations: 35.92 kB / 0.7058 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/5.564, allocations: 0 / 0.7058 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.694e-05/5.564, allocations: 16 kB / 0.7058 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/5.564, allocations: 3.359 kB / 0.7059 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/5.565, allocations: 83.7 kB / 0.7059 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/5.565, allocations: 0.6993 MB / 0.7066 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of SimCode: time 1.302e-06/5.565, allocations: 0 / 0.7066 GB, free: 8.375 MB / 0.5886 GB