Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Logical_Validation_TrueDelay",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.142/4.142, allocations: 404 MB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2863/4.428, allocations: 95.02 MB / 0.4941 GB, free: 7.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5133/4.941, allocations: 92.69 MB / 0.5846 GB, free: 3.41 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2422/5.184, allocations: 120.9 MB / 0.7026 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003718/5.184, allocations: 87.94 kB / 0.7027 GB, free: 12.74 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.01294/5.197, allocations: 2.359 MB / 0.705 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/5.197, allocations: 8 kB / 0.705 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/5.197, allocations: 35.8 kB / 0.705 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/5.197, allocations: 179 kB / 0.7052 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/5.198, allocations: 15.98 kB / 0.7052 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/5.198, allocations: 35.97 kB / 0.7053 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004667/5.198, allocations: 100.3 kB / 0.7054 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006468/5.199, allocations: 199.2 kB / 0.7056 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/5.199, allocations: 3.906 kB / 0.7056 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.868e-05/5.199, allocations: 15.91 kB / 0.7056 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/5.199, allocations: 0 / 0.7056 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/5.2, allocations: 0.5014 MB / 0.7061 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009288/5.201, allocations: 286.4 kB / 0.7063 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004346/5.202, allocations: 137.3 kB / 0.7065 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/5.202, allocations: 3.938 kB / 0.7065 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000812/5.203, allocations: 287.8 kB / 0.7067 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=50): time 3.176e-06/5.203, allocations: 0 / 0.7067 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of matching and sorting (n=50): time 0.001348/5.204, allocations: 410.9 kB / 0.7071 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/5.204, allocations: 59.84 kB / 0.7072 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/5.204, allocations: 143.7 kB / 0.7073 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.672e-05/5.204, allocations: 33.7 kB / 0.7074 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.362e-05/5.204, allocations: 97.34 kB / 0.7075 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/5.205, allocations: 98.77 kB / 0.7076 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/5.205, allocations: 0 / 0.7076 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001586/5.205, allocations: 334.8 kB / 0.7079 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/5.205, allocations: 77.31 kB / 0.7079 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004634/5.206, allocations: 259.8 kB / 0.7082 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/5.206, allocations: 109.3 kB / 0.7083 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/5.206, allocations: 0 / 0.7083 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00106/5.207, allocations: 367.3 kB / 0.7086 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/5.207, allocations: 4 kB / 0.7087 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/5.207, allocations: 11.98 kB / 0.7087 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/5.207, allocations: 8 kB / 0.7087 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/5.208, allocations: 67.78 kB / 0.7087 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-05/5.208, allocations: 11.98 kB / 0.7087 GB, free: 6.266 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004875/5.208, allocations: 36.23 kB / 0.7088 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.147e-05/5.208, allocations: 24 kB / 0.7088 GB, free: 6.207 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 67 ($PRE.onDelay.u,$PRE.onDelay1.u,$PRE.onDelay2.u,$PRE.onDelay4.u,$PRE.onDelay5.u,$PRE.onDelay6.u,$PRE.onDelay3.u,$PRE.onDelay7.u,$whenCondition23,$PRE.onDelay7.t_next,$whenCondition20,$PRE.onDelay3.t_next,$whenCondition17,$PRE.onDelay6.t_next,$whenCondition14,$PRE.onDelay5.t_next,$whenCondition11,$PRE.onDelay4.t_next,$whenCondition8,$PRE.onDelay2.t_next,$whenCondition5,$PRE.onDelay1.t_next,$whenCondition2,$PRE.onDelay.t_next,$whenCondition1,onDelay7.t_next,onDelay3.t_next,onDelay6.t_next,onDelay5.t_next,onDelay4.t_next,onDelay2.t_next,onDelay1.t_next,$whenCondition24,$whenCondition25,$whenCondition21,$whenCondition22,$whenCondition18,$whenCondition19,$whenCondition15,$whenCondition16,$whenCondition12,$whenCondition13,$whenCondition9,$whenCondition10,$whenCondition6,$whenCondition7,$whenCondition3,$whenCondition4,$PRE.booPul.pulseStart,booPul.pulseStart,onDelay.u,onDelay.y,onDelay1.u,onDelay1.y,onDelay2.u,onDelay2.y,onDelay4.u,onDelay4.y,onDelay5.u,onDelay5.y,onDelay6.u,onDelay6.y,onDelay3.u,onDelay3.y,onDelay7.u,onDelay7.y,onDelay.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0002386/5.208, allocations: 161.9 kB / 0.709 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.605e-05/5.209, allocations: 35.7 kB / 0.709 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.959e-05/5.209, allocations: 22.17 kB / 0.709 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/5.209, allocations: 4 kB / 0.709 GB, free: 5.984 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/5.209, allocations: 0 / 0.709 GB, free: 5.984 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/5.209, allocations: 7.938 kB / 0.709 GB, free: 5.977 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/5.211, allocations: 0.9226 MB / 0.7099 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/5.211, allocations: 0 / 0.7099 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.291e-05/5.211, allocations: 15.92 kB / 0.7099 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/5.211, allocations: 4 kB / 0.7099 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.574e-05/5.211, allocations: 7.984 kB / 0.71 GB, free: 4.969 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/5.211, allocations: 3.938 kB / 0.71 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/5.211, allocations: 0 / 0.71 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001215/5.213, allocations: 0.5067 MB / 0.7105 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001366/5.214, allocations: 0.8742 MB / 0.7113 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.291e-05/5.214, allocations: 92.92 kB / 0.7114 GB, free: 3.438 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/5.214, allocations: 19.88 kB / 0.7114 GB, free: 3.418 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000462/5.215, allocations: 35.97 kB / 0.7114 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/5.215, allocations: 48.34 kB / 0.7115 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.199e-05/5.215, allocations: 39.97 kB / 0.7115 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.017e-05/5.215, allocations: 97.34 kB / 0.7116 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001625/5.217, allocations: 79.97 kB / 0.7117 GB, free: 3.125 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: 50 (onDelay.u,onDelay1.u,onDelay2.u,onDelay3.u,onDelay4.u,onDelay5.u,onDelay6.u,onDelay7.u,$whenCondition23,$whenCondition24,$whenCondition25,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,booPul.pulseStart,onDelay.y,onDelay.t_next,onDelay1.y,onDelay1.t_next,onDelay2.y,onDelay2.t_next,onDelay4.y,onDelay4.t_next,onDelay5.y,onDelay5.t_next,onDelay6.y,onDelay6.t_next,onDelay3.y,onDelay3.t_next,onDelay7.y,onDelay7.t_next) * Number of discrete states: 8 (onDelay7.t_next,onDelay3.t_next,onDelay6.t_next,onDelay5.t_next,onDelay4.t_next,onDelay2.t_next,onDelay1.t_next,onDelay.t_next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.0002503/5.217, allocations: 144.9 kB / 0.7118 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001018/5.218, allocations: 334.8 kB / 0.7122 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/5.218, allocations: 0 / 0.7122 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0006954/5.219, allocations: 277.6 kB / 0.7124 GB, free: 2.379 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/5.219, allocations: 32.03 kB / 0.7125 GB, free: 2.348 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/5.221, allocations: 394.7 kB / 0.7128 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005072/5.221, allocations: 0.7796 MB / 0.7136 GB, free: 1.137 MB / 0.5886 GB Notification: Performance of SimCode: time 8.61e-07/5.221, allocations: 0 / 0.7136 GB, free: 1.137 MB / 0.5886 GB