Running command: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Discrete_Examples_BooleanDelay",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.412/4.412, allocations: 404 MB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.254/4.666, allocations: 94.99 MB / 0.4941 GB, free: 7.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5762/5.242, allocations: 92.67 MB / 0.5846 GB, free: 3.414 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2914/5.534, allocations: 120 MB / 0.7018 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/5.534, allocations: 71.95 kB / 0.7018 GB, free: 13.62 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.00641/5.541, allocations: 1.229 MB / 0.703 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/5.541, allocations: 12 kB / 0.703 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.528e-05/5.541, allocations: 7.906 kB / 0.7031 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/5.541, allocations: 167 kB / 0.7032 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/5.541, allocations: 0 / 0.7032 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/5.541, allocations: 4 kB / 0.7032 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001094/5.541, allocations: 16 kB / 0.7032 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/5.541, allocations: 53.67 kB / 0.7033 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/5.541, allocations: 0 / 0.7033 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/5.541, allocations: 7.922 kB / 0.7033 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/5.542, allocations: 0 / 0.7033 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004912/5.542, allocations: 245.3 kB / 0.7035 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/5.542, allocations: 42.55 kB / 0.7036 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.669e-05/5.542, allocations: 20.98 kB / 0.7036 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/5.542, allocations: 0 / 0.7036 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/5.542, allocations: 89.11 kB / 0.7037 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 2.645e-06/5.542, allocations: 0 / 0.7037 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0003062/5.543, allocations: 81.47 kB / 0.7037 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.933e-05/5.543, allocations: 81.09 kB / 0.7038 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/5.543, allocations: 100.9 kB / 0.7039 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/5.543, allocations: 33.7 kB / 0.704 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/5.543, allocations: 84.14 kB / 0.704 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/5.543, allocations: 19.86 kB / 0.7041 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/5.543, allocations: 0 / 0.7041 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001337/5.543, allocations: 314.8 kB / 0.7044 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.335e-05/5.543, allocations: 12 kB / 0.7044 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.631e-05/5.544, allocations: 42.5 kB / 0.7044 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.923e-05/5.544, allocations: 16 kB / 0.7044 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/5.544, allocations: 0 / 0.7044 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002334/5.544, allocations: 81.92 kB / 0.7045 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/5.544, allocations: 4 kB / 0.7045 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/5.544, allocations: 4.062 kB / 0.7045 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/5.544, allocations: 4 kB / 0.7045 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.882e-05/5.544, allocations: 3.984 kB / 0.7045 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/5.544, allocations: 7.984 kB / 0.7045 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/5.544, allocations: 8.062 kB / 0.7045 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/5.544, allocations: 4 kB / 0.7045 GB, free: 10.62 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.0002426/5.545, allocations: 142.1 kB / 0.7047 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/5.545, allocations: 7.906 kB / 0.7047 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.836e-05/5.545, allocations: 12.38 kB / 0.7047 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/5.545, allocations: 0 / 0.7047 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.622e-05/5.545, allocations: 0 / 0.7047 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/5.545, allocations: 11.88 kB / 0.7047 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007804/5.546, allocations: 323 kB / 0.705 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/5.546, allocations: 4 kB / 0.705 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.35e-05/5.546, allocations: 3.938 kB / 0.705 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/5.546, allocations: 0 / 0.705 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/5.546, allocations: 4 kB / 0.705 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/5.546, allocations: 0 / 0.705 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/5.546, allocations: 96 / 0.705 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002809/5.546, allocations: 179.4 kB / 0.7052 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004588/5.546, allocations: 0.5467 MB / 0.7057 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/5.547, allocations: 81.02 kB / 0.7058 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/5.547, allocations: 0 / 0.7058 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/5.547, allocations: 19.98 kB / 0.7058 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/5.547, allocations: 7.984 kB / 0.7058 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/5.547, allocations: 4 kB / 0.7058 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.721e-05/5.547, allocations: 87.28 kB / 0.7059 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001879/5.549, allocations: 15.91 kB / 0.7059 GB, free: 9.082 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulsStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0002667/5.549, allocations: 113.3 kB / 0.706 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003921/5.55, allocations: 77.69 kB / 0.7061 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/5.55, allocations: 4 kB / 0.7061 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/5.55, allocations: 61.62 kB / 0.7062 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006238/5.551, allocations: 11.94 kB / 0.7062 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006392/5.551, allocations: 91.62 kB / 0.7063 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005065/5.552, allocations: 0.6997 MB / 0.707 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of SimCode: time 1.633e-06/5.552, allocations: 128 / 0.707 GB, free: 7.965 MB / 0.5886 GB