Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") [: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.062/2.062, allocations: 253.1 MB / 260.4 MB, free: 456 kB / 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.001647/0.001647, allocations: 194.9 kB / 319.6 MB, free: 7.551 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 2.107/2.107, allocations: 205.4 MB / 0.5704 GB, free: 25.55 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.001916/0.001915, allocations: 85.39 kB / 0.6746 GB, free: 3.062 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.415e-05/1.454e-05, allocations: 4 kB / 0.7843 GB, free: 2.684 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5716/0.5717, allocations: 106.2 MB / 0.888 GB, free: 77.12 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.961/6.533, allocations: 2.227 GB / 3.115 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/6.533, allocations: 93.7 kB / 3.115 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.648/15.18, allocations: 1.903 GB / 5.018 GB, free: 4.086 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0009627/15.18, allocations: 127.9 kB / 5.018 GB, free: 3.961 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.4961/15.68, allocations: 5.561 MB / 5.024 GB, free: 179.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/15.68, allocations: 8.062 kB / 5.024 GB, free: 179.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01928/15.7, allocations: 1.636 MB / 5.025 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02298/15.72, allocations: 5.5 MB / 5.031 GB, free: 178.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/15.72, allocations: 120.1 kB / 5.031 GB, free: 178.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0017/15.72, allocations: 217.8 kB / 5.031 GB, free: 178.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01965/15.74, allocations: 4.552 MB / 5.036 GB, free: 178.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01866/15.76, allocations: 4.71 MB / 5.04 GB, free: 178.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001154/15.76, allocations: 4.688 kB / 5.04 GB, free: 178.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008176/15.76, allocations: 8.219 kB / 5.04 GB, free: 178.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001623/15.76, allocations: 162 kB / 5.04 GB, free: 178 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05522/15.82, allocations: 19.1 MB / 5.059 GB, free: 172.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009261/15.83, allocations: 3.19 MB / 5.062 GB, free: 172.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004533/15.83, allocations: 1.669 MB / 5.064 GB, free: 172.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004006/15.84, allocations: 3.055 MB / 5.067 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005834/15.84, allocations: 1.888 MB / 5.069 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=284): time 7.283e-06/15.84, allocations: 0 / 5.069 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=284): time 0.02839/15.87, allocations: 4.596 MB / 5.073 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/15.87, allocations: 285.4 kB / 5.073 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008393/15.88, allocations: 2.933 MB / 5.076 GB, free: 168 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.00111/15.88, allocations: 29.48 kB / 5.076 GB, free: 168 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002429/15.88, allocations: 1.358 MB / 5.078 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.004199/15.89, allocations: 0.9356 MB / 5.078 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000923/15.89, allocations: 2.625 kB / 5.078 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0003853/15.89, allocations: 424.2 kB / 5.079 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004881/15.89, allocations: 1.387 MB / 5.08 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005855/15.9, allocations: 2.012 MB / 5.082 GB, free: 166 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0287/15.93, allocations: 3.098 MB / 5.085 GB, free: 165.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.765e-05/15.93, allocations: 3.906 kB / 5.085 GB, free: 165.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.04062/15.97, allocations: 5.383 MB / 5.09 GB, free: 165.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001584/15.97, allocations: 6.436 MB / 5.097 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.42e-05/15.97, allocations: 12.75 kB / 5.097 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/15.97, allocations: 115.6 kB / 5.097 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009022/15.98, allocations: 0.8179 MB / 5.098 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003509/15.98, allocations: 2.092 MB / 5.1 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008976/15.99, allocations: 439.4 kB / 5.1 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001364/15.99, allocations: 201.4 kB / 5.1 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/15.99, allocations: 7.375 kB / 5.1 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03639/16.03, allocations: 4.909 MB / 5.105 GB, free: 156.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-05/16.03, allocations: 17 kB / 5.105 GB, free: 156.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/16.03, allocations: 114 kB / 5.105 GB, free: 156.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008637/16.04, allocations: 0.8086 MB / 5.106 GB, free: 156.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002921/16.04, allocations: 1.504 MB / 5.108 GB, free: 155.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00845/16.05, allocations: 402.8 kB / 5.108 GB, free: 155.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001346/16.05, allocations: 199.3 kB / 5.108 GB, free: 155.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (378): * Single equations (assignments): 376 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001372/16.06, allocations: 171.5 kB / 5.108 GB, free: 155.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002717/16.06, allocations: 429.1 kB / 5.109 GB, free: 155.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03671/16.09, allocations: 6.267 MB / 5.115 GB, free: 154.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-05/16.09, allocations: 33.16 kB / 5.115 GB, free: 154.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/16.09, allocations: 0 / 5.115 GB, free: 154.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02595/16.12, allocations: 4.66 MB / 5.119 GB, free: 154.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04395/16.16, allocations: 10.02 MB / 5.129 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.141e-05/16.16, allocations: 10.11 kB / 5.129 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007417/16.17, allocations: 0.607 MB / 5.13 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002695/16.17, allocations: 493.2 kB / 5.13 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009147/16.18, allocations: 63.92 kB / 5.13 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009417/16.19, allocations: 7.7 MB / 5.138 GB, free: 147.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.179e-05/16.19, allocations: 7.094 kB / 5.138 GB, free: 147.3 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03527/16.22, allocations: 7.429 MB / 5.145 GB, free: 146.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004886/16.23, allocations: 1.154 MB / 5.146 GB, free: 146.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002028/16.23, allocations: 11.44 kB / 5.146 GB, free: 146.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008237/16.24, allocations: 265.8 kB / 5.146 GB, free: 146.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009797/16.24, allocations: 171.2 kB / 5.147 GB, free: 146.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006353/16.24, allocations: 131.5 kB / 5.147 GB, free: 146.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.006516/16.24, allocations: 2.257 MB / 5.149 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01688/16.26, allocations: 2.893 MB / 5.152 GB, free: 146 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (274): * Single equations (assignments): 257 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {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.008002/16.27, allocations: 2.136 MB / 5.154 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01923/16.29, allocations: 5.843 MB / 5.16 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.479e-05/16.29, allocations: 3.312 kB / 5.16 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.007287/16.3, allocations: 2.027 MB / 5.162 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01574/16.31, allocations: 1.616 MB / 5.163 GB, free: 145.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08305/16.39, allocations: 23.53 MB / 5.186 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01195/16.41, allocations: 3.726 MB / 5.19 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of SimCode: time 2.013e-06/16.41, allocations: 1.188 kB / 5.19 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.3078/16.71, allocations: 115.1 MB / 5.302 GB, free: 118.4 MB / 0.8855 GB