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: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.902/1.902, allocations: 390.4 MB / 397.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 178.3 kB / 490.8 MB, free: 11.16 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.384/1.384, allocations: 221.4 MB / 0.7863 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009827/0.0009827, allocations: 93.95 kB / 0.9264 GB, free: 4.496 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3138/0.3148, allocations: 149.2 MB / 1.072 GB, free: 15.44 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7072/1.022, allocations: 143 MB / 1.212 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9726/1.995, allocations: 478.6 MB / 1.679 GB, free: 153.6 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/1.995, allocations: 107.4 kB / 1.679 GB, free: 153.6 MB / 1.026 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.545/3.54, allocations: 492.4 MB / 2.16 GB, free: 206.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/3.54, allocations: 8.5 kB / 2.16 GB, free: 206.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003012/3.543, allocations: 373.7 kB / 2.16 GB, free: 206.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003379/3.546, allocations: 1.342 MB / 2.162 GB, free: 205.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/3.547, allocations: 109.1 kB / 2.162 GB, free: 205.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/3.547, allocations: 51.69 kB / 2.162 GB, free: 205.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00173/3.548, allocations: 0.9894 MB / 2.163 GB, free: 205 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/3.55, allocations: 0.9972 MB / 2.164 GB, free: 204.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/3.55, allocations: 7.719 kB / 2.164 GB, free: 204.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-05/3.55, allocations: 0 / 2.164 GB, free: 204.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-05/3.55, allocations: 18.78 kB / 2.164 GB, free: 204.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00748/3.558, allocations: 4.985 MB / 2.169 GB, free: 200.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009505/3.559, allocations: 0.5561 MB / 2.169 GB, free: 200.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007123/3.559, allocations: 0.4921 MB / 2.17 GB, free: 199.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006055/3.56, allocations: 0.5861 MB / 2.17 GB, free: 199.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008329/3.561, allocations: 0.5952 MB / 2.171 GB, free: 198.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 2.645e-06/3.561, allocations: 0 / 2.171 GB, free: 198.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.002672/3.564, allocations: 1.057 MB / 2.172 GB, free: 198.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/3.564, allocations: 111 kB / 2.172 GB, free: 198.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/3.565, allocations: 0.9548 MB / 2.173 GB, free: 197.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.393e-05/3.565, allocations: 32.64 kB / 2.173 GB, free: 197.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/3.565, allocations: 374.8 kB / 2.173 GB, free: 197.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/3.565, allocations: 169.1 kB / 2.173 GB, free: 197.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/3.566, allocations: 0 / 2.173 GB, free: 197.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.007e-05/3.566, allocations: 329 kB / 2.174 GB, free: 196.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005053/3.566, allocations: 427.2 kB / 2.174 GB, free: 196.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005757/3.567, allocations: 0.5935 MB / 2.175 GB, free: 196.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/3.568, allocations: 480.8 kB / 2.175 GB, free: 195.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/3.568, allocations: 0 / 2.175 GB, free: 195.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00212/3.57, allocations: 1.138 MB / 2.176 GB, free: 195.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002395/3.57, allocations: 1.225 MB / 2.178 GB, free: 193.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/3.57, allocations: 5.812 kB / 2.178 GB, free: 193.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/3.57, allocations: 5.469 kB / 2.178 GB, free: 193.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007668/3.571, allocations: 169.7 kB / 2.178 GB, free: 193.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/3.571, allocations: 5.875 kB / 2.178 GB, free: 193.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000996/3.572, allocations: 117.1 kB / 2.178 GB, free: 193.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/3.572, allocations: 55.7 kB / 2.178 GB, free: 193.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.233e-06/3.572, allocations: 6.469 kB / 2.178 GB, free: 193.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001963/3.574, allocations: 0.9893 MB / 2.179 GB, free: 193.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/3.574, allocations: 2.656 kB / 2.179 GB, free: 193.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.293e-06/3.574, allocations: 5.875 kB / 2.179 GB, free: 193.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007214/3.575, allocations: 165.8 kB / 2.179 GB, free: 193.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/3.575, allocations: 13.42 kB / 2.179 GB, free: 193.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008923/3.576, allocations: 102.5 kB / 2.179 GB, free: 193.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.332e-05/3.576, allocations: 50.66 kB / 2.179 GB, free: 193.1 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.0002088/3.576, allocations: 139 kB / 2.179 GB, free: 193 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/3.576, allocations: 115.1 kB / 2.179 GB, free: 192.9 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.001916/3.578, allocations: 0.731 MB / 2.18 GB, free: 192.5 MB / 1.151 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