Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|preHeatCoil.TAirSup|preHeatCoil.TSupSetHea|preHeatCoil.TMix|preHeatCoil.yPum|preHeatCoil.yVal",fileNamePrefix="Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|preHeatCoil.TAirSup|preHeatCoil.TSupSetHea|preHeatCoil.TMix|preHeatCoil.yPum|preHeatCoil.yVal",fileNamePrefix="Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 107.6 kB / 16.42 MB, free: 6.023 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.001172/0.001172, allocations: 185.3 kB / 17.35 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.404/2.404, allocations: 472.6 MB / 0.7459 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.729e-05, allocations: 2.281 kB / 1.07 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.004164/0.004189, allocations: 2.945 MB / 1.073 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002486/0.006685, allocations: 1.103 MB / 1.074 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004745/0.007172, allocations: 19.94 kB / 1.074 GB, free: 5.613 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003348/0.007515, allocations: 79.08 kB / 1.074 GB, free: 5.535 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003268/0.007849, allocations: 83.19 kB / 1.074 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009509/0.008806, allocations: 338.9 kB / 1.074 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0009562/0.009772, allocations: 0.7379 MB / 1.075 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008159/0.0106, allocations: 0.5164 MB / 1.076 GB, free: 3.863 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003134/0.01092, allocations: 287 kB / 1.076 GB, free: 3.582 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.0112, allocations: 270.8 kB / 1.076 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.115e-05/0.0113, allocations: 76 kB / 1.076 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.01144, allocations: 79.94 kB / 1.076 GB, free: 3.164 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0005215/0.01197, allocations: 0.8418 MB / 1.077 GB, free: 2.312 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0002665/0.01224, allocations: 0.5193 MB / 1.078 GB, free: 1.785 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.01235, allocations: 95.67 kB / 1.078 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0001436/0.0125, allocations: 55.62 kB / 1.078 GB, free: 1.637 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 (117) * Number of variables: 113 (113) Notification: Performance of Bindings: time 0.5008/0.5133, allocations: 2.551 MB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001691/0.5135, allocations: 145.3 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.001346/0.5148, allocations: 1.503 MB / 1.082 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001335/0.515, allocations: 106.8 kB / 1.082 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of Alias: time 0.003263/0.5182, allocations: 2.97 MB / 1.085 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of simplify2: time 8.996e-05/0.5183, allocations: 73.92 kB / 1.085 GB, free: 12.26 MB / 0.8419 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - preHeatCoil.toOff.t_dummy}).