Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized",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.226/4.226, allocations: 403.9 MB / 410.9 MB, free: 4.914 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2637/4.49, allocations: 95.01 MB / 0.4941 GB, free: 7.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5205/5.01, allocations: 92.67 MB / 0.5846 GB, free: 3.359 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.316/11.33, allocations: 2.44 GB / 3.025 GB, free: 184.2 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003483/11.33, allocations: 95.92 kB / 3.025 GB, free: 184.1 MB / 0.7761 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: 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 27.58/38.9, allocations: 5.217 GB / 8.242 GB, free: 26.89 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/38.9, allocations: 11.98 kB / 8.242 GB, free: 26.88 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02222/38.92, allocations: 1.87 MB / 8.244 GB, free: 25 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06373/38.99, allocations: 16.6 MB / 8.26 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005066/38.99, allocations: 207.9 kB / 8.261 GB, free: 8.18 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004116/38.99, allocations: 396 kB / 8.261 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03931/39.03, allocations: 10.22 MB / 8.271 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04881/39.08, allocations: 10.93 MB / 8.282 GB, free: 2.395 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005504/39.08, allocations: 19.88 kB / 8.282 GB, free: 2.375 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003846/39.09, allocations: 12 kB / 8.282 GB, free: 2.363 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006728/39.09, allocations: 312.5 kB / 8.282 GB, free: 2.055 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6127/39.7, allocations: 51.27 MB / 8.332 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01964/39.72, allocations: 6.89 MB / 8.339 GB, free: 111 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01308/39.73, allocations: 4.51 MB / 8.343 GB, free: 111 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001793/39.73, allocations: 0.6033 MB / 8.344 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/39.73, allocations: 87.69 kB / 8.344 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=385): time 8.767e-06/39.73, allocations: 2.969 kB / 8.344 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=397): time 0.09453/39.83, allocations: 20.71 MB / 8.364 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.604e-05/39.83, allocations: 198.4 kB / 8.364 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02231/39.85, allocations: 7.201 MB / 8.371 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001616/39.85, allocations: 32.77 kB / 8.371 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.004126/39.86, allocations: 2.449 MB / 8.374 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.007155/39.86, allocations: 1.347 MB / 8.375 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009172/39.87, allocations: 2.078 kB / 8.375 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0006281/39.87, allocations: 0.4973 MB / 8.376 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01022/39.88, allocations: 3.337 MB / 8.379 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01136/39.89, allocations: 4.401 MB / 8.383 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01323/39.9, allocations: 4.399 MB / 8.387 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.399e-05/39.9, allocations: 8.344 kB / 8.387 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=521) (initialization): time 0.02912/39.93, allocations: 8.538 MB / 8.396 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.00206/39.93, allocations: 10.09 MB / 8.406 GB, free: 90.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/39.93, allocations: 24.53 kB / 8.406 GB, free: 90.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007477/39.93, allocations: 167.9 kB / 8.406 GB, free: 90.52 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01262/39.95, allocations: 1.122 MB / 8.407 GB, free: 90.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004404/39.95, allocations: 2.266 MB / 8.409 GB, free: 89.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0167/39.97, allocations: 0.7606 MB / 8.41 GB, free: 89.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001764/39.97, allocations: 179 kB / 8.41 GB, free: 89.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/39.97, allocations: 5.75 kB / 8.41 GB, free: 89.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02579/39.99, allocations: 7.859 MB / 8.418 GB, free: 89.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.83e-05/39.99, allocations: 26.31 kB / 8.418 GB, free: 89.11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005974/40, allocations: 164 kB / 8.418 GB, free: 89.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01576/40.01, allocations: 1.11 MB / 8.419 GB, free: 89.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006444/40.02, allocations: 2.266 MB / 8.421 GB, free: 87.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01769/40.04, allocations: 0.7413 MB / 8.422 GB, free: 87.88 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001754/40.04, allocations: 174.8 kB / 8.422 GB, free: 87.88 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.002593/40.04, allocations: 201.3 kB / 8.422 GB, free: 87.77 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003057/40.04, allocations: 0.6143 MB / 8.423 GB, free: 87.45 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03204/40.07, allocations: 8.439 MB / 8.431 GB, free: 87.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-05/40.08, allocations: 44.06 kB / 8.431 GB, free: 87.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.372e-05/40.08, allocations: 5.828 kB / 8.431 GB, free: 87.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02197/40.1, allocations: 7.12 MB / 8.438 GB, free: 86.41 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1288/40.23, allocations: 19.77 MB / 8.457 GB, free: 84.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.294e-05/40.23, allocations: 7.062 kB / 8.457 GB, free: 84.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.013/40.24, allocations: 1.022 MB / 8.458 GB, free: 84.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001863/40.24, allocations: 445.2 kB / 8.459 GB, free: 84.79 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001037/40.24, allocations: 83.45 kB / 8.459 GB, free: 84.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008004/40.25, allocations: 5.967 MB / 8.465 GB, free: 80.47 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-05/40.25, allocations: 11.5 kB / 8.465 GB, free: 80.47 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03435/40.28, allocations: 13.94 MB / 8.478 GB, free: 78.1 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04734/40.33, allocations: 19.79 MB / 8.498 GB, free: 75.32 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009719/40.34, allocations: 2.011 MB / 8.5 GB, free: 74.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004416/40.35, allocations: 56.05 kB / 8.5 GB, free: 74.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01875/40.36, allocations: 0.6969 MB / 8.5 GB, free: 74.88 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001514/40.37, allocations: 228.4 kB / 8.501 GB, free: 74.88 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009027/40.37, allocations: 153.7 kB / 8.501 GB, free: 74.88 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.01562/40.38, allocations: 5.724 MB / 8.506 GB, free: 74.66 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.03803/40.42, allocations: 5.303 MB / 8.512 GB, free: 74.66 MB / 0.8855 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.01001/40.43, allocations: 4.638 MB / 8.516 GB, free: 72.82 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.03161/40.46, allocations: 11.86 MB / 8.528 GB, free: 72.51 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-05/40.46, allocations: 4.312 kB / 8.528 GB, free: 72.51 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01138/40.47, allocations: 3.732 MB / 8.531 GB, free: 72.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04169/40.52, allocations: 4.233 MB / 8.535 GB, free: 72.34 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1026/40.62, allocations: 21.62 MB / 8.557 GB, free: 69.57 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02516/40.64, allocations: 7.868 MB / 8.564 GB, free: 66.54 MB / 0.8855 GB Notification: Performance of SimCode: time 1.994e-06/40.64, allocations: 0 / 8.564 GB, free: 66.54 MB / 0.8855 GB