Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.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.Discharging1,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.988/1.988, 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.001199/0.001199, allocations: 173.3 kB / 487 MB, free: 5.379 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.412/1.412, allocations: 221.3 MB / 0.7819 GB, free: 1.406 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.001044/0.001044, allocations: 99.94 kB / 0.9213 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6161/0.6172, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.8915, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/1.917, allocations: 477.8 MB / 1.672 GB, free: 11.71 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/1.918, allocations: 103.4 kB / 1.672 GB, free: 11.65 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.52/3.437, allocations: 492.4 MB / 2.153 GB, free: 7.664 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/3.437, allocations: 8 kB / 2.153 GB, free: 7.656 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002391/3.44, allocations: 369.8 kB / 2.153 GB, free: 7.293 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003065/3.443, allocations: 1.353 MB / 2.155 GB, free: 5.887 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/3.443, allocations: 101.4 kB / 2.155 GB, free: 5.773 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/3.443, allocations: 55.89 kB / 2.155 GB, free: 5.719 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001607/3.445, allocations: 0.9919 MB / 2.156 GB, free: 4.727 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/3.446, allocations: 0.9918 MB / 2.157 GB, free: 3.699 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/3.447, allocations: 3.938 kB / 2.157 GB, free: 3.695 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.729e-05/3.447, allocations: 7.984 kB / 2.157 GB, free: 3.688 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/3.447, allocations: 20 kB / 2.157 GB, free: 3.668 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.405/3.852, allocations: 4.961 MB / 2.162 GB, free: 366 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007923/3.852, allocations: 0.5584 MB / 2.162 GB, free: 366 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005653/3.853, allocations: 0.4931 MB / 2.163 GB, free: 366 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003956/3.853, allocations: 0.5867 MB / 2.163 GB, free: 365.4 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007111/3.854, allocations: 0.5939 MB / 2.164 GB, free: 365.3 MB / 1.135 GB Notification: Performance of pre-optimization done (n=54): time 2.595e-06/3.854, allocations: 0 / 2.164 GB, free: 365.3 MB / 1.135 GB Notification: Performance of matching and sorting (n=54): time 0.002171/3.856, allocations: 1.057 MB / 2.165 GB, free: 365.3 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/3.856, allocations: 114.2 kB / 2.165 GB, free: 365.1 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/3.857, allocations: 0.9463 MB / 2.166 GB, free: 365 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 8.116e-05/3.858, allocations: 31.77 kB / 2.166 GB, free: 365 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.000232/3.858, allocations: 377.6 kB / 2.166 GB, free: 364.8 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/3.858, allocations: 170.2 kB / 2.166 GB, free: 364.7 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/3.858, allocations: 1.406 kB / 2.166 GB, free: 364.7 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 5.775e-05/3.858, allocations: 330.7 kB / 2.167 GB, free: 364.4 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005013/3.859, allocations: 426.3 kB / 2.167 GB, free: 364.4 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005605/3.859, allocations: 0.5967 MB / 2.168 GB, free: 364.2 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/3.86, allocations: 482.2 kB / 2.168 GB, free: 364.2 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/3.86, allocations: 0 / 2.168 GB, free: 364.2 MB / 1.135 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002064/3.862, allocations: 1.133 MB / 2.169 GB, free: 364.1 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001957/3.863, allocations: 1.231 MB / 2.17 GB, free: 362.9 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/3.863, allocations: 3 kB / 2.17 GB, free: 362.9 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/3.863, allocations: 11.84 kB / 2.17 GB, free: 362.9 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007636/3.863, allocations: 166.9 kB / 2.171 GB, free: 362.9 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/3.863, allocations: 3.969 kB / 2.171 GB, free: 362.9 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009958/3.864, allocations: 118.8 kB / 2.171 GB, free: 362.9 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/3.865, allocations: 59.45 kB / 2.171 GB, free: 362.9 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 8.305e-06/3.865, allocations: 3.594 kB / 2.171 GB, free: 362.9 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001948/3.867, allocations: 0.993 MB / 2.172 GB, free: 362.9 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/3.867, allocations: 3.75 kB / 2.172 GB, free: 362.9 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/3.867, allocations: 6.438 kB / 2.172 GB, free: 362.9 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000726/3.867, allocations: 159 kB / 2.172 GB, free: 362.9 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/3.867, allocations: 12.53 kB / 2.172 GB, free: 362.9 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008618/3.868, allocations: 109.7 kB / 2.172 GB, free: 362.8 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-05/3.868, allocations: 56.45 kB / 2.172 GB, free: 362.8 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.0002235/3.869, allocations: 125 kB / 2.172 GB, free: 362.7 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/3.869, allocations: 112.5 kB / 2.172 GB, free: 362.7 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.002003/3.871, allocations: 0.7329 MB / 2.173 GB, free: 362.6 MB / 1.135 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