Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.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.Discharging2,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging2",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 2/2, allocations: 387.2 MB / 394.5 MB, free: 4.512 MB / 306.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 184.5 kB / 487 MB, free: 11.06 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 221.3 MB / 0.7819 GB, free: 3.953 MB / 0.5497 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 104.6 kB / 0.9213 GB, free: 5.031 MB / 0.6903 GB Notification: Performance of FrontEnd - loaded program: time 0.4997/0.5009, allocations: 148.5 MB / 1.066 GB, free: 141 MB / 0.7216 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.7822, allocations: 142.3 MB / 1.205 GB, free: 14.64 MB / 0.7372 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.587/2.37, allocations: 477.8 MB / 1.672 GB, free: 404.1 MB / 1.128 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/2.37, allocations: 103.9 kB / 1.672 GB, free: 404.1 MB / 1.128 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.494/3.864, allocations: 492.4 MB / 2.153 GB, free: 244.9 MB / 1.128 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/3.864, allocations: 9.656 kB / 2.153 GB, free: 244.9 MB / 1.128 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/3.866, allocations: 368 kB / 2.153 GB, free: 244.8 MB / 1.128 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002496/3.869, allocations: 1.343 MB / 2.155 GB, free: 244.5 MB / 1.128 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/3.869, allocations: 107.8 kB / 2.155 GB, free: 244.5 MB / 1.128 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/3.869, allocations: 47.5 kB / 2.155 GB, free: 244.5 MB / 1.128 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001364/3.87, allocations: 0.9934 MB / 2.156 GB, free: 244.4 MB / 1.128 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/3.872, allocations: 0.9959 MB / 2.157 GB, free: 244.3 MB / 1.128 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/3.872, allocations: 0 / 2.157 GB, free: 244.3 MB / 1.128 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.067e-05/3.872, allocations: 7.844 kB / 2.157 GB, free: 244.3 MB / 1.128 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.634e-05/3.872, allocations: 22.69 kB / 2.157 GB, free: 244.3 MB / 1.128 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005817/3.878, allocations: 4.968 MB / 2.162 GB, free: 242.5 MB / 1.128 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000746/3.878, allocations: 0.5595 MB / 2.162 GB, free: 242.5 MB / 1.128 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005765/3.879, allocations: 0.4937 MB / 2.163 GB, free: 242.5 MB / 1.128 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003862/3.879, allocations: 0.5801 MB / 2.163 GB, free: 241.8 MB / 1.128 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007068/3.88, allocations: 0.5898 MB / 2.164 GB, free: 241.7 MB / 1.128 GB Notification: Performance of pre-optimization done (n=54): time 2.716e-06/3.88, allocations: 0 / 2.164 GB, free: 241.7 MB / 1.128 GB Notification: Performance of matching and sorting (n=54): time 0.002167/3.882, allocations: 1.057 MB / 2.165 GB, free: 241.6 MB / 1.128 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/3.882, allocations: 117 kB / 2.165 GB, free: 241.5 MB / 1.128 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/3.883, allocations: 0.9436 MB / 2.166 GB, free: 241.4 MB / 1.128 GB Notification: Performance of collectPreVariables (initialization): time 7.224e-05/3.884, allocations: 36.08 kB / 2.166 GB, free: 241.3 MB / 1.128 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/3.884, allocations: 376.9 kB / 2.166 GB, free: 241.2 MB / 1.128 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/3.884, allocations: 169.7 kB / 2.166 GB, free: 241.1 MB / 1.128 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/3.884, allocations: 0 / 2.166 GB, free: 241.1 MB / 1.128 GB Notification: Performance of setup shared object (initialization): time 8.139e-05/3.884, allocations: 334.1 kB / 2.167 GB, free: 240.8 MB / 1.128 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005029/3.885, allocations: 433.4 kB / 2.167 GB, free: 240.8 MB / 1.128 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005872/3.885, allocations: 0.591 MB / 2.168 GB, free: 240.6 MB / 1.128 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/3.886, allocations: 482 kB / 2.168 GB, free: 240.6 MB / 1.128 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/3.886, allocations: 0 / 2.168 GB, free: 240.6 MB / 1.128 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002084/3.888, allocations: 1.137 MB / 2.169 GB, free: 240.5 MB / 1.128 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002338/3.889, allocations: 1.232 MB / 2.17 GB, free: 239.2 MB / 1.128 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/3.889, allocations: 3.938 kB / 2.17 GB, free: 239.2 MB / 1.128 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/3.889, allocations: 10.91 kB / 2.17 GB, free: 239.2 MB / 1.128 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007543/3.89, allocations: 167.5 kB / 2.171 GB, free: 239.2 MB / 1.128 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/3.89, allocations: 5.75 kB / 2.171 GB, free: 239.2 MB / 1.128 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000929/3.89, allocations: 119.7 kB / 2.171 GB, free: 239.2 MB / 1.128 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.644e-05/3.891, allocations: 50.11 kB / 2.171 GB, free: 239.2 MB / 1.128 GB Notification: Performance of prepare postOptimizeDAE: time 7.183e-06/3.891, allocations: 3.969 kB / 2.171 GB, free: 239.2 MB / 1.128 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001884/3.892, allocations: 0.9909 MB / 2.172 GB, free: 239.2 MB / 1.128 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/3.893, allocations: 7.625 kB / 2.172 GB, free: 239.2 MB / 1.128 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.772e-06/3.893, allocations: 7.469 kB / 2.172 GB, free: 239.2 MB / 1.128 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007081/3.893, allocations: 164.6 kB / 2.172 GB, free: 239.2 MB / 1.128 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/3.893, allocations: 7.812 kB / 2.172 GB, free: 239.2 MB / 1.128 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008541/3.894, allocations: 105 kB / 2.172 GB, free: 239.2 MB / 1.128 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.548e-05/3.894, allocations: 52.69 kB / 2.172 GB, free: 239.2 MB / 1.128 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.000197/3.894, allocations: 132.8 kB / 2.172 GB, free: 239.1 MB / 1.128 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/3.895, allocations: 119.5 kB / 2.172 GB, free: 239 MB / 1.128 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.001857/3.896, allocations: 0.7318 MB / 2.173 GB, free: 239 MB / 1.128 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2 could not be translated to FMU