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: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging1",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 10.0.0-master/package.mo): time 1.99/1.99, 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.001085/0.001085, allocations: 183.1 kB / 490.8 MB, free: 1.973 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.429/1.429, allocations: 221.3 MB / 0.7863 GB, free: 13.68 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.001103/0.001103, allocations: 86.36 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.5929/0.594, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.8488, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.056/1.904, allocations: 478.6 MB / 1.679 GB, free: 2.742 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/1.905, allocations: 109.2 kB / 1.679 GB, free: 2.684 MB / 1.089 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.463/3.368, allocations: 492.4 MB / 2.16 GB, free: 22.51 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/3.368, allocations: 8 kB / 2.16 GB, free: 22.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/3.37, allocations: 369.8 kB / 2.16 GB, free: 22.14 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002476/3.373, allocations: 1.345 MB / 2.162 GB, free: 20.74 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/3.373, allocations: 101.4 kB / 2.162 GB, free: 20.63 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/3.373, allocations: 52 kB / 2.162 GB, free: 20.58 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001408/3.374, allocations: 0.9918 MB / 2.163 GB, free: 19.59 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/3.376, allocations: 0.9919 MB / 2.164 GB, free: 18.56 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/3.376, allocations: 3.938 kB / 2.164 GB, free: 18.55 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.656e-05/3.376, allocations: 7.984 kB / 2.164 GB, free: 18.55 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/3.376, allocations: 27.89 kB / 2.164 GB, free: 18.52 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005762/3.381, allocations: 4.974 MB / 2.169 GB, free: 13.36 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000738/3.382, allocations: 0.5612 MB / 2.169 GB, free: 12.79 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005691/3.383, allocations: 498.4 kB / 2.17 GB, free: 12.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00039/3.383, allocations: 0.5822 MB / 2.17 GB, free: 11.59 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006665/3.384, allocations: 0.5926 MB / 2.171 GB, free: 10.98 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 2.415e-06/3.384, allocations: 0 / 2.171 GB, free: 10.98 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.002234/3.386, allocations: 1.056 MB / 2.172 GB, free: 9.914 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/3.386, allocations: 119.2 kB / 2.172 GB, free: 9.773 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/3.387, allocations: 0.9432 MB / 2.173 GB, free: 8.816 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.321e-05/3.387, allocations: 37.73 kB / 2.173 GB, free: 8.773 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000216/3.388, allocations: 372.1 kB / 2.173 GB, free: 8.402 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/3.388, allocations: 173.5 kB / 2.173 GB, free: 8.23 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/3.388, allocations: 0 / 2.173 GB, free: 8.23 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.3e-05/3.388, allocations: 330 kB / 2.174 GB, free: 7.902 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004911/3.388, allocations: 433.2 kB / 2.174 GB, free: 7.48 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005486/3.389, allocations: 0.589 MB / 2.175 GB, free: 6.82 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/3.39, allocations: 483.8 kB / 2.175 GB, free: 6.348 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/3.39, allocations: 3.938 kB / 2.175 GB, free: 6.344 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002179/3.392, allocations: 1.128 MB / 2.176 GB, free: 5.207 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002066/3.392, allocations: 1.236 MB / 2.178 GB, free: 3.887 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/3.393, allocations: 4 kB / 2.178 GB, free: 3.883 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/3.393, allocations: 8 kB / 2.178 GB, free: 3.875 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007554/3.393, allocations: 167.7 kB / 2.178 GB, free: 3.711 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/3.393, allocations: 4 kB / 2.178 GB, free: 3.707 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/3.394, allocations: 115.4 kB / 2.178 GB, free: 3.594 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/3.394, allocations: 55.89 kB / 2.178 GB, free: 3.539 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.243e-06/3.394, allocations: 4 kB / 2.178 GB, free: 3.535 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001973/3.396, allocations: 0.9943 MB / 2.179 GB, free: 2.539 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/3.396, allocations: 4 kB / 2.179 GB, free: 2.535 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/3.396, allocations: 4 kB / 2.179 GB, free: 2.531 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000727/3.397, allocations: 160.1 kB / 2.179 GB, free: 2.375 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/3.397, allocations: 12 kB / 2.179 GB, free: 2.363 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/3.398, allocations: 103.5 kB / 2.179 GB, free: 2.262 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-05/3.398, allocations: 55.95 kB / 2.179 GB, free: 2.207 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.0002072/3.399, allocations: 136.1 kB / 2.179 GB, free: 2.07 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/3.399, allocations: 114.6 kB / 2.179 GB, free: 1.957 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.001968/3.401, allocations: 0.7372 MB / 2.18 GB, free: 1.211 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1 could not be translated to FMU