Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.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: translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 102.4 kB / 16.37 MB, free: 6.309 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.001083/0.001083, allocations: 193 kB / 17.31 MB, free: 5.891 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.121/1.121, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.532/1.532, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.74e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.887 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.00279/0.00282, allocations: 2.316 MB / 0.6751 GB, free: 3.551 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.3805/0.3834, allocations: 152 MB / 0.8235 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.3836, allocations: 7.906 kB / 0.8235 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.3837, allocations: 45.31 kB / 0.8236 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.384, allocations: 100.5 kB / 0.8237 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000732/0.3848, allocations: 306 kB / 0.824 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004192/0.3852, allocations: 464.8 kB / 0.8244 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.3854, allocations: 112.7 kB / 0.8245 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009538/0.3863, allocations: 274.8 kB / 0.8248 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.3865, allocations: 186.5 kB / 0.825 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.251e-05/0.3866, allocations: 36.28 kB / 0.825 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004246/0.387, allocations: 279.5 kB / 0.8253 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.0003294/0.3873, allocations: 0.5149 MB / 0.8258 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.0001237/0.3875, allocations: 301 kB / 0.8261 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.601e-05/0.3875, allocations: 53.59 kB / 0.8261 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of FrontEnd: time 5.877e-05/0.3876, allocations: 23.66 kB / 0.8261 GB, free: 43.02 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 (65) * Number of variables: 65 (63) Notification: Performance of Bindings: time 0.0009692/0.3886, allocations: 1.469 MB / 0.8276 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.0001654/0.3887, allocations: 175.6 kB / 0.8277 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.001085/0.3898, allocations: 1.333 MB / 0.829 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of simplify1: time 0.0001227/0.39, allocations: 142.7 kB / 0.8292 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of Alias: time 0.001252/0.3912, allocations: 1.505 MB / 0.8306 GB, free: 41.72 MB / 0.6544 GB Notification: Performance of simplify2: time 0.0001015/0.3913, allocations: 131.9 kB / 0.8308 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of Events: time 0.000164/0.3915, allocations: 164.3 kB / 0.8309 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0001699/0.3917, allocations: 249.1 kB / 0.8312 GB, free: 41.65 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0002433/0.3919, allocations: 315.7 kB / 0.8315 GB, free: 41.54 MB / 0.6544 GB Notification: Performance of Causalize: time 0.001342/0.3933, allocations: 1.685 MB / 0.8331 GB, free: 41.24 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.0005938/0.3939, allocations: 0.8461 MB / 0.8339 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of Inline: time 0.001661/0.3955, allocations: 2.142 MB / 0.836 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of Partitioning: time 6.815e-05/0.3956, allocations: 76.3 kB / 0.8361 GB, free: 40.88 MB / 0.6544 GB Notification: Performance of Cleanup: time 7.585e-05/0.3957, allocations: 96.8 kB / 0.8362 GB, free: 40.88 MB / 0.6544 GB Notification: Performance of Causalize: time 0.001934/0.3976, allocations: 2.594 MB / 0.8387 GB, free: 40.53 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0004947/0.3981, allocations: 0.7817 MB / 0.8395 GB, free: 40.06 MB / 0.6544 GB Notification: Performance of Initialization: time 6.01e-07/0.3981, allocations: 4 kB / 0.8395 GB, free: 40.06 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0004562/0.3986, allocations: 0.7899 MB / 0.8403 GB, free: 39.57 MB / 0.6544 GB Notification: Performance of Categorize: time 1.088e-05/0.3986, allocations: 2.25 kB / 0.8403 GB, free: 39.57 MB / 0.6544 GB Notification: Performance of Solve: time 0.000406/0.399, allocations: 299.2 kB / 0.8405 GB, free: 39.55 MB / 0.6544 GB Notification: Performance of Jacobian: time 2.194e-06/0.3991, allocations: 0 / 0.8405 GB, free: 39.55 MB / 0.6544 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 3 * 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 8 (8) {$SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 31 (scalar:31, 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: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 69 (scalar:69, 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: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 3.207e-05/0.3991, allocations: 47.11 kB / 0.8406 GB, free: 39.52 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001359/0.4005, allocations: 1.991 MB / 0.8425 GB, free: 38.5 MB / 0.6544 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:5962:14-5962:14:writable] Error: Template error: daeExpLbinary:ERR.