Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",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.29/4.29, allocations: 404 MB / 410.9 MB, free: 4.902 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2888/4.579, allocations: 95.02 MB / 0.4941 GB, free: 7.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5279/5.107, allocations: 92.68 MB / 0.5846 GB, free: 3.363 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3086/5.416, allocations: 120.4 MB / 0.7021 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003896/5.416, allocations: 87.94 kB / 0.7022 GB, free: 13.24 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.02337/5.44, allocations: 3.826 MB / 0.706 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/5.44, allocations: 15.94 kB / 0.706 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.663e-05/5.44, allocations: 19.81 kB / 0.706 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/5.44, allocations: 202.8 kB / 0.7062 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/5.44, allocations: 0 / 0.7062 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/5.44, allocations: 4 kB / 0.7062 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00038/5.441, allocations: 83.89 kB / 0.7063 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/5.441, allocations: 117.6 kB / 0.7064 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/5.441, allocations: 0 / 0.7064 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/5.441, allocations: 3.938 kB / 0.7064 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/5.441, allocations: 0 / 0.7064 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001991/5.443, allocations: 0.5047 MB / 0.7069 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/5.443, allocations: 74.56 kB / 0.7069 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/5.444, allocations: 68.84 kB / 0.707 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.657e-05/5.444, allocations: 0 / 0.707 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.891e-05/5.444, allocations: 38.56 kB / 0.707 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 2.575e-06/5.444, allocations: 0 / 0.707 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0007501/5.445, allocations: 169.5 kB / 0.7072 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/5.445, allocations: 51.41 kB / 0.7073 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/5.445, allocations: 136.4 kB / 0.7074 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/5.445, allocations: 25.7 kB / 0.7074 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/5.445, allocations: 100.4 kB / 0.7075 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.263e-05/5.445, allocations: 47.27 kB / 0.7076 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/5.445, allocations: 4 kB / 0.7076 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002405/5.445, allocations: 318.8 kB / 0.7079 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/5.446, allocations: 55.98 kB / 0.7079 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/5.446, allocations: 58.8 kB / 0.708 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/5.446, allocations: 63.91 kB / 0.708 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/5.446, allocations: 0 / 0.708 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000575/5.447, allocations: 165.5 kB / 0.7082 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/5.447, allocations: 8 kB / 0.7082 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.303e-05/5.447, allocations: 0 / 0.7082 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/5.447, allocations: 3.984 kB / 0.7082 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006613/5.448, allocations: 59.95 kB / 0.7083 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/5.448, allocations: 0 / 0.7083 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005262/5.448, allocations: 55.8 kB / 0.7083 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-05/5.448, allocations: 11.94 kB / 0.7083 GB, free: 6.785 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000123/5.448, allocations: 104.5 kB / 0.7084 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-05/5.448, allocations: 15.81 kB / 0.7084 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007778/5.449, allocations: 198.2 kB / 0.7086 GB, free: 6.461 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/5.449, allocations: 4 kB / 0.7086 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/5.449, allocations: 3.906 kB / 0.7086 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/5.449, allocations: 0 / 0.7086 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004654/5.45, allocations: 226.2 kB / 0.7089 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.986e-05/5.45, allocations: 0 / 0.7089 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000575/5.45, allocations: 59.89 kB / 0.7089 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/5.45, allocations: 4 kB / 0.7089 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/5.451, allocations: 7.938 kB / 0.7089 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/5.451, allocations: 0 / 0.7089 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/5.451, allocations: 0 / 0.7089 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007043/5.451, allocations: 272 kB / 0.7092 GB, free: 5.844 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007631/5.452, allocations: 0.6415 MB / 0.7098 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.2e-05/5.452, allocations: 88.92 kB / 0.7099 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.842e-05/5.452, allocations: 0 / 0.7099 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005675/5.453, allocations: 51.89 kB / 0.7099 GB, free: 5.027 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.785e-05/5.453, allocations: 7.984 kB / 0.7099 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/5.453, allocations: 12 kB / 0.71 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0001296/5.453, allocations: 107.1 kB / 0.7101 GB, free: 4.902 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001527/5.455, allocations: 43.84 kB / 0.7101 GB, free: 4.859 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003942/5.455, allocations: 127 kB / 0.7102 GB, free: 4.727 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005396/5.456, allocations: 199.4 kB / 0.7104 GB, free: 4.52 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/5.456, allocations: 0 / 0.7104 GB, free: 4.52 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002788/5.456, allocations: 139.9 kB / 0.7105 GB, free: 4.371 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/5.456, allocations: 16 kB / 0.7106 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007691/5.457, allocations: 218.5 kB / 0.7108 GB, free: 4.121 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005407/5.458, allocations: 0.7389 MB / 0.7115 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of SimCode: time 8.82e-07/5.458, allocations: 3.938 kB / 0.7115 GB, free: 3.348 MB / 0.5886 GB