Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.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.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.504/1.504, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001068/0.001068, allocations: 185.3 kB / 361.1 MB, free: 7.09 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.458/1.458, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0009143/0.0009141, allocations: 88 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.387e-06/9.407e-06, allocations: 4 kB / 0.8511 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6114/0.6115, allocations: 115.3 MB / 0.9637 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.731/5.342, allocations: 2.359 GB / 3.322 GB, free: 167.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/5.343, allocations: 92.61 kB / 3.322 GB, free: 167.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 15.22/20.56, allocations: 4.16 GB / 7.482 GB, free: 51.8 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.004477/20.57, allocations: 0.5639 MB / 7.483 GB, free: 51.25 MB / 0.9948 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.0722/20.64, allocations: 18.19 MB / 7.501 GB, free: 32.94 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/20.64, allocations: 8.031 kB / 7.501 GB, free: 32.93 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03254/20.67, allocations: 4.129 MB / 7.505 GB, free: 28.77 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5599/21.23, allocations: 29.27 MB / 7.533 GB, free: 175.8 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001205/21.23, allocations: 0.5376 MB / 7.534 GB, free: 175.8 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007796/21.24, allocations: 0.9713 MB / 7.535 GB, free: 175.8 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05039/21.29, allocations: 20.07 MB / 7.554 GB, free: 175.7 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07215/21.36, allocations: 22.8 MB / 7.576 GB, free: 173.2 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001278/21.37, allocations: 70.61 kB / 7.577 GB, free: 173.2 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0089/21.37, allocations: 35.53 kB / 7.577 GB, free: 173.2 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001057/21.38, allocations: 0.9012 MB / 7.577 GB, free: 173.1 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2013/21.58, allocations: 96.69 MB / 7.672 GB, free: 137.8 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0295/21.61, allocations: 13.78 MB / 7.685 GB, free: 137.2 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01491/21.62, allocations: 7.826 MB / 7.693 GB, free: 137.1 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00325/21.62, allocations: 2.037 MB / 7.695 GB, free: 135.1 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02232/21.65, allocations: 7.332 MB / 7.702 GB, free: 134.9 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=1035): time 2.329e-05/21.65, allocations: 0 / 7.702 GB, free: 134.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1035): time 0.05605/21.7, allocations: 15.29 MB / 7.717 GB, free: 133.8 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000214/21.7, allocations: 419.2 kB / 7.717 GB, free: 133.4 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04165/21.75, allocations: 15.2 MB / 7.732 GB, free: 132.6 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.004129/21.75, allocations: 46.08 kB / 7.732 GB, free: 132.6 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.02334/21.77, allocations: 6.652 MB / 7.739 GB, free: 129.6 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.02196/21.8, allocations: 3.48 MB / 7.742 GB, free: 127.3 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003635/21.8, allocations: 0 / 7.742 GB, free: 127.3 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.002032/21.8, allocations: 0.8364 MB / 7.743 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01427/21.82, allocations: 6.314 MB / 7.749 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02037/21.84, allocations: 9.88 MB / 7.759 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04459/21.88, allocations: 11.69 MB / 7.77 GB, free: 122.7 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003166/21.88, allocations: 30.94 kB / 7.77 GB, free: 122.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.07942/21.96, allocations: 20.84 MB / 7.791 GB, free: 118.7 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.01392/21.97, allocations: 68.12 MB / 7.857 GB, free: 47.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005316/21.97, allocations: 103.6 kB / 7.857 GB, free: 47.44 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004249/21.97, allocations: 188.3 kB / 7.857 GB, free: 47.44 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02078/22, allocations: 3.532 MB / 7.861 GB, free: 47.33 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005281/22, allocations: 242.3 kB / 7.861 GB, free: 47.33 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02412/22.02, allocations: 1.876 MB / 7.863 GB, free: 46.61 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004554/22.03, allocations: 0.6274 MB / 7.864 GB, free: 46.5 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/22.03, allocations: 3.969 kB / 7.864 GB, free: 46.5 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06711/22.09, allocations: 19.29 MB / 7.882 GB, free: 41.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005654/22.09, allocations: 108.5 kB / 7.883 GB, free: 41.25 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004115/22.09, allocations: 194.8 kB / 7.883 GB, free: 41.25 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02036/22.11, allocations: 3.533 MB / 7.886 GB, free: 40.94 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004946/22.11, allocations: 239.5 kB / 7.886 GB, free: 40.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02437/22.14, allocations: 1.643 MB / 7.888 GB, free: 40.34 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004184/22.14, allocations: 0.6272 MB / 7.889 GB, free: 40.23 MB / 0.9948 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.007184/22.15, allocations: 470.4 kB / 7.889 GB, free: 39.83 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008634/22.16, allocations: 1.532 MB / 7.891 GB, free: 39.04 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05631/22.22, allocations: 17.37 MB / 7.908 GB, free: 31.73 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001061/22.22, allocations: 100 kB / 7.908 GB, free: 31.63 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.467e-05/22.22, allocations: 13.69 kB / 7.908 GB, free: 31.62 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03867/22.25, allocations: 13.99 MB / 7.921 GB, free: 20.22 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5785/22.83, allocations: 38.61 MB / 7.959 GB, free: 165.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-05/22.83, allocations: 3.969 kB / 7.959 GB, free: 165.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01478/22.85, allocations: 2.459 MB / 7.961 GB, free: 165.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001832/22.85, allocations: 42.72 kB / 7.961 GB, free: 165.1 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002681/22.85, allocations: 219.3 kB / 7.962 GB, free: 165.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.989e-05/22.85, allocations: 38.34 kB / 7.962 GB, free: 165.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/22.85, allocations: 0 / 7.962 GB, free: 165.1 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06375/22.91, allocations: 25.04 MB / 7.986 GB, free: 163.8 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01888/22.93, allocations: 4.437 MB / 7.991 GB, free: 163.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01017/22.94, allocations: 67.84 kB / 7.991 GB, free: 163.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02322/22.97, allocations: 1.105 MB / 7.992 GB, free: 163.8 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003081/22.97, allocations: 0.5184 MB / 7.992 GB, free: 163.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004079/22.97, allocations: 0.54 MB / 7.993 GB, free: 163.7 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.03025/23, allocations: 11.68 MB / 8.004 GB, free: 163.3 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.05335/23.06, allocations: 10.34 MB / 8.014 GB, free: 162.5 MB / 0.9948 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.007298/23.06, allocations: 1.534 MB / 8.016 GB, free: 162.3 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.04709/23.11, allocations: 23.99 MB / 8.039 GB, free: 162 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.68e-05/23.11, allocations: 20.55 kB / 8.039 GB, free: 162 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01247/23.12, allocations: 6.647 MB / 8.046 GB, free: 162 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05078/23.18, allocations: 8.854 MB / 8.054 GB, free: 161.8 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1073/23.28, allocations: 39.1 MB / 8.092 GB, free: 155.5 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03169/23.31, allocations: 15.06 MB / 8.107 GB, free: 154.1 MB / 0.9948 GB Notification: Performance of SimCode: time 9.32e-07/23.31, allocations: 2.906 kB / 8.107 GB, free: 154.1 MB / 0.9948 GB Notification: Performance of Templates: time 1.592/24.91, allocations: 431.1 MB / 8.528 GB, free: 121.9 MB / 0.9949 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)