Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400") translateModel(BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7046/0.7046, allocations: 141.8 MB / 149.1 MB, free: 14.16 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 183.9 kB / 182 MB, free: 10.67 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 221.3 MB / 436 MB, free: 3.234 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 97.97 kB / 0.507 GB, free: 18.21 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001759/0.001759, allocations: 268 kB / 0.5885 GB, free: 4.66 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.043e-05/1.047e-05, allocations: 1.094 kB / 0.6759 GB, free: 137.5 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1837, allocations: 82.78 MB / 0.7567 GB, free: 84.79 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.745/3.929, allocations: 1.712 GB / 2.469 GB, free: 12.82 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/3.929, allocations: 91.2 kB / 2.469 GB, free: 12.73 MB / 0.6982 GB Notification: Performance of FrontEnd: time 1.821/5.75, allocations: 410.4 MB / 2.87 GB, free: 137.3 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0011/5.752, allocations: 163.8 kB / 2.87 GB, free: 137.1 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.03534/5.787, allocations: 6.592 MB / 2.876 GB, free: 131.3 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/5.787, allocations: 9.281 kB / 2.876 GB, free: 131.3 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05052/5.838, allocations: 7.082 MB / 2.883 GB, free: 124.6 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01068/5.848, allocations: 3.683 MB / 2.887 GB, free: 122.5 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004779/5.849, allocations: 268 kB / 2.887 GB, free: 122.2 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004226/5.853, allocations: 468 kB / 2.888 GB, free: 121.8 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03321/5.886, allocations: 10.65 MB / 2.898 GB, free: 115.1 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.035/5.921, allocations: 8.794 MB / 2.907 GB, free: 109.1 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004157/5.922, allocations: 0 / 2.907 GB, free: 109.1 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004192/5.926, allocations: 4 kB / 2.907 GB, free: 109.1 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000175/5.926, allocations: 203.9 kB / 2.907 GB, free: 108.9 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08553/6.012, allocations: 31.26 MB / 2.937 GB, free: 82.32 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01591/6.028, allocations: 6.804 MB / 2.944 GB, free: 75.54 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008537/6.036, allocations: 3.782 MB / 2.948 GB, free: 71.74 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001836/6.038, allocations: 0.6871 MB / 2.948 GB, free: 71.02 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01309/6.051, allocations: 4.499 MB / 2.953 GB, free: 66.46 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=689): time 1.953e-05/6.051, allocations: 3.938 kB / 2.953 GB, free: 66.46 MB / 0.6982 GB Notification: Performance of matching and sorting (n=689): time 0.0309/6.082, allocations: 8.156 MB / 2.961 GB, free: 58.23 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/6.083, allocations: 463.1 kB / 2.961 GB, free: 57.68 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005409/6.088, allocations: 2.099 MB / 2.963 GB, free: 55.57 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.002539/6.091, allocations: 25.7 kB / 2.963 GB, free: 55.54 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002221/6.093, allocations: 2.195 MB / 2.965 GB, free: 53.31 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.004179/6.097, allocations: 2.139 MB / 2.967 GB, free: 51.14 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0023/6.099, allocations: 4 kB / 2.967 GB, free: 51.14 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0005224/6.1, allocations: 0.5187 MB / 2.968 GB, free: 50.61 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007529/6.107, allocations: 3.018 MB / 2.971 GB, free: 47.59 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008933/6.116, allocations: 3.533 MB / 2.974 GB, free: 43.96 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/6.128, allocations: 3.946 MB / 2.978 GB, free: 39.99 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.416e-05/6.128, allocations: 3.906 kB / 2.978 GB, free: 39.99 MB / 0.6982 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.02951/6.158, allocations: 8.478 MB / 2.986 GB, free: 31.46 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/6.158, allocations: 4 kB / 2.986 GB, free: 31.45 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-05/6.158, allocations: 4 kB / 2.986 GB, free: 31.45 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/6.159, allocations: 181.6 kB / 2.987 GB, free: 31.27 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01588/6.175, allocations: 2.027 MB / 2.989 GB, free: 29.31 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003598/6.179, allocations: 2.93 MB / 2.991 GB, free: 26.15 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01312/6.192, allocations: 0.9711 MB / 2.992 GB, free: 25.18 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004081/6.196, allocations: 315.3 kB / 2.993 GB, free: 24.87 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition2,$whenCondition1,$PRE.weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,$PRE.weaDatTDryBulTDewPoinOpa.conTim.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext,$whenCondition4,$whenCondition3,$PRE.weaDatHHorIR.conTimMin.tNext,weaDatHHorIR.conTimMin.tNext,$PRE.weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (756): * Single equations (assignments): 754 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00605/6.202, allocations: 205.2 kB / 2.993 GB, free: 24.74 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00362/6.206, allocations: 450.4 kB / 2.993 GB, free: 24.29 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0423/6.248, allocations: 10.54 MB / 3.004 GB, free: 13.82 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001132/6.248, allocations: 72 kB / 3.004 GB, free: 13.75 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.417e-05/6.248, allocations: 4 kB / 3.004 GB, free: 13.75 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003035/6.248, allocations: 35.86 kB / 3.004 GB, free: 13.71 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05474/6.303, allocations: 18.11 MB / 3.021 GB, free: 11.62 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.315e-05/6.303, allocations: 3.688 kB / 3.021 GB, free: 11.62 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01586/6.319, allocations: 1.911 MB / 3.023 GB, free: 9.734 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001237/6.32, allocations: 185.5 kB / 3.023 GB, free: 9.547 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002575/6.323, allocations: 147.7 kB / 3.024 GB, free: 9.402 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004074/6.327, allocations: 2.958 MB / 3.026 GB, free: 6.223 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/6.327, allocations: 0 / 3.026 GB, free: 6.223 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3656/6.693, allocations: 8.463 MB / 3.035 GB, free: 187.5 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007752/6.701, allocations: 1.833 MB / 3.037 GB, free: 187.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003881/6.705, allocations: 4.25 kB / 3.037 GB, free: 187.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01201/6.717, allocations: 0.7236 MB / 3.037 GB, free: 187.4 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002074/6.719, allocations: 367.5 kB / 3.038 GB, free: 187.4 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002537/6.721, allocations: 272.3 kB / 3.038 GB, free: 187.4 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.004536/6.726, allocations: 1.78 MB / 3.04 GB, free: 187.3 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.01088/6.737, allocations: 1.86 MB / 3.041 GB, free: 187.3 MB / 0.7138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext,$whenCondition4,$whenCondition3,weaDatHHorIR.conTimMin.tNext,weaDatHHorIR.conTim.tNext) * Number of discrete states: 4 (weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (731): * Single equations (assignments): 725 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004934/6.742, allocations: 1.266 MB / 3.043 GB, free: 187.2 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.01974/6.761, allocations: 7.831 MB / 3.05 GB, free: 186.9 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/6.761, allocations: 0 / 3.05 GB, free: 186.9 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.01171/6.773, allocations: 4.363 MB / 3.055 GB, free: 186.6 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006772/6.78, allocations: 0.5704 MB / 3.055 GB, free: 186.6 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04182/6.822, allocations: 10.57 MB / 3.065 GB, free: 184.4 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01809/6.84, allocations: 4.349 MB / 3.07 GB, free: 183.6 MB / 0.7138 GB Notification: Performance of SimCode: time 1.242e-06/6.84, allocations: 0 / 3.07 GB, free: 183.6 MB / 0.7138 GB Notification: Performance of Templates: time 0.2154/7.055, allocations: 115.8 MB / 3.183 GB, free: 170.2 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.pipe 2>&1)