[: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.227/3.227, allocations: 404 MB / 410.9 MB, free: 4.625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.491e-06/7.577e-06, allocations: 0 / 0.494 GB, free: 7.023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3803, allocations: 92.77 MB / 0.5846 GB, free: 3.098 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.479/4.859, allocations: 2.44 GB / 3.025 GB, free: 62.81 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/4.859, allocations: 89.58 kB / 3.025 GB, free: 62.77 MB / 0.7605 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/Movers/BaseClasses/IdealSource.mo:14:3-22:27:writable] Error: The conditional expression control_m_flow could not be evaluated. Notification: Performance of FrontEnd: time 21.98/26.84, allocations: 5.209 GB / 8.234 GB, free: 60.25 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.002327/26.84, allocations: 208.5 kB / 8.234 GB, free: 60.22 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1667 * Number of variables: 1667 Notification: Performance of Generate backend data structure: time 0.03521/26.88, allocations: 8.598 MB / 8.243 GB, free: 57.47 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/26.88, allocations: 7.188 kB / 8.243 GB, free: 57.47 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0184/26.89, allocations: 1.859 MB / 8.245 GB, free: 56.97 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04556/26.94, allocations: 16.59 MB / 8.261 GB, free: 55.71 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004124/26.94, allocations: 208.2 kB / 8.261 GB, free: 55.71 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003219/26.94, allocations: 396.1 kB / 8.261 GB, free: 55.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02619/26.97, allocations: 10.23 MB / 8.271 GB, free: 55.67 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03386/27, allocations: 10.92 MB / 8.282 GB, free: 54.96 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003917/27, allocations: 25.5 kB / 8.282 GB, free: 54.96 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002883/27.01, allocations: 8 kB / 8.282 GB, free: 54.96 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003464/27.01, allocations: 314.5 kB / 8.282 GB, free: 54.94 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09744/27.1, allocations: 51.28 MB / 8.332 GB, free: 35.75 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01762/27.12, allocations: 6.89 MB / 8.339 GB, free: 35.57 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01473/27.14, allocations: 4.506 MB / 8.344 GB, free: 35.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001818/27.14, allocations: 0.6049 MB / 8.344 GB, free: 34.93 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/27.14, allocations: 89.38 kB / 8.344 GB, free: 34.89 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=385): time 1.529e-05/27.14, allocations: 0 / 8.344 GB, free: 34.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=397): time 0.0971/27.24, allocations: 20.7 MB / 8.364 GB, free: 29.28 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/27.24, allocations: 200.2 kB / 8.365 GB, free: 29.09 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01794/27.25, allocations: 7.195 MB / 8.372 GB, free: 28.73 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001213/27.26, allocations: 31.83 kB / 8.372 GB, free: 28.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.003668/27.26, allocations: 2.467 MB / 8.374 GB, free: 27.45 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.006031/27.27, allocations: 1.348 MB / 8.375 GB, free: 26.56 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007615/27.27, allocations: 1.531 kB / 8.375 GB, free: 26.56 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0004979/27.27, allocations: 0.4888 MB / 8.376 GB, free: 26.25 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006658/27.27, allocations: 3.341 MB / 8.379 GB, free: 26.23 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007896/27.28, allocations: 4.402 MB / 8.383 GB, free: 25.08 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009204/27.29, allocations: 4.399 MB / 8.388 GB, free: 25.03 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.341e-05/27.29, allocations: 10 kB / 8.388 GB, free: 25.03 MB / 0.8855 GB Notification: Performance of matching and sorting (n=521) (initialization): time 0.02176/27.31, allocations: 8.533 MB / 8.396 GB, free: 24.49 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001878/27.31, allocations: 10.1 MB / 8.406 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001082/27.31, allocations: 21.56 kB / 8.406 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005088/27.32, allocations: 162.2 kB / 8.406 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008027/27.32, allocations: 1.125 MB / 8.407 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003426/27.33, allocations: 2.266 MB / 8.409 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01139/27.34, allocations: 0.761 MB / 8.41 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001555/27.34, allocations: 177.3 kB / 8.41 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/27.34, allocations: 9.844 kB / 8.41 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02027/27.36, allocations: 7.855 MB / 8.418 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.979e-05/27.36, allocations: 23.8 kB / 8.418 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003855/27.36, allocations: 161.6 kB / 8.418 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007926/27.37, allocations: 1.107 MB / 8.419 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002961/27.37, allocations: 2.275 MB / 8.421 GB, free: 7.906 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01034/27.38, allocations: 0.7388 MB / 8.422 GB, free: 7.434 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0013/27.38, allocations: 186.3 kB / 8.422 GB, free: 7.273 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (513): * Single equations (assignments): 512 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001527/27.38, allocations: 194.6 kB / 8.423 GB, free: 7.133 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002152/27.39, allocations: 0.606 MB / 8.423 GB, free: 6.52 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01947/27.41, allocations: 8.454 MB / 8.431 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-05/27.41, allocations: 47 kB / 8.431 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.785e-05/27.41, allocations: 0 / 8.431 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01592/27.42, allocations: 7.122 MB / 8.438 GB, free: 9.301 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0519/27.47, allocations: 19.87 MB / 8.458 GB, free: 9.176 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-05/27.47, allocations: 8 kB / 8.458 GB, free: 9.168 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007438/27.48, allocations: 1.023 MB / 8.459 GB, free: 8.387 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/27.48, allocations: 446.9 kB / 8.459 GB, free: 8.012 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008664/27.48, allocations: 88.72 kB / 8.459 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007103/27.49, allocations: 5.965 MB / 8.465 GB, free: 2.074 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.225e-05/27.49, allocations: 11.09 kB / 8.465 GB, free: 2.066 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.433/27.92, allocations: 14.89 MB / 8.48 GB, free: 156.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007395/27.93, allocations: 2.005 MB / 8.482 GB, free: 156.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00313/27.93, allocations: 60.17 kB / 8.482 GB, free: 156.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009937/27.94, allocations: 0.7001 MB / 8.482 GB, free: 156.7 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001306/27.95, allocations: 219.6 kB / 8.483 GB, free: 156.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000771/27.95, allocations: 158.9 kB / 8.483 GB, free: 156.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.01291/27.96, allocations: 5.72 MB / 8.488 GB, free: 156.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0252/27.99, allocations: 4.176 MB / 8.492 GB, free: 156.5 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 25 (hex.hexReg[1].ele[1,1].vol1.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,1].mas.T,hex.hexReg[1].ele[1,2].vol1.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,2].mas.T,hex.hexReg[1].ele[1,3].vol1.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,3].mas.T,hex.hexReg[2].ele[1,1].vol1.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,1].mas.T,hex.hexReg[2].ele[1,2].vol1.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,2].mas.T,hex.hexReg[2].ele[1,3].vol1.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.m,hex.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,3].mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (392): * Single equations (assignments): 383 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 6 {1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008272/27.99, allocations: 4.647 MB / 8.497 GB, free: 154.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.03153/28.02, allocations: 11.85 MB / 8.509 GB, free: 154.4 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.383e-05/28.03, allocations: 8.469 kB / 8.509 GB, free: 154.4 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.013/28.04, allocations: 3.726 MB / 8.512 GB, free: 154.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02921/28.07, allocations: 4.237 MB / 8.516 GB, free: 154.2 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07095/28.14, allocations: 21.59 MB / 8.537 GB, free: 151.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01887/28.16, allocations: 7.77 MB / 8.545 GB, free: 150.6 MB / 0.9167 GB Notification: Performance of SimCode: time 1.833e-06/28.16, allocations: 0 / 8.545 GB, free: 150.6 MB / 0.9167 GB Notification: Performance of Templates: time 0.4501/28.61, allocations: 219.1 MB / 8.759 GB, free: 89.59 MB / 0.9167 GB