Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.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.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_9_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_9_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",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.804/1.804, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009461/0.0009461, allocations: 185.3 kB / 487 MB, free: 5.34 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.178/1.178, allocations: 221.3 MB / 0.7819 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008214/0.0008214, allocations: 90.56 kB / 0.9213 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.437/0.4378, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.6287, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.278/3.907, allocations: 2.268 GB / 3.473 GB, free: 8.895 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/3.907, allocations: 87.77 kB / 3.473 GB, free: 8.855 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: 2237 * Number of variables: 2237 Notification: Performance of Generate backend data structure: time 14.82/18.73, allocations: 5.223 GB / 8.697 GB, free: 83.64 MB / 1.37 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/18.73, allocations: 6.938 kB / 8.697 GB, free: 83.64 MB / 1.37 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02346/18.75, allocations: 3.967 MB / 8.701 GB, free: 82.88 MB / 1.37 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03322/18.78, allocations: 15.24 MB / 8.716 GB, free: 81.07 MB / 1.37 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004112/18.78, allocations: 457.2 kB / 8.716 GB, free: 80.98 MB / 1.37 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001838/18.79, allocations: 0.5338 MB / 8.717 GB, free: 80.98 MB / 1.37 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01545/18.8, allocations: 9.493 MB / 8.726 GB, free: 80.94 MB / 1.37 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01518/18.82, allocations: 9.936 MB / 8.736 GB, free: 79.92 MB / 1.37 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001818/18.82, allocations: 25.33 kB / 8.736 GB, free: 79.92 MB / 1.37 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008689/18.82, allocations: 16.69 kB / 8.736 GB, free: 79.92 MB / 1.37 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002188/18.82, allocations: 366.7 kB / 8.736 GB, free: 79.9 MB / 1.37 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07161/18.89, allocations: 52.14 MB / 8.787 GB, free: 57.03 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006847/18.9, allocations: 4.584 MB / 8.791 GB, free: 56.95 MB / 1.37 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005393/18.9, allocations: 4.039 MB / 8.795 GB, free: 56.88 MB / 1.37 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0334/18.94, allocations: 19.34 MB / 8.814 GB, free: 51.42 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005039/18.94, allocations: 3.863 MB / 8.818 GB, free: 51.22 MB / 1.37 GB Notification: Performance of pre-optimization done (n=609): time 7.735e-06/18.94, allocations: 0 / 8.818 GB, free: 51.22 MB / 1.37 GB Notification: Performance of matching and sorting (n=613): time 0.04568/18.99, allocations: 18.45 MB / 8.836 GB, free: 46.86 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/18.99, allocations: 383.1 kB / 8.836 GB, free: 46.48 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01171/19, allocations: 7.89 MB / 8.844 GB, free: 45.89 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.001607/19, allocations: 44.48 kB / 8.844 GB, free: 45.86 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.003372/19, allocations: 3.344 MB / 8.847 GB, free: 44.22 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.005095/19.01, allocations: 1.992 MB / 8.849 GB, free: 42.9 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004507/19.01, allocations: 0 / 8.849 GB, free: 42.9 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.0003478/19.01, allocations: 0.5861 MB / 8.85 GB, free: 42.58 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00402/19.01, allocations: 2.875 MB / 8.853 GB, free: 42.56 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00494/19.02, allocations: 4.987 MB / 8.858 GB, free: 40.27 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007582/19.03, allocations: 4.019 MB / 8.861 GB, free: 40.17 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.789e-05/19.03, allocations: 15.19 kB / 8.861 GB, free: 40.17 MB / 1.37 GB Notification: Performance of matching and sorting (n=913) (initialization): time 0.0188/19.04, allocations: 9.344 MB / 8.871 GB, free: 39.39 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.004445/19.05, allocations: 27.03 MB / 8.897 GB, free: 27.73 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.759e-05/19.05, allocations: 48.16 kB / 8.897 GB, free: 27.73 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002414/19.05, allocations: 0.6169 MB / 8.898 GB, free: 27.68 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00793/19.06, allocations: 1.704 MB / 8.899 GB, free: 27.68 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007162/19.07, allocations: 8.105 MB / 8.907 GB, free: 21.26 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01297/19.08, allocations: 0.8712 MB / 8.908 GB, free: 21.19 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001347/19.08, allocations: 377.3 kB / 8.908 GB, free: 21.19 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 7.354e-06/19.08, allocations: 5 kB / 8.908 GB, free: 21.19 MB / 1.385 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01811/19.1, allocations: 8.053 MB / 8.916 GB, free: 20.96 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001279/19.1, allocations: 49 kB / 8.916 GB, free: 20.96 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002538/19.1, allocations: 0.6277 MB / 8.917 GB, free: 20.92 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00745/19.11, allocations: 1.67 MB / 8.919 GB, free: 20.92 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0095/19.12, allocations: 9.368 MB / 8.928 GB, free: 13.57 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01115/19.13, allocations: 0.8316 MB / 8.929 GB, free: 13.52 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001078/19.13, allocations: 360.4 kB / 8.929 GB, free: 13.52 MB / 1.385 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: 211 * Number of states: 0 () * Number of discrete variables: 59 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,$PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition7,triAndRes.sampleTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$whenCondition1,triAndRes.uniDel1.sampleTrigger,$whenCondition2,triAndRes.sam.sampleTrigger,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$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.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y,EIT.local_reset,EHVAC.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (870): * Single equations (assignments): 858 * 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 4,2 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002125/19.13, allocations: 317 kB / 8.929 GB, free: 13.38 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003142/19.14, allocations: 1.017 MB / 8.93 GB, free: 12.84 MB / 1.385 GB Error: Too many equations, over-determined system. The model has 697 equation(s) and 695 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/19.15, allocations: 5.385 MB / 8.935 GB, free: 12.61 MB / 1.385 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl could not be translated to FMU