Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.975/1.975, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.000979/0.0009793, allocations: 182.6 kB / 490.8 MB, free: 1.953 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.336/1.336, allocations: 221.3 MB / 0.7863 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 93.25 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.105e-06/8.125e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2685, allocations: 143 MB / 1.212 GB, free: 40.16 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.332, allocations: 478.6 MB / 1.679 GB, free: 2.805 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/1.332, allocations: 98.22 kB / 1.679 GB, free: 2.754 MB / 1.089 GB Notification: Performance of FrontEnd: time 1.597/2.929, allocations: 490.6 MB / 2.158 GB, free: 24.67 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001927/2.929, allocations: 35.94 kB / 2.158 GB, free: 24.64 MB / 1.151 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.005499/2.934, allocations: 1.862 MB / 2.16 GB, free: 22.71 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/2.935, allocations: 12.02 kB / 2.16 GB, free: 22.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002451/2.937, allocations: 369.8 kB / 2.16 GB, free: 22.34 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003633/2.941, allocations: 1.353 MB / 2.162 GB, free: 20.93 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/2.941, allocations: 97.39 kB / 2.162 GB, free: 20.82 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002695/2.941, allocations: 51.98 kB / 2.162 GB, free: 20.77 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001845/2.943, allocations: 0.9919 MB / 2.163 GB, free: 19.78 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/2.945, allocations: 0.9919 MB / 2.164 GB, free: 18.75 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/2.945, allocations: 3.938 kB / 2.164 GB, free: 18.75 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.841e-05/2.945, allocations: 7.984 kB / 2.164 GB, free: 18.74 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/2.945, allocations: 23.91 kB / 2.164 GB, free: 18.72 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007639/2.953, allocations: 4.984 MB / 2.169 GB, free: 13.55 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000793/2.953, allocations: 0.5612 MB / 2.169 GB, free: 12.98 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006044/2.954, allocations: 0.4906 MB / 2.17 GB, free: 12.49 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004014/2.954, allocations: 0.5822 MB / 2.17 GB, free: 11.78 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007113/2.955, allocations: 0.5892 MB / 2.171 GB, free: 11.17 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 2.625e-06/2.955, allocations: 3.938 kB / 2.171 GB, free: 11.16 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.002448/2.958, allocations: 1.056 MB / 2.172 GB, free: 10.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/2.958, allocations: 111.2 kB / 2.172 GB, free: 9.969 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/2.959, allocations: 0.9549 MB / 2.173 GB, free: 9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.97e-05/2.959, allocations: 33.7 kB / 2.173 GB, free: 8.961 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/2.96, allocations: 372.1 kB / 2.173 GB, free: 8.59 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/2.96, allocations: 169.5 kB / 2.173 GB, free: 8.422 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/2.96, allocations: 0 / 2.173 GB, free: 8.422 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.625e-05/2.96, allocations: 334 kB / 2.174 GB, free: 8.09 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000497/2.96, allocations: 429.2 kB / 2.174 GB, free: 7.672 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005511/2.961, allocations: 0.5958 MB / 2.175 GB, free: 7.004 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/2.962, allocations: 475.8 kB / 2.175 GB, free: 6.539 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/2.962, allocations: 0 / 2.175 GB, free: 6.539 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002267/2.965, allocations: 1.136 MB / 2.176 GB, free: 5.395 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002475/2.965, allocations: 1.233 MB / 2.177 GB, free: 4.074 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/2.965, allocations: 7.938 kB / 2.177 GB, free: 4.066 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/2.965, allocations: 4 kB / 2.177 GB, free: 4.062 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007752/2.966, allocations: 167.7 kB / 2.178 GB, free: 3.898 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/2.966, allocations: 7.938 kB / 2.178 GB, free: 3.891 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/2.967, allocations: 115.4 kB / 2.178 GB, free: 3.777 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.782e-05/2.967, allocations: 51.95 kB / 2.178 GB, free: 3.727 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.05e-06/2.967, allocations: 4 kB / 2.178 GB, free: 3.723 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001909/2.969, allocations: 0.9904 MB / 2.179 GB, free: 2.73 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/2.969, allocations: 4 kB / 2.179 GB, free: 2.727 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.334e-06/2.969, allocations: 4 kB / 2.179 GB, free: 2.723 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007382/2.97, allocations: 168.1 kB / 2.179 GB, free: 2.559 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/2.97, allocations: 8 kB / 2.179 GB, free: 2.551 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/2.971, allocations: 107.5 kB / 2.179 GB, free: 2.445 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9e-05/2.971, allocations: 55.95 kB / 2.179 GB, free: 2.391 MB / 1.151 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.0002183/2.971, allocations: 136.1 kB / 2.179 GB, free: 2.254 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/2.971, allocations: 114.6 kB / 2.179 GB, free: 2.141 MB / 1.151 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.002051/2.973, allocations: 0.7372 MB / 2.18 GB, free: 1.395 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.