Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.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.Examples.ChillerPlant.DataCenterContinuousTimeControl,fileNamePrefix="Buildings_9_Buildings_Examples_ChillerPlant_DataCenterContinuousTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.763/1.763, allocations: 387.2 MB / 394.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 185.5 kB / 487 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.145/1.145, allocations: 221.3 MB / 0.7819 GB, free: 6.801 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009084/0.0009085, allocations: 101.1 kB / 0.9213 GB, free: 43.71 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2314/0.2324, allocations: 148.4 MB / 1.066 GB, free: 7.527 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5158/0.7482, allocations: 142.3 MB / 1.205 GB, free: 72.72 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.268/4.016, allocations: 2.27 GB / 3.475 GB, free: 246.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001745/4.016, allocations: 88.55 kB / 3.475 GB, free: 246.6 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: 2246 * Number of variables: 2246 Notification: Performance of Generate backend data structure: time 14.35/18.36, allocations: 5.225 GB / 8.7 GB, free: 69.71 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/18.36, allocations: 11.78 kB / 8.7 GB, free: 69.71 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02374/18.39, allocations: 3.981 MB / 8.704 GB, free: 68.94 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03638/18.42, allocations: 15.33 MB / 8.719 GB, free: 67.11 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004264/18.42, allocations: 444.7 kB / 8.719 GB, free: 67.03 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001854/18.43, allocations: 0.5422 MB / 8.72 GB, free: 67.02 MB / 1.354 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01565/18.44, allocations: 9.536 MB / 8.729 GB, free: 66.98 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01605/18.46, allocations: 9.986 MB / 8.739 GB, free: 65.94 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001848/18.46, allocations: 23.66 kB / 8.739 GB, free: 65.93 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009138/18.46, allocations: 12.28 kB / 8.739 GB, free: 65.93 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002182/18.46, allocations: 374.1 kB / 8.739 GB, free: 65.91 MB / 1.354 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0681/18.53, allocations: 52.47 MB / 8.791 GB, free: 42.35 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007475/18.54, allocations: 4.574 MB / 8.795 GB, free: 42.27 MB / 1.354 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005421/18.54, allocations: 4.047 MB / 8.799 GB, free: 42.19 MB / 1.354 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0341/18.57, allocations: 19.33 MB / 8.818 GB, free: 36.7 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005056/18.58, allocations: 3.841 MB / 8.822 GB, free: 36.5 MB / 1.354 GB Notification: Performance of pre-optimization done (n=604): time 7.494e-06/18.58, allocations: 0 / 8.822 GB, free: 36.5 MB / 1.354 GB Notification: Performance of matching and sorting (n=608): time 0.0424/18.62, allocations: 16.75 MB / 8.838 GB, free: 33.36 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/18.62, allocations: 374.4 kB / 8.838 GB, free: 32.98 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01212/18.63, allocations: 7.951 MB / 8.846 GB, free: 30.09 MB / 1.354 GB Notification: Performance of collectPreVariables (initialization): time 0.001396/18.64, allocations: 41.92 kB / 8.846 GB, free: 30.06 MB / 1.354 GB Notification: Performance of collectInitialEqns (initialization): time 0.003298/18.64, allocations: 3.377 MB / 8.849 GB, free: 27.84 MB / 1.354 GB Notification: Performance of collectInitialBindings (initialization): time 0.004861/18.64, allocations: 1.996 MB / 8.851 GB, free: 26.26 MB / 1.354 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005776/18.64, allocations: 0 / 8.851 GB, free: 26.26 MB / 1.354 GB Notification: Performance of setup shared object (initialization): time 0.0002753/18.65, allocations: 0.5735 MB / 8.852 GB, free: 25.83 MB / 1.354 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004288/18.65, allocations: 2.883 MB / 8.855 GB, free: 24.7 MB / 1.354 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005204/18.65, allocations: 4.988 MB / 8.86 GB, free: 21.04 MB / 1.354 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007791/18.66, allocations: 4.025 MB / 8.864 GB, free: 19.54 MB / 1.354 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.029e-05/18.66, allocations: 12.47 kB / 8.864 GB, free: 19.54 MB / 1.354 GB Notification: Performance of matching and sorting (n=908) (initialization): time 0.0191/18.68, allocations: 9.383 MB / 8.873 GB, free: 16.18 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 0.006376/18.69, allocations: 26.75 MB / 8.899 GB, free: 4.391 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.992e-05/18.69, allocations: 46.41 kB / 8.899 GB, free: 4.391 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002476/18.69, allocations: 0.618 MB / 8.899 GB, free: 4.227 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007944/18.7, allocations: 1.704 MB / 8.901 GB, free: 3.469 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007419/18.71, allocations: 8.099 MB / 8.909 GB, free: 11.25 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01205/18.72, allocations: 0.8639 MB / 8.91 GB, free: 10.6 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001261/18.72, allocations: 376.7 kB / 8.91 GB, free: 10.28 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/18.72, allocations: 7.281 kB / 8.91 GB, free: 10.28 MB / 1.385 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01798/18.74, allocations: 8.095 MB / 8.918 GB, free: 3.25 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.149e-05/18.74, allocations: 44 kB / 8.918 GB, free: 3.207 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002506/18.74, allocations: 0.6367 MB / 8.919 GB, free: 2.684 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007349/18.75, allocations: 1.678 MB / 8.92 GB, free: 1.27 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009507/18.76, allocations: 9.361 MB / 8.93 GB, free: 7.727 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01137/18.77, allocations: 0.8414 MB / 8.93 GB, free: 7.09 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001277/18.77, allocations: 351.5 kB / 8.931 GB, free: 6.789 MB / 1.401 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 208 * 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,2 10,1 4,2 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002126/18.77, allocations: 317.9 kB / 8.931 GB, free: 6.477 MB / 1.401 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002931/18.77, allocations: 1.022 MB / 8.932 GB, free: 5.441 MB / 1.401 GB Error: Too many equations, over-determined system. The model has 695 equation(s) and 693 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01388/18.79, allocations: 5.397 MB / 8.937 GB, free: 1.359 MB / 1.401 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl could not be translated to FMU