Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.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.WD500,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500") translateModel(BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500") [: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.7983/0.7983, allocations: 141.8 MB / 149.1 MB, free: 1.219 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 186.7 kB / 182 MB, free: 13.34 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.273/1.273, allocations: 221.3 MB / 436 MB, free: 6.172 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.0008987/0.0008986, allocations: 96.97 kB / 0.507 GB, free: 18.97 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001743/0.001743, allocations: 279.2 kB / 0.5885 GB, free: 7.254 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 6.743e-06/6.773e-06, allocations: 0.5938 kB / 0.6759 GB, free: 140.1 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1525, allocations: 82.77 MB / 0.7567 GB, free: 89.62 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.474/3.627, allocations: 1.712 GB / 2.469 GB, free: 8.82 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/3.627, allocations: 91.8 kB / 2.469 GB, free: 8.734 MB / 0.6982 GB Notification: Performance of FrontEnd: time 1.811/5.438, allocations: 410.4 MB / 2.87 GB, free: 138.4 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0004119/5.438, allocations: 167.6 kB / 2.87 GB, free: 138.2 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.02074/5.459, allocations: 6.582 MB / 2.876 GB, free: 132.3 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/5.459, allocations: 12.81 kB / 2.876 GB, free: 132.3 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04664/5.506, allocations: 7.075 MB / 2.883 GB, free: 125.6 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01011/5.516, allocations: 3.68 MB / 2.887 GB, free: 123.5 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004316/5.516, allocations: 272 kB / 2.887 GB, free: 123.3 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003756/5.52, allocations: 468 kB / 2.888 GB, free: 122.8 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02839/5.548, allocations: 10.66 MB / 2.898 GB, free: 116.1 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02948/5.578, allocations: 8.791 MB / 2.907 GB, free: 110.1 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004287/5.578, allocations: 5.438 kB / 2.907 GB, free: 110.1 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004494/5.583, allocations: 7.25 kB / 2.907 GB, free: 110.1 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001841/5.583, allocations: 200 kB / 2.907 GB, free: 109.9 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08057/5.664, allocations: 31.26 MB / 2.937 GB, free: 82.8 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01569/5.68, allocations: 6.802 MB / 2.944 GB, free: 76.01 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008424/5.688, allocations: 3.786 MB / 2.948 GB, free: 72.21 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001848/5.69, allocations: 0.6837 MB / 2.948 GB, free: 71.5 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0117/5.702, allocations: 4.494 MB / 2.953 GB, free: 66.94 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=689): time 1.631e-05/5.702, allocations: 0 / 2.953 GB, free: 66.94 MB / 0.6982 GB Notification: Performance of matching and sorting (n=689): time 0.02902/5.731, allocations: 8.15 MB / 2.961 GB, free: 58.71 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001822/5.731, allocations: 469 kB / 2.961 GB, free: 58.16 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00598/5.737, allocations: 2.099 MB / 2.963 GB, free: 56.05 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.002948/5.74, allocations: 25.7 kB / 2.963 GB, free: 56.02 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002598/5.743, allocations: 2.199 MB / 2.965 GB, free: 53.79 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.004576/5.747, allocations: 2.139 MB / 2.967 GB, free: 51.62 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002559/5.75, allocations: 0 / 2.967 GB, free: 51.62 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0005897/5.75, allocations: 0.5187 MB / 2.968 GB, free: 51.09 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00792/5.758, allocations: 3.011 MB / 2.971 GB, free: 48.08 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008482/5.767, allocations: 3.538 MB / 2.974 GB, free: 44.44 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01138/5.778, allocations: 3.942 MB / 2.978 GB, free: 40.48 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.335e-05/5.778, allocations: 3.906 kB / 2.978 GB, free: 40.48 MB / 0.6982 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.03355/5.812, allocations: 8.477 MB / 2.986 GB, free: 31.95 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/5.812, allocations: 4 kB / 2.986 GB, free: 31.95 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.613e-05/5.812, allocations: 4 kB / 2.986 GB, free: 31.94 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/5.813, allocations: 187 kB / 2.987 GB, free: 31.75 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01573/5.829, allocations: 2.033 MB / 2.989 GB, free: 29.79 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003585/5.833, allocations: 2.934 MB / 2.991 GB, free: 26.64 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01307/5.846, allocations: 0.9789 MB / 2.992 GB, free: 25.65 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003323/5.849, allocations: 311.6 kB / 2.993 GB, free: 25.35 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.005188/5.854, allocations: 189.6 kB / 2.993 GB, free: 25.23 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003626/5.858, allocations: 454.4 kB / 2.993 GB, free: 24.78 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0447/5.903, allocations: 10.53 MB / 3.004 GB, free: 14.31 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.388e-05/5.903, allocations: 72 kB / 3.004 GB, free: 14.24 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.356e-05/5.903, allocations: 0 / 3.004 GB, free: 14.24 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002208/5.903, allocations: 35.86 kB / 3.004 GB, free: 14.21 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05265/5.956, allocations: 18.13 MB / 3.021 GB, free: 12.09 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.615e-05/5.956, allocations: 0 / 3.021 GB, free: 12.09 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01545/5.971, allocations: 1.906 MB / 3.023 GB, free: 10.19 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001276/5.973, allocations: 181.6 kB / 3.023 GB, free: 10 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002918/5.976, allocations: 147.7 kB / 3.024 GB, free: 9.859 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003851/5.98, allocations: 2.97 MB / 3.026 GB, free: 6.664 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/5.98, allocations: 0 / 3.026 GB, free: 6.664 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.4213/6.401, allocations: 8.462 MB / 3.035 GB, free: 185.2 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006688/6.408, allocations: 1.829 MB / 3.037 GB, free: 185.1 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002389/6.41, allocations: 4.469 kB / 3.037 GB, free: 185.1 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01064/6.421, allocations: 0.7252 MB / 3.037 GB, free: 185.1 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001005/6.422, allocations: 363.9 kB / 3.038 GB, free: 185.1 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009187/6.423, allocations: 276 kB / 3.038 GB, free: 185.1 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.003416/6.426, allocations: 1.778 MB / 3.04 GB, free: 184.9 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.009322/6.435, allocations: 1.858 MB / 3.041 GB, free: 184.9 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.003969/6.439, allocations: 1.28 MB / 3.043 GB, free: 184.8 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.02094/6.46, allocations: 7.822 MB / 3.05 GB, free: 184.5 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/6.46, allocations: 0 / 3.05 GB, free: 184.5 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.009625/6.47, allocations: 4.36 MB / 3.055 GB, free: 184.3 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005859/6.476, allocations: 0.5716 MB / 3.055 GB, free: 184.2 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03699/6.513, allocations: 10.57 MB / 3.065 GB, free: 182.1 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0112/6.524, allocations: 4.357 MB / 3.07 GB, free: 181.2 MB / 0.7138 GB Notification: Performance of SimCode: time 2.074e-06/6.524, allocations: 0 / 3.07 GB, free: 181.2 MB / 0.7138 GB Notification: Performance of Templates: time 0.2228/6.747, allocations: 115.8 MB / 3.183 GB, free: 171.1 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.pipe 2>&1)