Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.252/2.252, allocations: 284.9 MB / 292.2 MB, free: 10.66 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.001558/0.001558, allocations: 173.3 kB / 360.4 MB, free: 7.484 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.774/1.774, 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.001309/0.001309, allocations: 85.3 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.467e-05/1.504e-05, allocations: 4 kB / 0.8502 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6268/0.6268, allocations: 115.2 MB / 0.9628 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.511/5.138, allocations: 2.109 GB / 3.072 GB, free: 11.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/5.138, allocations: 95.94 kB / 3.072 GB, free: 11.15 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.445/13.58, allocations: 1.903 GB / 4.975 GB, free: 159.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009038/13.58, allocations: 135.3 kB / 4.975 GB, free: 159.8 MB / 0.948 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.02304/13.61, allocations: 5.579 MB / 4.981 GB, free: 157.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/13.61, allocations: 10.47 kB / 4.981 GB, free: 157.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01899/13.63, allocations: 1.619 MB / 4.982 GB, free: 157.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02344/13.65, allocations: 5.491 MB / 4.988 GB, free: 156.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002816/13.65, allocations: 118.2 kB / 4.988 GB, free: 156.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001885/13.65, allocations: 227.8 kB / 4.988 GB, free: 156.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01586/13.67, allocations: 4.551 MB / 4.993 GB, free: 156.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.018/13.69, allocations: 4.712 MB / 4.997 GB, free: 156.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001333/13.69, allocations: 8.719 kB / 4.997 GB, free: 156.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001485/13.69, allocations: 6.062 kB / 4.997 GB, free: 156.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001654/13.69, allocations: 158.7 kB / 4.997 GB, free: 156.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05456/13.74, allocations: 19.1 MB / 5.016 GB, free: 150.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009719/13.75, allocations: 3.191 MB / 5.019 GB, free: 150.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004819/13.76, allocations: 1.663 MB / 5.021 GB, free: 150.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003962/13.76, allocations: 3.062 MB / 5.024 GB, free: 147 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006169/13.77, allocations: 1.886 MB / 5.026 GB, free: 146.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 7.955e-06/13.77, allocations: 2.719 kB / 5.026 GB, free: 146.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=284): time 0.03029/13.8, allocations: 4.594 MB / 5.03 GB, free: 146.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/13.8, allocations: 292.6 kB / 5.03 GB, free: 146.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008937/13.81, allocations: 2.931 MB / 5.033 GB, free: 145.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001102/13.81, allocations: 29.42 kB / 5.033 GB, free: 145.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002573/13.81, allocations: 1.359 MB / 5.034 GB, free: 145.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003084/13.81, allocations: 0.93 MB / 5.035 GB, free: 144.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004642/13.81, allocations: 1.031 kB / 5.035 GB, free: 144.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003066/13.81, allocations: 428.5 kB / 5.036 GB, free: 144.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004406/13.82, allocations: 1.391 MB / 5.037 GB, free: 144.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005456/13.82, allocations: 2.004 MB / 5.039 GB, free: 143.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02867/13.85, allocations: 3.104 MB / 5.042 GB, free: 143.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.733e-05/13.85, allocations: 3.25 kB / 5.042 GB, free: 143.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.0405/13.89, allocations: 5.38 MB / 5.047 GB, free: 143.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001501/13.9, allocations: 6.431 MB / 5.054 GB, free: 136.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.146e-05/13.9, allocations: 13.69 kB / 5.054 GB, free: 136.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/13.9, allocations: 113.5 kB / 5.054 GB, free: 136.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008804/13.91, allocations: 0.8217 MB / 5.055 GB, free: 136.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003382/13.91, allocations: 2.096 MB / 5.057 GB, free: 134.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008767/13.92, allocations: 432.6 kB / 5.057 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001504/13.92, allocations: 210.8 kB / 5.057 GB, free: 134.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/13.92, allocations: 3.125 kB / 5.057 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03763/13.96, allocations: 4.901 MB / 5.062 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-05/13.96, allocations: 15.12 kB / 5.062 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/13.96, allocations: 118 kB / 5.062 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008787/13.97, allocations: 0.8092 MB / 5.063 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003047/13.97, allocations: 1.5 MB / 5.064 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008466/13.98, allocations: 398.3 kB / 5.065 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001401/13.98, allocations: 201.4 kB / 5.065 GB, free: 132.9 MB / 0.948 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/13.98, allocations: 181.1 kB / 5.065 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002796/13.98, allocations: 434.9 kB / 5.066 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03871/14.02, allocations: 6.262 MB / 5.072 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-05/14.02, allocations: 33.81 kB / 5.072 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.485e-05/14.02, allocations: 0 / 5.072 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0269/14.05, allocations: 4.66 MB / 5.076 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05716/14.11, allocations: 10.01 MB / 5.086 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.355e-05/14.11, allocations: 2.969 kB / 5.086 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01107/14.12, allocations: 0.6152 MB / 5.087 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004011/14.12, allocations: 490.7 kB / 5.087 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001211/14.12, allocations: 70.5 kB / 5.087 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01375/14.14, allocations: 7.706 MB / 5.095 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-06/14.14, allocations: 2.203 kB / 5.095 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05328/14.19, allocations: 7.447 MB / 5.102 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004966/14.2, allocations: 1.143 MB / 5.103 GB, free: 120.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002072/14.2, allocations: 14.17 kB / 5.103 GB, free: 120.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008196/14.21, allocations: 266.4 kB / 5.103 GB, free: 120.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001004/14.21, allocations: 164.6 kB / 5.104 GB, free: 120.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006673/14.21, allocations: 141.5 kB / 5.104 GB, free: 120.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.006583/14.21, allocations: 2.252 MB / 5.106 GB, free: 119.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01755/14.23, allocations: 2.895 MB / 5.109 GB, free: 118.8 MB / 0.948 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.008121/14.24, allocations: 2.143 MB / 5.111 GB, free: 118.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01904/14.26, allocations: 5.836 MB / 5.117 GB, free: 116.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/14.26, allocations: 3.094 kB / 5.117 GB, free: 116.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00734/14.27, allocations: 2.03 MB / 5.119 GB, free: 115.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01546/14.28, allocations: 1.616 MB / 5.12 GB, free: 115.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08389/14.37, allocations: 23.52 MB / 5.143 GB, free: 106.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01057/14.38, allocations: 3.725 MB / 5.147 GB, free: 103.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.974e-06/14.38, allocations: 0 / 5.147 GB, free: 103.7 MB / 0.948 GB Notification: Performance of Templates: time 0.3034/14.68, allocations: 115.1 MB / 5.259 GB, free: 7.852 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)