Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") [: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 8.1.4-maint.8.1.x/package.mo): time 1.344/1.344, allocations: 289.8 MB / 297.1 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009761/0.0009762, allocations: 185.2 kB / 366.3 MB, free: 1.973 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.033/1.033, allocations: 205.2 MB / 0.6256 GB, free: 5.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000797/0.0007966, allocations: 87.22 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.039e-06/5.06e-06, allocations: 0 / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3971, allocations: 116.3 MB / 0.9725 GB, free: 68.75 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.131/3.529, allocations: 2.44 GB / 3.413 GB, free: 5.898 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/3.529, allocations: 92.64 kB / 3.413 GB, free: 5.809 MB / 0.948 GB Notification: Performance of FrontEnd: time 13.59/17.12, allocations: 5.148 GB / 8.561 GB, free: 6.352 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.001893/17.12, allocations: 323.7 kB / 8.561 GB, free: 6.035 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.03313/17.15, allocations: 11.72 MB / 8.573 GB, free: 10.19 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/17.15, allocations: 11.97 kB / 8.573 GB, free: 10.18 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02392/17.18, allocations: 3.686 MB / 8.576 GB, free: 6.473 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4852/17.66, allocations: 15.05 MB / 8.591 GB, free: 124.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004065/17.66, allocations: 449.2 kB / 8.591 GB, free: 124.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001754/17.66, allocations: 0.5499 MB / 8.592 GB, free: 124.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01464/17.68, allocations: 9.463 MB / 8.601 GB, free: 124.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01412/17.69, allocations: 9.938 MB / 8.611 GB, free: 123.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001733/17.69, allocations: 20.69 kB / 8.611 GB, free: 123.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008201/17.69, allocations: 12.62 kB / 8.611 GB, free: 123.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002114/17.69, allocations: 372.8 kB / 8.611 GB, free: 123.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06512/17.76, allocations: 51.49 MB / 8.662 GB, free: 101.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009756/17.77, allocations: 6.972 MB / 8.668 GB, free: 100.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005167/17.77, allocations: 3.985 MB / 8.672 GB, free: 100.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02661/17.8, allocations: 16.37 MB / 8.688 GB, free: 95.42 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005261/17.81, allocations: 3.826 MB / 8.692 GB, free: 95.22 MB / 1.167 GB Notification: Performance of pre-optimization done (n=603): time 7.784e-06/17.81, allocations: 0 / 8.692 GB, free: 95.22 MB / 1.167 GB Notification: Performance of matching and sorting (n=607): time 0.0399/17.85, allocations: 16.67 MB / 8.708 GB, free: 92.19 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.144e-05/17.85, allocations: 377 kB / 8.709 GB, free: 91.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01422/17.86, allocations: 7.873 MB / 8.716 GB, free: 91.22 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0007229/17.86, allocations: 48.25 kB / 8.716 GB, free: 91.19 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003744/17.87, allocations: 3.378 MB / 8.72 GB, free: 89.52 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004197/17.87, allocations: 1.988 MB / 8.722 GB, free: 88.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004693/17.87, allocations: 0 / 8.722 GB, free: 88.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002824/17.87, allocations: 0.5783 MB / 8.722 GB, free: 87.88 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004122/17.87, allocations: 2.864 MB / 8.725 GB, free: 87.87 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00507/17.88, allocations: 5.07 MB / 8.73 GB, free: 85.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007683/17.89, allocations: 4.032 MB / 8.734 GB, free: 85.39 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-05/17.89, allocations: 11.31 kB / 8.734 GB, free: 85.39 MB / 1.167 GB Notification: Performance of matching and sorting (n=906) (initialization): time 0.01857/17.91, allocations: 9.378 MB / 8.743 GB, free: 84.61 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.003625/17.91, allocations: 26.31 MB / 8.769 GB, free: 57.68 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.927e-05/17.91, allocations: 47.38 kB / 8.769 GB, free: 57.68 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002274/17.91, allocations: 0.6092 MB / 8.769 GB, free: 57.64 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007083/17.92, allocations: 1.719 MB / 8.771 GB, free: 57.64 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005842/17.92, allocations: 8.083 MB / 8.779 GB, free: 51.21 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01055/17.94, allocations: 0.8103 MB / 8.78 GB, free: 51.14 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008653/17.94, allocations: 364.5 kB / 8.78 GB, free: 51.14 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.264e-06/17.94, allocations: 4.219 kB / 8.78 GB, free: 51.14 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0155/17.95, allocations: 8.098 MB / 8.788 GB, free: 50.92 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.925e-05/17.95, allocations: 42.88 kB / 8.788 GB, free: 50.92 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002329/17.95, allocations: 0.6153 MB / 8.789 GB, free: 50.88 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006829/17.96, allocations: 1.698 MB / 8.79 GB, free: 50.88 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007396/17.97, allocations: 9.209 MB / 8.799 GB, free: 43.61 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01024/17.98, allocations: 0.7774 MB / 8.8 GB, free: 43.54 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009151/17.98, allocations: 359.5 kB / 8.8 GB, free: 43.54 MB / 1.167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: wse.Q2_flow:VARIABLE(unit = "W" ) "Heat transferred into the medium 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 44 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.T1.condition,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps,$PRE.chiSwi.hysteresis.y,chiSwi.hysteresis.y,$PRE.weaData.conTimMin.tNext,weaData.conTimMin.tNext,$PRE.weaData.conTim.tNext,weaData.conTim.tNext,greaterThreshold.y,mCWFlo.u,triAndRes.conPID.I.trigger_internal,EIT.local_reset,EHVAC.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (865): * Single equations (assignments): 853 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 5 {1 3,3 9,1 2,2 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001853/17.98, allocations: 318.5 kB / 8.801 GB, free: 43.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002617/17.98, allocations: 1.013 MB / 8.802 GB, free: 42.87 MB / 1.167 GB Error: Too many equations, over-determined system. The model has 698 equation(s) and 696 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/18, allocations: 5.384 MB / 8.807 GB, free: 42.64 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.