Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",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.446/4.446, allocations: 404 MB / 410.9 MB, free: 4.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2896/4.736, allocations: 95.01 MB / 0.4941 GB, free: 7.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5534/5.29, allocations: 92.69 MB / 0.5846 GB, free: 3.367 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2596/5.549, allocations: 119.8 MB / 0.7015 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004027/5.55, allocations: 83.94 kB / 0.7016 GB, free: 13.82 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.003536/5.553, allocations: 0.6923 MB / 0.7023 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/5.553, allocations: 8 kB / 0.7023 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/5.553, allocations: 0 / 0.7023 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/5.553, allocations: 171 kB / 0.7025 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/5.554, allocations: 0 / 0.7025 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/5.554, allocations: 4 kB / 0.7025 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001063/5.554, allocations: 15.94 kB / 0.7025 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.671e-05/5.554, allocations: 29.7 kB / 0.7025 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/5.554, allocations: 4 kB / 0.7025 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/5.554, allocations: 0 / 0.7025 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/5.554, allocations: 3.906 kB / 0.7025 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006188/5.554, allocations: 249.5 kB / 0.7028 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.633e-05/5.555, allocations: 26.58 kB / 0.7028 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.643e-05/5.555, allocations: 12.92 kB / 0.7028 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/5.555, allocations: 0 / 0.7028 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/5.555, allocations: 34.56 kB / 0.7028 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.334e-06/5.555, allocations: 0 / 0.7028 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002114/5.555, allocations: 41.61 kB / 0.7029 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/5.555, allocations: 55.34 kB / 0.7029 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.792e-05/5.555, allocations: 92.98 kB / 0.703 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/5.555, allocations: 25.7 kB / 0.703 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/5.555, allocations: 88.14 kB / 0.7031 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/5.555, allocations: 3.906 kB / 0.7031 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/5.555, allocations: 4.031 kB / 0.7031 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000163/5.555, allocations: 310.8 kB / 0.7034 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.246e-05/5.555, allocations: 8 kB / 0.7034 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.755e-05/5.556, allocations: 4 kB / 0.7034 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.193e-05/5.556, allocations: 7.984 kB / 0.7035 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/5.556, allocations: 0 / 0.7035 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001342/5.556, allocations: 45.55 kB / 0.7035 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/5.556, allocations: 5.094 kB / 0.7035 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/5.556, allocations: 96 / 0.7035 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/5.556, allocations: 4 kB / 0.7035 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/5.556, allocations: 11.98 kB / 0.7035 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/5.556, allocations: 0 / 0.7035 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/5.556, allocations: 15.98 kB / 0.7035 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/5.556, allocations: 7.938 kB / 0.7035 GB, free: 11.67 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: 1 (greThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001511/5.557, allocations: 110.9 kB / 0.7036 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.715e-05/5.557, allocations: 3.906 kB / 0.7036 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.601e-05/5.557, allocations: 7.312 kB / 0.7037 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/5.557, allocations: 3.984 kB / 0.7037 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/5.557, allocations: 3.938 kB / 0.7037 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/5.557, allocations: 0 / 0.7037 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/5.557, allocations: 138.2 kB / 0.7038 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/5.557, allocations: 0 / 0.7038 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/5.557, allocations: 12 kB / 0.7038 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/5.558, allocations: 3.906 kB / 0.7038 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/5.558, allocations: 0 / 0.7038 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/5.558, allocations: 0 / 0.7038 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/5.558, allocations: 4 kB / 0.7038 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002678/5.558, allocations: 135.5 kB / 0.7039 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005221/5.558, allocations: 0.5154 MB / 0.7044 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.96e-05/5.559, allocations: 84.95 kB / 0.7045 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/5.559, allocations: 256 / 0.7045 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003287/5.559, allocations: 24.05 kB / 0.7045 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/5.559, allocations: 0 / 0.7045 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/5.559, allocations: 0 / 0.7045 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.737e-05/5.559, allocations: 79.28 kB / 0.7046 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002271/5.561, allocations: 7.984 kB / 0.7046 GB, free: 10.46 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 (greThr.y) * Number of discrete states: 0 () * 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.0003011/5.562, allocations: 111 kB / 0.7047 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001896/5.562, allocations: 16 kB / 0.7048 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/5.562, allocations: 0 / 0.7048 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.74e-05/5.562, allocations: 7.938 kB / 0.7048 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/5.563, allocations: 7.906 kB / 0.7048 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/5.563, allocations: 55.92 kB / 0.7048 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004824/5.564, allocations: 0.688 MB / 0.7055 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of SimCode: time 1.643e-06/5.564, allocations: 0 / 0.7055 GB, free: 9.512 MB / 0.5886 GB