Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Discrete_Examples_TriggeredSampler",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.38/4.38, allocations: 404 MB / 410.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2594/4.639, allocations: 95.01 MB / 0.4941 GB, free: 7.355 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5424/5.182, allocations: 92.67 MB / 0.5846 GB, free: 3.43 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2671/5.449, allocations: 120.9 MB / 0.7026 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003623/5.449, allocations: 75.95 kB / 0.7027 GB, free: 12.79 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.006164/5.456, allocations: 1.239 MB / 0.7039 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/5.456, allocations: 8 kB / 0.7039 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/5.456, allocations: 7.906 kB / 0.7039 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/5.456, allocations: 171 kB / 0.7041 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/5.456, allocations: 3.906 kB / 0.7041 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/5.456, allocations: 4 kB / 0.7041 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001412/5.456, allocations: 31.98 kB / 0.7041 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/5.456, allocations: 61.56 kB / 0.7042 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/5.456, allocations: 3.938 kB / 0.7042 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/5.456, allocations: 0 / 0.7042 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/5.456, allocations: 0 / 0.7042 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/5.457, allocations: 273.3 kB / 0.7044 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/5.457, allocations: 50.56 kB / 0.7045 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.9e-05/5.457, allocations: 16.98 kB / 0.7045 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/5.457, allocations: 3.906 kB / 0.7045 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/5.457, allocations: 67.34 kB / 0.7046 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 2.224e-06/5.457, allocations: 0 / 0.7046 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002723/5.458, allocations: 73.58 kB / 0.7046 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.354e-05/5.458, allocations: 59.41 kB / 0.7047 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/5.458, allocations: 105.2 kB / 0.7048 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/5.458, allocations: 29.7 kB / 0.7048 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/5.458, allocations: 88.03 kB / 0.7049 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/5.458, allocations: 19.75 kB / 0.7049 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/5.458, allocations: 0 / 0.7049 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001328/5.458, allocations: 322.8 kB / 0.7052 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.148e-05/5.458, allocations: 12 kB / 0.7053 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.797e-05/5.458, allocations: 52.23 kB / 0.7053 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.544e-05/5.458, allocations: 15.98 kB / 0.7053 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/5.459, allocations: 0 / 0.7053 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002884/5.459, allocations: 85.66 kB / 0.7054 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/5.459, allocations: 8.938 kB / 0.7054 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/5.459, allocations: 4.375 kB / 0.7054 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/5.459, allocations: 0 / 0.7054 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/5.459, allocations: 28.03 kB / 0.7054 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/5.459, allocations: 7.844 kB / 0.7055 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/5.459, allocations: 23.92 kB / 0.7055 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/5.459, allocations: 11.98 kB / 0.7055 GB, free: 9.711 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001043/5.46, allocations: 108.5 kB / 0.7056 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/5.46, allocations: 7.906 kB / 0.7056 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/5.46, allocations: 77.98 kB / 0.7057 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/5.46, allocations: 4.047 kB / 0.7057 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/5.46, allocations: 3.984 kB / 0.7057 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/5.46, allocations: 7.906 kB / 0.7057 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005895/5.461, allocations: 327.2 kB / 0.706 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/5.461, allocations: 3.906 kB / 0.706 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/5.461, allocations: 19.92 kB / 0.706 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/5.461, allocations: 0 / 0.706 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/5.461, allocations: 4 kB / 0.706 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/5.461, allocations: 80 / 0.706 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/5.461, allocations: 3.984 kB / 0.706 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002402/5.461, allocations: 171.4 kB / 0.7062 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003522/5.461, allocations: 0.535 MB / 0.7067 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/5.461, allocations: 88.95 kB / 0.7068 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/5.461, allocations: 3.984 kB / 0.7068 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/5.462, allocations: 19.98 kB / 0.7068 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/5.462, allocations: 11.98 kB / 0.7068 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/5.462, allocations: 4 kB / 0.7068 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.613e-05/5.462, allocations: 87.19 kB / 0.7069 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001335/5.463, allocations: 12 kB / 0.7069 GB, free: 8.121 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: 6 (booPul.y,$whenCondition2,$whenCondition1,booPul.pulseStart,triSam.y,triSam1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001685/5.463, allocations: 107 kB / 0.707 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000226/5.464, allocations: 51.94 kB / 0.7071 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/5.464, allocations: 0 / 0.7071 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.932e-05/5.464, allocations: 24 kB / 0.7071 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/5.464, allocations: 12.27 kB / 0.7071 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004928/5.465, allocations: 110.4 kB / 0.7072 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003533/5.465, allocations: 0.7116 MB / 0.7079 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of SimCode: time 1.152e-06/5.465, allocations: 3.938 kB / 0.7079 GB, free: 7.051 MB / 0.5886 GB