Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.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.Validation.EN12975NPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.457/1.457, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001188/0.001188, allocations: 183.4 kB / 361.1 MB, free: 7.102 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.475/1.475, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0008974/0.0008974, allocations: 85.61 kB / 0.7325 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.313e-06/7.333e-06, allocations: 0 / 0.8511 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6932/0.6932, allocations: 115.3 MB / 0.9637 GB, free: 77.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.68/5.373, allocations: 2.355 GB / 3.319 GB, free: 170.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/5.373, allocations: 95.84 kB / 3.319 GB, free: 170.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 14.88/20.25, allocations: 4.156 GB / 7.476 GB, free: 68.28 MB / 0.9949 GB Notification: Performance of Transformations before backend: time 0.004795/20.26, allocations: 0.5673 MB / 7.476 GB, free: 67.75 MB / 0.9949 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.06486/20.32, allocations: 18.01 MB / 7.494 GB, free: 49.64 MB / 0.9949 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/20.32, allocations: 12.03 kB / 7.494 GB, free: 49.63 MB / 0.9949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02824/20.35, allocations: 3.871 MB / 7.498 GB, free: 45.73 MB / 0.9949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08069/20.43, allocations: 29.14 MB / 7.526 GB, free: 16.66 MB / 0.9949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009627/20.43, allocations: 0.5309 MB / 7.527 GB, free: 16.13 MB / 0.9949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007711/20.44, allocations: 0.9686 MB / 7.528 GB, free: 15.16 MB / 0.9949 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.5251/20.97, allocations: 19.85 MB / 7.547 GB, free: 170 MB / 0.9949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07015/21.04, allocations: 22.75 MB / 7.569 GB, free: 167.5 MB / 0.9949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008932/21.04, allocations: 72.98 kB / 7.569 GB, free: 167.5 MB / 0.9949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006395/21.04, allocations: 40.53 kB / 7.569 GB, free: 167.5 MB / 0.9949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007234/21.04, allocations: 0.8986 MB / 7.57 GB, free: 167.5 MB / 0.9949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1883/21.23, allocations: 96.66 MB / 7.664 GB, free: 132.1 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02554/21.26, allocations: 13.8 MB / 7.678 GB, free: 131.5 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01191/21.27, allocations: 7.742 MB / 7.686 GB, free: 131.3 MB / 0.9949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00258/21.27, allocations: 2.028 MB / 7.688 GB, free: 129.4 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0162/21.29, allocations: 7.721 MB / 7.695 GB, free: 129.2 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=1020): time 2.246e-05/21.29, allocations: 0 / 7.695 GB, free: 129.2 MB / 0.9949 GB Notification: Performance of matching and sorting (n=1020): time 0.04894/21.34, allocations: 15.16 MB / 7.71 GB, free: 128.2 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002137/21.34, allocations: 419.7 kB / 7.71 GB, free: 127.8 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03603/21.37, allocations: 15.17 MB / 7.725 GB, free: 127 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.004035/21.38, allocations: 41.33 kB / 7.725 GB, free: 127 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.01998/21.4, allocations: 6.642 MB / 7.732 GB, free: 124 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.01998/21.42, allocations: 3.439 MB / 7.735 GB, free: 121.7 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002314/21.42, allocations: 0 / 7.735 GB, free: 121.7 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.001112/21.42, allocations: 0.8348 MB / 7.736 GB, free: 121.4 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01087/21.43, allocations: 6.26 MB / 7.742 GB, free: 121.3 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01449/21.45, allocations: 9.797 MB / 7.751 GB, free: 117.3 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03056/21.48, allocations: 10.55 MB / 7.762 GB, free: 117.2 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001907/21.48, allocations: 33.78 kB / 7.762 GB, free: 117.2 MB / 0.9949 GB Notification: Performance of matching and sorting (n=1636) (initialization): time 0.06373/21.54, allocations: 19.6 MB / 7.781 GB, free: 116.1 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.01294/21.55, allocations: 67.83 MB / 7.847 GB, free: 45.76 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003981/21.56, allocations: 108.2 kB / 7.847 GB, free: 45.76 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003654/21.56, allocations: 188 kB / 7.847 GB, free: 45.76 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01949/21.58, allocations: 3.459 MB / 7.851 GB, free: 45.76 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005033/21.58, allocations: 240.1 kB / 7.851 GB, free: 45.76 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02743/21.6, allocations: 1.843 MB / 7.853 GB, free: 45.05 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006052/21.61, allocations: 0.6155 MB / 7.853 GB, free: 45.05 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/21.61, allocations: 4.094 kB / 7.853 GB, free: 45.05 MB / 0.9949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06028/21.67, allocations: 18.06 MB / 7.871 GB, free: 44.43 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000519/21.67, allocations: 109.4 kB / 7.871 GB, free: 44.43 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003444/21.67, allocations: 188.6 kB / 7.871 GB, free: 44.43 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02038/21.69, allocations: 3.459 MB / 7.875 GB, free: 44.18 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004487/21.69, allocations: 245.7 kB / 7.875 GB, free: 44.14 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02474/21.72, allocations: 1.597 MB / 7.877 GB, free: 43.58 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004734/21.72, allocations: 0.6168 MB / 7.877 GB, free: 43.48 MB / 0.9949 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.008505/21.73, allocations: 462.8 kB / 7.878 GB, free: 43.08 MB / 0.9949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008738/21.74, allocations: 1.521 MB / 7.879 GB, free: 42.3 MB / 0.9949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05919/21.8, allocations: 17.22 MB / 7.896 GB, free: 37.17 MB / 0.9949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001197/21.8, allocations: 102.3 kB / 7.896 GB, free: 37.17 MB / 0.9949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.164e-05/21.8, allocations: 1.062 kB / 7.896 GB, free: 37.17 MB / 0.9949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04282/21.84, allocations: 13.87 MB / 7.91 GB, free: 33.13 MB / 0.9949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1015/21.94, allocations: 37.28 MB / 7.946 GB, free: 12.13 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.199e-05/21.94, allocations: 19.47 kB / 7.946 GB, free: 12.11 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01489/21.96, allocations: 2.424 MB / 7.948 GB, free: 10.21 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000148/21.96, allocations: 55.61 kB / 7.948 GB, free: 10.16 MB / 0.9949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002055/21.96, allocations: 230.7 kB / 7.949 GB, free: 10 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.756e-05/21.96, allocations: 59.41 kB / 7.949 GB, free: 9.949 MB / 0.9949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.636e-05/21.96, allocations: 29.78 kB / 7.949 GB, free: 9.922 MB / 0.9949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.4898/22.45, allocations: 30.33 MB / 7.978 GB, free: 160.9 MB / 0.9949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01667/22.47, allocations: 4.429 MB / 7.983 GB, free: 160.8 MB / 0.9949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008966/22.47, allocations: 85.23 kB / 7.983 GB, free: 160.8 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02207/22.5, allocations: 0.9488 MB / 7.984 GB, free: 160.8 MB / 0.9949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003263/22.5, allocations: 0.5541 MB / 7.984 GB, free: 160.8 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00338/22.5, allocations: 0.5441 MB / 7.985 GB, free: 160.8 MB / 0.9949 GB Notification: Performance of sort global known variables: time 0.02662/22.53, allocations: 11.67 MB / 7.996 GB, free: 160.4 MB / 0.9949 GB Notification: Performance of remove unused functions: time 0.04908/22.58, allocations: 10.29 MB / 8.006 GB, free: 159.5 MB / 0.9949 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.007783/22.59, allocations: 1.332 MB / 8.007 GB, free: 159.4 MB / 0.9949 GB Notification: Performance of simCode: created initialization part: time 0.04311/22.63, allocations: 23.59 MB / 8.03 GB, free: 159.1 MB / 0.9949 GB Notification: Performance of simCode: created event and clocks part: time 4.711e-05/22.63, allocations: 20.77 kB / 8.031 GB, free: 159.1 MB / 0.9949 GB Notification: Performance of simCode: created simulation system equations: time 0.01263/22.64, allocations: 6.495 MB / 8.037 GB, free: 159.1 MB / 0.9949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05032/22.69, allocations: 8.854 MB / 8.046 GB, free: 158.9 MB / 0.9949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1016/22.8, allocations: 39.27 MB / 8.084 GB, free: 152.2 MB / 0.9949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03603/22.83, allocations: 14.98 MB / 8.098 GB, free: 150.8 MB / 0.9949 GB Notification: Performance of SimCode: time 2.384e-06/22.83, allocations: 0 / 8.098 GB, free: 150.8 MB / 0.9949 GB Notification: Performance of Templates: time 1.28/24.11, allocations: 428.2 MB / 8.517 GB, free: 130.7 MB / 0.9949 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1)