Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Examples_WetCoilDiscretizedPControl",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.083/4.083, allocations: 404 MB / 410.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2745/4.357, allocations: 95 MB / 0.4941 GB, free: 7.352 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5155/4.873, allocations: 92.69 MB / 0.5846 GB, free: 3.391 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.344/11.22, allocations: 2.47 GB / 3.055 GB, free: 146.8 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/11.22, allocations: 94.31 kB / 3.055 GB, free: 146.7 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: 3586 * Number of variables: 3586 Notification: Performance of Generate backend data structure: time 62.39/73.6, allocations: 11.14 GB / 14.2 GB, free: 50.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/73.6, allocations: 8.375 kB / 14.2 GB, free: 50.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05292/73.66, allocations: 4.117 MB / 14.2 GB, free: 49.06 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.168/73.83, allocations: 38.17 MB / 14.24 GB, free: 46.48 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001288/73.83, allocations: 449.8 kB / 14.24 GB, free: 46.48 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009811/73.84, allocations: 0.8274 MB / 14.24 GB, free: 46.48 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.09079/73.93, allocations: 22.23 MB / 14.26 GB, free: 46.42 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1081/74.04, allocations: 23.57 MB / 14.28 GB, free: 45.21 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001408/74.04, allocations: 35.28 kB / 14.28 GB, free: 45.21 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009237/74.05, allocations: 11.75 kB / 14.28 GB, free: 45.21 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001034/74.05, allocations: 0.629 MB / 14.28 GB, free: 45.18 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3094/74.36, allocations: 99.77 MB / 14.38 GB, free: 28.85 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02935/74.39, allocations: 9.056 MB / 14.39 GB, free: 28.71 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03164/74.42, allocations: 9.786 MB / 14.4 GB, free: 28.55 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003032/74.42, allocations: 0.767 MB / 14.4 GB, free: 27.88 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03238/74.45, allocations: 8.671 MB / 14.41 GB, free: 27.49 MB / 0.948 GB Notification: Performance of pre-optimization done (n=820): time 2.483e-05/74.45, allocations: 0 / 14.41 GB, free: 27.49 MB / 0.948 GB Notification: Performance of matching and sorting (n=845): time 0.2914/74.75, allocations: 58.97 MB / 14.47 GB, free: 1.117 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004685/74.75, allocations: 0.7334 MB / 14.47 GB, free: 248 kB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06354/74.81, allocations: 14.33 MB / 14.48 GB, free: 5.211 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.003852/74.81, allocations: 45.7 kB / 14.48 GB, free: 5.16 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.01796/74.83, allocations: 5.429 MB / 14.49 GB, free: 496 kB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 1.298/76.13, allocations: 2.919 MB / 14.49 GB, free: 158.4 MB / 0.9793 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003288/76.13, allocations: 0 / 14.49 GB, free: 158.4 MB / 0.9793 GB Notification: Performance of setup shared object (initialization): time 0.001612/76.13, allocations: 0.7228 MB / 14.49 GB, free: 158.1 MB / 0.9793 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.022/76.16, allocations: 6.98 MB / 14.5 GB, free: 158.1 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02559/76.18, allocations: 9.362 MB / 14.51 GB, free: 155.5 MB / 0.9793 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: hex.hexReg[1].ele[1,1].vol2.dynBal.medium.p = 101325.0 (sin_2.p = 101325.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.1987/76.38, allocations: 27.74 MB / 14.53 GB, free: 155.2 MB / 0.9793 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001007/76.38, allocations: 15.22 kB / 14.53 GB, free: 155.2 MB / 0.9793 GB Notification: Performance of matching and sorting (n=1124) (initialization): time 0.06637/76.45, allocations: 17.35 MB / 14.55 GB, free: 155 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 0.007115/76.45, allocations: 29.84 MB / 14.58 GB, free: 124.1 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003838/76.45, allocations: 47 kB / 14.58 GB, free: 124.1 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002764/76.46, allocations: 96.88 kB / 14.58 GB, free: 124.1 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0303/76.49, allocations: 2.413 MB / 14.58 GB, free: 124.1 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00376/76.49, allocations: 1.448 MB / 14.58 GB, free: 123 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02995/76.52, allocations: 1.247 MB / 14.58 GB, free: 123 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004049/76.52, allocations: 363.9 kB / 14.58 GB, free: 123 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/76.52, allocations: 6.125 kB / 14.58 GB, free: 123 MB / 0.9793 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06337/76.59, allocations: 16.01 MB / 14.6 GB, free: 122.8 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002534/76.59, allocations: 49.34 kB / 14.6 GB, free: 122.8 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001876/76.59, allocations: 93 kB / 14.6 GB, free: 122.8 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02681/76.61, allocations: 2.217 MB / 14.6 GB, free: 122.8 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000251/76.61, allocations: 121.7 kB / 14.6 GB, free: 122.8 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02851/76.64, allocations: 1.21 MB / 14.6 GB, free: 122.8 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004187/76.65, allocations: 363.2 kB / 14.6 GB, free: 122.8 MB / 0.9793 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: hex.hexReg[1].ele[1,1].vol2.dynBal.medium.p = 101325.0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 216 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1118): * Single equations (assignments): 1115 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.007755/76.66, allocations: 371.4 kB / 14.6 GB, free: 122.7 MB / 0.9793 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007769/76.66, allocations: 1.254 MB / 14.61 GB, free: 122.6 MB / 0.9793 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07204/76.74, allocations: 17.42 MB / 14.62 GB, free: 122.2 MB / 0.9793 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00016/76.74, allocations: 94.33 kB / 14.62 GB, free: 122.2 MB / 0.9793 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.553e-05/76.74, allocations: 3.969 kB / 14.62 GB, free: 122.2 MB / 0.9793 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05096/76.79, allocations: 14.34 MB / 14.64 GB, free: 121.6 MB / 0.9793 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1602/76.95, allocations: 42.06 MB / 14.68 GB, free: 118.1 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001316/76.95, allocations: 19.34 kB / 14.68 GB, free: 118.1 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02966/76.98, allocations: 2.287 MB / 14.68 GB, free: 118.1 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00292/76.98, allocations: 0.6525 MB / 14.68 GB, free: 118 MB / 0.9793 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003283/76.98, allocations: 186.8 kB / 14.68 GB, free: 118 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01614/77, allocations: 10.39 MB / 14.69 GB, free: 109.3 MB / 0.9793 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-05/77, allocations: 37.72 kB / 14.69 GB, free: 109.3 MB / 0.9793 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0866/77.09, allocations: 34.23 MB / 14.72 GB, free: 99.41 MB / 0.9793 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1125/77.2, allocations: 46.06 MB / 14.77 GB, free: 89.11 MB / 0.9793 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02126/77.22, allocations: 3.77 MB / 14.77 GB, free: 88.36 MB / 0.9793 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008749/77.23, allocations: 133.2 kB / 14.77 GB, free: 88.36 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02797/77.26, allocations: 1.241 MB / 14.77 GB, free: 88.33 MB / 0.9793 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003882/77.26, allocations: 0.5068 MB / 14.78 GB, free: 88.3 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003186/77.26, allocations: 312.9 kB / 14.78 GB, free: 88.3 MB / 0.9793 GB Notification: Performance of sort global known variables: time 0.0407/77.3, allocations: 11.29 MB / 14.79 GB, free: 87.74 MB / 0.9793 GB Notification: Performance of remove unused functions: time 0.06324/77.37, allocations: 8.362 MB / 14.79 GB, free: 80.91 MB / 0.9793 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 101 * Number of states: 50 (temSen.T,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.mXi[1],hex.hexReg[2].ele[1,3].mas.T,hex.hexReg[3].ele[1,1].vol1.dynBal.U,hex.hexReg[3].ele[1,1].vol2.dynBal.U,hex.hexReg[3].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,1].mas.T,hex.hexReg[3].ele[1,2].vol1.dynBal.U,hex.hexReg[3].ele[1,2].vol2.dynBal.U,hex.hexReg[3].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,2].mas.T,hex.hexReg[3].ele[1,3].vol1.dynBal.U,hex.hexReg[3].ele[1,3].vol2.dynBal.U,hex.hexReg[3].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,3].mas.T,hex.hexReg[4].ele[1,1].vol1.dynBal.U,hex.hexReg[4].ele[1,1].vol2.dynBal.U,hex.hexReg[4].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,1].mas.T,hex.hexReg[4].ele[1,2].vol1.dynBal.U,hex.hexReg[4].ele[1,2].vol2.dynBal.U,hex.hexReg[4].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,2].mas.T,hex.hexReg[4].ele[1,3].vol1.dynBal.U,hex.hexReg[4].ele[1,3].vol2.dynBal.U,hex.hexReg[4].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,3].mas.T,mot.int.y) * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled,mot.uppHys.y,mot.lowHys.y) * Number of discrete states: 8 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1,mot.uppHys.y,mot.lowHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (836): * Single equations (assignments): 819 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 12 * 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: 0 * Non-linear torn systems: 12 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01474/77.38, allocations: 5.285 MB / 14.8 GB, free: 76.82 MB / 0.9793 GB Notification: Performance of simCode: created initialization part: time 0.07829/77.46, allocations: 24.66 MB / 14.82 GB, free: 62.17 MB / 0.9793 GB Notification: Performance of simCode: created event and clocks part: time 4.633e-05/77.46, allocations: 10.66 kB / 14.82 GB, free: 62.16 MB / 0.9793 GB Notification: Performance of simCode: created simulation system equations: time 0.03111/77.49, allocations: 8.372 MB / 14.83 GB, free: 56.59 MB / 0.9793 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08582/77.58, allocations: 8.443 MB / 14.84 GB, free: 50.88 MB / 0.9793 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1894/77.77, allocations: 46.57 MB / 14.89 GB, free: 11.37 MB / 0.9793 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.295/79.06, allocations: 16.07 MB / 14.9 GB, free: 129.5 MB / 0.9794 GB Notification: Performance of SimCode: time 1.673e-06/79.06, allocations: 0 / 14.9 GB, free: 129.5 MB / 0.9794 GB