Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.563/1.563, allocations: 289.8 MB / 297.1 MB, free: 6.57 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.001178/0.001178, allocations: 189.3 kB / 366.3 MB, free: 1.934 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.613/1.613, allocations: 205.1 MB / 0.6256 GB, free: 7.418 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.0009279/0.000928, allocations: 96.69 kB / 0.7395 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.128e-06/9.168e-06, allocations: 4 kB / 0.859 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7915/0.7915, allocations: 116.3 MB / 0.9725 GB, free: 76.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.357/6.148, allocations: 2.355 GB / 3.328 GB, free: 134.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/6.149, allocations: 93.16 kB / 3.328 GB, free: 134.3 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 19.1/25.25, allocations: 5.411 GB / 8.739 GB, free: 35.34 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.002195/25.26, allocations: 210.4 kB / 8.739 GB, free: 35.14 MB / 1.042 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.0363/25.29, allocations: 8.53 MB / 8.747 GB, free: 26.55 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/25.29, allocations: 12.02 kB / 8.747 GB, free: 26.54 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01544/25.31, allocations: 1.858 MB / 8.749 GB, free: 24.67 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03793/25.35, allocations: 15.11 MB / 8.764 GB, free: 9.496 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000425/25.35, allocations: 196 kB / 8.764 GB, free: 9.305 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003873/25.35, allocations: 391.9 kB / 8.764 GB, free: 8.922 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0238/25.37, allocations: 10.07 MB / 8.774 GB, free: 14.84 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03385/25.41, allocations: 10.63 MB / 8.785 GB, free: 4.023 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003432/25.41, allocations: 19.84 kB / 8.785 GB, free: 4.004 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002265/25.41, allocations: 8 kB / 8.785 GB, free: 3.996 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003228/25.41, allocations: 304.1 kB / 8.785 GB, free: 3.695 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7429/26.15, allocations: 51.65 MB / 8.835 GB, free: 147.5 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01081/26.16, allocations: 7.293 MB / 8.842 GB, free: 146.8 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006138/26.17, allocations: 4.461 MB / 8.847 GB, free: 146.8 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/26.17, allocations: 1.021 MB / 8.848 GB, free: 145.8 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.697e-05/26.17, allocations: 78.09 kB / 8.848 GB, free: 145.7 MB / 1.057 GB Notification: Performance of pre-optimization done (n=369): time 5.671e-06/26.17, allocations: 0 / 8.848 GB, free: 145.7 MB / 1.057 GB Notification: Performance of matching and sorting (n=375): time 0.0418/26.21, allocations: 15.83 MB / 8.863 GB, free: 144 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/26.21, allocations: 90.08 kB / 8.863 GB, free: 143.9 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01729/26.23, allocations: 7.772 MB / 8.871 GB, free: 143.6 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001657/26.23, allocations: 32.45 kB / 8.871 GB, free: 143.5 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.003489/26.24, allocations: 2.373 MB / 8.873 GB, free: 142.7 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.005494/26.24, allocations: 1.278 MB / 8.875 GB, free: 142 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004371/26.24, allocations: 0 / 8.875 GB, free: 142 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0004159/26.24, allocations: 492.1 kB / 8.875 GB, free: 141.7 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004331/26.25, allocations: 3.312 MB / 8.878 GB, free: 141.7 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005385/26.25, allocations: 4.533 MB / 8.883 GB, free: 140.6 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006393/26.26, allocations: 4.361 MB / 8.887 GB, free: 140.6 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.82e-05/26.26, allocations: 7.625 kB / 8.887 GB, free: 140.6 MB / 1.057 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01903/26.28, allocations: 8.339 MB / 8.895 GB, free: 140.2 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.002233/26.28, allocations: 9.103 MB / 8.904 GB, free: 130.9 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.802e-05/26.28, allocations: 20 kB / 8.904 GB, free: 130.9 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007816/26.28, allocations: 227 kB / 8.904 GB, free: 130.9 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006239/26.29, allocations: 1.048 MB / 8.905 GB, free: 130.9 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00297/26.29, allocations: 2.621 MB / 8.908 GB, free: 129.7 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0106/26.3, allocations: 0.8853 MB / 8.909 GB, free: 129.7 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00167/26.3, allocations: 167.5 kB / 8.909 GB, free: 129.7 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/26.3, allocations: 4.438 kB / 8.909 GB, free: 129.7 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01329/26.32, allocations: 7.695 MB / 8.916 GB, free: 129.6 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.207e-05/26.32, allocations: 22.28 kB / 8.916 GB, free: 129.6 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006211/26.32, allocations: 224.8 kB / 8.917 GB, free: 129.6 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005417/26.32, allocations: 1.053 MB / 8.918 GB, free: 129.6 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002755/26.32, allocations: 2.621 MB / 8.92 GB, free: 128.4 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01227/26.34, allocations: 0.8799 MB / 8.921 GB, free: 128.4 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001986/26.34, allocations: 164 kB / 8.921 GB, free: 128.4 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.002045/26.34, allocations: 191.1 kB / 8.921 GB, free: 128.2 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003253/26.34, allocations: 0.6045 MB / 8.922 GB, free: 127.9 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01878/26.36, allocations: 7.932 MB / 8.93 GB, free: 127.7 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.363e-05/26.36, allocations: 40.56 kB / 8.93 GB, free: 127.7 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/26.36, allocations: 0 / 8.93 GB, free: 127.7 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01063/26.37, allocations: 6.66 MB / 8.936 GB, free: 127.2 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04762/26.42, allocations: 19.78 MB / 8.956 GB, free: 125.6 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-05/26.42, allocations: 2.75 kB / 8.956 GB, free: 125.6 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005351/26.43, allocations: 0.9797 MB / 8.957 GB, free: 125.6 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006138/26.43, allocations: 209.1 kB / 8.957 GB, free: 125.6 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006771/26.43, allocations: 75.25 kB / 8.957 GB, free: 125.6 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002618/26.43, allocations: 2.596 MB / 8.959 GB, free: 124.4 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-06/26.43, allocations: 10.06 kB / 8.959 GB, free: 124.4 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01779/26.45, allocations: 12.84 MB / 8.972 GB, free: 122.9 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007386/26.46, allocations: 2.115 MB / 8.974 GB, free: 122.5 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003324/26.46, allocations: 63.36 kB / 8.974 GB, free: 122.5 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009114/26.47, allocations: 0.7502 MB / 8.975 GB, free: 122.5 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001126/26.47, allocations: 201.6 kB / 8.975 GB, free: 122.5 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001064/26.47, allocations: 140.8 kB / 8.975 GB, free: 122.5 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.01373/26.48, allocations: 6.104 MB / 8.981 GB, free: 122.3 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.03153/26.52, allocations: 4.325 MB / 8.985 GB, free: 122.3 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.008528/26.52, allocations: 4.659 MB / 8.99 GB, free: 120.4 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.02247/26.55, allocations: 11.65 MB / 9.001 GB, free: 120.1 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-05/26.55, allocations: 5.781 kB / 9.001 GB, free: 120.1 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.00604/26.55, allocations: 3.544 MB / 9.005 GB, free: 120 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02557/26.58, allocations: 4.43 MB / 9.009 GB, free: 119.9 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0687/26.65, allocations: 21.23 MB / 9.03 GB, free: 117.3 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01685/26.66, allocations: 7.66 MB / 9.037 GB, free: 116.4 MB / 1.057 GB Notification: Performance of SimCode: time 1.563e-06/26.66, allocations: 2.734 kB / 9.037 GB, free: 116.4 MB / 1.057 GB Notification: Performance of Templates: time 1.067/27.73, allocations: 221.4 MB / 9.253 GB, free: 160.7 MB / 1.057 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe 2>&1)