Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterRenewables.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterRenewables,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_ChillerPlant_DataCenterRenewables",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01065/0.01066, allocations: 86.75 kB / 15.04 MB, free: 6.062 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001289/0.001289, allocations: 169.2 kB / 15.92 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.056/2.056, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.5/2.5, allocations: 252.8 MB / 0.511 GB, free: 8.367 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007054/0.0007055, allocations: 18.58 kB / 0.6243 GB, free: 28.29 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2659, allocations: 106.2 MB / 0.7281 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterRenewables): time 1.381/1.647, allocations: 400.1 MB / 1.119 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.169/1.816, allocations: 71.63 MB / 1.189 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01704/1.833, allocations: 321.8 kB / 1.189 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.02463/1.858, allocations: 4.741 MB / 1.194 GB, free: 6.582 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.883/2.741, allocations: 12.66 MB / 1.206 GB, free: 40.8 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.04592/2.787, allocations: 10.58 MB / 1.216 GB, free: 40.32 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.05415/2.841, allocations: 21.24 MB / 1.237 GB, free: 40.27 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04106/2.882, allocations: 15.33 MB / 1.252 GB, free: 38.33 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03222/2.914, allocations: 10.09 MB / 1.262 GB, free: 38.3 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02162/2.936, allocations: 7.526 MB / 1.269 GB, free: 38.27 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.007002/2.943, allocations: 0.6105 MB / 1.27 GB, free: 38.27 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02975/2.973, allocations: 5.537 MB / 1.275 GB, free: 38.27 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.01095/2.984, allocations: 3.389 MB / 1.279 GB, free: 38.27 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.01105/2.995, allocations: 3.513 MB / 1.282 GB, free: 38.23 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.04635/3.041, allocations: 25.66 MB / 1.307 GB, free: 27.88 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/3.041, allocations: 4 kB / 1.307 GB, free: 27.88 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.427e-06/3.041, allocations: 1.5 kB / 1.307 GB, free: 27.88 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001/3.042, allocations: 0 / 1.307 GB, free: 27.88 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2773 * Number of variables: 2773 Notification: Performance of Generate backend data structure: time 0.05863/3.101, allocations: 14.64 MB / 1.321 GB, free: 19.56 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/3.101, allocations: 7.844 kB / 1.321 GB, free: 19.56 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006985/3.108, allocations: 1.424 MB / 1.323 GB, free: 19.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04698/3.155, allocations: 4.588 MB / 1.327 GB, free: 17.28 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04646/3.202, allocations: 14.18 MB / 1.341 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003555/3.205, allocations: 1.54 MB / 1.343 GB, free: 9.102 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006123/3.212, allocations: 1.13 MB / 1.344 GB, free: 8.336 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07177/3.283, allocations: 15.35 MB / 1.359 GB, free: 13.77 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007629/3.284, allocations: 24.19 kB / 1.359 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005679/3.29, allocations: 453.9 kB / 1.359 GB, free: 13.65 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001173/3.291, allocations: 499.1 kB / 1.36 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07238/3.363, allocations: 14.71 MB / 1.374 GB, free: 3.469 MB / 0.9323 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1922/3.556, allocations: 67.43 MB / 1.44 GB, free: 15.76 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06773/3.624, allocations: 12.32 MB / 1.452 GB, free: 7.359 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.09889/3.723, allocations: 22.32 MB / 1.474 GB, free: 7.961 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03518/3.758, allocations: 5.737 MB / 1.479 GB, free: 3.98 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01975/3.778, allocations: 1.725 MB / 1.481 GB, free: 2.441 MB / 1.01 GB Notification: Performance of pre-optimization done (n=747): time 6.147e-05/3.778, allocations: 0 / 1.481 GB, free: 2.441 MB / 1.01 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:265:5-265:157:writable] Error: Derivative of expression "bat.P = if con.multiSwitch1.firstActiveIndex == 0 then con.multiSwitch1.y_default else con.multiSwitch1.expr[con.multiSwitch1.firstActiveIndex]" w.r.t. "time" is non-existent. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Blocks/Math.mo:748:5-748:76:writable] Error: Internal error Differentiate.differentiateEquationTime failed for bat.P = if con.multiSwitch1.firstActiveIndex == 0 then con.multiSwitch1.y_default else con.multiSwitch1.expr[con.multiSwitch1.firstActiveIndex] Error: Internal error - IndexReduction.pantelidesIndexReduction1 failed! Use -d=bltdump to get more information. Error: Internal error - IndexReduction.pantelidesIndexReduction failed! Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed!