Running command: "" <> buildModelFMU(Buildings.Controls.Sources.Examples.DayType,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Sources_Examples_DayType",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 3.978/3.978, allocations: 403.9 MB / 410.9 MB, free: 4.898 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2839/4.262, allocations: 95 MB / 0.4941 GB, free: 7.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5273/4.789, allocations: 92.67 MB / 0.5846 GB, free: 3.352 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2416/5.031, allocations: 120 MB / 0.7018 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/5.031, allocations: 71.95 kB / 0.7019 GB, free: 13.57 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.1018/5.133, allocations: 18.75 MB / 0.7202 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/5.133, allocations: 12 kB / 0.7202 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/5.133, allocations: 31.62 kB / 0.7202 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005031/5.134, allocations: 253.8 kB / 0.7204 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.1e-05/5.134, allocations: 8 kB / 0.7205 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.406e-05/5.134, allocations: 12 kB / 0.7205 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000735/5.135, allocations: 312.4 kB / 0.7208 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000936/5.135, allocations: 450.4 kB / 0.7212 GB, free: 9.617 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/5.136, allocations: 0 / 0.7212 GB, free: 9.617 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/5.136, allocations: 3.938 kB / 0.7212 GB, free: 9.613 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/5.136, allocations: 4 kB / 0.7212 GB, free: 9.609 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/5.137, allocations: 0.5164 MB / 0.7217 GB, free: 9.047 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002178/5.139, allocations: 1.026 MB / 0.7227 GB, free: 7.984 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/5.141, allocations: 0.6477 MB / 0.7233 GB, free: 7.324 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.779e-05/5.141, allocations: 11.92 kB / 0.7234 GB, free: 7.312 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009928/5.142, allocations: 474 kB / 0.7238 GB, free: 6.824 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=37): time 3.747e-06/5.142, allocations: 0 / 0.7238 GB, free: 6.824 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37): time 0.001902/5.144, allocations: 0.7549 MB / 0.7245 GB, free: 6.062 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/5.144, allocations: 144.5 kB / 0.7247 GB, free: 5.891 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003792/5.144, allocations: 216.1 kB / 0.7249 GB, free: 5.668 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.494e-05/5.144, allocations: 37.69 kB / 0.7249 GB, free: 5.625 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.591e-05/5.144, allocations: 96.91 kB / 0.725 GB, free: 5.527 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/5.145, allocations: 67.08 kB / 0.7251 GB, free: 5.461 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/5.145, allocations: 3.938 kB / 0.7251 GB, free: 5.457 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001907/5.145, allocations: 346.7 kB / 0.7254 GB, free: 5.109 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007426/5.146, allocations: 324.7 kB / 0.7257 GB, free: 4.793 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008204/5.146, allocations: 413.6 kB / 0.7261 GB, free: 4.355 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008511/5.147, allocations: 363.7 kB / 0.7265 GB, free: 4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/5.147, allocations: 0 / 0.7265 GB, free: 4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001934/5.149, allocations: 0.7947 MB / 0.7272 GB, free: 3.199 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/5.149, allocations: 7.984 kB / 0.7272 GB, free: 3.191 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/5.149, allocations: 4 kB / 0.7273 GB, free: 3.188 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.837e-05/5.149, allocations: 4 kB / 0.7273 GB, free: 3.184 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/5.15, allocations: 43.91 kB / 0.7273 GB, free: 3.141 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.862e-05/5.15, allocations: 12.06 kB / 0.7273 GB, free: 3.129 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006425/5.15, allocations: 23.77 kB / 0.7273 GB, free: 3.105 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004728/5.151, allocations: 203.8 kB / 0.7275 GB, free: 2.906 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 45 ($PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.skipIDayIncrement,$whenCondition4,dayTypMonThr.sampleTrigger,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],$PRE.dayTypMonThr.iDay,dayTypMonThr.iDay,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.skipIDayIncrement,$whenCondition3,dayTypTwoWeeks.sampleTrigger,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.iDay,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,$whenCondition2,dayTypSat.sampleTrigger,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.skipIDayIncrement,$whenCondition1,dayTypMon.sampleTrigger,dayTypMon.y[1],dayTypMon.y[2],$PRE.dayTypMon.iDay,dayTypMon.iDay) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0002379/5.151, allocations: 141.2 kB / 0.7277 GB, free: 2.762 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.975e-05/5.151, allocations: 27.62 kB / 0.7277 GB, free: 2.734 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/5.152, allocations: 33.89 kB / 0.7277 GB, free: 2.707 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/5.152, allocations: 4 kB / 0.7277 GB, free: 2.703 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/5.152, allocations: 4 kB / 0.7277 GB, free: 2.699 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/5.152, allocations: 0 / 0.7277 GB, free: 2.699 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003909/5.156, allocations: 1.629 MB / 0.7293 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/5.156, allocations: 0 / 0.7293 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/5.156, allocations: 28.03 kB / 0.7293 GB, free: 0.9961 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.789e-05/5.156, allocations: 8 kB / 0.7294 GB, free: 0.9883 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.149e-05/5.156, allocations: 23.97 kB / 0.7294 GB, free: 0.9648 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/5.156, allocations: 3.906 kB / 0.7294 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.417e-06/5.156, allocations: 7.938 kB / 0.7294 GB, free: 0.9531 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002256/5.158, allocations: 1.11 MB / 0.7305 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002465/5.161, allocations: 1.498 MB / 0.7319 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/5.161, allocations: 96.83 kB / 0.732 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/5.161, allocations: 11.89 kB / 0.732 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/5.162, allocations: 4 kB / 0.732 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/5.162, allocations: 47.94 kB / 0.7321 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000571/5.162, allocations: 223.5 kB / 0.7323 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0003129/5.163, allocations: 168.4 kB / 0.7325 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002219/5.165, allocations: 51.98 kB / 0.7325 GB, free: 13.66 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.y[1],dayTypMon.y[2],dayTypMon.iDay,dayTypMon.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],dayTypTwoWeeks.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],dayTypMonThr.iDay,dayTypMonThr.skipIDayIncrement) * Number of discrete states: 8 (dayTypMonThr.skipIDayIncrement,dayTypMonThr.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.iDay,dayTypSat.skipIDayIncrement,dayTypSat.iDay,dayTypMon.skipIDayIncrement,dayTypMon.iDay) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0003149/5.165, allocations: 141.6 kB / 0.7326 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001716/5.167, allocations: 0.7182 MB / 0.7333 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/5.167, allocations: 3.938 kB / 0.7333 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009868/5.168, allocations: 411.7 kB / 0.7337 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003129/5.171, allocations: 284.6 kB / 0.734 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/5.174, allocations: 0.8663 MB / 0.7349 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008243/5.174, allocations: 0.8267 MB / 0.7357 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of SimCode: time 1.022e-06/5.174, allocations: 0 / 0.7357 GB, free: 10.36 MB / 0.6198 GB