Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized") [: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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.636/1.636, allocations: 285.5 MB / 292.8 MB, free: 10.44 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001342/0.001343, allocations: 181.3 kB / 361.1 MB, free: 7.102 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 205.1 MB / 0.6195 GB, free: 10.4 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009519/0.000952, allocations: 92.39 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.068e-05/1.071e-05, allocations: 4 kB / 0.8511 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6713/0.6713, allocations: 115.3 MB / 0.9637 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.124/5.795, allocations: 2.354 GB / 3.318 GB, free: 172 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/5.796, allocations: 90.72 kB / 3.318 GB, free: 171.9 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 20.27/26.06, allocations: 5.411 GB / 8.729 GB, free: 23.25 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.002461/26.07, allocations: 202.5 kB / 8.729 GB, free: 23.05 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1600 * Number of variables: 1600 Notification: Performance of Generate backend data structure: time 0.04086/26.11, allocations: 8.536 MB / 8.737 GB, free: 14.46 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/26.11, allocations: 8.031 kB / 8.737 GB, free: 14.45 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01629/26.12, allocations: 1.858 MB / 8.739 GB, free: 12.58 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04206/26.17, allocations: 15.11 MB / 8.754 GB, free: 13.39 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005022/26.17, allocations: 196 kB / 8.754 GB, free: 13.2 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004729/26.17, allocations: 391.9 kB / 8.754 GB, free: 12.82 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02829/26.2, allocations: 10.07 MB / 8.764 GB, free: 2.738 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03993/26.24, allocations: 10.63 MB / 8.775 GB, free: 7.926 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007309/26.24, allocations: 23.84 kB / 8.775 GB, free: 7.902 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004642/26.24, allocations: 8 kB / 8.775 GB, free: 7.895 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005784/26.24, allocations: 300.1 kB / 8.775 GB, free: 7.594 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8232/27.07, allocations: 51.66 MB / 8.825 GB, free: 155.4 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01249/27.08, allocations: 7.289 MB / 8.833 GB, free: 154.7 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007094/27.09, allocations: 4.458 MB / 8.837 GB, free: 154.7 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001341/27.09, allocations: 1.015 MB / 8.838 GB, free: 153.6 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/27.09, allocations: 81.69 kB / 8.838 GB, free: 153.6 MB / 1.057 GB Notification: Performance of pre-optimization done (n=369): time 1.009e-05/27.09, allocations: 0 / 8.838 GB, free: 153.6 MB / 1.057 GB Notification: Performance of matching and sorting (n=375): time 0.05526/27.14, allocations: 15.84 MB / 8.853 GB, free: 151.8 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.492e-05/27.14, allocations: 88.86 kB / 8.854 GB, free: 151.8 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02084/27.17, allocations: 7.769 MB / 8.861 GB, free: 151.4 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001843/27.17, allocations: 29.67 kB / 8.861 GB, free: 151.4 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.00495/27.17, allocations: 2.368 MB / 8.863 GB, free: 150.6 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.006062/27.18, allocations: 1.282 MB / 8.865 GB, free: 149.9 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001259/27.18, allocations: 2.875 kB / 8.865 GB, free: 149.9 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0006428/27.18, allocations: 488.9 kB / 8.865 GB, free: 149.6 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005977/27.19, allocations: 3.313 MB / 8.868 GB, free: 149.6 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00707/27.19, allocations: 4.533 MB / 8.873 GB, free: 148.5 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007721/27.2, allocations: 4.361 MB / 8.877 GB, free: 148.5 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.416e-05/27.2, allocations: 6.594 kB / 8.877 GB, free: 148.5 MB / 1.057 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.0201/27.22, allocations: 8.339 MB / 8.885 GB, free: 148 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.002996/27.22, allocations: 9.104 MB / 8.894 GB, free: 138.8 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/27.22, allocations: 15.78 kB / 8.894 GB, free: 138.8 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009707/27.23, allocations: 229.2 kB / 8.894 GB, free: 138.8 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006245/27.23, allocations: 1.051 MB / 8.895 GB, free: 138.8 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0036/27.24, allocations: 2.631 MB / 8.898 GB, free: 137.6 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0125/27.25, allocations: 0.8807 MB / 8.899 GB, free: 137.6 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001838/27.25, allocations: 165.2 kB / 8.899 GB, free: 137.6 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/27.25, allocations: 3.625 kB / 8.899 GB, free: 137.6 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01777/27.27, allocations: 7.7 MB / 8.907 GB, free: 137.5 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.294e-05/27.27, allocations: 19.11 kB / 8.907 GB, free: 137.5 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007468/27.27, allocations: 228.9 kB / 8.907 GB, free: 137.5 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005696/27.27, allocations: 1.051 MB / 8.908 GB, free: 137.5 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003265/27.28, allocations: 2.619 MB / 8.91 GB, free: 136.3 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01196/27.29, allocations: 0.8723 MB / 8.911 GB, free: 136.2 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001757/27.29, allocations: 174.8 kB / 8.911 GB, free: 136.2 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (482): * Single equations (assignments): 481 * 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.003196/27.29, allocations: 190.5 kB / 8.912 GB, free: 136.1 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003753/27.3, allocations: 0.6044 MB / 8.912 GB, free: 135.8 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02089/27.32, allocations: 7.926 MB / 8.92 GB, free: 135.6 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.943e-05/27.32, allocations: 39.53 kB / 8.92 GB, free: 135.6 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.673e-05/27.32, allocations: 2.969 kB / 8.92 GB, free: 135.6 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0128/27.33, allocations: 6.665 MB / 8.926 GB, free: 135.1 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05603/27.39, allocations: 19.76 MB / 8.946 GB, free: 133.5 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-05/27.39, allocations: 5.375 kB / 8.946 GB, free: 133.5 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006035/27.39, allocations: 0.9802 MB / 8.947 GB, free: 133.5 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007551/27.4, allocations: 211.6 kB / 8.947 GB, free: 133.5 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001184/27.4, allocations: 74.23 kB / 8.947 GB, free: 133.5 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003206/27.4, allocations: 2.585 MB / 8.95 GB, free: 132.3 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/27.4, allocations: 6.5 kB / 8.95 GB, free: 132.3 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02415/27.42, allocations: 12.84 MB / 8.962 GB, free: 130.8 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009575/27.43, allocations: 2.12 MB / 8.964 GB, free: 130.4 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004414/27.44, allocations: 53.41 kB / 8.964 GB, free: 130.4 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01074/27.45, allocations: 0.76 MB / 8.965 GB, free: 130.4 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00151/27.45, allocations: 204.4 kB / 8.965 GB, free: 130.4 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001387/27.45, allocations: 140.7 kB / 8.965 GB, free: 130.4 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.01597/27.47, allocations: 6.104 MB / 8.971 GB, free: 130.2 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.03075/27.5, allocations: 4.323 MB / 8.975 GB, free: 130.2 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (378): * Single equations (assignments): 373 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.009529/27.51, allocations: 4.654 MB / 8.98 GB, free: 128.3 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.02299/27.53, allocations: 11.66 MB / 8.991 GB, free: 128 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.892e-05/27.53, allocations: 2.625 kB / 8.991 GB, free: 128 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.006741/27.54, allocations: 3.543 MB / 8.995 GB, free: 127.9 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02899/27.57, allocations: 4.431 MB / 8.999 GB, free: 127.8 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08024/27.65, allocations: 21.23 MB / 9.02 GB, free: 125.2 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01703/27.66, allocations: 7.654 MB / 9.027 GB, free: 124.3 MB / 1.057 GB Notification: Performance of SimCode: time 1.533e-06/27.66, allocations: 7.312 kB / 9.027 GB, free: 124.3 MB / 1.057 GB Notification: Performance of Templates: time 1.167/28.83, allocations: 221.4 MB / 9.244 GB, free: 168.5 MB / 1.057 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe 2>&1)