Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,fileNamePrefix="Buildings_5_0_1_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckWindDirection",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.567/4.567, allocations: 403.9 MB / 410.9 MB, free: 4.879 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2972/4.864, allocations: 95.01 MB / 0.4941 GB, free: 7.301 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5672/5.431, allocations: 92.67 MB / 0.5846 GB, free: 3.359 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3528/5.784, allocations: 122.4 MB / 0.7041 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003878/5.785, allocations: 83.94 kB / 0.7042 GB, free: 11.18 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.04523/5.83, allocations: 7.736 MB / 0.7118 GB, free: 3.387 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/5.83, allocations: 16 kB / 0.7118 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002926/5.83, allocations: 23.72 kB / 0.7118 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007772/5.831, allocations: 267.6 kB / 0.7121 GB, free: 3.043 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/5.831, allocations: 8 kB / 0.7121 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/5.831, allocations: 12 kB / 0.7121 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002216/5.834, allocations: 0.7646 MB / 0.7128 GB, free: 2.258 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006655/5.834, allocations: 186.8 kB / 0.713 GB, free: 2.062 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/5.834, allocations: 0 / 0.713 GB, free: 2.062 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/5.834, allocations: 4 kB / 0.713 GB, free: 2.059 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/5.834, allocations: 4 kB / 0.713 GB, free: 2.055 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/5.836, allocations: 0.5362 MB / 0.7135 GB, free: 1.477 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/5.837, allocations: 300.7 kB / 0.7138 GB, free: 1.172 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003767/5.838, allocations: 105.4 kB / 0.7139 GB, free: 1.066 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/5.839, allocations: 465.6 kB / 0.7144 GB, free: 0.5195 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005999/5.84, allocations: 167.4 kB / 0.7145 GB, free: 352 kB / 0.5886 GB Notification: Performance of pre-optimization done (n=35): time 4.418e-06/5.84, allocations: 0 / 0.7145 GB, free: 352 kB / 0.5886 GB Notification: Performance of matching and sorting (n=35): time 0.001512/5.841, allocations: 301.2 kB / 0.7148 GB, free: 44 kB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/5.842, allocations: 85.05 kB / 0.7149 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005826/5.842, allocations: 241.9 kB / 0.7151 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/5.842, allocations: 25.7 kB / 0.7151 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.271e-05/5.842, allocations: 108.7 kB / 0.7153 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/5.843, allocations: 110.4 kB / 0.7154 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/5.843, allocations: 0 / 0.7154 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001991/5.843, allocations: 334.8 kB / 0.7157 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003882/5.843, allocations: 91.98 kB / 0.7158 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/5.844, allocations: 125.7 kB / 0.7159 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007938/5.845, allocations: 132.5 kB / 0.716 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/5.845, allocations: 4 kB / 0.716 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002677/5.847, allocations: 348.7 kB / 0.7163 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/5.847, allocations: 4 kB / 0.7164 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/5.847, allocations: 0 / 0.7164 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.989e-05/5.847, allocations: 4 kB / 0.7164 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006747/5.848, allocations: 67.92 kB / 0.7164 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/5.848, allocations: 4 kB / 0.7164 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/5.848, allocations: 23.69 kB / 0.7164 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/5.849, allocations: 12 kB / 0.7165 GB, free: 14.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tStart,conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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.0001768/5.849, allocations: 115.8 kB / 0.7166 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.669e-05/5.849, allocations: 31.56 kB / 0.7166 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/5.851, allocations: 444.5 kB / 0.717 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/5.851, allocations: 4 kB / 0.717 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/5.851, allocations: 0 / 0.717 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/5.851, allocations: 3.984 kB / 0.717 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006538/5.852, allocations: 293.8 kB / 0.7173 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/5.852, allocations: 0 / 0.7173 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006959/5.853, allocations: 63.91 kB / 0.7174 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.848e-05/5.853, allocations: 4 kB / 0.7174 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-05/5.853, allocations: 8 kB / 0.7174 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/5.853, allocations: 3.984 kB / 0.7174 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/5.853, allocations: 4 kB / 0.7174 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002131/5.855, allocations: 349.7 kB / 0.7177 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002662/5.858, allocations: 0.7136 MB / 0.7184 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006684/5.858, allocations: 156.7 kB / 0.7186 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/5.859, allocations: 7.906 kB / 0.7186 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/5.859, allocations: 7.938 kB / 0.7186 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/5.859, allocations: 23.95 kB / 0.7186 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/5.859, allocations: 15.98 kB / 0.7186 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0005903/5.86, allocations: 196.4 kB / 0.7188 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003633/5.864, allocations: 87.92 kB / 0.7189 GB, free: 11.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tStart) * Number of discrete states: 1 (conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001686/5.865, allocations: 317.5 kB / 0.7192 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001534/5.867, allocations: 277.1 kB / 0.7195 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/5.867, allocations: 4 kB / 0.7195 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006482/5.868, allocations: 123.9 kB / 0.7196 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006178/5.868, allocations: 29.39 kB / 0.7196 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/5.871, allocations: 407.8 kB / 0.72 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/5.872, allocations: 0.8113 MB / 0.7208 GB, free: 9.777 MB / 0.6042 GB Notification: Performance of SimCode: time 1.984e-06/5.872, allocations: 0 / 0.7208 GB, free: 9.777 MB / 0.6042 GB