Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 111.9 kB / 16.42 MB, free: 6.508 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.001423/0.001423, allocations: 187.1 kB / 17.36 MB, free: 5.727 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.239/1.239, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.304/2.304, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.344e-05, allocations: 5.031 kB / 1.055 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002325/0.00236, allocations: 1.473 MB / 1.056 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005974/0.002968, allocations: 450.8 kB / 1.056 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.14e-05/0.00301, allocations: 0 / 1.056 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.268e-05/0.00304, allocations: 0 / 1.056 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.04e-05/0.003111, allocations: 15.84 kB / 1.056 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001118/0.003229, allocations: 15.98 kB / 1.056 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.289e-05/0.00332, allocations: 63.78 kB / 1.057 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.554e-05/0.003412, allocations: 15.98 kB / 1.057 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.139e-05/0.003459, allocations: 15.98 kB / 1.057 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.992e-05/0.003514, allocations: 27.84 kB / 1.057 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.003535, allocations: 8 kB / 1.057 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-06/0.003549, allocations: 4 kB / 1.057 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of combineBinaries: time 5.65e-05/0.003609, allocations: 59.33 kB / 1.057 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 2.17e-05/0.003636, allocations: 47.3 kB / 1.057 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.003665, allocations: 11.94 kB / 1.057 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.72e-05/0.003687, allocations: 7.938 kB / 1.057 GB, free: 5.562 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 (10) * Number of variables: 10 (10) Notification: Performance of Bindings: time 0.0003222/0.004013, allocations: 312.4 kB / 1.057 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 1.713e-05/0.004036, allocations: 11.94 kB / 1.057 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0001174/0.004157, allocations: 148.2 kB / 1.057 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of simplify1: time 1.608e-05/0.004179, allocations: 7.984 kB / 1.057 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of Alias: time 0.0003941/0.004578, allocations: 285.4 kB / 1.057 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of simplify2: time 7.664e-06/0.004597, allocations: 8 kB / 1.057 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of Events: time 5.676e-05/0.004659, allocations: 23.97 kB / 1.058 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0001011/0.004766, allocations: 56.16 kB / 1.058 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of Partitioning: time 5.579e-05/0.004829, allocations: 52.03 kB / 1.058 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001533/0.004988, allocations: 116 kB / 1.058 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0001035/0.0051, allocations: 132.3 kB / 1.058 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of Inline: time 0.0001595/0.005265, allocations: 166.6 kB / 1.058 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of Partitioning: time 1.471e-05/0.005288, allocations: 20.12 kB / 1.058 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of Cleanup: time 1.625e-05/0.005309, allocations: 11.92 kB / 1.058 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001788/0.005492, allocations: 167.9 kB / 1.058 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of Tearing: time 5.951e-06/0.005506, allocations: 0 / 1.058 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of Initialization: time 3.61e-07/0.005511, allocations: 0 / 1.058 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of Tearing: time 9.12e-07/0.005517, allocations: 4 kB / 1.058 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of Categorize: time 6.783e-06/0.005527, allocations: 3.938 kB / 1.058 GB, free: 3.773 MB / 0.8262 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:2011:9-2012:55:writable] Error: Internal error NFCeval.evalBuiltinCall: unimplemented case for pre Notification: Performance of Solve: time 8.662e-05/0.00562, allocations: 43.89 kB / 1.058 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of Jacobian: time 3.226e-06/0.005629, allocations: 0 / 1.058 GB, free: 3.73 MB / 0.8262 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 1 (1) {booleanPulse.pulseStart} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 3 (3) {offTim1.u, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 3 (scalar:3, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.544e-05/0.005658, allocations: 13.89 kB / 1.058 GB, free: 3.723 MB / 0.8262 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not (not offTim1.u)