Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.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.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") [: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.171/2.171, allocations: 253.1 MB / 260.4 MB, free: 7.414 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.001716/0.001715, allocations: 181.2 kB / 319.6 MB, free: 3.227 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.007/2.007, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001392/0.001391, allocations: 92.56 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.002e-05/1.016e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2308, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.604/6.835, allocations: 2.528 GB / 3.416 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003435/6.835, allocations: 93.52 kB / 3.416 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 12.33/19.16, allocations: 2.461 GB / 5.877 GB, free: 79.54 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.002234/19.16, allocations: 271.9 kB / 5.877 GB, free: 79.3 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2036 * Number of variables: 2036 Notification: Performance of Generate backend data structure: time 0.04273/19.21, allocations: 8.867 MB / 5.886 GB, free: 70.44 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/19.21, allocations: 13.56 kB / 5.886 GB, free: 70.43 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02279/19.23, allocations: 2.165 MB / 5.888 GB, free: 68.25 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05066/19.28, allocations: 11.87 MB / 5.9 GB, free: 56.51 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006023/19.28, allocations: 256 kB / 5.9 GB, free: 56.26 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004315/19.29, allocations: 479.9 kB / 5.901 GB, free: 55.79 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0344/19.32, allocations: 9.288 MB / 5.91 GB, free: 46.5 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04033/19.36, allocations: 9.723 MB / 5.919 GB, free: 36.45 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000565/19.36, allocations: 19.78 kB / 5.919 GB, free: 36.43 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003682/19.37, allocations: 15.94 kB / 5.919 GB, free: 36.41 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003498/19.37, allocations: 343 kB / 5.919 GB, free: 36.08 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1246/19.49, allocations: 44.36 MB / 5.963 GB, free: 6.32 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02437/19.51, allocations: 6.737 MB / 5.969 GB, free: 15.65 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01214/19.53, allocations: 3.67 MB / 5.973 GB, free: 11.96 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.577/20.1, allocations: 17.76 MB / 5.99 GB, free: 189.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01062/20.11, allocations: 3.195 MB / 5.993 GB, free: 189 MB / 0.948 GB Notification: Performance of pre-optimization done (n=509): time 1.032e-05/20.11, allocations: 0 / 5.993 GB, free: 189 MB / 0.948 GB Notification: Performance of matching and sorting (n=509): time 0.0346/20.15, allocations: 7.081 MB / 6 GB, free: 188.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000151/20.15, allocations: 367 kB / 6.001 GB, free: 188.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02016/20.17, allocations: 6.455 MB / 6.007 GB, free: 188.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002012/20.17, allocations: 31.98 kB / 6.007 GB, free: 188.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006955/20.18, allocations: 2.999 MB / 6.01 GB, free: 187.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005778/20.18, allocations: 1.685 MB / 6.012 GB, free: 186.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001127/20.19, allocations: 0 / 6.012 GB, free: 186.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0007126/20.19, allocations: 0.5594 MB / 6.012 GB, free: 186.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009703/20.2, allocations: 3.067 MB / 6.015 GB, free: 186.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01188/20.21, allocations: 4.756 MB / 6.02 GB, free: 184.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03833/20.25, allocations: 5.892 MB / 6.026 GB, free: 184.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.988e-05/20.25, allocations: 13.59 kB / 6.026 GB, free: 184.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.05788/20.3, allocations: 10.52 MB / 6.036 GB, free: 183.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.005702/20.31, allocations: 23.14 MB / 6.058 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003343/20.31, allocations: 47.44 kB / 6.058 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008092/20.31, allocations: 172.6 kB / 6.059 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01669/20.33, allocations: 1.666 MB / 6.06 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/20.33, allocations: 0.7448 MB / 6.061 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0171/20.35, allocations: 0.8951 MB / 6.062 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002655/20.35, allocations: 313 kB / 6.062 GB, free: 158.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/20.35, allocations: 8.531 kB / 6.062 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05557/20.4, allocations: 9.707 MB / 6.072 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002329/20.41, allocations: 46.84 kB / 6.072 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005875/20.41, allocations: 164 kB / 6.072 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01675/20.42, allocations: 1.665 MB / 6.073 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/20.42, allocations: 0.7444 MB / 6.074 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0164/20.44, allocations: 0.7768 MB / 6.075 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002682/20.44, allocations: 314.4 kB / 6.075 GB, free: 157.2 MB / 0.948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 209 * 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 (819): * Single equations (assignments): 815 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.00436/20.45, allocations: 277.4 kB / 6.075 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004577/20.45, allocations: 0.7232 MB / 6.076 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04505/20.5, allocations: 8.341 MB / 6.084 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.591e-05/20.5, allocations: 57.94 kB / 6.084 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.947e-05/20.5, allocations: 1.75 kB / 6.084 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0344/20.53, allocations: 6.624 MB / 6.091 GB, free: 155.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07011/20.6, allocations: 16.64 MB / 6.107 GB, free: 155.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.074e-05/20.6, allocations: 5.094 kB / 6.107 GB, free: 155.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01322/20.61, allocations: 1.147 MB / 6.108 GB, free: 155.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000493/20.62, allocations: 99.28 kB / 6.108 GB, free: 155.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001436/20.62, allocations: 95.11 kB / 6.108 GB, free: 155.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000783/20.62, allocations: 0.66 MB / 6.109 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/20.62, allocations: 3.094 kB / 6.109 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.045/20.66, allocations: 11.83 MB / 6.121 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008911/20.67, allocations: 1.944 MB / 6.123 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004269/20.68, allocations: 26.52 kB / 6.123 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01878/20.69, allocations: 467.4 kB / 6.123 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00186/20.7, allocations: 279.2 kB / 6.123 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001144/20.7, allocations: 215.2 kB / 6.123 GB, free: 153 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.01568/20.71, allocations: 4.917 MB / 6.128 GB, free: 152.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.03205/20.75, allocations: 5.021 MB / 6.133 GB, free: 152 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 27 (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,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.indTanHex.vol[1].dynBal.U,tan.indTanHex.vol[2].dynBal.U,tan.indTanHex.vol[3].dynBal.U,tan.indTanHex.vol[4].dynBal.U,tan.indTanHex.cap[1].T,tan.indTanHex.cap[2].T,tan.indTanHex.cap[3].T,tan.indTanHex.cap[4].T,pum.filter.x[1],pum.filter.x[2],exp.m,exp.H) * 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 (536): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00761/20.75, allocations: 2.204 MB / 6.135 GB, free: 151.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03421/20.79, allocations: 11.68 MB / 6.147 GB, free: 151.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-05/20.79, allocations: 6.219 kB / 6.147 GB, free: 151.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.009677/20.8, allocations: 3.192 MB / 6.15 GB, free: 151.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03229/20.83, allocations: 3.437 MB / 6.153 GB, free: 151.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06264/20.89, allocations: 17.05 MB / 6.17 GB, free: 148.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02029/20.91, allocations: 6.985 MB / 6.177 GB, free: 147.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.473e-06/20.91, allocations: 0.8438 kB / 6.177 GB, free: 147.5 MB / 0.948 GB Notification: Performance of Templates: time 0.5306/21.44, allocations: 198.2 MB / 6.37 GB, free: 35.44 MB / 0.948 GB