Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Discrete_Examples_TriggeredMax",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.309/4.309, allocations: 404 MB / 410.9 MB, free: 4.914 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2333/4.542, allocations: 95.01 MB / 0.4941 GB, free: 7.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5313/5.073, allocations: 92.69 MB / 0.5846 GB, free: 3.371 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2395/5.313, allocations: 120.9 MB / 0.7027 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004089/5.313, allocations: 87.94 kB / 0.7027 GB, free: 12.71 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.008579/5.322, allocations: 1.547 MB / 0.7043 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/5.322, allocations: 16 kB / 0.7043 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.191e-05/5.322, allocations: 3.906 kB / 0.7043 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/5.322, allocations: 178.8 kB / 0.7044 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/5.322, allocations: 7.938 kB / 0.7045 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/5.323, allocations: 3.984 kB / 0.7045 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001311/5.323, allocations: 20 kB / 0.7045 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/5.323, allocations: 45.69 kB / 0.7045 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/5.323, allocations: 0 / 0.7045 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/5.323, allocations: 0 / 0.7045 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/5.323, allocations: 4 kB / 0.7045 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005284/5.323, allocations: 261.3 kB / 0.7048 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/5.324, allocations: 46.47 kB / 0.7048 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.621e-05/5.324, allocations: 16.98 kB / 0.7048 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/5.324, allocations: 0 / 0.7048 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/5.324, allocations: 63.41 kB / 0.7049 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.445e-06/5.324, allocations: 0 / 0.7049 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002825/5.324, allocations: 69.66 kB / 0.705 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/5.324, allocations: 59.34 kB / 0.705 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/5.324, allocations: 101 kB / 0.7051 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/5.324, allocations: 29.7 kB / 0.7051 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/5.324, allocations: 80.14 kB / 0.7052 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/5.325, allocations: 19.8 kB / 0.7052 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-06/5.325, allocations: 4 kB / 0.7052 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001303/5.325, allocations: 318.8 kB / 0.7055 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.947e-05/5.325, allocations: 12 kB / 0.7056 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.335e-05/5.325, allocations: 38.56 kB / 0.7056 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.409e-05/5.325, allocations: 8.188 kB / 0.7056 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/5.325, allocations: 4 kB / 0.7056 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002339/5.325, allocations: 85.44 kB / 0.7057 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/5.325, allocations: 8 kB / 0.7057 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/5.325, allocations: 0 / 0.7057 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/5.325, allocations: 0 / 0.7057 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/5.326, allocations: 15.98 kB / 0.7057 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/5.326, allocations: 8.328 kB / 0.7057 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/5.326, allocations: 23.95 kB / 0.7057 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/5.326, allocations: 4 kB / 0.7057 GB, free: 9.434 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: 7 ($whenCondition2,$PRE.triggeredMax.y,triggeredMax.y,$whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001055/5.326, allocations: 105 kB / 0.7058 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/5.326, allocations: 7.906 kB / 0.7059 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/5.326, allocations: 70.03 kB / 0.7059 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/5.326, allocations: 11.94 kB / 0.7059 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/5.326, allocations: 7.906 kB / 0.7059 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/5.326, allocations: 0 / 0.7059 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006656/5.327, allocations: 319.1 kB / 0.7062 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/5.327, allocations: 3.906 kB / 0.7062 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/5.327, allocations: 15.98 kB / 0.7063 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/5.327, allocations: 4 kB / 0.7063 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/5.327, allocations: 0 / 0.7063 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/5.327, allocations: 0 / 0.7063 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/5.327, allocations: 0 / 0.7063 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002715/5.328, allocations: 167.4 kB / 0.7064 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003981/5.328, allocations: 0.535 MB / 0.7069 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/5.328, allocations: 81.02 kB / 0.707 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/5.328, allocations: 4 kB / 0.707 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/5.328, allocations: 23.98 kB / 0.707 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/5.328, allocations: 3.984 kB / 0.7071 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/5.328, allocations: 4 kB / 0.7071 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.507e-05/5.329, allocations: 87.27 kB / 0.7071 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001417/5.33, allocations: 12 kB / 0.7072 GB, free: 7.879 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: 5 (booPul.y,$whenCondition2,$whenCondition1,triggeredMax.y,booPul.pulseStart) * Number of discrete states: 1 (triggeredMax.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0002201/5.33, allocations: 103 kB / 0.7073 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002538/5.331, allocations: 47.94 kB / 0.7073 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/5.331, allocations: 0 / 0.7073 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.783e-05/5.331, allocations: 23.92 kB / 0.7073 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/5.331, allocations: 11.91 kB / 0.7073 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005912/5.332, allocations: 102.1 kB / 0.7074 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004219/5.332, allocations: 0.7035 MB / 0.7081 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of SimCode: time 1.533e-06/5.332, allocations: 4.062 kB / 0.7081 GB, free: 6.832 MB / 0.5886 GB