Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dat.y.1.|TIn.Celsius|dat.y.2.|TOut.T|dat.y.3.|iceTan.m_flow|dat.y.4.|iceTan.SOC",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2") translateModel(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dat.y.1.|TIn.Celsius|dat.y.2.|TOut.T|dat.y.3.|iceTan.m_flow|dat.y.4.|iceTan.SOC",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2") [: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 9.1.1-maint.9.1.x/package.mo): time 2.01/2.01, allocations: 387.2 MB / 394.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 189.2 kB / 487 MB, free: 5.32 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 221.3 MB / 0.7819 GB, free: 1.316 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000886/0.000886, allocations: 88.7 kB / 0.9213 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.344e-06/7.354e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2944, allocations: 142.3 MB / 1.205 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.062/1.356, allocations: 477.8 MB / 1.672 GB, free: 11.33 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/1.357, allocations: 101.8 kB / 1.672 GB, free: 11.28 MB / 1.104 GB Notification: Performance of FrontEnd: time 1.487/2.843, allocations: 490.6 MB / 2.151 GB, free: 9.777 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.000109/2.843, allocations: 28 kB / 2.151 GB, free: 9.75 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.003694/2.847, allocations: 1.877 MB / 2.153 GB, free: 7.812 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/2.847, allocations: 13.03 kB / 2.153 GB, free: 7.801 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/2.849, allocations: 365.8 kB / 2.153 GB, free: 7.441 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/2.851, allocations: 1.353 MB / 2.155 GB, free: 6.035 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/2.851, allocations: 97.39 kB / 2.155 GB, free: 5.926 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/2.852, allocations: 55.89 kB / 2.155 GB, free: 5.871 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001371/2.853, allocations: 0.9919 MB / 2.156 GB, free: 4.879 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/2.854, allocations: 0.9957 MB / 2.157 GB, free: 3.848 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/2.854, allocations: 3.938 kB / 2.157 GB, free: 3.844 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.856e-05/2.854, allocations: 7.984 kB / 2.157 GB, free: 3.836 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.827e-05/2.854, allocations: 20 kB / 2.157 GB, free: 3.816 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5081/3.363, allocations: 4.964 MB / 2.161 GB, free: 365.7 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008516/3.363, allocations: 0.56 MB / 2.162 GB, free: 365.7 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005981/3.364, allocations: 498.6 kB / 2.162 GB, free: 365.7 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004236/3.364, allocations: 0.5904 MB / 2.163 GB, free: 365 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007053/3.365, allocations: 0.5886 MB / 2.164 GB, free: 364.9 MB / 1.135 GB Notification: Performance of pre-optimization done (n=54): time 2.445e-06/3.365, allocations: 3.812 kB / 2.164 GB, free: 364.9 MB / 1.135 GB Notification: Performance of matching and sorting (n=54): time 0.002304/3.368, allocations: 1.058 MB / 2.165 GB, free: 364.9 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/3.368, allocations: 114 kB / 2.165 GB, free: 364.8 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/3.369, allocations: 0.9459 MB / 2.166 GB, free: 364.6 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 8.398e-05/3.369, allocations: 32.42 kB / 2.166 GB, free: 364.6 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/3.369, allocations: 377.8 kB / 2.166 GB, free: 364.5 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/3.369, allocations: 173.4 kB / 2.166 GB, free: 364.4 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-05/3.369, allocations: 0 / 2.166 GB, free: 364.4 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 6.536e-05/3.369, allocations: 327 kB / 2.167 GB, free: 364.1 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004972/3.37, allocations: 429.3 kB / 2.167 GB, free: 364.1 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005812/3.371, allocations: 0.6007 MB / 2.168 GB, free: 363.9 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/3.372, allocations: 478.7 kB / 2.168 GB, free: 363.9 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/3.372, allocations: 3.719 kB / 2.168 GB, free: 363.9 MB / 1.135 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002085/3.374, allocations: 1.124 MB / 2.169 GB, free: 363.8 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002506/3.374, allocations: 1.243 MB / 2.17 GB, free: 362.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/3.374, allocations: 3.875 kB / 2.17 GB, free: 362.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/3.374, allocations: 7.094 kB / 2.17 GB, free: 362.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007561/3.375, allocations: 162.5 kB / 2.171 GB, free: 362.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/3.375, allocations: 11.97 kB / 2.171 GB, free: 362.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009819/3.376, allocations: 115.6 kB / 2.171 GB, free: 362.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/3.376, allocations: 54.98 kB / 2.171 GB, free: 362.5 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 7.063e-06/3.376, allocations: 6.438 kB / 2.171 GB, free: 362.5 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001901/3.378, allocations: 0.987 MB / 2.172 GB, free: 362.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/3.378, allocations: 3.906 kB / 2.172 GB, free: 362.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.354e-06/3.378, allocations: 3.906 kB / 2.172 GB, free: 362.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006972/3.379, allocations: 168.4 kB / 2.172 GB, free: 362.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/3.379, allocations: 10.14 kB / 2.172 GB, free: 362.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000971/3.38, allocations: 106.3 kB / 2.172 GB, free: 362.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.72e-05/3.38, allocations: 53.14 kB / 2.172 GB, free: 362.5 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$PRE.dat.nextTimeEvent,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$PRE.iceTan.tanHeaTra.SOCCalc.charged,iceTan.tanHeaTra.SOCCalc.charged,$PRE.iceTan.tanHeaTra.SOCCalc.discharged,iceTan.tanHeaTra.SOCCalc.discharged,iceTan.tanHeaTra.SOCCalc.suspend,$PRE.iceTan.tanHeaTra.canFreeze.lesHys.y,iceTan.tanHeaTra.canFreeze.lesHys.y,$PRE.iceTan.tanHeaTra.canMelt.greHys.y,iceTan.tanHeaTra.canMelt.greHys.y,dat.nextTimeEvent,$PRE.dat.nextTimeEventScaled,dat.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0002363/3.38, allocations: 129.8 kB / 2.172 GB, free: 362.4 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/3.38, allocations: 111.7 kB / 2.172 GB, free: 362.3 MB / 1.135 GB Error: Too many equations, over-determined system. The model has 61 equation(s) and 60 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/3.382, allocations: 0.7414 MB / 2.173 GB, free: 362.3 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.