Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.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.DataCenterContinuousTimeControl,fileNamePrefix="Buildings_6_0_0_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 loadModel(Buildings): time 4.036/4.036, allocations: 433 MB / 440.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5262/4.562, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/4.797, allocations: 98.72 MB / 0.6283 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.557/11.35, allocations: 2.55 GB / 3.178 GB, free: 100.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004403/11.35, allocations: 97.69 kB / 3.178 GB, free: 100.1 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: 2238 * Number of variables: 2238 Notification: Performance of Generate backend data structure: time 27.02/38.38, allocations: 5.003 GB / 8.181 GB, free: 94.03 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/38.38, allocations: 12.22 kB / 8.181 GB, free: 94.03 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05113/38.43, allocations: 3.94 MB / 8.185 GB, free: 93.28 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07829/38.51, allocations: 15.11 MB / 8.2 GB, free: 92.09 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00101/38.51, allocations: 455.8 kB / 8.2 GB, free: 92.01 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004862/38.51, allocations: 0.5508 MB / 8.201 GB, free: 92 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0368/38.55, allocations: 9.565 MB / 8.21 GB, free: 91.96 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04495/38.59, allocations: 9.905 MB / 8.22 GB, free: 90.96 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005111/38.6, allocations: 19.88 kB / 8.22 GB, free: 90.96 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003372/38.6, allocations: 14.97 kB / 8.22 GB, free: 90.96 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004287/38.6, allocations: 365 kB / 8.22 GB, free: 90.94 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1388/38.74, allocations: 51.14 MB / 8.27 GB, free: 69.11 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02184/38.76, allocations: 6.97 MB / 8.277 GB, free: 68.84 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0129/38.77, allocations: 4.024 MB / 8.281 GB, free: 68.78 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06184/38.83, allocations: 16.67 MB / 8.297 GB, free: 62.92 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0136/38.85, allocations: 3.859 MB / 8.301 GB, free: 62.71 MB / 1.042 GB Notification: Performance of pre-optimization done (n=604): time 1.896e-05/38.85, allocations: 0 / 8.301 GB, free: 62.71 MB / 1.042 GB Notification: Performance of matching and sorting (n=646): time 0.1046/38.95, allocations: 20.04 MB / 8.321 GB, free: 59.62 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/38.95, allocations: 359.5 kB / 8.321 GB, free: 59.27 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02684/38.98, allocations: 7.813 MB / 8.329 GB, free: 58.69 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.002502/38.98, allocations: 47.23 kB / 8.329 GB, free: 58.66 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.007566/38.99, allocations: 3.362 MB / 8.332 GB, free: 57.01 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.007898/39, allocations: 2.11 MB / 8.334 GB, free: 55.6 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00132/39, allocations: 0 / 8.334 GB, free: 55.6 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0007913/39, allocations: 0.5953 MB / 8.335 GB, free: 55.28 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01078/39.01, allocations: 3.13 MB / 8.338 GB, free: 55.27 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01386/39.03, allocations: 5.313 MB / 8.343 GB, free: 52.93 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01896/39.04, allocations: 4.405 MB / 8.347 GB, free: 52.82 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001261/39.04, allocations: 13.5 kB / 8.347 GB, free: 52.82 MB / 1.042 GB Notification: Performance of matching and sorting (n=945) (initialization): time 0.05433/39.1, allocations: 11.46 MB / 8.358 GB, free: 52.02 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.01148/39.11, allocations: 25.75 MB / 8.383 GB, free: 57.61 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002906/39.11, allocations: 45.19 kB / 8.383 GB, free: 57.61 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02481/39.14, allocations: 4.033 MB / 8.387 GB, free: 57.53 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0126/39.15, allocations: 1.332 MB / 8.389 GB, free: 57.53 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03659/39.18, allocations: 13.78 MB / 8.402 GB, free: 52.71 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02195/39.21, allocations: 0.8358 MB / 8.403 GB, free: 52.65 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002944/39.21, allocations: 384.9 kB / 8.403 GB, free: 52.65 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/39.21, allocations: 3.031 kB / 8.403 GB, free: 52.65 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04999/39.26, allocations: 10.16 MB / 8.413 GB, free: 52.42 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002578/39.26, allocations: 44.41 kB / 8.413 GB, free: 52.42 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0251/39.29, allocations: 4.034 MB / 8.417 GB, free: 52.34 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01218/39.3, allocations: 1.294 MB / 8.419 GB, free: 52.34 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04071/39.34, allocations: 15.48 MB / 8.434 GB, free: 46.11 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02137/39.36, allocations: 0.8011 MB / 8.434 GB, free: 46.05 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003356/39.36, allocations: 365.2 kB / 8.435 GB, free: 46.05 MB / 1.073 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: 201 * Number of states: 0 () * Number of discrete variables: 42 ($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.conTim1.tNext,weaData.conTim1.tNext,$PRE.weaData.conTim.tNext,weaData.conTim.tNext,greaterThreshold.y,mCWFlo.u,triAndRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (730): * Single equations (assignments): 716 * 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.005052/39.37, allocations: 309.7 kB / 8.435 GB, free: 45.91 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006042/39.37, allocations: 1.019 MB / 8.436 GB, free: 45.37 MB / 1.073 GB Error: Too many equations, over-determined system. The model has 732 equation(s) and 730 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03911/39.41, allocations: 5.725 MB / 8.442 GB, free: 45.14 MB / 1.073 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl could not be translated to FMU