Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.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.Discharging2,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.982/1.982, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001138/0.001138, allocations: 181.2 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.423/1.423, allocations: 221.3 MB / 0.7863 GB, free: 13.74 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.001001/0.001001, allocations: 94.8 kB / 0.9264 GB, free: 14.29 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6147/0.6158, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.8752, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.019/1.894, allocations: 478.6 MB / 1.679 GB, free: 2.629 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/1.894, allocations: 106.4 kB / 1.679 GB, free: 2.57 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.451/3.345, allocations: 492.4 MB / 2.16 GB, free: 42.25 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/3.345, allocations: 8 kB / 2.16 GB, free: 42.24 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002539/3.348, allocations: 369.8 kB / 2.16 GB, free: 41.88 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003344/3.351, allocations: 1.353 MB / 2.162 GB, free: 40.47 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/3.351, allocations: 97.38 kB / 2.162 GB, free: 40.36 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002343/3.351, allocations: 52 kB / 2.162 GB, free: 40.31 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001781/3.353, allocations: 0.9918 MB / 2.163 GB, free: 39.32 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/3.355, allocations: 0.9919 MB / 2.164 GB, free: 38.29 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/3.355, allocations: 7.938 kB / 2.164 GB, free: 38.29 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.084e-05/3.355, allocations: 0 / 2.164 GB, free: 38.29 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.005e-05/3.355, allocations: 27.91 kB / 2.164 GB, free: 38.26 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006904/3.362, allocations: 4.979 MB / 2.169 GB, free: 33.09 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007967/3.363, allocations: 0.5612 MB / 2.169 GB, free: 32.52 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005951/3.363, allocations: 0.4906 MB / 2.17 GB, free: 32.03 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003996/3.364, allocations: 0.5822 MB / 2.17 GB, free: 31.32 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007202/3.364, allocations: 0.5965 MB / 2.171 GB, free: 30.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 3.096e-06/3.364, allocations: 0 / 2.171 GB, free: 30.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.002388/3.367, allocations: 1.056 MB / 2.172 GB, free: 29.64 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/3.367, allocations: 111.3 kB / 2.172 GB, free: 29.51 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/3.368, allocations: 0.9432 MB / 2.173 GB, free: 28.55 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.477e-05/3.368, allocations: 37.7 kB / 2.173 GB, free: 28.51 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/3.369, allocations: 376 kB / 2.173 GB, free: 28.13 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/3.369, allocations: 169.6 kB / 2.173 GB, free: 27.96 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/3.369, allocations: 0 / 2.173 GB, free: 27.96 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.143e-05/3.369, allocations: 330 kB / 2.174 GB, free: 27.64 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000514/3.369, allocations: 433.2 kB / 2.174 GB, free: 27.21 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005937/3.37, allocations: 0.5919 MB / 2.175 GB, free: 26.55 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/3.371, allocations: 479.8 kB / 2.175 GB, free: 26.08 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/3.371, allocations: 0 / 2.175 GB, free: 26.08 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002288/3.374, allocations: 1.128 MB / 2.176 GB, free: 24.95 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002441/3.374, allocations: 1.237 MB / 2.178 GB, free: 23.62 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/3.374, allocations: 8 kB / 2.178 GB, free: 23.61 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/3.374, allocations: 7.938 kB / 2.178 GB, free: 23.61 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007807/3.375, allocations: 163.7 kB / 2.178 GB, free: 23.45 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/3.375, allocations: 7.984 kB / 2.178 GB, free: 23.44 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/3.376, allocations: 115.4 kB / 2.178 GB, free: 23.32 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/3.376, allocations: 51.97 kB / 2.178 GB, free: 23.27 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/3.376, allocations: 6.969 kB / 2.178 GB, free: 23.27 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002102/3.378, allocations: 0.9942 MB / 2.179 GB, free: 22.27 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/3.378, allocations: 4 kB / 2.179 GB, free: 22.27 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/3.378, allocations: 4 kB / 2.179 GB, free: 22.27 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007373/3.379, allocations: 168.1 kB / 2.179 GB, free: 22.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/3.379, allocations: 11.92 kB / 2.179 GB, free: 22.09 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/3.38, allocations: 107.5 kB / 2.179 GB, free: 21.98 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/3.38, allocations: 55.97 kB / 2.179 GB, free: 21.93 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.0002585/3.381, allocations: 132.1 kB / 2.179 GB, free: 21.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002821/3.381, allocations: 110.6 kB / 2.179 GB, free: 21.69 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.0022/3.383, allocations: 0.7333 MB / 2.18 GB, free: 20.95 MB / 1.151 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