Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") [: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.255/2.255, 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.001725/0.001725, allocations: 185.2 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.735/1.735, allocations: 205.1 MB / 0.6188 GB, free: 12.4 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.001327/0.001325, allocations: 86.36 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.51e-05/1.524e-05, allocations: 4 kB / 0.8502 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6261/0.6261, allocations: 115.2 MB / 0.9628 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.209/5.835, allocations: 2.357 GB / 3.32 GB, free: 123.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/5.835, allocations: 95.77 kB / 3.32 GB, free: 123.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.278/10.11, allocations: 0.9272 GB / 4.247 GB, free: 171.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008881/10.11, allocations: 131.5 kB / 4.247 GB, free: 171.1 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.01778/10.13, allocations: 4.315 MB / 4.251 GB, free: 169.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/10.13, allocations: 7.312 kB / 4.251 GB, free: 169.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01411/10.15, allocations: 1.361 MB / 4.253 GB, free: 169.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0222/10.17, allocations: 5.46 MB / 4.258 GB, free: 168.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002771/10.17, allocations: 118.5 kB / 4.258 GB, free: 168.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001777/10.17, allocations: 218.8 kB / 4.258 GB, free: 168.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01506/10.19, allocations: 4.434 MB / 4.263 GB, free: 168.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0172/10.2, allocations: 4.58 MB / 4.267 GB, free: 168.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000222/10.2, allocations: 14.62 kB / 4.267 GB, free: 168.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001427/10.2, allocations: 6.188 kB / 4.267 GB, free: 168.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001885/10.2, allocations: 175.8 kB / 4.267 GB, free: 168.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07846/10.28, allocations: 19.1 MB / 4.286 GB, free: 161.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01129/10.29, allocations: 2.972 MB / 4.289 GB, free: 161.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004461/10.3, allocations: 1.624 MB / 4.29 GB, free: 161.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003012/10.3, allocations: 1.867 MB / 4.292 GB, free: 159.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005109/10.31, allocations: 1.775 MB / 4.294 GB, free: 159.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=264): time 6.732e-06/10.31, allocations: 6.75 kB / 4.294 GB, free: 159.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=264): time 0.01993/10.33, allocations: 3.682 MB / 4.297 GB, free: 159.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/10.33, allocations: 286.2 kB / 4.298 GB, free: 158.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008104/10.34, allocations: 3.051 MB / 4.301 GB, free: 158.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000922/10.34, allocations: 29.05 kB / 4.301 GB, free: 158.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002487/10.34, allocations: 1.399 MB / 4.302 GB, free: 157.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00223/10.34, allocations: 0.8596 MB / 4.303 GB, free: 157.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004028/10.34, allocations: 0 / 4.303 GB, free: 157.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002726/10.34, allocations: 424.9 kB / 4.303 GB, free: 156.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003901/10.35, allocations: 1.329 MB / 4.305 GB, free: 156.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00475/10.35, allocations: 2 MB / 4.307 GB, free: 156.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02572/10.38, allocations: 2.885 MB / 4.309 GB, free: 156.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.871e-05/10.38, allocations: 7.844 kB / 4.309 GB, free: 156.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.03374/10.41, allocations: 4.961 MB / 4.314 GB, free: 155.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001604/10.41, allocations: 7.287 MB / 4.321 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.818e-05/10.41, allocations: 18.47 kB / 4.321 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/10.41, allocations: 115.1 kB / 4.322 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00837/10.42, allocations: 0.8102 MB / 4.322 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003026/10.43, allocations: 1.498 MB / 4.324 GB, free: 147.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009605/10.43, allocations: 445.8 kB / 4.324 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001098/10.44, allocations: 146.6 kB / 4.324 GB, free: 147 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/10.44, allocations: 3.938 kB / 4.324 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03212/10.47, allocations: 4.596 MB / 4.329 GB, free: 146.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.474e-05/10.47, allocations: 18.31 kB / 4.329 GB, free: 146.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/10.47, allocations: 114.6 kB / 4.329 GB, free: 146.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008251/10.48, allocations: 0.8075 MB / 4.33 GB, free: 146.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/10.48, allocations: 1.512 MB / 4.331 GB, free: 145.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007795/10.49, allocations: 386.8 kB / 4.332 GB, free: 145.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001017/10.49, allocations: 149 kB / 4.332 GB, free: 145.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (371): * Single equations (assignments): 370 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001155/10.49, allocations: 190.9 kB / 4.332 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001467/10.49, allocations: 352.8 kB / 4.332 GB, free: 145.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02332/10.52, allocations: 4.516 MB / 4.337 GB, free: 145 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.204e-05/10.52, allocations: 32.91 kB / 4.337 GB, free: 145 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/10.52, allocations: 2.688 kB / 4.337 GB, free: 145 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01838/10.53, allocations: 3.628 MB / 4.34 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04158/10.58, allocations: 8.945 MB / 4.349 GB, free: 143.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.075e-05/10.58, allocations: 4.281 kB / 4.349 GB, free: 143.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007463/10.58, allocations: 0.6281 MB / 4.35 GB, free: 143.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/10.58, allocations: 99.8 kB / 4.35 GB, free: 143.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007696/10.58, allocations: 60.78 kB / 4.35 GB, free: 143.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002696/10.59, allocations: 1.509 MB / 4.351 GB, free: 142.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/10.59, allocations: 5.656 kB / 4.351 GB, free: 142.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02654/10.61, allocations: 6.38 MB / 4.357 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004493/10.62, allocations: 1.054 MB / 4.358 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001925/10.62, allocations: 17.95 kB / 4.359 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007861/10.63, allocations: 261.6 kB / 4.359 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00102/10.63, allocations: 163.8 kB / 4.359 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007155/10.63, allocations: 136.6 kB / 4.359 GB, free: 139.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.007688/10.64, allocations: 2.351 MB / 4.361 GB, free: 138.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01285/10.65, allocations: 2.331 MB / 4.364 GB, free: 137.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (283): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004299/10.66, allocations: 1.596 MB / 4.365 GB, free: 137.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01428/10.67, allocations: 5.462 MB / 4.371 GB, free: 135.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.497e-05/10.67, allocations: 2.125 kB / 4.371 GB, free: 135.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004381/10.67, allocations: 1.711 MB / 4.372 GB, free: 134.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01488/10.69, allocations: 1.654 MB / 4.374 GB, free: 134.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02856/10.72, allocations: 7.964 MB / 4.382 GB, free: 132 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008108/10.73, allocations: 3.556 MB / 4.385 GB, free: 130.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.432e-06/10.73, allocations: 0 / 4.385 GB, free: 130.8 MB / 0.948 GB Notification: Performance of Templates: time 0.305/11.03, allocations: 101.9 MB / 4.485 GB, free: 61.33 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)