Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging.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.Charging,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.Charging") translateModel(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging,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.Charging") [: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.994/1.994, 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.00116/0.00116, allocations: 177.3 kB / 490.8 MB, free: 1.895 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.455/1.455, allocations: 221.4 MB / 0.7863 GB, free: 13.63 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.0008841/0.0008842, allocations: 79.81 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.937e-06/8.967e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2979, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.09/1.388, allocations: 478.5 MB / 1.679 GB, free: 2.938 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003433/1.389, allocations: 104.6 kB / 1.679 GB, free: 2.883 MB / 1.089 GB Notification: Performance of FrontEnd: time 1.414/2.803, allocations: 490.5 MB / 2.158 GB, free: 44.77 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000173/2.803, allocations: 32 kB / 2.158 GB, free: 44.73 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.004239/2.807, allocations: 1.87 MB / 2.16 GB, free: 42.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/2.807, allocations: 8.031 kB / 2.16 GB, free: 42.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002335/2.809, allocations: 373.8 kB / 2.16 GB, free: 42.43 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002848/2.812, allocations: 1.342 MB / 2.162 GB, free: 41.04 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/2.812, allocations: 101.4 kB / 2.162 GB, free: 40.92 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/2.813, allocations: 51.98 kB / 2.162 GB, free: 40.87 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001608/2.814, allocations: 0.9919 MB / 2.163 GB, free: 39.88 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/2.816, allocations: 0.9919 MB / 2.164 GB, free: 38.85 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/2.816, allocations: 3.938 kB / 2.164 GB, free: 38.85 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.642e-05/2.816, allocations: 19.91 kB / 2.164 GB, free: 38.83 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/2.816, allocations: 19.91 kB / 2.164 GB, free: 38.81 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006388/2.822, allocations: 4.965 MB / 2.169 GB, free: 33.65 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007754/2.823, allocations: 0.5564 MB / 2.169 GB, free: 33.09 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000577/2.824, allocations: 0.4951 MB / 2.17 GB, free: 32.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003541/2.824, allocations: 0.5822 MB / 2.17 GB, free: 31.89 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006938/2.825, allocations: 0.5965 MB / 2.171 GB, free: 31.27 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 3.817e-06/2.825, allocations: 0 / 2.171 GB, free: 31.27 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.00244/2.827, allocations: 1.056 MB / 2.172 GB, free: 30.21 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/2.827, allocations: 111.2 kB / 2.172 GB, free: 30.07 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/2.829, allocations: 0.9509 MB / 2.173 GB, free: 29.11 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.747e-05/2.829, allocations: 33.7 kB / 2.173 GB, free: 29.07 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/2.829, allocations: 372.1 kB / 2.173 GB, free: 28.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/2.829, allocations: 173.6 kB / 2.173 GB, free: 28.53 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/2.829, allocations: 0 / 2.173 GB, free: 28.53 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.55e-05/2.83, allocations: 326 kB / 2.174 GB, free: 28.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005025/2.83, allocations: 429.2 kB / 2.174 GB, free: 27.79 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005624/2.831, allocations: 0.5958 MB / 2.175 GB, free: 27.12 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/2.832, allocations: 475.8 kB / 2.175 GB, free: 26.65 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/2.832, allocations: 4 kB / 2.175 GB, free: 26.65 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002369/2.834, allocations: 1.131 MB / 2.176 GB, free: 25.51 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002884/2.835, allocations: 1.233 MB / 2.177 GB, free: 24.19 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/2.835, allocations: 7.938 kB / 2.177 GB, free: 24.18 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/2.835, allocations: 8 kB / 2.177 GB, free: 24.18 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000799/2.835, allocations: 167.7 kB / 2.178 GB, free: 24.01 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/2.835, allocations: 8 kB / 2.178 GB, free: 24 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/2.837, allocations: 111.4 kB / 2.178 GB, free: 23.89 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/2.837, allocations: 55.95 kB / 2.178 GB, free: 23.84 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/2.837, allocations: 4 kB / 2.178 GB, free: 23.84 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001995/2.839, allocations: 0.9868 MB / 2.179 GB, free: 22.85 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/2.839, allocations: 4 kB / 2.179 GB, free: 22.84 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/2.839, allocations: 15.88 kB / 2.179 GB, free: 22.83 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007342/2.839, allocations: 163.7 kB / 2.179 GB, free: 22.67 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/2.839, allocations: 4 kB / 2.179 GB, free: 22.66 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/2.841, allocations: 111.6 kB / 2.179 GB, free: 22.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.519e-05/2.841, allocations: 51.95 kB / 2.179 GB, free: 22.5 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.0002154/2.841, allocations: 139.4 kB / 2.179 GB, free: 22.36 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002715/2.841, allocations: 122.6 kB / 2.179 GB, free: 22.24 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.002155/2.843, allocations: 0.7255 MB / 2.18 GB, free: 21.51 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.