Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.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.Discharging3,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.Discharging3") translateModel(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3,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.Discharging3") [: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 2.043/2.043, allocations: 390.4 MB / 397.7 MB, free: 11.2 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.001011/0.001011, allocations: 169.3 kB / 490.8 MB, free: 1.926 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.355/1.355, allocations: 221.4 MB / 0.7863 GB, free: 13.71 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.001203/0.001203, allocations: 94.61 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.826e-06/8.846e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2767, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.072/1.349, allocations: 478.6 MB / 1.679 GB, free: 2.957 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/1.349, allocations: 99.38 kB / 1.679 GB, free: 2.906 MB / 1.089 GB Notification: Performance of FrontEnd: time 1.614/2.964, allocations: 490.6 MB / 2.158 GB, free: 24.56 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001983/2.964, allocations: 32 kB / 2.158 GB, free: 24.53 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.005629/2.97, allocations: 1.866 MB / 2.16 GB, free: 22.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/2.97, allocations: 12.03 kB / 2.16 GB, free: 22.59 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002547/2.972, allocations: 369.8 kB / 2.16 GB, free: 22.23 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003722/2.976, allocations: 1.346 MB / 2.162 GB, free: 20.83 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/2.976, allocations: 101.4 kB / 2.162 GB, free: 20.71 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002896/2.976, allocations: 51.98 kB / 2.162 GB, free: 20.66 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00186/2.978, allocations: 0.9918 MB / 2.163 GB, free: 19.67 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/2.98, allocations: 0.9958 MB / 2.164 GB, free: 18.64 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/2.98, allocations: 0 / 2.164 GB, free: 18.64 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.252e-05/2.98, allocations: 7.984 kB / 2.164 GB, free: 18.63 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/2.98, allocations: 27.84 kB / 2.164 GB, free: 18.61 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006895/2.987, allocations: 4.966 MB / 2.169 GB, free: 13.45 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007938/2.988, allocations: 0.5692 MB / 2.169 GB, free: 12.88 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005694/2.988, allocations: 498.4 kB / 2.17 GB, free: 12.39 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004227/2.989, allocations: 0.5861 MB / 2.17 GB, free: 11.67 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007012/2.99, allocations: 0.5926 MB / 2.171 GB, free: 11.06 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 3.326e-06/2.99, allocations: 0 / 2.171 GB, free: 11.06 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.00232/2.992, allocations: 1.052 MB / 2.172 GB, free: 10 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/2.992, allocations: 123.3 kB / 2.172 GB, free: 9.855 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/2.993, allocations: 0.947 MB / 2.173 GB, free: 8.895 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.725e-05/2.993, allocations: 33.7 kB / 2.173 GB, free: 8.855 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000226/2.993, allocations: 372.1 kB / 2.173 GB, free: 8.484 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/2.994, allocations: 169.6 kB / 2.173 GB, free: 8.316 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/2.994, allocations: 3.938 kB / 2.173 GB, free: 8.312 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.79e-05/2.994, allocations: 333.9 kB / 2.174 GB, free: 7.98 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004885/2.994, allocations: 425.2 kB / 2.174 GB, free: 7.566 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005647/2.995, allocations: 0.6036 MB / 2.175 GB, free: 6.891 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/2.996, allocations: 471.8 kB / 2.175 GB, free: 6.43 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/2.996, allocations: 4 kB / 2.175 GB, free: 6.426 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002055/2.998, allocations: 1.131 MB / 2.176 GB, free: 5.285 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002389/2.998, allocations: 1.233 MB / 2.177 GB, free: 3.965 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/2.998, allocations: 3.984 kB / 2.177 GB, free: 3.961 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/2.998, allocations: 8 kB / 2.177 GB, free: 3.953 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007526/2.999, allocations: 159.7 kB / 2.178 GB, free: 3.797 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/2.999, allocations: 8 kB / 2.178 GB, free: 3.789 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/3, allocations: 111.4 kB / 2.178 GB, free: 3.68 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/3, allocations: 55.95 kB / 2.178 GB, free: 3.625 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.222e-06/3, allocations: 4 kB / 2.178 GB, free: 3.621 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001896/3.002, allocations: 0.9943 MB / 2.179 GB, free: 2.625 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/3.002, allocations: 4 kB / 2.179 GB, free: 2.621 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/3.002, allocations: 8 kB / 2.179 GB, free: 2.613 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007105/3.003, allocations: 168.1 kB / 2.179 GB, free: 2.449 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/3.003, allocations: 8 kB / 2.179 GB, free: 2.441 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000918/3.004, allocations: 107.5 kB / 2.179 GB, free: 2.336 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.014e-05/3.004, allocations: 55.95 kB / 2.179 GB, free: 2.281 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.0002179/3.004, allocations: 128.1 kB / 2.179 GB, free: 2.152 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/3.004, allocations: 118.6 kB / 2.179 GB, free: 2.035 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.001977/3.006, allocations: 0.7295 MB / 2.18 GB, free: 1.297 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.