Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.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.EN12975NPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels") [: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.643/1.643, allocations: 289.8 MB / 297.1 MB, free: 9.047 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.001142/0.001142, allocations: 173.3 kB / 366.3 MB, free: 11.36 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.543/1.543, allocations: 205.1 MB / 0.6256 GB, free: 11.41 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 88.66 kB / 0.7396 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 8.966e-06/8.996e-06, allocations: 4 kB / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2761, allocations: 116.3 MB / 0.9726 GB, free: 31.76 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.837/6.113, allocations: 2.356 GB / 3.329 GB, free: 343.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/6.114, allocations: 90.7 kB / 3.329 GB, free: 343.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 14.51/20.63, allocations: 4.156 GB / 7.486 GB, free: 116.4 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.003658/20.63, allocations: 0.5641 MB / 7.486 GB, free: 116.3 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: 4481 * Number of variables: 4481 Notification: Performance of Generate backend data structure: time 0.06565/20.7, allocations: 18.01 MB / 7.504 GB, free: 110 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/20.7, allocations: 7.531 kB / 7.504 GB, free: 110 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02678/20.72, allocations: 3.873 MB / 7.507 GB, free: 108.8 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0849/20.81, allocations: 29.13 MB / 7.536 GB, free: 106.4 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00132/20.81, allocations: 0.5253 MB / 7.536 GB, free: 106.4 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008499/20.82, allocations: 0.9722 MB / 7.537 GB, free: 106.4 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05562/20.88, allocations: 19.86 MB / 7.557 GB, free: 106.3 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0816/20.96, allocations: 22.75 MB / 7.579 GB, free: 103.7 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00121/20.96, allocations: 65.06 kB / 7.579 GB, free: 103.6 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008715/20.97, allocations: 37.19 kB / 7.579 GB, free: 103.6 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007854/20.97, allocations: 0.8988 MB / 7.58 GB, free: 103.6 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.216/21.18, allocations: 96.69 MB / 7.674 GB, free: 54.88 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02998/21.21, allocations: 13.79 MB / 7.688 GB, free: 43.24 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01587/21.23, allocations: 7.747 MB / 7.695 GB, free: 36.29 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003236/21.23, allocations: 2.039 MB / 7.697 GB, free: 34.03 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02231/21.26, allocations: 7.709 MB / 7.705 GB, free: 27.93 MB / 1.01 GB Notification: Performance of pre-optimization done (n=1020): time 2.611e-05/21.26, allocations: 0 / 7.705 GB, free: 27.93 MB / 1.01 GB Notification: Performance of matching and sorting (n=1020): time 0.05468/21.31, allocations: 15.17 MB / 7.72 GB, free: 15.32 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001689/21.31, allocations: 423.6 kB / 7.72 GB, free: 14.84 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03809/21.35, allocations: 15.16 MB / 7.735 GB, free: 1.816 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.003899/21.35, allocations: 41.7 kB / 7.735 GB, free: 1.77 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.5265/21.88, allocations: 6.646 MB / 7.741 GB, free: 209.2 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.02145/21.9, allocations: 3.434 MB / 7.745 GB, free: 207.4 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002785/21.9, allocations: 0 / 7.745 GB, free: 207.4 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.00148/21.9, allocations: 0.8327 MB / 7.746 GB, free: 207.1 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01093/21.92, allocations: 6.268 MB / 7.752 GB, free: 207 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01444/21.93, allocations: 9.792 MB / 7.761 GB, free: 203 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03035/21.96, allocations: 10.56 MB / 7.772 GB, free: 202.8 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001647/21.96, allocations: 33.55 kB / 7.772 GB, free: 202.8 MB / 1.01 GB Notification: Performance of matching and sorting (n=1636) (initialization): time 0.06087/22.02, allocations: 19.59 MB / 7.791 GB, free: 201.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.01365/22.04, allocations: 67.82 MB / 7.857 GB, free: 131.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005474/22.04, allocations: 108 kB / 7.857 GB, free: 131.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004207/22.04, allocations: 191.2 kB / 7.857 GB, free: 131.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02022/22.06, allocations: 3.456 MB / 7.861 GB, free: 131.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003641/22.06, allocations: 246.6 kB / 7.861 GB, free: 131.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02792/22.08, allocations: 1.845 MB / 7.863 GB, free: 130.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005491/22.09, allocations: 0.6168 MB / 7.863 GB, free: 130.9 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/22.09, allocations: 3.5 kB / 7.863 GB, free: 130.9 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05447/22.14, allocations: 18.06 MB / 7.881 GB, free: 130.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004053/22.15, allocations: 110 kB / 7.881 GB, free: 130.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001941/22.15, allocations: 192.7 kB / 7.881 GB, free: 130.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01966/22.17, allocations: 3.456 MB / 7.885 GB, free: 130.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003544/22.17, allocations: 243.6 kB / 7.885 GB, free: 130.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02549/22.19, allocations: 1.6 MB / 7.886 GB, free: 130.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005801/22.2, allocations: 0.6128 MB / 7.887 GB, free: 130.1 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 483 * 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 (1636): * Single equations (assignments): 1636 * 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.00846/22.21, allocations: 460.7 kB / 7.887 GB, free: 129.9 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009876/22.22, allocations: 1.529 MB / 7.889 GB, free: 129.1 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06203/22.28, allocations: 17.22 MB / 7.906 GB, free: 128.6 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002399/22.28, allocations: 103.9 kB / 7.906 GB, free: 128.6 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001058/22.28, allocations: 0 / 7.906 GB, free: 128.6 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04689/22.32, allocations: 13.87 MB / 7.919 GB, free: 128.2 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1248/22.45, allocations: 37.27 MB / 7.956 GB, free: 126.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.939e-05/22.45, allocations: 14.12 kB / 7.956 GB, free: 126.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01564/22.47, allocations: 2.428 MB / 7.958 GB, free: 126.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001855/22.47, allocations: 57.53 kB / 7.958 GB, free: 126.3 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002948/22.47, allocations: 230.9 kB / 7.958 GB, free: 126.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.725e-05/22.47, allocations: 54.77 kB / 7.959 GB, free: 126.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-05/22.47, allocations: 25.66 kB / 7.959 GB, free: 126.2 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07001/22.54, allocations: 30.34 MB / 7.988 GB, free: 117.7 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01902/22.56, allocations: 4.432 MB / 7.992 GB, free: 116.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008914/22.57, allocations: 82.12 kB / 7.993 GB, free: 116.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02233/22.59, allocations: 0.9501 MB / 7.993 GB, free: 116.6 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004047/22.59, allocations: 0.5507 MB / 7.994 GB, free: 116.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005605/22.6, allocations: 0.5485 MB / 7.995 GB, free: 116.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.02785/22.63, allocations: 11.66 MB / 8.006 GB, free: 116.2 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.04943/22.68, allocations: 10.3 MB / 8.016 GB, free: 114.4 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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: 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 (1040): * Single equations (assignments): 1034 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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.007233/22.68, allocations: 1.332 MB / 8.017 GB, free: 114.1 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.04856/22.73, allocations: 23.58 MB / 8.04 GB, free: 108 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-05/22.73, allocations: 21.58 kB / 8.04 GB, free: 108 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.01472/22.75, allocations: 6.496 MB / 8.047 GB, free: 105.8 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05315/22.8, allocations: 8.846 MB / 8.055 GB, free: 102.3 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1111/22.91, allocations: 39.27 MB / 8.094 GB, free: 68.03 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0292/22.94, allocations: 14.99 MB / 8.108 GB, free: 56.94 MB / 1.01 GB Notification: Performance of SimCode: time 1.313e-06/22.94, allocations: 0 / 8.108 GB, free: 56.94 MB / 1.01 GB Notification: Performance of Templates: time 1.84/24.78, allocations: 428.2 MB / 8.526 GB, free: 57.23 MB / 1.011 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1)