Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_SetPoints_Validation_ReturnFanDirectPressure",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.411/4.411, allocations: 404 MB / 410.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2632/4.674, allocations: 95.06 MB / 0.4941 GB, free: 7.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6049/5.279, allocations: 92.68 MB / 0.5846 GB, free: 3.387 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2842/5.563, allocations: 129.2 MB / 0.7108 GB, free: 4.492 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005456/5.564, allocations: 107.9 kB / 0.7109 GB, free: 4.387 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: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.09211/5.656, allocations: 16.98 MB / 0.7275 GB, free: 3.336 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/5.656, allocations: 16 kB / 0.7275 GB, free: 3.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006078/5.657, allocations: 118.6 kB / 0.7276 GB, free: 3.203 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003227/5.66, allocations: 0.6277 MB / 0.7282 GB, free: 2.531 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003236/5.66, allocations: 115.1 kB / 0.7283 GB, free: 2.402 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004315/5.661, allocations: 51.98 kB / 0.7284 GB, free: 2.352 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004439/5.665, allocations: 0.5625 MB / 0.7289 GB, free: 1.789 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004299/5.67, allocations: 0.7265 MB / 0.7296 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.368e-05/5.67, allocations: 7.875 kB / 0.7296 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002271/5.67, allocations: 7.984 kB / 0.7297 GB, free: 1.008 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.876e-05/5.67, allocations: 20 kB / 0.7297 GB, free: 0.9883 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009004/5.679, allocations: 2.383 MB / 0.732 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002627/5.682, allocations: 0.532 MB / 0.7325 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009056/5.683, allocations: 226.8 kB / 0.7327 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-05/5.683, allocations: 12.92 kB / 0.7327 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/5.684, allocations: 299.1 kB / 0.733 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=67): time 4.298e-06/5.684, allocations: 0 / 0.733 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=67): time 0.002017/5.686, allocations: 0.4952 MB / 0.7335 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001662/5.686, allocations: 226.3 kB / 0.7337 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/5.688, allocations: 479.5 kB / 0.7342 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001792/5.688, allocations: 33.7 kB / 0.7342 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003978/5.688, allocations: 320.5 kB / 0.7345 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000315/5.689, allocations: 204.9 kB / 0.7347 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.997e-05/5.689, allocations: 0 / 0.7347 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000241/5.689, allocations: 382.8 kB / 0.7351 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008579/5.69, allocations: 197.6 kB / 0.7353 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009973/5.691, allocations: 310.5 kB / 0.7356 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008445/5.692, allocations: 215.1 kB / 0.7358 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/5.692, allocations: 0 / 0.7358 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00224/5.694, allocations: 0.5851 MB / 0.7363 GB, free: 9.934 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001495/5.694, allocations: 273.6 kB / 0.7366 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/5.694, allocations: 0 / 0.7366 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/5.694, allocations: 7.938 kB / 0.7366 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/5.696, allocations: 151.8 kB / 0.7368 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/5.696, allocations: 4 kB / 0.7368 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/5.697, allocations: 99.39 kB / 0.7369 GB, free: 9.391 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/5.697, allocations: 20 kB / 0.7369 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/5.697, allocations: 4 kB / 0.7369 GB, free: 9.367 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001816/5.699, allocations: 470.3 kB / 0.7373 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/5.699, allocations: 0 / 0.7373 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/5.699, allocations: 8.031 kB / 0.7373 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/5.701, allocations: 123.8 kB / 0.7375 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/5.701, allocations: 4 kB / 0.7375 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/5.702, allocations: 67.62 kB / 0.7375 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.872e-05/5.702, allocations: 27.92 kB / 0.7376 GB, free: 8.676 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,retFanPre.uFan,$PRE.retFanPre.movMea.mode,retFanPre.movMea.mode,$PRE.yFan.pulseStart,yFan.pulseStart,$PRE.retFanPre1.movMea.mode,retFanPre1.movMea.mode,$PRE.retFanPre2.movMea.mode,retFanPre2.movMea.mode) * 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.0003147/5.702, allocations: 120.9 kB / 0.7377 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/5.703, allocations: 75.06 kB / 0.7377 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/5.705, allocations: 0.5814 MB / 0.7383 GB, free: 7.883 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/5.705, allocations: 8 kB / 0.7383 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/5.705, allocations: 0 / 0.7383 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/5.705, allocations: 3.984 kB / 0.7383 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004327/5.709, allocations: 1.413 MB / 0.7397 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/5.709, allocations: 4 kB / 0.7397 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001751/5.711, allocations: 144 kB / 0.7398 GB, free: 6.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-05/5.711, allocations: 8 kB / 0.7398 GB, free: 6.242 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/5.711, allocations: 7.938 kB / 0.7399 GB, free: 6.234 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.511e-05/5.711, allocations: 4 kB / 0.7399 GB, free: 6.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/5.712, allocations: 0 / 0.7399 GB, free: 6.23 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003264/5.715, allocations: 1.062 MB / 0.7409 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004432/5.719, allocations: 1.742 MB / 0.7426 GB, free: 3.281 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007186/5.72, allocations: 231.9 kB / 0.7428 GB, free: 3.035 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/5.72, allocations: 4.094 kB / 0.7428 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/5.722, allocations: 59.86 kB / 0.7429 GB, free: 2.973 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002612/5.722, allocations: 56.56 kB / 0.7429 GB, free: 2.918 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-05/5.722, allocations: 20 kB / 0.7429 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0008909/5.723, allocations: 371.2 kB / 0.7433 GB, free: 2.535 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003839/5.727, allocations: 298.5 kB / 0.7436 GB, free: 2.242 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (retFanPre.movMea.mu,retFanPre1.movMea.mu,retFanPre2.movMea.mu) * Number of discrete variables: 9 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,retFanPre.uFan,retFanPre.movMea.mode,yFan.pulseStart,retFanPre1.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005152/5.727, allocations: 123.2 kB / 0.7437 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003563/5.731, allocations: 0.8176 MB / 0.7445 GB, free: 1.305 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/5.731, allocations: 0 / 0.7445 GB, free: 1.305 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/5.732, allocations: 286.4 kB / 0.7448 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00276/5.735, allocations: 170.6 kB / 0.7449 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00515/5.74, allocations: 1.1 MB / 0.746 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002563/5.743, allocations: 1.074 MB / 0.7471 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of SimCode: time 2.776e-06/5.743, allocations: 0 / 0.7471 GB, free: 14.61 MB / 0.6355 GB