[:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Warning: Requested package Modelica of version 3.2.2, but this package was already loaded with version 3.2.1. You might experience problems if these versions are incompatible. Notification: Performance of loadModel(Buildings): time 2.764/2.764, allocations: 320.9 MB / 327.9 MB, free: 5.57 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.303/3.067, allocations: 75.73 MB / 403.6 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/3.23, allocations: 73.39 MB / 477 MB, free: 7.016 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.821/9.051, allocations: 2.404 GB / 2.87 GB, free: 146.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003285/9.052, allocations: 86.52 kB / 2.87 GB, free: 146.5 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 3.981/13.03, allocations: 0.8707 GB / 3.741 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/13.03, allocations: 8 kB / 3.741 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005084/13.04, allocations: 457.6 kB / 3.741 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004113/13.04, allocations: 1.124 MB / 3.742 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.097e-05/13.04, allocations: 36 kB / 3.742 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003617/13.04, allocations: 68 kB / 3.742 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003161/13.05, allocations: 0.9999 MB / 3.743 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003503/13.05, allocations: 1.239 MB / 3.744 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.237e-05/13.05, allocations: 4 kB / 3.744 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002074/13.05, allocations: 4 kB / 3.744 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.38e-05/13.05, allocations: 45.94 kB / 3.744 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01294/13.06, allocations: 5.669 MB / 3.75 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/13.07, allocations: 0.6839 MB / 3.751 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/13.07, allocations: 431 kB / 3.751 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/13.07, allocations: 343.9 kB / 3.751 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001494/13.07, allocations: 0.6683 MB / 3.752 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=85): time 3.777e-06/13.07, allocations: 0 / 3.752 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85): time 0.004993/13.07, allocations: 1.102 MB / 3.753 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/13.07, allocations: 435.8 kB / 3.754 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/13.08, allocations: 0.7408 MB / 3.754 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003213/13.08, allocations: 29.7 kB / 3.754 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004534/13.08, allocations: 475.2 kB / 3.755 GB, free: 268 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.2851/13.36, allocations: 264.1 kB / 3.755 GB, free: 124.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000327/13.36, allocations: 7.125 kB / 3.755 GB, free: 124.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001856/13.36, allocations: 348.1 kB / 3.755 GB, free: 124.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/13.36, allocations: 413.4 kB / 3.756 GB, free: 124.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/13.37, allocations: 0.7514 MB / 3.757 GB, free: 124.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002848/13.37, allocations: 0.6025 MB / 3.757 GB, free: 124.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.62e-05/13.37, allocations: 7.438 kB / 3.757 GB, free: 124.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005294/13.37, allocations: 1.326 MB / 3.758 GB, free: 124 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005044/13.37, allocations: 2.27 MB / 3.761 GB, free: 121.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-05/13.37, allocations: 7.812 kB / 3.761 GB, free: 121.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.594e-05/13.37, allocations: 10.84 kB / 3.761 GB, free: 121.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002859/13.38, allocations: 286.8 kB / 3.761 GB, free: 121.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-05/13.38, allocations: 15.88 kB / 3.761 GB, free: 121.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003458/13.38, allocations: 193.4 kB / 3.761 GB, free: 121.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004537/13.38, allocations: 54.12 kB / 3.761 GB, free: 121.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/13.38, allocations: 7.344 kB / 3.761 GB, free: 121.7 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005163/13.39, allocations: 1.16 MB / 3.762 GB, free: 121.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.905e-05/13.39, allocations: 11.61 kB / 3.762 GB, free: 121.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/13.39, allocations: 10.59 kB / 3.762 GB, free: 121.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003083/13.39, allocations: 268.6 kB / 3.763 GB, free: 121.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.827e-05/13.39, allocations: 13.17 kB / 3.763 GB, free: 121.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003089/13.39, allocations: 161.9 kB / 3.763 GB, free: 121.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004014/13.39, allocations: 59.12 kB / 3.763 GB, free: 121.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,hex.flowRegime,x_pTphi.i_w,x_pTphi.i_nw,x_pTphi.found,hex.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 1 * 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.0005714/13.39, allocations: 226.9 kB / 3.763 GB, free: 121.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005155/13.39, allocations: 120.9 kB / 3.763 GB, free: 121.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005133/13.4, allocations: 1.202 MB / 3.764 GB, free: 121.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/13.4, allocations: 14.59 kB / 3.764 GB, free: 121.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/13.4, allocations: 3.75 kB / 3.764 GB, free: 121.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/13.4, allocations: 3.797 kB / 3.764 GB, free: 121.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007652/13.41, allocations: 2.539 MB / 3.767 GB, free: 120.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.508e-05/13.41, allocations: 3.625 kB / 3.767 GB, free: 120.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00217/13.41, allocations: 194.7 kB / 3.767 GB, free: 120.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.228e-05/13.41, allocations: 6.625 kB / 3.767 GB, free: 120.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000242/13.41, allocations: 25.44 kB / 3.767 GB, free: 120.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/13.41, allocations: 3.125 kB / 3.767 GB, free: 120.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/13.41, allocations: 9.312 kB / 3.767 GB, free: 120.7 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006236/13.42, allocations: 2.02 MB / 3.769 GB, free: 120.3 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008449/13.42, allocations: 3.098 MB / 3.772 GB, free: 119.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/13.43, allocations: 351.9 kB / 3.772 GB, free: 119.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004794/13.43, allocations: 14.62 kB / 3.772 GB, free: 119.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002566/13.43, allocations: 121.5 kB / 3.772 GB, free: 119.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/13.43, allocations: 47.25 kB / 3.773 GB, free: 119.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001664/13.43, allocations: 44.25 kB / 3.773 GB, free: 119.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001183/13.43, allocations: 0.5455 MB / 3.773 GB, free: 119.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.007563/13.44, allocations: 1.54 MB / 3.775 GB, free: 119.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 11 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,hex.flowRegime) * Number of discrete states: 10 (mWatGai.last,mWatGai.nextEvent,mWatGai.b,mWatGai.a,$whenCondition2,mAirGai.last,mAirGai.nextEvent,mAirGai.b,mAirGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 1 * 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 Backend phase and start with SimCode phase: time 0.004659/13.44, allocations: 2.446 MB / 3.777 GB, free: 118.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004725/13.45, allocations: 1.905 MB / 3.779 GB, free: 118.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/13.45, allocations: 6.094 kB / 3.779 GB, free: 118.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/13.45, allocations: 0.6186 MB / 3.779 GB, free: 118.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004576/13.45, allocations: 423 kB / 3.78 GB, free: 118.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007065/13.46, allocations: 1.802 MB / 3.782 GB, free: 117.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001983/13.46, allocations: 1.335 MB / 3.783 GB, free: 116.8 MB / 0.6355 GB Notification: Performance of SimCode: time 1.943e-06/13.46, allocations: 0 / 3.783 GB, free: 116.8 MB / 0.6355 GB