Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.517/1.517, allocations: 285.5 MB / 292.8 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001497/0.001497, allocations: 175.5 kB / 361.1 MB, free: 7.125 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.1 MB / 0.6195 GB, free: 10.34 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009536/0.0009535, allocations: 95.59 kB / 0.7326 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.145e-06/8.365e-06, allocations: 0 / 0.8511 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6859/0.6859, allocations: 115.3 MB / 0.9637 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.873/5.559, allocations: 2.357 GB / 3.321 GB, free: 159.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/5.56, allocations: 92.75 kB / 3.321 GB, free: 159.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.936/15.5, allocations: 2.832 GB / 6.153 GB, free: 102.8 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.003098/15.5, allocations: 377.7 kB / 6.154 GB, free: 102.8 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: 2944 * Number of variables: 2944 Notification: Performance of Generate backend data structure: time 0.04821/15.55, allocations: 12.09 MB / 6.165 GB, free: 98.37 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/15.55, allocations: 10.97 kB / 6.165 GB, free: 98.37 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02234/15.57, allocations: 3.223 MB / 6.169 GB, free: 97.55 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05794/15.63, allocations: 18.39 MB / 6.186 GB, free: 95.95 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009196/15.63, allocations: 360.6 kB / 6.187 GB, free: 95.95 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006043/15.63, allocations: 0.6396 MB / 6.187 GB, free: 95.94 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03703/15.67, allocations: 13.13 MB / 6.2 GB, free: 95.89 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05312/15.72, allocations: 14.67 MB / 6.215 GB, free: 94.26 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009931/15.73, allocations: 34.06 kB / 6.215 GB, free: 94.25 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006478/15.73, allocations: 22.72 kB / 6.215 GB, free: 94.25 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007636/15.73, allocations: 0.5819 MB / 6.215 GB, free: 94.23 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1407/15.87, allocations: 62.09 MB / 6.276 GB, free: 71.17 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01935/15.89, allocations: 8.794 MB / 6.284 GB, free: 70.24 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009914/15.9, allocations: 5.049 MB / 6.289 GB, free: 68.32 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00314/15.91, allocations: 2.395 MB / 6.292 GB, free: 65.84 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01243/15.92, allocations: 5.162 MB / 6.297 GB, free: 64.03 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=704): time 1.724e-05/15.92, allocations: 3.125 kB / 6.297 GB, free: 64.03 MB / 0.9792 GB Notification: Performance of matching and sorting (n=704): time 0.03923/15.96, allocations: 10.47 MB / 6.307 GB, free: 60.71 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/15.96, allocations: 356.6 kB / 6.307 GB, free: 60.36 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02708/15.99, allocations: 9.692 MB / 6.317 GB, free: 56.91 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002887/15.99, allocations: 40.75 kB / 6.317 GB, free: 56.88 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.01144/16, allocations: 4.313 MB / 6.321 GB, free: 53.95 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.009388/16.01, allocations: 2.351 MB / 6.323 GB, free: 52.11 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001984/16.01, allocations: 0 / 6.323 GB, free: 52.11 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.001033/16.01, allocations: 0.6543 MB / 6.324 GB, free: 51.65 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008556/16.02, allocations: 4.123 MB / 6.328 GB, free: 50.11 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/16.03, allocations: 6.345 MB / 6.334 GB, free: 45.87 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03495/16.07, allocations: 8.226 MB / 6.342 GB, free: 43.76 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001596/16.07, allocations: 18.41 kB / 6.342 GB, free: 43.76 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.0589/16.13, allocations: 14.33 MB / 6.356 GB, free: 33.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.01189/16.14, allocations: 35.44 MB / 6.391 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000313/16.14, allocations: 64 kB / 6.391 GB, free: 11.24 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/16.14, allocations: 200 kB / 6.391 GB, free: 11.07 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0147/16.15, allocations: 2.354 MB / 6.393 GB, free: 9.121 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/16.16, allocations: 1.604 MB / 6.395 GB, free: 7.473 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01788/16.17, allocations: 1.264 MB / 6.396 GB, free: 6.395 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00338/16.18, allocations: 425.9 kB / 6.397 GB, free: 6.031 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/16.18, allocations: 4 kB / 6.397 GB, free: 6.027 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05733/16.23, allocations: 13.38 MB / 6.41 GB, free: 11.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003069/16.23, allocations: 65.56 kB / 6.41 GB, free: 11.34 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009245/16.24, allocations: 198.3 kB / 6.41 GB, free: 11.17 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01486/16.25, allocations: 2.355 MB / 6.412 GB, free: 9.223 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/16.25, allocations: 1.608 MB / 6.414 GB, free: 7.578 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01713/16.27, allocations: 1.105 MB / 6.415 GB, free: 6.652 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003495/16.27, allocations: 429.5 kB / 6.415 GB, free: 6.285 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 293 * 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 (1095): * Single equations (assignments): 1094 * 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.005997/16.28, allocations: 338 kB / 6.416 GB, free: 5.949 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006595/16.29, allocations: 1.011 MB / 6.417 GB, free: 4.926 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4986/16.79, allocations: 12.55 MB / 6.429 GB, free: 208.9 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.065e-05/16.79, allocations: 73.73 kB / 6.429 GB, free: 208.9 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/16.79, allocations: 2.344 kB / 6.429 GB, free: 208.9 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.024/16.81, allocations: 9.917 MB / 6.439 GB, free: 208.4 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06279/16.87, allocations: 25.56 MB / 6.464 GB, free: 207 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.488e-05/16.87, allocations: 9.781 kB / 6.464 GB, free: 207 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009111/16.88, allocations: 1.696 MB / 6.465 GB, free: 207 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005982/16.88, allocations: 118.9 kB / 6.465 GB, free: 207 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006485/16.88, allocations: 168.9 kB / 6.466 GB, free: 207 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/16.88, allocations: 1.526 MB / 6.467 GB, free: 205.8 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.437e-06/16.88, allocations: 13.81 kB / 6.467 GB, free: 205.8 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0349/16.92, allocations: 19.59 MB / 6.486 GB, free: 201.6 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01063/16.93, allocations: 2.95 MB / 6.489 GB, free: 201.4 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004467/16.93, allocations: 60.77 kB / 6.489 GB, free: 201.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0128/16.95, allocations: 0.6757 MB / 6.49 GB, free: 201.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001187/16.95, allocations: 394.4 kB / 6.49 GB, free: 201.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001153/16.95, allocations: 385 kB / 6.49 GB, free: 201.3 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.01453/16.96, allocations: 7.43 MB / 6.498 GB, free: 201 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.03087/17, allocations: 6.846 MB / 6.504 GB, free: 200.4 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 40 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,TOut1.T,TIn1.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 (729): * Single equations (assignments): 716 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.005195/17, allocations: 2.032 MB / 6.506 GB, free: 200.1 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.02749/17.03, allocations: 15.97 MB / 6.522 GB, free: 199.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.501e-05/17.03, allocations: 17.8 kB / 6.522 GB, free: 199.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.008054/17.04, allocations: 4.57 MB / 6.526 GB, free: 199.6 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02942/17.07, allocations: 5.586 MB / 6.532 GB, free: 199.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06342/17.13, allocations: 25.38 MB / 6.557 GB, free: 195.2 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02032/17.15, allocations: 9.877 MB / 6.566 GB, free: 194.2 MB / 1.01 GB Notification: Performance of SimCode: time 1.202e-06/17.15, allocations: 0 / 6.566 GB, free: 194.2 MB / 1.01 GB Notification: Performance of Templates: time 0.9081/18.06, allocations: 290.4 MB / 6.85 GB, free: 172.6 MB / 1.01 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1)