Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.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.Discharging1,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.Discharging1") translateModel(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1,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.Discharging1") [: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.985/1.985, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.001025/0.001025, allocations: 181.8 kB / 490.8 MB, free: 1.977 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.424/1.424, allocations: 221.3 MB / 0.7863 GB, free: 13.69 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.0009311/0.0009311, allocations: 83.23 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.464e-06/7.484e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3148, allocations: 143 MB / 1.212 GB, free: 40.15 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.049/1.364, allocations: 478.6 MB / 1.679 GB, free: 2.715 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/1.365, allocations: 108.7 kB / 1.679 GB, free: 2.656 MB / 1.089 GB Notification: Performance of FrontEnd: time 1.562/2.927, allocations: 490.6 MB / 2.158 GB, free: 44.35 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000158/2.927, allocations: 35.98 kB / 2.158 GB, free: 44.31 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.004653/2.932, allocations: 1.866 MB / 2.16 GB, free: 42.39 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/2.932, allocations: 12.03 kB / 2.16 GB, free: 42.38 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002304/2.934, allocations: 369.8 kB / 2.16 GB, free: 42.01 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002931/2.937, allocations: 1.346 MB / 2.162 GB, free: 40.61 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/2.937, allocations: 101.4 kB / 2.162 GB, free: 40.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/2.937, allocations: 51.98 kB / 2.162 GB, free: 40.45 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001538/2.939, allocations: 0.9918 MB / 2.163 GB, free: 39.46 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/2.94, allocations: 0.9997 MB / 2.164 GB, free: 38.42 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/2.94, allocations: 7.922 kB / 2.164 GB, free: 38.41 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.673e-05/2.94, allocations: 7.984 kB / 2.164 GB, free: 38.41 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/2.94, allocations: 19.91 kB / 2.164 GB, free: 38.39 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006469/2.947, allocations: 4.973 MB / 2.169 GB, free: 33.23 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000761/2.948, allocations: 0.5613 MB / 2.169 GB, free: 32.66 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005759/2.948, allocations: 498.4 kB / 2.17 GB, free: 32.18 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000377/2.949, allocations: 0.59 MB / 2.17 GB, free: 31.46 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006814/2.949, allocations: 0.5887 MB / 2.171 GB, free: 30.85 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 2.395e-06/2.949, allocations: 0 / 2.171 GB, free: 30.85 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.002179/2.952, allocations: 1.064 MB / 2.172 GB, free: 29.78 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/2.952, allocations: 111.2 kB / 2.172 GB, free: 29.64 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/2.953, allocations: 0.9509 MB / 2.173 GB, free: 28.68 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.838e-05/2.953, allocations: 33.7 kB / 2.173 GB, free: 28.64 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/2.953, allocations: 372.1 kB / 2.173 GB, free: 28.27 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/2.953, allocations: 173.5 kB / 2.173 GB, free: 28.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/2.953, allocations: 0 / 2.173 GB, free: 28.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.307e-05/2.953, allocations: 333.9 kB / 2.174 GB, free: 27.77 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004801/2.954, allocations: 429.2 kB / 2.174 GB, free: 27.35 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005609/2.954, allocations: 0.5958 MB / 2.175 GB, free: 26.68 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/2.955, allocations: 475.8 kB / 2.175 GB, free: 26.21 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/2.955, allocations: 4 kB / 2.175 GB, free: 26.21 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002016/2.957, allocations: 1.131 MB / 2.176 GB, free: 25.07 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002088/2.958, allocations: 1.233 MB / 2.177 GB, free: 23.75 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/2.958, allocations: 0 / 2.177 GB, free: 23.75 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/2.958, allocations: 8 kB / 2.177 GB, free: 23.74 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007443/2.958, allocations: 167.7 kB / 2.178 GB, free: 23.58 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/2.958, allocations: 8 kB / 2.178 GB, free: 23.57 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009485/2.959, allocations: 107.4 kB / 2.178 GB, free: 23.46 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/2.96, allocations: 59.95 kB / 2.178 GB, free: 23.41 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/2.96, allocations: 7.125 kB / 2.178 GB, free: 23.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001853/2.961, allocations: 0.9865 MB / 2.179 GB, free: 22.41 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/2.961, allocations: 0 / 2.179 GB, free: 22.41 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.964e-06/2.961, allocations: 12.34 kB / 2.179 GB, free: 22.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007116/2.962, allocations: 167.7 kB / 2.179 GB, free: 22.24 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/2.962, allocations: 8 kB / 2.179 GB, free: 22.23 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008328/2.963, allocations: 111.5 kB / 2.179 GB, free: 22.12 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.363e-05/2.963, allocations: 55.95 kB / 2.179 GB, free: 22.07 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.0001789/2.963, allocations: 128.1 kB / 2.179 GB, free: 21.94 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/2.963, allocations: 118.6 kB / 2.179 GB, free: 21.82 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.00186/2.965, allocations: 0.7294 MB / 2.18 GB, free: 21.08 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.