Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.288/2.288, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001627/0.001626, allocations: 187.7 kB / 360.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.837/1.837, allocations: 205.1 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001205/0.001204, allocations: 105 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.478e-06/9.848e-06, allocations: 0 / 0.8502 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6511/0.6511, allocations: 115.2 MB / 0.9628 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.378/6.029, allocations: 2.354 GB / 3.317 GB, free: 35.05 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/6.029, allocations: 87.12 kB / 3.317 GB, free: 35.01 MB / 0.9323 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 25.68/31.71, allocations: 5.411 GB / 8.728 GB, free: 76.71 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.002854/31.71, allocations: 210.1 kB / 8.728 GB, free: 76.69 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.04565/31.76, allocations: 8.531 MB / 8.736 GB, free: 73.95 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/31.76, allocations: 9.469 kB / 8.736 GB, free: 73.95 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01968/31.78, allocations: 1.864 MB / 8.738 GB, free: 73.46 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05801/31.84, allocations: 15.11 MB / 8.753 GB, free: 72.31 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005305/31.84, allocations: 205.1 kB / 8.753 GB, free: 72.3 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004178/31.84, allocations: 387.7 kB / 8.753 GB, free: 72.3 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03482/31.88, allocations: 10.07 MB / 8.763 GB, free: 72.27 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04313/31.92, allocations: 10.63 MB / 8.774 GB, free: 71.7 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005464/31.92, allocations: 18.88 kB / 8.774 GB, free: 71.7 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003724/31.92, allocations: 9.969 kB / 8.774 GB, free: 71.7 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004328/31.92, allocations: 297.2 kB / 8.774 GB, free: 71.68 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1286/32.05, allocations: 51.65 MB / 8.824 GB, free: 53.21 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01846/32.07, allocations: 7.295 MB / 8.832 GB, free: 52.47 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01215/32.08, allocations: 4.455 MB / 8.836 GB, free: 52.43 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001856/32.09, allocations: 1.017 MB / 8.837 GB, free: 51.39 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001256/32.09, allocations: 87.38 kB / 8.837 GB, free: 51.35 MB / 1.042 GB Notification: Performance of pre-optimization done (n=369): time 7.263e-06/32.09, allocations: 0 / 8.837 GB, free: 51.35 MB / 1.042 GB Notification: Performance of matching and sorting (n=375): time 0.06624/32.15, allocations: 15.84 MB / 8.852 GB, free: 49.41 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/32.15, allocations: 89.61 kB / 8.853 GB, free: 49.34 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02329/32.18, allocations: 7.762 MB / 8.86 GB, free: 48.99 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.001601/32.18, allocations: 35.14 kB / 8.86 GB, free: 48.96 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.005057/32.18, allocations: 2.374 MB / 8.862 GB, free: 47.77 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.007572/32.19, allocations: 1.281 MB / 8.864 GB, free: 46.92 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00085/32.19, allocations: 0 / 8.864 GB, free: 46.92 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0005463/32.19, allocations: 495.5 kB / 8.864 GB, free: 46.61 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00869/32.2, allocations: 3.311 MB / 8.867 GB, free: 46.61 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01048/32.21, allocations: 4.529 MB / 8.872 GB, free: 45.52 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0119/32.22, allocations: 4.365 MB / 8.876 GB, free: 45.47 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.826e-05/32.22, allocations: 5.031 kB / 8.876 GB, free: 45.47 MB / 1.042 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.02817/32.25, allocations: 8.338 MB / 8.884 GB, free: 45.04 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.00213/32.25, allocations: 9.101 MB / 8.893 GB, free: 35.81 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001386/32.25, allocations: 14.75 kB / 8.893 GB, free: 35.81 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/32.25, allocations: 227.6 kB / 8.893 GB, free: 35.8 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01052/32.26, allocations: 1.056 MB / 8.894 GB, free: 35.8 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00498/32.27, allocations: 2.625 MB / 8.897 GB, free: 34.6 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01651/32.29, allocations: 0.8832 MB / 8.898 GB, free: 34.55 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00177/32.29, allocations: 166.1 kB / 8.898 GB, free: 34.55 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/32.29, allocations: 6.031 kB / 8.898 GB, free: 34.55 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02466/32.31, allocations: 7.693 MB / 8.905 GB, free: 34.45 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.843e-05/32.31, allocations: 18.78 kB / 8.905 GB, free: 34.45 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/32.31, allocations: 230.5 kB / 8.906 GB, free: 34.45 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01074/32.32, allocations: 1.05 MB / 8.907 GB, free: 34.45 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005166/32.33, allocations: 2.623 MB / 8.909 GB, free: 32.85 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01629/32.35, allocations: 0.8755 MB / 8.91 GB, free: 32.42 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001652/32.35, allocations: 168.3 kB / 8.91 GB, free: 32.27 MB / 1.042 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.002476/32.35, allocations: 195.3 kB / 8.911 GB, free: 32.13 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003019/32.35, allocations: 0.606 MB / 8.911 GB, free: 31.52 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02659/32.38, allocations: 7.928 MB / 8.919 GB, free: 25 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.992e-05/32.38, allocations: 39.19 kB / 8.919 GB, free: 24.96 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.576e-05/32.38, allocations: 0 / 8.919 GB, free: 24.96 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01773/32.4, allocations: 6.663 MB / 8.925 GB, free: 19.19 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05907/32.46, allocations: 19.76 MB / 8.945 GB, free: 2.891 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.396e-05/32.46, allocations: 7.906 kB / 8.945 GB, free: 2.883 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01024/32.47, allocations: 0.9806 MB / 8.946 GB, free: 2.129 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009903/32.47, allocations: 201.4 kB / 8.946 GB, free: 1.969 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001132/32.47, allocations: 80.17 kB / 8.946 GB, free: 1.91 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004888/32.47, allocations: 2.614 MB / 8.948 GB, free: 15.51 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/32.47, allocations: 7.938 kB / 8.948 GB, free: 15.5 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0347/32.51, allocations: 12.85 MB / 8.961 GB, free: 4.137 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01093/32.52, allocations: 2.121 MB / 8.963 GB, free: 2.18 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004511/32.53, allocations: 54.41 kB / 8.963 GB, free: 2.137 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01484/32.54, allocations: 0.7598 MB / 8.964 GB, free: 1.668 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001617/32.54, allocations: 199.2 kB / 8.964 GB, free: 1.555 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001038/32.54, allocations: 146.6 kB / 8.964 GB, free: 1.43 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.0409/32.58, allocations: 7.322 MB / 8.971 GB, free: 15.15 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0341/32.62, allocations: 4.318 MB / 8.976 GB, free: 10.86 MB / 1.073 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.01128/32.63, allocations: 4.657 MB / 8.98 GB, free: 7.137 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.6259/33.26, allocations: 12.6 MB / 8.992 GB, free: 192.4 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/33.26, allocations: 3.875 kB / 8.992 GB, free: 192.4 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.00888/33.26, allocations: 3.544 MB / 8.996 GB, free: 192.3 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03981/33.3, allocations: 4.42 MB / 9 GB, free: 192.2 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08867/33.39, allocations: 21.23 MB / 9.021 GB, free: 189.7 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02257/33.42, allocations: 7.663 MB / 9.028 GB, free: 188.8 MB / 1.073 GB Notification: Performance of SimCode: time 1.442e-06/33.42, allocations: 1.641 kB / 9.028 GB, free: 188.8 MB / 1.073 GB Notification: Performance of Templates: time 0.5279/33.94, allocations: 221.4 MB / 9.245 GB, free: 171.8 MB / 1.073 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe 2>&1)