[: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 3.261/3.261, allocations: 404 MB / 410.9 MB, free: 4.695 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.181e-05/1.214e-05, allocations: 0 / 0.4941 GB, free: 7.023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4023, allocations: 92.76 MB / 0.5847 GB, free: 3.066 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.174/0.5764, allocations: 124.1 MB / 0.7059 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003613/0.5768, allocations: 111.9 kB / 0.706 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.01831/0.5951, allocations: 4.621 MB / 0.7105 GB, free: 4.348 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.664e-05/0.5952, allocations: 8 kB / 0.7105 GB, free: 4.34 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001346/0.5965, allocations: 0.6809 MB / 0.7112 GB, free: 3.605 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.5966, allocations: 12.03 kB / 0.7112 GB, free: 3.594 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.5967, allocations: 47.44 kB / 0.7113 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006266/0.5973, allocations: 379 kB / 0.7116 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.148e-05/0.5974, allocations: 19.98 kB / 0.7116 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.19e-05/0.5975, allocations: 36 kB / 0.7117 GB, free: 3.082 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007276/0.5982, allocations: 278 kB / 0.7119 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007911/0.599, allocations: 340.4 kB / 0.7123 GB, free: 2.473 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.5991, allocations: 0 / 0.7123 GB, free: 2.473 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.301e-05/0.5991, allocations: 11.98 kB / 0.7123 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.5991, allocations: 8 kB / 0.7123 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002576/0.6017, allocations: 1.112 MB / 0.7134 GB, free: 1.301 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006237/0.6024, allocations: 295.4 kB / 0.7136 GB, free: 1.004 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003816/0.6028, allocations: 124.6 kB / 0.7138 GB, free: 0.8789 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.221e-05/0.6029, allocations: 11.94 kB / 0.7138 GB, free: 0.8672 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004208/0.6033, allocations: 197.6 kB / 0.714 GB, free: 0.6602 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=45): time 3.527e-06/0.6033, allocations: 4 kB / 0.714 GB, free: 0.6562 MB / 0.5886 GB Notification: Performance of matching and sorting (n=45): time 0.0008058/0.6041, allocations: 314 kB / 0.7143 GB, free: 352 kB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.6042, allocations: 79.7 kB / 0.7143 GB, free: 256 kB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/0.6045, allocations: 232.8 kB / 0.7146 GB, free: 20 kB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.981e-05/0.6046, allocations: 41.7 kB / 0.7146 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.6048, allocations: 208.6 kB / 0.7148 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.6049, allocations: 118.4 kB / 0.7149 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.605, allocations: 0 / 0.7149 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.6051, allocations: 346.8 kB / 0.7152 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/0.6055, allocations: 121.6 kB / 0.7154 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/0.6059, allocations: 269.3 kB / 0.7156 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/0.6063, allocations: 165.4 kB / 0.7158 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.496e-06/0.6063, allocations: 0 / 0.7158 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001014/0.6074, allocations: 455.8 kB / 0.7162 GB, free: 14.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.6074, allocations: 4 kB / 0.7162 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.6074, allocations: 4.625 kB / 0.7162 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.6074, allocations: 15.98 kB / 0.7162 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005132/0.608, allocations: 103.8 kB / 0.7163 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.608, allocations: 11.94 kB / 0.7163 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.6083, allocations: 47.42 kB / 0.7164 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.445e-05/0.6084, allocations: 32 kB / 0.7164 GB, free: 14.02 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: 48 ($PRE.mod.firOrdHolOutDam.firstTrigger,mod.firOrdHolOutDam.firstTrigger,$PRE.mod.firOrdHolRetDam.firstTrigger,mod.firOrdHolRetDam.firstTrigger,$PRE.modFre.firOrdHolOutDam.firstTrigger,modFre.firOrdHolOutDam.firstTrigger,$PRE.modFre.firOrdHolRetDam.firstTrigger,modFre.firOrdHolRetDam.firstTrigger,$whenCondition1,modFre.firOrdHolRetDam.sampleTrigger,$whenCondition2,modFre.firOrdHolOutDam.sampleTrigger,$whenCondition3,mod.firOrdHolRetDam.sampleTrigger,$whenCondition4,mod.firOrdHolOutDam.sampleTrigger,$PRE.mod.firOrdHolOutDam.tSample,mod.firOrdHolOutDam.tSample,$PRE.mod.firOrdHolOutDam.uSample,mod.firOrdHolOutDam.uSample,$PRE.mod.firOrdHolOutDam.pre_uSample,mod.firOrdHolOutDam.pre_uSample,$PRE.mod.firOrdHolOutDam.c,mod.firOrdHolOutDam.c,$PRE.mod.firOrdHolRetDam.tSample,mod.firOrdHolRetDam.tSample,$PRE.mod.firOrdHolRetDam.uSample,mod.firOrdHolRetDam.uSample,$PRE.mod.firOrdHolRetDam.pre_uSample,mod.firOrdHolRetDam.pre_uSample,$PRE.mod.firOrdHolRetDam.c,mod.firOrdHolRetDam.c,$PRE.modFre.firOrdHolOutDam.tSample,modFre.firOrdHolOutDam.tSample,$PRE.modFre.firOrdHolOutDam.uSample,modFre.firOrdHolOutDam.uSample,$PRE.modFre.firOrdHolOutDam.pre_uSample,modFre.firOrdHolOutDam.pre_uSample,$PRE.modFre.firOrdHolOutDam.c,modFre.firOrdHolOutDam.c,$PRE.modFre.firOrdHolRetDam.tSample,modFre.firOrdHolRetDam.tSample,$PRE.modFre.firOrdHolRetDam.uSample,modFre.firOrdHolRetDam.uSample,$PRE.modFre.firOrdHolRetDam.pre_uSample,modFre.firOrdHolRetDam.pre_uSample,$PRE.modFre.firOrdHolRetDam.c,modFre.firOrdHolRetDam.c) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0002286/0.6087, allocations: 154.6 kB / 0.7166 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.312e-05/0.6087, allocations: 35.56 kB / 0.7166 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008806/0.6096, allocations: 358.5 kB / 0.7169 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.7e-06/0.6097, allocations: 4 kB / 0.7169 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.143e-06/0.6097, allocations: 4 kB / 0.717 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.711e-06/0.6097, allocations: 3.984 kB / 0.717 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.6113, allocations: 0.8295 MB / 0.7178 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.491e-06/0.6113, allocations: 3.984 kB / 0.7178 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.6116, allocations: 43.92 kB / 0.7178 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.902e-06/0.6116, allocations: 0 / 0.7178 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/0.6116, allocations: 11.98 kB / 0.7178 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.6116, allocations: 0 / 0.7178 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.146e-06/0.6117, allocations: 4 kB / 0.7178 GB, free: 12.53 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007327/0.6124, allocations: 426.8 kB / 0.7182 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.902e-05/0.6125, allocations: 116.7 kB / 0.7183 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.868e-05/0.6126, allocations: 11.91 kB / 0.7184 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/0.6129, allocations: 27.97 kB / 0.7184 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.082e-05/0.613, allocations: 28.33 kB / 0.7184 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-05/0.6131, allocations: 19.98 kB / 0.7184 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001984/0.6133, allocations: 161.2 kB / 0.7186 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006101/0.6139, allocations: 91.69 kB / 0.7187 GB, free: 11.63 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 28 (mod.firOrdHolOutDam.sampleTrigger,mod.firOrdHolRetDam.sampleTrigger,modFre.firOrdHolOutDam.sampleTrigger,modFre.firOrdHolRetDam.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mod.firOrdHolOutDam.firstTrigger,mod.firOrdHolOutDam.tSample,mod.firOrdHolOutDam.uSample,mod.firOrdHolOutDam.pre_uSample,mod.firOrdHolOutDam.c,mod.firOrdHolRetDam.firstTrigger,mod.firOrdHolRetDam.tSample,mod.firOrdHolRetDam.uSample,mod.firOrdHolRetDam.pre_uSample,mod.firOrdHolRetDam.c,modFre.firOrdHolOutDam.firstTrigger,modFre.firOrdHolOutDam.tSample,modFre.firOrdHolOutDam.uSample,modFre.firOrdHolOutDam.pre_uSample,modFre.firOrdHolOutDam.c,modFre.firOrdHolRetDam.firstTrigger,modFre.firOrdHolRetDam.tSample,modFre.firOrdHolRetDam.uSample,modFre.firOrdHolRetDam.pre_uSample,modFre.firOrdHolRetDam.c) * Number of discrete states: 8 (modFre.firOrdHolRetDam.uSample,modFre.firOrdHolRetDam.c,modFre.firOrdHolOutDam.uSample,modFre.firOrdHolOutDam.c,mod.firOrdHolRetDam.uSample,mod.firOrdHolRetDam.c,mod.firOrdHolOutDam.uSample,mod.firOrdHolOutDam.c) * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * 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.0001836/0.6141, allocations: 138.2 kB / 0.7188 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007667/0.6149, allocations: 355.3 kB / 0.7191 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.901e-06/0.6149, allocations: 0 / 0.7191 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000346/0.6153, allocations: 161.6 kB / 0.7193 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/0.6158, allocations: 57.56 kB / 0.7193 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.6171, allocations: 468.4 kB / 0.7198 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006264/0.6177, allocations: 0.8509 MB / 0.7206 GB, free: 9.566 MB / 0.6042 GB Notification: Performance of SimCode: time 9.02e-07/0.6177, allocations: 0 / 0.7206 GB, free: 9.566 MB / 0.6042 GB Notification: Performance of Templates: time 0.01209/0.6298, allocations: 4.086 MB / 0.7246 GB, free: 5.535 MB / 0.6042 GB