Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.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: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging3",fmuType="me",version="2.0",platforms={"static"}) [: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 1.994/1.994, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001092/0.001092, allocations: 177.3 kB / 487 MB, free: 5.383 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.448/1.448, allocations: 221.3 MB / 0.7819 GB, free: 1.445 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.0009353/0.0009353, allocations: 93.94 kB / 0.9213 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5741/0.5751, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.8206, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.028/1.848, allocations: 477.8 MB / 1.672 GB, free: 11.68 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003498/1.849, allocations: 106.9 kB / 1.672 GB, free: 11.62 MB / 1.104 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 1.462/3.311, allocations: 492.4 MB / 2.153 GB, free: 7.965 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/3.311, allocations: 8 kB / 2.153 GB, free: 7.957 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/3.313, allocations: 373.8 kB / 2.153 GB, free: 7.59 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/3.316, allocations: 1.345 MB / 2.155 GB, free: 6.191 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/3.316, allocations: 97.38 kB / 2.155 GB, free: 6.082 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/3.316, allocations: 55.91 kB / 2.155 GB, free: 6.027 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001368/3.317, allocations: 0.9918 MB / 2.156 GB, free: 5.035 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/3.319, allocations: 0.9996 MB / 2.157 GB, free: 4 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/3.319, allocations: 0 / 2.157 GB, free: 4 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.751e-05/3.319, allocations: 4 kB / 2.157 GB, free: 3.996 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/3.319, allocations: 20 kB / 2.157 GB, free: 3.977 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4882/3.807, allocations: 4.966 MB / 2.162 GB, free: 365.9 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009103/3.808, allocations: 0.5538 MB / 2.162 GB, free: 365.9 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006215/3.809, allocations: 0.491 MB / 2.163 GB, free: 365.9 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004249/3.809, allocations: 0.5863 MB / 2.163 GB, free: 365.2 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007535/3.81, allocations: 0.5934 MB / 2.164 GB, free: 365.2 MB / 1.135 GB Notification: Performance of pre-optimization done (n=54): time 2.435e-06/3.81, allocations: 0 / 2.164 GB, free: 365.2 MB / 1.135 GB Notification: Performance of matching and sorting (n=54): time 0.002413/3.812, allocations: 1.059 MB / 2.165 GB, free: 365.1 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/3.812, allocations: 108.3 kB / 2.165 GB, free: 365 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/3.814, allocations: 0.9511 MB / 2.166 GB, free: 364.9 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 9.303e-05/3.814, allocations: 34.8 kB / 2.166 GB, free: 364.8 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/3.814, allocations: 375 kB / 2.166 GB, free: 364.7 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/3.814, allocations: 170.1 kB / 2.166 GB, free: 364.6 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/3.814, allocations: 0 / 2.166 GB, free: 364.6 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 8.055e-05/3.814, allocations: 336.1 kB / 2.167 GB, free: 364.3 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005234/3.815, allocations: 426.6 kB / 2.167 GB, free: 364.3 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006146/3.815, allocations: 0.5962 MB / 2.168 GB, free: 364.1 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/3.817, allocations: 482 kB / 2.168 GB, free: 364.1 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/3.817, allocations: 6.938 kB / 2.168 GB, free: 364.1 MB / 1.135 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0023/3.819, allocations: 1.129 MB / 2.169 GB, free: 364 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002716/3.819, allocations: 1.225 MB / 2.17 GB, free: 362.8 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/3.819, allocations: 7.844 kB / 2.17 GB, free: 362.8 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/3.819, allocations: 9.312 kB / 2.17 GB, free: 362.8 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008031/3.82, allocations: 168.2 kB / 2.171 GB, free: 362.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/3.82, allocations: 17.23 kB / 2.171 GB, free: 362.8 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/3.821, allocations: 110.7 kB / 2.171 GB, free: 362.7 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/3.821, allocations: 54.14 kB / 2.171 GB, free: 362.7 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/3.822, allocations: 3.594 kB / 2.171 GB, free: 362.7 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001977/3.823, allocations: 0.9925 MB / 2.172 GB, free: 362.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/3.824, allocations: 3.812 kB / 2.172 GB, free: 362.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/3.824, allocations: 7.531 kB / 2.172 GB, free: 362.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007136/3.824, allocations: 164.8 kB / 2.172 GB, free: 362.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/3.824, allocations: 10.91 kB / 2.172 GB, free: 362.7 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/3.825, allocations: 105.6 kB / 2.172 GB, free: 362.7 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.209e-05/3.825, allocations: 53.41 kB / 2.172 GB, free: 362.7 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.0002364/3.826, allocations: 135.4 kB / 2.172 GB, free: 362.6 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/3.826, allocations: 114.3 kB / 2.172 GB, free: 362.6 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.001998/3.828, allocations: 0.7294 MB / 2.173 GB, free: 362.5 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3 could not be translated to FMU