Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Validation_WetCoilDiscretizedInitialization",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.143/4.143, allocations: 404 MB / 410.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2727/4.416, allocations: 95 MB / 0.4941 GB, free: 7.332 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5166/4.932, allocations: 92.67 MB / 0.5846 GB, free: 3.391 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.156/11.09, allocations: 2.449 GB / 3.034 GB, free: 174.5 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003479/11.09, allocations: 88.64 kB / 3.034 GB, free: 174.5 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: 5711 * Number of variables: 5711 Notification: Performance of Generate backend data structure: time 113.1/124.2, allocations: 18.95 GB / 21.99 GB, free: 34.85 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/124.2, allocations: 13.84 kB / 21.99 GB, free: 34.85 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08259/124.3, allocations: 6.22 MB / 21.99 GB, free: 33.15 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2508/124.6, allocations: 58.66 MB / 22.05 GB, free: 0.543 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003746/124.6, allocations: 0.7661 MB / 22.05 GB, free: 0 / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01734/124.6, allocations: 1.358 MB / 22.05 GB, free: 14.77 MB / 1.229 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.371/126.9, allocations: 34.68 MB / 22.09 GB, free: 70.57 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1786/127.1, allocations: 36.82 MB / 22.12 GB, free: 68.52 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002118/127.1, allocations: 49.52 kB / 22.12 GB, free: 68.52 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01465/127.1, allocations: 26.47 kB / 22.12 GB, free: 68.52 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001644/127.1, allocations: 1.004 MB / 22.12 GB, free: 68.47 MB / 1.245 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4742/127.6, allocations: 161.8 MB / 22.28 GB, free: 44.5 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05163/127.7, allocations: 14.68 MB / 22.3 GB, free: 44.15 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04617/127.7, allocations: 14.51 MB / 22.31 GB, free: 43.92 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004314/127.7, allocations: 1.432 MB / 22.31 GB, free: 42.6 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003794/127.7, allocations: 204.9 kB / 22.31 GB, free: 42.55 MB / 1.276 GB Notification: Performance of pre-optimization done (n=1232): time 2.18e-05/127.7, allocations: 0 / 22.31 GB, free: 42.55 MB / 1.276 GB Notification: Performance of matching and sorting (n=1310): time 0.5207/128.2, allocations: 104.1 MB / 22.41 GB, free: 18.26 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003394/128.2, allocations: 0.4953 MB / 22.41 GB, free: 17.81 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08272/128.3, allocations: 21.5 MB / 22.44 GB, free: 16.95 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.005788/128.3, allocations: 44.52 kB / 22.44 GB, free: 16.92 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.01749/128.4, allocations: 8.328 MB / 22.44 GB, free: 13.34 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.02365/128.4, allocations: 4.412 MB / 22.45 GB, free: 10.43 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005542/128.4, allocations: 0 / 22.45 GB, free: 10.43 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.003127/128.4, allocations: 0.9557 MB / 22.45 GB, free: 10.09 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03598/128.4, allocations: 11.04 MB / 22.46 GB, free: 10.06 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04322/128.5, allocations: 14.77 MB / 22.47 GB, free: 6.008 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04896/128.5, allocations: 14.69 MB / 22.49 GB, free: 5.844 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003058/128.5, allocations: 21.66 kB / 22.49 GB, free: 5.844 MB / 1.292 GB Notification: Performance of matching and sorting (n=1741) (initialization): time 0.1519/128.7, allocations: 33.82 MB / 22.52 GB, free: 10.56 MB / 1.308 GB Notification: Performance of prepare postOptimizeDAE: time 1.263/129.9, allocations: 58.52 MB / 22.58 GB, free: 180.5 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006146/129.9, allocations: 81.88 kB / 22.58 GB, free: 180.5 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08796/130, allocations: 11.37 MB / 22.59 GB, free: 180.3 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03422/130.1, allocations: 2.795 MB / 22.59 GB, free: 180.3 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08037/130.1, allocations: 29.88 MB / 22.62 GB, free: 174.9 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04794/130.2, allocations: 2.151 MB / 22.62 GB, free: 174.9 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006528/130.2, allocations: 0.5798 MB / 22.62 GB, free: 174.9 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/130.2, allocations: 3.75 kB / 22.62 GB, free: 174.9 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1162/130.3, allocations: 30.67 MB / 22.65 GB, free: 174.3 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004879/130.3, allocations: 74.12 kB / 22.65 GB, free: 174.3 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08575/130.4, allocations: 11.37 MB / 22.67 GB, free: 174.2 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03068/130.4, allocations: 2.687 MB / 22.67 GB, free: 174.2 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08489/130.5, allocations: 29.19 MB / 22.7 GB, free: 169.4 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04696/130.6, allocations: 2.091 MB / 22.7 GB, free: 169.4 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006492/130.6, allocations: 0.5766 MB / 22.7 GB, free: 169.4 MB / 1.354 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 346 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1305): * Single equations (assignments): 1299 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 12,(1,100.0%) 8,(1,100.0%) 2} * Non-linear torn systems: 2 {24 220,24 148} Notification: Performance of prepare postOptimizeDAE: time 0.01255/130.6, allocations: 402.7 kB / 22.7 GB, free: 169.2 MB / 1.354 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01354/130.6, allocations: 1.954 MB / 22.7 GB, free: 169.2 MB / 1.354 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1196/130.7, allocations: 29.17 MB / 22.73 GB, free: 168.4 MB / 1.354 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004933/130.7, allocations: 137.7 kB / 22.73 GB, free: 168.4 MB / 1.354 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001006/130.7, allocations: 9.438 kB / 22.73 GB, free: 168.4 MB / 1.354 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0903/130.8, allocations: 23.96 MB / 22.75 GB, free: 167.5 MB / 1.354 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2698/131.1, allocations: 67.63 MB / 22.82 GB, free: 163.5 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002491/131.1, allocations: 24.08 kB / 22.82 GB, free: 163.5 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0427/131.1, allocations: 3.088 MB / 22.82 GB, free: 163.5 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03228/131.1, allocations: 4.271 MB / 22.83 GB, free: 163.3 MB / 1.354 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005046/131.1, allocations: 239.3 kB / 22.83 GB, free: 163.3 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05629/131.2, allocations: 21.98 MB / 22.85 GB, free: 153.5 MB / 1.354 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-05/131.2, allocations: 37.38 kB / 22.85 GB, free: 153.5 MB / 1.354 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1579/131.4, allocations: 54.01 MB / 22.9 GB, free: 139.6 MB / 1.354 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1944/131.6, allocations: 72.93 MB / 22.97 GB, free: 85.96 MB / 1.354 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0328/131.6, allocations: 5.846 MB / 22.98 GB, free: 80.57 MB / 1.354 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01375/131.6, allocations: 164.6 kB / 22.98 GB, free: 80.44 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04491/131.6, allocations: 2.006 MB / 22.98 GB, free: 79.25 MB / 1.354 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0059/131.7, allocations: 0.7104 MB / 22.98 GB, free: 78.82 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005644/131.7, allocations: 479.7 kB / 22.98 GB, free: 78.42 MB / 1.354 GB Notification: Performance of sort global known variables: time 0.05821/131.7, allocations: 17.32 MB / 23 GB, free: 63.8 MB / 1.354 GB Notification: Performance of remove unused functions: time 0.1291/131.8, allocations: 15.95 MB / 23.01 GB, free: 47.99 MB / 1.354 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 50 (hexFixIni.hexReg[1].ele[1,1].vol1.dynBal.U,hexFixIni.hexReg[1].ele[1,1].vol2.dynBal.U,hexFixIni.hexReg[1].ele[1,1].vol2.dynBal.mXi[1],hexFixIni.hexReg[1].ele[1,1].mas.T,hexFixIni.hexReg[1].ele[1,2].vol1.dynBal.U,hexFixIni.hexReg[1].ele[1,2].vol2.dynBal.U,hexFixIni.hexReg[1].ele[1,2].vol2.dynBal.mXi[1],hexFixIni.hexReg[1].ele[1,2].mas.T,hexFixIni.hexReg[1].ele[1,3].vol1.dynBal.U,hexFixIni.hexReg[1].ele[1,3].vol2.dynBal.U,hexFixIni.hexReg[1].ele[1,3].vol2.dynBal.mXi[1],hexFixIni.hexReg[1].ele[1,3].mas.T,hexFixIni.hexReg[2].ele[1,1].vol1.dynBal.U,hexFixIni.hexReg[2].ele[1,1].vol2.dynBal.U,hexFixIni.hexReg[2].ele[1,1].vol2.dynBal.mXi[1],hexFixIni.hexReg[2].ele[1,1].mas.T,hexFixIni.hexReg[2].ele[1,2].vol1.dynBal.U,hexFixIni.hexReg[2].ele[1,2].vol2.dynBal.U,hexFixIni.hexReg[2].ele[1,2].vol2.dynBal.mXi[1],hexFixIni.hexReg[2].ele[1,2].mas.T,hexFixIni.hexReg[2].ele[1,3].vol1.dynBal.U,hexFixIni.hexReg[2].ele[1,3].vol2.dynBal.U,hexFixIni.hexReg[2].ele[1,3].vol2.dynBal.m,hexFixIni.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hexFixIni.hexReg[2].ele[1,3].mas.T,hexSteStaIni.hexReg[1].ele[1,1].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[1].ele[1,1].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[1].ele[1,1].mas.T,hexSteStaIni.hexReg[1].ele[1,2].vol1.dynBal.medium.T,hexSteStaIni.hexReg[1].ele[1,2].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[1].ele[1,2].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[1].ele[1,2].mas.T,hexSteStaIni.hexReg[1].ele[1,3].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[1].ele[1,3].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[1].ele[1,3].mas.T,hexSteStaIni.hexReg[1].port_a1[1].h_outflow,hexSteStaIni.hexReg[1].port_b1[1].h_outflow,hexSteStaIni.hexReg[2].ele[1,1].vol1.dynBal.medium.T,hexSteStaIni.hexReg[2].ele[1,1].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[2].ele[1,1].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[2].ele[1,1].mas.T,hexSteStaIni.hexReg[2].ele[1,2].vol1.dynBal.medium.T,hexSteStaIni.hexReg[2].ele[1,2].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[2].ele[1,2].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[2].ele[1,2].mas.T,hexSteStaIni.hexReg[2].ele[1,3].vol2.dynBal.medium.X[2],hexSteStaIni.hexReg[2].ele[1,3].vol2.dynBal.medium.dT,hexSteStaIni.hexReg[2].ele[1,3].vol2.dynBal.m,hexSteStaIni.hexReg[2].ele[1,3].mas.T,hexSteStaIni.hexReg[2].port_b1[1].h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1143): * Single equations (assignments): 1119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 12,(1,100.0%) 12,(1,100.0%) 2} * Non-linear torn systems: 7 {24 148,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.04156/131.9, allocations: 18.51 MB / 23.03 GB, free: 31.57 MB / 1.354 GB Notification: Performance of simCode: created initialization part: time 1.368/133.3, allocations: 43.31 MB / 23.07 GB, free: 175.4 MB / 1.354 GB Notification: Performance of simCode: created event and clocks part: time 4.625e-05/133.3, allocations: 13 kB / 23.07 GB, free: 175.4 MB / 1.354 GB Notification: Performance of simCode: created simulation system equations: time 0.04971/133.3, allocations: 13.19 MB / 23.09 GB, free: 175 MB / 1.354 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1383/133.4, allocations: 13.16 MB / 23.1 GB, free: 174.8 MB / 1.354 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3592/133.8, allocations: 69.41 MB / 23.17 GB, free: 166.1 MB / 1.354 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1016/133.9, allocations: 24.54 MB / 23.19 GB, free: 164.6 MB / 1.354 GB Notification: Performance of SimCode: time 1.953e-06/133.9, allocations: 1.641 kB / 23.19 GB, free: 164.6 MB / 1.354 GB