Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_6_0_0_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 loadModel(Buildings): time 3.81/3.81, allocations: 433 MB / 440.3 MB, free: 4.836 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5402/4.35, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/4.589, allocations: 98.72 MB / 0.6283 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.314/10.9, allocations: 2.547 GB / 3.176 GB, free: 103.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/10.9, allocations: 93.64 kB / 3.176 GB, free: 103.2 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2228 * Number of variables: 2228 Notification: Performance of Generate backend data structure: time 26.49/37.4, allocations: 5.002 GB / 8.177 GB, free: 48.85 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/37.4, allocations: 11 kB / 8.177 GB, free: 48.85 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04434/37.44, allocations: 3.928 MB / 8.181 GB, free: 47.96 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08355/37.52, allocations: 15.02 MB / 8.196 GB, free: 45.86 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001677/37.53, allocations: 449.8 kB / 8.196 GB, free: 45.77 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006308/37.53, allocations: 0.5556 MB / 8.197 GB, free: 45.76 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03928/37.57, allocations: 9.528 MB / 8.206 GB, free: 45.72 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04905/37.62, allocations: 9.852 MB / 8.216 GB, free: 44.69 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007291/37.62, allocations: 20.86 kB / 8.216 GB, free: 44.68 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004176/37.62, allocations: 13.88 kB / 8.216 GB, free: 44.68 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006328/37.63, allocations: 366.1 kB / 8.216 GB, free: 44.66 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1426/37.77, allocations: 50.78 MB / 8.266 GB, free: 4.074 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02361/37.79, allocations: 6.956 MB / 8.273 GB, free: 13.71 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01406/37.81, allocations: 4.031 MB / 8.277 GB, free: 9.977 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576/39.38, allocations: 16.69 MB / 8.293 GB, free: 75.34 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01332/39.4, allocations: 3.877 MB / 8.297 GB, free: 75.13 MB / 1.073 GB Notification: Performance of pre-optimization done (n=609): time 1.448e-05/39.4, allocations: 0 / 8.297 GB, free: 75.13 MB / 1.073 GB Notification: Performance of matching and sorting (n=651): time 0.1165/39.51, allocations: 21.66 MB / 8.318 GB, free: 72.15 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001883/39.51, allocations: 360.5 kB / 8.318 GB, free: 71.8 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02733/39.54, allocations: 7.758 MB / 8.326 GB, free: 71.25 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.002629/39.54, allocations: 44.95 kB / 8.326 GB, free: 71.22 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.007854/39.55, allocations: 3.334 MB / 8.329 GB, free: 70.07 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.008296/39.56, allocations: 2.112 MB / 8.331 GB, free: 68.96 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001865/39.56, allocations: 0 / 8.331 GB, free: 68.96 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0008937/39.56, allocations: 0.592 MB / 8.332 GB, free: 68.64 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01093/39.57, allocations: 3.123 MB / 8.335 GB, free: 68.63 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01393/39.59, allocations: 5.32 MB / 8.34 GB, free: 66.28 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01842/39.6, allocations: 4.394 MB / 8.344 GB, free: 66.18 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001212/39.61, allocations: 13.16 kB / 8.344 GB, free: 66.18 MB / 1.073 GB Notification: Performance of matching and sorting (n=950) (initialization): time 0.05036/39.66, allocations: 11.29 MB / 8.355 GB, free: 65.39 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.00598/39.66, allocations: 26.03 MB / 8.381 GB, free: 38.6 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003058/39.66, allocations: 46.62 kB / 8.381 GB, free: 38.6 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02496/39.69, allocations: 4.05 MB / 8.385 GB, free: 38.5 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01238/39.7, allocations: 1.314 MB / 8.386 GB, free: 38.5 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03623/39.74, allocations: 13.79 MB / 8.399 GB, free: 33.7 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02392/39.76, allocations: 0.8436 MB / 8.4 GB, free: 33.66 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002917/39.76, allocations: 380.7 kB / 8.401 GB, free: 33.66 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/39.76, allocations: 4.062 kB / 8.401 GB, free: 33.66 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07586/39.84, allocations: 11.08 MB / 8.411 GB, free: 33.43 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002712/39.84, allocations: 43.94 kB / 8.411 GB, free: 33.43 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02469/39.86, allocations: 4.042 MB / 8.415 GB, free: 33.34 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01179/39.88, allocations: 1.292 MB / 8.417 GB, free: 33.34 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03679/39.91, allocations: 15.47 MB / 8.432 GB, free: 27.12 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02129/39.93, allocations: 0.808 MB / 8.433 GB, free: 27.09 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003053/39.94, allocations: 368.9 kB / 8.433 GB, free: 27.09 MB / 1.073 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cooCoi.ele[3].con2.dT:VARIABLE(min = -200.0 unit = "K" protected = true ) "= solid.T - fluid.T" type: Real [4] cooCoi.ele[1].con1.dT:VARIABLE(min = -200.0 unit = "K" protected = true ) "= solid.T - fluid.T" type: Real [4] 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: 204 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,$PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition7,triAndRes.sampleTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$whenCondition5,triAndRes.sam.sampleTrigger,$whenCondition6,triAndRes.uniDel1.sampleTrigger,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.conTim1.tNext,weaData.conTim1.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (735): * Single equations (assignments): 721 * Array equations: 4 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {20 157,4 16,1 2,2 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005015/39.94, allocations: 312.5 kB / 8.433 GB, free: 26.98 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005603/39.95, allocations: 1.015 MB / 8.434 GB, free: 26.45 MB / 1.073 GB Error: Too many equations, over-determined system. The model has 734 equation(s) and 732 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03014/39.98, allocations: 5.712 MB / 8.44 GB, free: 26.23 MB / 1.073 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl could not be translated to FMU