Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging.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.Charging,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Charging",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Charging",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 2.026/2.026, 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.00112/0.00112, allocations: 183.7 kB / 490.8 MB, free: 1.953 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.332/1.332, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.00101/0.00101, allocations: 99.03 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6359/0.637, allocations: 149.1 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.8878, allocations: 143 MB / 1.212 GB, free: 39.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9958/1.884, allocations: 478.5 MB / 1.679 GB, free: 2.582 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/1.884, allocations: 100.8 kB / 1.679 GB, free: 2.531 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.398/3.282, allocations: 492.4 MB / 2.16 GB, free: 40.37 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/3.282, allocations: 12 kB / 2.16 GB, free: 40.36 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002284/3.284, allocations: 365.8 kB / 2.16 GB, free: 40 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00292/3.287, allocations: 1.349 MB / 2.162 GB, free: 38.59 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/3.287, allocations: 97.39 kB / 2.162 GB, free: 38.48 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/3.288, allocations: 51.98 kB / 2.162 GB, free: 38.43 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001537/3.289, allocations: 0.9919 MB / 2.163 GB, free: 37.44 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/3.291, allocations: 1.004 MB / 2.164 GB, free: 36.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/3.291, allocations: 0 / 2.164 GB, free: 36.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.684e-05/3.291, allocations: 4 kB / 2.164 GB, free: 36.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/3.291, allocations: 23.91 kB / 2.164 GB, free: 36.38 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006373/3.297, allocations: 4.973 MB / 2.169 GB, free: 31.22 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007802/3.298, allocations: 0.5651 MB / 2.169 GB, free: 30.65 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005764/3.299, allocations: 498.4 kB / 2.17 GB, free: 30.16 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003783/3.299, allocations: 0.5822 MB / 2.17 GB, free: 29.45 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007181/3.3, allocations: 0.6008 MB / 2.171 GB, free: 28.83 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 2.836e-06/3.3, allocations: 0 / 2.171 GB, free: 28.83 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.002304/3.302, allocations: 1.048 MB / 2.172 GB, free: 27.78 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/3.302, allocations: 119.3 kB / 2.172 GB, free: 27.64 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/3.303, allocations: 0.947 MB / 2.173 GB, free: 26.68 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.287e-05/3.303, allocations: 33.7 kB / 2.173 GB, free: 26.64 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/3.304, allocations: 376.1 kB / 2.173 GB, free: 26.26 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/3.304, allocations: 177.5 kB / 2.173 GB, free: 26.09 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/3.304, allocations: 0 / 2.173 GB, free: 26.09 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.444e-05/3.304, allocations: 326 kB / 2.174 GB, free: 25.76 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005153/3.304, allocations: 433.1 kB / 2.174 GB, free: 25.34 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005819/3.305, allocations: 0.5959 MB / 2.175 GB, free: 24.67 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/3.306, allocations: 475.8 kB / 2.175 GB, free: 24.21 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/3.306, allocations: 7.938 kB / 2.175 GB, free: 24.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002232/3.309, allocations: 1.128 MB / 2.176 GB, free: 23.06 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002202/3.309, allocations: 1.24 MB / 2.177 GB, free: 21.74 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/3.309, allocations: 0 / 2.177 GB, free: 21.74 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/3.309, allocations: 8 kB / 2.177 GB, free: 21.73 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007837/3.31, allocations: 159.7 kB / 2.178 GB, free: 21.57 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/3.31, allocations: 11.94 kB / 2.178 GB, free: 21.56 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/3.311, allocations: 111.4 kB / 2.178 GB, free: 21.45 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/3.311, allocations: 55.95 kB / 2.178 GB, free: 21.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/3.311, allocations: 4 kB / 2.178 GB, free: 21.39 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001998/3.313, allocations: 0.9943 MB / 2.179 GB, free: 20.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/3.313, allocations: 0 / 2.179 GB, free: 20.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.243e-06/3.313, allocations: 8 kB / 2.179 GB, free: 20.39 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007346/3.314, allocations: 164.1 kB / 2.179 GB, free: 20.23 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/3.314, allocations: 11.98 kB / 2.179 GB, free: 20.22 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/3.315, allocations: 103.5 kB / 2.179 GB, free: 20.12 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-05/3.315, allocations: 55.95 kB / 2.179 GB, free: 20.06 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.000216/3.315, allocations: 132.1 kB / 2.179 GB, free: 19.93 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/3.315, allocations: 114.6 kB / 2.179 GB, free: 19.82 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.002001/3.317, allocations: 0.7295 MB / 2.18 GB, free: 19.07 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging could not be translated to FMU