Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond",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.337/4.337, allocations: 403.9 MB / 410.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2926/4.63, allocations: 95.05 MB / 0.4941 GB, free: 7.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5117/5.142, allocations: 92.68 MB / 0.5846 GB, free: 3.395 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2961/5.438, allocations: 127.1 MB / 0.7087 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004457/5.438, allocations: 95.92 kB / 0.7088 GB, free: 6.523 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.09338/5.532, allocations: 9.592 MB / 0.7182 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/5.532, allocations: 8 kB / 0.7182 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004011/5.532, allocations: 79.06 kB / 0.7182 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006901/5.533, allocations: 274.7 kB / 0.7185 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/5.533, allocations: 35.83 kB / 0.7185 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002811/5.533, allocations: 48 kB / 0.7186 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002561/5.536, allocations: 378.6 kB / 0.7189 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003045/5.539, allocations: 0.5121 MB / 0.7194 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/5.539, allocations: 0 / 0.7194 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002012/5.539, allocations: 8 kB / 0.7195 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-05/5.539, allocations: 16 kB / 0.7195 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007584/5.547, allocations: 1.515 MB / 0.7209 GB, free: 9.906 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003242/5.55, allocations: 0.5105 MB / 0.7214 GB, free: 9.379 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/5.551, allocations: 187.3 kB / 0.7216 GB, free: 9.191 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/5.552, allocations: 8.688 kB / 0.7216 GB, free: 9.184 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001669/5.553, allocations: 340.2 kB / 0.722 GB, free: 8.832 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=67): time 7.905e-06/5.553, allocations: 0 / 0.722 GB, free: 8.832 MB / 0.6042 GB Notification: Performance of matching and sorting (n=67): time 0.003175/5.557, allocations: 468.8 kB / 0.7224 GB, free: 8.367 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/5.557, allocations: 85.83 kB / 0.7225 GB, free: 8.266 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009933/5.558, allocations: 291.4 kB / 0.7228 GB, free: 7.973 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002214/5.558, allocations: 33.7 kB / 0.7228 GB, free: 7.934 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000364/5.558, allocations: 232.6 kB / 0.723 GB, free: 7.699 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000407/5.559, allocations: 173.5 kB / 0.7232 GB, free: 7.527 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.159e-05/5.559, allocations: 0 / 0.7232 GB, free: 7.527 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002784/5.559, allocations: 362.7 kB / 0.7235 GB, free: 7.164 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01698/5.576, allocations: 133.6 kB / 0.7237 GB, free: 7.031 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/5.578, allocations: 293 kB / 0.7239 GB, free: 6.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/5.579, allocations: 179.8 kB / 0.7241 GB, free: 6.512 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.138e-06/5.579, allocations: 3.938 kB / 0.7241 GB, free: 6.508 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002696/5.581, allocations: 498.5 kB / 0.7246 GB, free: 6.016 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/5.581, allocations: 4 kB / 0.7246 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/5.581, allocations: 4 kB / 0.7246 GB, free: 6.008 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.478e-05/5.582, allocations: 8 kB / 0.7246 GB, free: 6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/5.583, allocations: 107.8 kB / 0.7247 GB, free: 5.895 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.783e-05/5.583, allocations: 8 kB / 0.7247 GB, free: 5.887 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/5.584, allocations: 59.66 kB / 0.7248 GB, free: 5.828 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/5.584, allocations: 24 kB / 0.7248 GB, free: 5.805 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.trimRespondLogic.tim.u,$PRE.trimRespondLogic1.tim.u,$PRE.trimRespondLogic.sampler.firstTrigger,trimRespondLogic.sampler.firstTrigger,$PRE.trimRespondLogic.uniDel.firstTrigger,trimRespondLogic.uniDel.firstTrigger,$whenCondition7,$PRE.trimRespondLogic.tim.t_next,$whenCondition10,trimRespondLogic.uniDel.sampleTrigger,$whenCondition11,trimRespondLogic.sampler.sampleTrigger,$whenCondition8,$whenCondition9,trimRespondLogic.tim.u,trimRespondLogic.tim.y,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,$PRE.trimRespondLogic.uniDel.y,trimRespondLogic.uniDel.y,trimRespondLogic.sampler.y,reaToInt1.y,trimRespondLogic.tim.t_next,$PRE.trimRespondLogic1.sampler.firstTrigger,trimRespondLogic1.sampler.firstTrigger,$PRE.trimRespondLogic1.uniDel.firstTrigger,trimRespondLogic1.uniDel.firstTrigger,$whenCondition6,$whenCondition1,$PRE.trimRespondLogic1.tim.t_next,$whenCondition4,trimRespondLogic1.uniDel.sampleTrigger,$whenCondition5,trimRespondLogic1.sampler.sampleTrigger,$whenCondition2,$whenCondition3,trimRespondLogic1.tim.u,trimRespondLogic1.tim.y,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,$PRE.trimRespondLogic1.uniDel.y,trimRespondLogic1.uniDel.y,trimRespondLogic1.sampler.y,$PRE.booPul.pulseStart,booPul.pulseStart,reaToInt2.y,trimRespondLogic1.tim.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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.0004325/5.585, allocations: 160.8 kB / 0.7249 GB, free: 5.641 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/5.585, allocations: 47.44 kB / 0.725 GB, free: 5.594 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004832/5.59, allocations: 497.6 kB / 0.7255 GB, free: 5.102 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.466e-05/5.59, allocations: 8 kB / 0.7255 GB, free: 5.094 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/5.59, allocations: 0 / 0.7255 GB, free: 5.094 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.313e-05/5.59, allocations: 3.984 kB / 0.7255 GB, free: 5.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/5.604, allocations: 1.284 MB / 0.7267 GB, free: 3.754 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-05/5.604, allocations: 0 / 0.7267 GB, free: 3.754 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/5.606, allocations: 75.92 kB / 0.7268 GB, free: 3.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.911e-05/5.606, allocations: 0 / 0.7268 GB, free: 3.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001519/5.606, allocations: 15.98 kB / 0.7268 GB, free: 3.664 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/5.606, allocations: 0 / 0.7268 GB, free: 3.664 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/5.606, allocations: 7.984 kB / 0.7268 GB, free: 3.656 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01099/5.617, allocations: 0.6738 MB / 0.7275 GB, free: 2.949 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003196/5.62, allocations: 1.049 MB / 0.7285 GB, free: 1.867 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002584/5.62, allocations: 120.5 kB / 0.7286 GB, free: 1.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002494/5.621, allocations: 11.98 kB / 0.7286 GB, free: 1.719 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/5.622, allocations: 43.95 kB / 0.7287 GB, free: 1.676 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004107/5.623, allocations: 63.91 kB / 0.7287 GB, free: 1.613 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/5.623, allocations: 23.98 kB / 0.7288 GB, free: 1.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0006406/5.623, allocations: 207.1 kB / 0.729 GB, free: 1.383 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.007541/5.631, allocations: 127.4 kB / 0.7291 GB, free: 1.258 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 (trimRespondLogic1.tim.u,trimRespondLogic1.sampler.sampleTrigger,trimRespondLogic1.uniDel.sampleTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,trimRespondLogic1.tim.y,trimRespondLogic1.tim.t_next,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,trimRespondLogic1.uniDel.y,trimRespondLogic1.uniDel.firstTrigger,trimRespondLogic1.sampler.y,trimRespondLogic1.sampler.firstTrigger,booPul.pulseStart,reaToInt2.y,trimRespondLogic.sampler.sampleTrigger,trimRespondLogic.uniDel.sampleTrigger,$whenCondition11,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,trimRespondLogic.tim.y,trimRespondLogic.tim.t_next,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,trimRespondLogic.uniDel.y,trimRespondLogic.uniDel.firstTrigger,trimRespondLogic.sampler.y,trimRespondLogic.sampler.firstTrigger,reaToInt1.y,trimRespondLogic.tim.u) * Number of discrete states: 4 (trimRespondLogic.tim.t_next,trimRespondLogic.uniDel.u,trimRespondLogic1.tim.t_next,trimRespondLogic1.uniDel.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0005061/5.632, allocations: 150.8 kB / 0.7292 GB, free: 1.102 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002464/5.634, allocations: 443.6 kB / 0.7296 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/5.634, allocations: 0 / 0.7296 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00155/5.636, allocations: 283.7 kB / 0.7299 GB, free: 404 kB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003835/5.639, allocations: 50.38 kB / 0.73 GB, free: 356 kB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004344/5.644, allocations: 0.7247 MB / 0.7307 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/5.645, allocations: 0.954 MB / 0.7316 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of SimCode: time 1.683e-06/5.645, allocations: 0 / 0.7316 GB, free: 14.61 MB / 0.6198 GB