Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.009/2.009, allocations: 253.1 MB / 260.4 MB, free: 7.473 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001624/0.001623, allocations: 177.3 kB / 319.6 MB, free: 3.324 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.901/1.901, allocations: 205.4 MB / 0.5704 GB, free: 15.06 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001378/0.001378, allocations: 90.7 kB / 0.6746 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.038e-05/1.056e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2016, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.573/6.775, allocations: 2.472 GB / 3.36 GB, free: 228.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/6.775, allocations: 92.41 kB / 3.36 GB, free: 228.8 MB / 0.8698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.78/32.55, allocations: 5.266 GB / 8.625 GB, free: 82.42 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.00289/32.56, allocations: 202.4 kB / 8.626 GB, free: 82.39 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1612 * Number of variables: 1612 Notification: Performance of Generate backend data structure: time 0.04421/32.6, allocations: 8.556 MB / 8.634 GB, free: 79.65 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/32.6, allocations: 11.5 kB / 8.634 GB, free: 79.65 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01934/32.62, allocations: 1.87 MB / 8.636 GB, free: 79.16 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0694/32.69, allocations: 15.17 MB / 8.651 GB, free: 77.97 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007089/32.69, allocations: 200.1 kB / 8.651 GB, free: 77.97 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00483/32.7, allocations: 394.7 kB / 8.651 GB, free: 77.96 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04161/32.74, allocations: 10.13 MB / 8.661 GB, free: 77.93 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04161/32.78, allocations: 10.68 MB / 8.672 GB, free: 77.36 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004784/32.78, allocations: 20.25 kB / 8.672 GB, free: 77.36 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003263/32.78, allocations: 6.906 kB / 8.672 GB, free: 77.36 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003846/32.78, allocations: 300.7 kB / 8.672 GB, free: 77.34 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1227/32.91, allocations: 51.73 MB / 8.722 GB, free: 58.82 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01735/32.92, allocations: 6.799 MB / 8.729 GB, free: 58.66 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01132/32.94, allocations: 4.429 MB / 8.733 GB, free: 58.62 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001719/32.94, allocations: 1.02 MB / 8.734 GB, free: 57.59 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001019/32.94, allocations: 85.67 kB / 8.734 GB, free: 57.54 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=369): time 6.592e-06/32.94, allocations: 3.438 kB / 8.734 GB, free: 57.54 MB / 0.9792 GB Notification: Performance of matching and sorting (n=375): time 0.0657/33, allocations: 15.76 MB / 8.75 GB, free: 55.59 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/33, allocations: 92.23 kB / 8.75 GB, free: 55.52 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0223/33.03, allocations: 7.829 MB / 8.758 GB, free: 55.16 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001573/33.03, allocations: 31.58 kB / 8.758 GB, free: 55.13 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.004422/33.03, allocations: 2.381 MB / 8.76 GB, free: 53.94 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.007365/33.04, allocations: 1.275 MB / 8.761 GB, free: 53.1 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007036/33.04, allocations: 3.938 kB / 8.761 GB, free: 53.09 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0005247/33.04, allocations: 496.1 kB / 8.762 GB, free: 52.78 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009037/33.05, allocations: 3.294 MB / 8.765 GB, free: 52.77 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01183/33.06, allocations: 4.508 MB / 8.769 GB, free: 51.69 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01206/33.07, allocations: 4.335 MB / 8.774 GB, free: 51.64 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.533e-05/33.07, allocations: 6.062 kB / 8.774 GB, free: 51.64 MB / 0.9792 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.02845/33.1, allocations: 8.294 MB / 8.782 GB, free: 51.21 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.002007/33.1, allocations: 9.104 MB / 8.791 GB, free: 41.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001232/33.1, allocations: 19 kB / 8.791 GB, free: 41.98 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/33.11, allocations: 233.2 kB / 8.791 GB, free: 41.97 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01065/33.12, allocations: 1.042 MB / 8.792 GB, free: 41.97 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005281/33.12, allocations: 2.624 MB / 8.794 GB, free: 40.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01674/33.14, allocations: 0.884 MB / 8.795 GB, free: 40.71 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001827/33.14, allocations: 168.3 kB / 8.795 GB, free: 40.71 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/33.14, allocations: 3.5 kB / 8.795 GB, free: 40.71 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02449/33.16, allocations: 7.658 MB / 8.803 GB, free: 38.07 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.672e-05/33.16, allocations: 16 kB / 8.803 GB, free: 38.06 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009757/33.17, allocations: 230.2 kB / 8.803 GB, free: 37.87 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009949/33.18, allocations: 1.044 MB / 8.804 GB, free: 37.07 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004593/33.18, allocations: 2.624 MB / 8.807 GB, free: 34.63 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01737/33.2, allocations: 0.875 MB / 8.808 GB, free: 34.08 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001962/33.2, allocations: 173.7 kB / 8.808 GB, free: 33.93 MB / 0.9792 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.00332/33.2, allocations: 194.8 kB / 8.808 GB, free: 33.79 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003789/33.21, allocations: 0.6095 MB / 8.808 GB, free: 33.18 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02809/33.24, allocations: 7.876 MB / 8.816 GB, free: 26.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.098e-05/33.24, allocations: 39.52 kB / 8.816 GB, free: 26.66 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/33.24, allocations: 4 kB / 8.816 GB, free: 26.66 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01824/33.25, allocations: 6.62 MB / 8.823 GB, free: 20.91 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05983/33.31, allocations: 19.22 MB / 8.841 GB, free: 5.152 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.01e-05/33.31, allocations: 7.906 kB / 8.841 GB, free: 5.145 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01065/33.32, allocations: 1.012 MB / 8.842 GB, free: 4.375 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/33.33, allocations: 211.7 kB / 8.843 GB, free: 4.207 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001324/33.33, allocations: 75.98 kB / 8.843 GB, free: 4.148 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004534/33.33, allocations: 2.593 MB / 8.845 GB, free: 1.73 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/33.33, allocations: 7.906 kB / 8.845 GB, free: 1.727 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04898/33.38, allocations: 13.54 MB / 8.858 GB, free: 8.203 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0112/33.39, allocations: 2.168 MB / 8.861 GB, free: 6.199 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004045/33.4, allocations: 59.11 kB / 8.861 GB, free: 6.152 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01471/33.41, allocations: 0.7645 MB / 8.861 GB, free: 5.684 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00171/33.41, allocations: 203.9 kB / 8.862 GB, free: 5.566 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001329/33.41, allocations: 141.7 kB / 8.862 GB, free: 5.449 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.01986/33.43, allocations: 6.157 MB / 8.868 GB, free: 236 kB / 0.9948 GB Notification: Performance of remove unused functions: time 0.03806/33.47, allocations: 4.537 MB / 8.872 GB, free: 12.34 MB / 1.01 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.01108/33.48, allocations: 4.651 MB / 8.877 GB, free: 8.625 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.5887/34.07, allocations: 11.91 MB / 8.888 GB, free: 177.1 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.731e-05/34.07, allocations: 3.75 kB / 8.888 GB, free: 177.1 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.009089/34.08, allocations: 3.531 MB / 8.892 GB, free: 177 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03982/34.12, allocations: 4.432 MB / 8.896 GB, free: 176.9 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09184/34.21, allocations: 21.34 MB / 8.917 GB, free: 174.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0243/34.24, allocations: 7.702 MB / 8.924 GB, free: 173.4 MB / 1.01 GB Notification: Performance of SimCode: time 1.583e-06/34.24, allocations: 2.406 kB / 8.924 GB, free: 173.4 MB / 1.01 GB Notification: Performance of Templates: time 0.5193/34.76, allocations: 221.6 MB / 9.141 GB, free: 149.4 MB / 1.01 GB