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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,fileNamePrefix="Buildings_8_Buildings_Examples_ChillerPlant_DataCenterContinuousTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,fileNamePrefix="Buildings_8_Buildings_Examples_ChillerPlant_DataCenterContinuousTimeControl",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 8.1.4-maint.8.1.x/package.mo): time 1.396/1.396, allocations: 289.8 MB / 297 MB, free: 6.621 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.00102/0.00102, allocations: 173.3 kB / 366.3 MB, free: 1.945 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.073/1.073, allocations: 205.1 MB / 0.6256 GB, free: 5.809 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.0008363/0.0008363, allocations: 88.98 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2008/0.2017, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4685/0.6702, allocations: 116.3 MB / 0.9726 GB, free: 68.03 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.935/4.605, allocations: 2.44 GB / 3.413 GB, free: 327.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001711/4.606, allocations: 92.11 kB / 3.413 GB, free: 327.2 MB / 0.948 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 14.09/18.7, allocations: 5.16 GB / 8.573 GB, free: 3.117 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/18.7, allocations: 8 kB / 8.573 GB, free: 3.109 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.9504/19.65, allocations: 3.687 MB / 8.576 GB, free: 122.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03624/19.68, allocations: 15.05 MB / 8.591 GB, free: 121.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004826/19.68, allocations: 447.7 kB / 8.591 GB, free: 121.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002302/19.69, allocations: 0.5456 MB / 8.592 GB, free: 121.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01899/19.71, allocations: 9.469 MB / 8.601 GB, free: 121.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01987/19.73, allocations: 9.939 MB / 8.611 GB, free: 120.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000193/19.73, allocations: 16.72 kB / 8.611 GB, free: 120.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009522/19.73, allocations: 11.97 kB / 8.611 GB, free: 120.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002411/19.73, allocations: 381.3 kB / 8.611 GB, free: 120.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07342/19.8, allocations: 51.51 MB / 8.662 GB, free: 98.27 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01011/19.81, allocations: 6.968 MB / 8.668 GB, free: 97.89 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005058/19.82, allocations: 3.989 MB / 8.672 GB, free: 97.83 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02843/19.84, allocations: 16.35 MB / 8.688 GB, free: 92.39 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005077/19.85, allocations: 3.829 MB / 8.692 GB, free: 92.19 MB / 1.167 GB Notification: Performance of pre-optimization done (n=603): time 7.003e-06/19.85, allocations: 0 / 8.692 GB, free: 92.19 MB / 1.167 GB Notification: Performance of matching and sorting (n=607): time 0.04533/19.89, allocations: 16.66 MB / 8.708 GB, free: 89.16 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/19.89, allocations: 380.7 kB / 8.709 GB, free: 88.77 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01296/19.91, allocations: 7.874 MB / 8.716 GB, free: 88.19 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.00184/19.91, allocations: 46.91 kB / 8.716 GB, free: 88.16 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.004258/19.91, allocations: 3.378 MB / 8.72 GB, free: 86.48 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00537/19.92, allocations: 1.983 MB / 8.722 GB, free: 85.16 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005739/19.92, allocations: 0 / 8.722 GB, free: 85.16 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0003613/19.92, allocations: 0.5741 MB / 8.722 GB, free: 84.84 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004285/19.92, allocations: 2.865 MB / 8.725 GB, free: 84.83 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005351/19.93, allocations: 5.077 MB / 8.73 GB, free: 82.46 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008137/19.94, allocations: 4.025 MB / 8.734 GB, free: 82.35 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.085e-05/19.94, allocations: 15.75 kB / 8.734 GB, free: 82.35 MB / 1.167 GB Notification: Performance of matching and sorting (n=906) (initialization): time 0.02107/19.96, allocations: 9.374 MB / 8.743 GB, free: 81.57 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.003701/19.96, allocations: 26.31 MB / 8.769 GB, free: 54.64 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.575e-05/19.96, allocations: 47.16 kB / 8.769 GB, free: 54.64 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00258/19.97, allocations: 0.6118 MB / 8.769 GB, free: 54.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008839/19.97, allocations: 1.725 MB / 8.771 GB, free: 54.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006298/19.98, allocations: 8.081 MB / 8.779 GB, free: 48.17 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0123/19.99, allocations: 0.8118 MB / 8.78 GB, free: 48.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001713/19.99, allocations: 367.6 kB / 8.78 GB, free: 48.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/19.99, allocations: 4.5 kB / 8.78 GB, free: 48.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0171/20.01, allocations: 8.098 MB / 8.788 GB, free: 47.88 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.308e-05/20.01, allocations: 43.53 kB / 8.788 GB, free: 47.88 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002459/20.01, allocations: 0.6114 MB / 8.789 GB, free: 47.83 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007382/20.02, allocations: 1.696 MB / 8.79 GB, free: 47.83 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0077/20.03, allocations: 9.207 MB / 8.799 GB, free: 40.57 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0129/20.04, allocations: 0.7734 MB / 8.8 GB, free: 40.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00177/20.04, allocations: 355.7 kB / 8.8 GB, free: 40.5 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.001982/20.05, allocations: 323.9 kB / 8.801 GB, free: 40.36 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002782/20.05, allocations: 1.018 MB / 8.802 GB, free: 39.82 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.01376/20.06, allocations: 5.391 MB / 8.807 GB, free: 39.59 MB / 1.167 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl could not be translated to FMU