Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 109 kB / 16.42 MB, free: 6.027 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.001405/0.001406, allocations: 188.4 kB / 17.35 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.41/1.41, allocations: 251.7 MB / 0.51 GB, free: 404 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.043e-05, allocations: 5.938 kB / 0.7264 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.002801/0.002844, allocations: 1.533 MB / 0.7279 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005512/0.003409, allocations: 285.2 kB / 0.7282 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.271e-05/0.003473, allocations: 4 kB / 0.7282 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.011e-05/0.003518, allocations: 11.86 kB / 0.7282 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.171e-05/0.003615, allocations: 11.88 kB / 0.7282 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.003844, allocations: 43.88 kB / 0.7282 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.004014, allocations: 103.7 kB / 0.7283 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.004164, allocations: 32.2 kB / 0.7284 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.651e-05/0.004247, allocations: 31.92 kB / 0.7284 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.051e-05/0.004323, allocations: 47.77 kB / 0.7284 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.004352, allocations: 8 kB / 0.7284 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.668e-05/0.004374, allocations: 8 kB / 0.7285 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0001345/0.004513, allocations: 130.6 kB / 0.7286 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 3.944e-05/0.004558, allocations: 78.78 kB / 0.7287 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.377e-05/0.004596, allocations: 15.94 kB / 0.7287 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.933e-05/0.00462, allocations: 3.938 kB / 0.7287 GB, free: 2.359 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 (14) * Number of variables: 14 (14) Notification: Performance of Bindings: time 0.0005538/0.005179, allocations: 471.1 kB / 0.7291 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 7.752e-05/0.005263, allocations: 39.8 kB / 0.7292 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0002206/0.005492, allocations: 232.3 kB / 0.7294 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of simplify1: time 3.015e-05/0.00553, allocations: 27.89 kB / 0.7294 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of Alias: time 0.0004567/0.005992, allocations: 310.2 kB / 0.7297 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of simplify2: time 2.117e-05/0.006022, allocations: 23.94 kB / 0.7297 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of Events: time 0.000186/0.006214, allocations: 104.8 kB / 0.7298 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0001871/0.00641, allocations: 132.1 kB / 0.73 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0001182/0.006536, allocations: 84.09 kB / 0.73 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0005045/0.007046, allocations: 465.3 kB / 0.7305 GB, free: 284 kB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0002666/0.007322, allocations: 292.7 kB / 0.7308 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of Inline: time 0.0004118/0.007741, allocations: 384.2 kB / 0.7311 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of Partitioning: time 3.198e-05/0.007782, allocations: 28.11 kB / 0.7311 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of Cleanup: time 2.294e-05/0.00781, allocations: 11.98 kB / 0.7312 GB, free: 15.51 MB / 0.5762 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $SEV_2 = time >= booPul1.pulseStart and time < (booPul1.pulseStart + booPul1.Twidth) ($RES_EVT_29) slice: {}; Notification: Performance of Causalize: time 0.0009641/0.008781, allocations: 0.9467 MB / 0.7321 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of Tearing: time 7.674e-06/0.008797, allocations: 0 / 0.7321 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of Initialization: time 3.51e-07/0.008807, allocations: 4.031 kB / 0.7321 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of Tearing: time 1.303e-06/0.008814, allocations: 4.094 kB / 0.7321 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of Categorize: time 8.085e-06/0.008829, allocations: 3.938 kB / 0.7321 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of Solve: time 0.0003222/0.009155, allocations: 321.1 kB / 0.7324 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of Jacobian: time 3.216e-06/0.009169, allocations: 4 kB / 0.7324 GB, free: 14.16 MB / 0.5762 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: .................... 2 (2) {triggeredSampler.y, booPul1.pulseStart} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 13 (13) {zeroCrossing.y, zeroCrossing.disable, zeroCrossing.u_pos, $SEV_2, $SEV_1, $SEV_0, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 16 (scalar:16, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 22 (scalar:22, 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: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 0.0001202/0.009294, allocations: 37.67 kB / 0.7324 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of SimCode: time 0.0007783/0.01008, allocations: 0.9821 MB / 0.7334 GB, free: 13.13 MB / 0.5762 GB Error: Template error: A template call failed (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so: (null)). One possible reason could be that a template imported function call failed (which should not happen for functions called from within template code; templates assert pure 'match'/non-failing semantics). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SerializeModelInfo.mo:116:9-116:84:writable] Error: Internal error SerializeModelInfo.serialize failed [CodegenCFunctions.tpl:7222:11-7222:11:writable] Error: Template error: Code generation does not support pre(not zeroCrossing.disable). [CodegenCFunctions.tpl:5962:14-5962:14:writable] Error: Template error: daeExpLbinary:ERR.