Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") [: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.1.4-maint.8.1.x/package.mo): time 1.516/1.516, allocations: 289.8 MB / 297.1 MB, free: 6.625 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.001146/0.001146, allocations: 181.3 kB / 366.3 MB, free: 1.953 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.489/1.489, allocations: 205.2 MB / 0.6256 GB, free: 5.859 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.0009675/0.0009673, allocations: 87.72 kB / 0.7396 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.257e-06/9.288e-06, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6881/0.6881, allocations: 116.3 MB / 0.9726 GB, free: 68.2 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.43/6.118, allocations: 2.36 GB / 3.332 GB, free: 179.6 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/6.119, allocations: 96.62 kB / 3.332 GB, free: 179.5 MB / 0.9636 GB Notification: Performance of FrontEnd: time 14.95/21.07, allocations: 4.16 GB / 7.492 GB, free: 101.1 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.005898/21.07, allocations: 0.5618 MB / 7.493 GB, free: 101 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4497 * Number of variables: 4497 Notification: Performance of Generate backend data structure: time 0.07325/21.15, allocations: 18.2 MB / 7.51 GB, free: 94.06 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/21.15, allocations: 7.812 kB / 7.51 GB, free: 94.06 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03158/21.18, allocations: 4.136 MB / 7.514 GB, free: 92.72 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08999/21.27, allocations: 29.27 MB / 7.543 GB, free: 89.39 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001212/21.27, allocations: 0.5282 MB / 7.544 GB, free: 89.39 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008243/21.28, allocations: 0.9828 MB / 7.544 GB, free: 89.37 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05431/21.33, allocations: 20.08 MB / 7.564 GB, free: 69.54 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07997/21.41, allocations: 22.8 MB / 7.586 GB, free: 45.91 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001114/21.41, allocations: 67.42 kB / 7.586 GB, free: 45.84 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008303/21.42, allocations: 36 kB / 7.586 GB, free: 45.81 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007968/21.42, allocations: 0.9108 MB / 7.587 GB, free: 44.89 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.74/22.16, allocations: 96.68 MB / 7.682 GB, free: 153.3 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02301/22.18, allocations: 13.78 MB / 7.695 GB, free: 152.7 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01395/22.2, allocations: 7.827 MB / 7.703 GB, free: 152.6 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003223/22.2, allocations: 2.038 MB / 7.705 GB, free: 150.6 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01565/22.22, allocations: 7.325 MB / 7.712 GB, free: 150.4 MB / 1.01 GB Notification: Performance of pre-optimization done (n=1035): time 1.517e-05/22.22, allocations: 0 / 7.712 GB, free: 150.4 MB / 1.01 GB Notification: Performance of matching and sorting (n=1035): time 0.04513/22.26, allocations: 15.29 MB / 7.727 GB, free: 150.1 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001611/22.26, allocations: 421.1 kB / 7.727 GB, free: 149.7 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03169/22.29, allocations: 15.2 MB / 7.742 GB, free: 149 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.003567/22.3, allocations: 39.02 kB / 7.742 GB, free: 149 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.01955/22.32, allocations: 6.656 MB / 7.749 GB, free: 146.7 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0195/22.34, allocations: 3.483 MB / 7.752 GB, free: 144.7 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002246/22.34, allocations: 0 / 7.752 GB, free: 144.7 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.001181/22.34, allocations: 0.8371 MB / 7.753 GB, free: 144.4 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01101/22.35, allocations: 6.314 MB / 7.759 GB, free: 144.3 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01515/22.37, allocations: 9.878 MB / 7.769 GB, free: 140.3 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04031/22.41, allocations: 11.69 MB / 7.78 GB, free: 140.1 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001724/22.41, allocations: 38.41 kB / 7.78 GB, free: 140.1 MB / 1.01 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.07471/22.48, allocations: 20.83 MB / 7.801 GB, free: 139.1 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.01631/22.5, allocations: 68.12 MB / 7.867 GB, free: 84.57 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006036/22.5, allocations: 107.2 kB / 7.867 GB, free: 84.57 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003279/22.5, allocations: 190.6 kB / 7.867 GB, free: 84.57 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02089/22.52, allocations: 3.533 MB / 7.871 GB, free: 84.57 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006445/22.52, allocations: 242.2 kB / 7.871 GB, free: 84.57 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02918/22.55, allocations: 1.874 MB / 7.873 GB, free: 83.84 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004992/22.56, allocations: 0.6292 MB / 7.873 GB, free: 83.84 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/22.56, allocations: 13.59 kB / 7.873 GB, free: 83.84 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06404/22.62, allocations: 19.29 MB / 7.892 GB, free: 83.59 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003744/22.62, allocations: 108.3 kB / 7.892 GB, free: 83.59 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002374/22.62, allocations: 188 kB / 7.893 GB, free: 83.59 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02006/22.64, allocations: 3.532 MB / 7.896 GB, free: 83.59 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004315/22.64, allocations: 241 kB / 7.896 GB, free: 83.59 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02628/22.67, allocations: 1.639 MB / 7.898 GB, free: 83.04 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004839/22.67, allocations: 0.6284 MB / 7.898 GB, free: 83.04 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 484 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1657): * Single equations (assignments): 1657 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007625/22.68, allocations: 470.5 kB / 7.899 GB, free: 82.86 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008659/22.69, allocations: 1.531 MB / 7.9 GB, free: 82.07 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05381/22.74, allocations: 17.38 MB / 7.917 GB, free: 81.56 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.755e-05/22.74, allocations: 100.9 kB / 7.917 GB, free: 81.56 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.377e-05/22.74, allocations: 1.594 kB / 7.917 GB, free: 81.56 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04601/22.79, allocations: 13.99 MB / 7.931 GB, free: 81.22 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1134/22.9, allocations: 37.45 MB / 7.968 GB, free: 72.97 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.559e-05/22.9, allocations: 2.312 kB / 7.968 GB, free: 72.97 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0157/22.92, allocations: 2.464 MB / 7.97 GB, free: 72.89 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002187/22.92, allocations: 34 kB / 7.97 GB, free: 72.89 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003143/22.92, allocations: 214.9 kB / 7.97 GB, free: 72.85 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001352/22.92, allocations: 38.06 kB / 7.97 GB, free: 72.85 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/22.92, allocations: 5.781 kB / 7.97 GB, free: 72.85 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06763/22.99, allocations: 25.04 MB / 7.995 GB, free: 63.57 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01932/23.01, allocations: 4.426 MB / 7.999 GB, free: 61.3 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009008/23.02, allocations: 68.03 kB / 7.999 GB, free: 61.28 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02388/23.04, allocations: 1.118 MB / 8 GB, free: 61.19 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003406/23.04, allocations: 0.519 MB / 8.001 GB, free: 60.91 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004463/23.05, allocations: 0.5387 MB / 8.001 GB, free: 60.51 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.02859/23.08, allocations: 11.69 MB / 8.013 GB, free: 50.5 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0514/23.13, allocations: 10.33 MB / 8.023 GB, free: 40.23 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 60 (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,solCol.vol[10].dynBal.U,solCol.vol[11].dynBal.U,solCol.vol[12].dynBal.U,solCol.vol[13].dynBal.U,solCol.vol[14].dynBal.U,solCol.vol[15].dynBal.U,solCol.vol[16].dynBal.U,solCol.vol[17].dynBal.U,solCol.vol[18].dynBal.U,solCol.vol[19].dynBal.U,solCol.vol[20].dynBal.U,solCol.vol[21].dynBal.U,solCol.vol[22].dynBal.U,solCol.vol[23].dynBal.U,solCol.vol[24].dynBal.U,solCol.vol[25].dynBal.U,solCol.vol[26].dynBal.U,solCol.vol[27].dynBal.U,solCol.vol[28].dynBal.U,solCol.vol[29].dynBal.U,solCol.vol[30].dynBal.U,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,solCol1.vol[28].dynBal.U,solCol1.vol[29].dynBal.U,solCol1.vol[30].dynBal.U) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 4 (datRea.nextTimeEvent,datRea.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1059): * Single equations (assignments): 1051 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007786/23.14, allocations: 1.517 MB / 8.024 GB, free: 39.49 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.04748/23.18, allocations: 23.99 MB / 8.048 GB, free: 18.07 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.1e-05/23.18, allocations: 21.25 kB / 8.048 GB, free: 18.05 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.01434/23.2, allocations: 6.656 MB / 8.054 GB, free: 12.08 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05133/23.25, allocations: 8.849 MB / 8.063 GB, free: 6.023 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.035/24.29, allocations: 39.14 MB / 8.101 GB, free: 175.3 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03159/24.32, allocations: 15.05 MB / 8.116 GB, free: 174.2 MB / 1.026 GB Notification: Performance of SimCode: time 1.132e-06/24.32, allocations: 0 / 8.116 GB, free: 174.2 MB / 1.026 GB Notification: Performance of Templates: time 1.361/25.68, allocations: 431.1 MB / 8.537 GB, free: 170.9 MB / 1.026 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)