Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.DataCenterRenewables.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterRenewables,fileNamePrefix="Buildings_8_Buildings_Examples_ChillerPlant_DataCenterRenewables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterRenewables,fileNamePrefix="Buildings_8_Buildings_Examples_ChillerPlant_DataCenterRenewables",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002832/0.002832, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.185/3.185, allocations: 205.4 MB / 222.1 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.17/3.17, allocations: 292.6 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008762/0.0008766, allocations: 18.09 kB / 0.6736 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4276, allocations: 116.3 MB / 0.7872 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterRenewables): time 1.885/2.313, allocations: 399.7 MB / 1.178 GB, free: 9.082 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1949/2.508, allocations: 71.48 MB / 1.247 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03481/2.543, allocations: 325.8 kB / 1.248 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.03221/2.575, allocations: 4.73 MB / 1.252 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0957/2.671, allocations: 12.64 MB / 1.265 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.06258/2.734, allocations: 10.6 MB / 1.275 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 1.387/4.121, allocations: 21.08 MB / 1.296 GB, free: 42.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0873/4.208, allocations: 15.3 MB / 1.311 GB, free: 40.59 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06213/4.271, allocations: 10.09 MB / 1.32 GB, free: 40.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03673/4.308, allocations: 7.479 MB / 1.328 GB, free: 40.54 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.01045/4.318, allocations: 0.6092 MB / 1.328 GB, free: 40.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04331/4.361, allocations: 5.593 MB / 1.334 GB, free: 40.53 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.01431/4.376, allocations: 3.374 MB / 1.337 GB, free: 40.53 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.01646/4.392, allocations: 3.494 MB / 1.34 GB, free: 40.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.05723/4.45, allocations: 25.63 MB / 1.365 GB, free: 36.8 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/4.45, allocations: 0 / 1.365 GB, free: 36.8 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.947e-06/4.45, allocations: 0 / 1.365 GB, free: 36.8 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.001341/4.451, allocations: 0 / 1.365 GB, free: 36.8 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.08573/4.537, allocations: 14.63 MB / 1.38 GB, free: 28.49 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001075/4.537, allocations: 10.44 kB / 1.38 GB, free: 28.49 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01682/4.554, allocations: 1.415 MB / 1.381 GB, free: 28.13 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04804/4.602, allocations: 4.593 MB / 1.386 GB, free: 26.22 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05419/4.656, allocations: 14.18 MB / 1.399 GB, free: 21.81 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003835/4.66, allocations: 1.545 MB / 1.401 GB, free: 21.13 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00934/4.67, allocations: 1.118 MB / 1.402 GB, free: 21.12 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09453/4.764, allocations: 15.34 MB / 1.417 GB, free: 16.88 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001157/4.766, allocations: 20.81 kB / 1.417 GB, free: 16.88 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007892/4.773, allocations: 458.8 kB / 1.418 GB, free: 16.87 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00104/4.775, allocations: 495.7 kB / 1.418 GB, free: 16.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06449/4.839, allocations: 14.68 MB / 1.432 GB, free: 7.188 MB / 0.9825 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.2423/5.081, allocations: 66.97 MB / 1.498 GB, free: 4.039 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04302/5.125, allocations: 12.47 MB / 1.51 GB, free: 11.52 MB / 1.045 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.08948/5.214, allocations: 22.51 MB / 1.532 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02817/5.242, allocations: 5.746 MB / 1.538 GB, free: 7.965 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02177/5.264, allocations: 1.723 MB / 1.539 GB, free: 6.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=746): time 0.0001188/5.264, allocations: 4 kB / 1.539 GB, free: 6.426 MB / 1.061 GB [/var/lib/jenkins1/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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!