Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_latest_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.001189/0.001189, allocations: 105 kB / 16.42 MB, free: 6.473 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.001307/0.001307, allocations: 192.3 kB / 17.36 MB, free: 5.707 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.217/1.217, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.363/2.363, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.15e-05, allocations: 2.281 kB / 1.055 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003098/0.003128, allocations: 2.319 MB / 1.057 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.6446/0.6477, allocations: 152 MB / 1.205 GB, free: 6.574 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003153/0.6481, allocations: 8.094 kB / 1.205 GB, free: 6.57 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002578/0.6484, allocations: 45.91 kB / 1.205 GB, free: 6.527 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004991/0.6489, allocations: 99.53 kB / 1.205 GB, free: 6.445 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.65, allocations: 301.5 kB / 1.206 GB, free: 6.215 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000778/0.6508, allocations: 469.4 kB / 1.206 GB, free: 5.938 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002653/0.651, allocations: 117.5 kB / 1.206 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.6526, allocations: 293.7 kB / 1.207 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000336/0.6529, allocations: 182.2 kB / 1.207 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.741e-05/0.653, allocations: 30.12 kB / 1.207 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006051/0.6536, allocations: 282.6 kB / 1.207 GB, free: 5.488 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.0004972/0.6541, allocations: 0.516 MB / 1.208 GB, free: 5.117 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.0002496/0.6544, allocations: 308.1 kB / 1.208 GB, free: 4.898 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.6545, allocations: 51.69 kB / 1.208 GB, free: 4.875 MB / 0.92 GB Notification: Performance of FrontEnd: time 0.0001116/0.6546, allocations: 26.23 kB / 1.208 GB, free: 4.859 MB / 0.92 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.001608/0.6562, allocations: 1.464 MB / 1.209 GB, free: 3.703 MB / 0.92 GB Notification: Performance of FunctionAlias: time 0.0002919/0.6565, allocations: 178.9 kB / 1.21 GB, free: 3.582 MB / 0.92 GB Notification: Performance of Early Inline: time 0.001597/0.6582, allocations: 1.33 MB / 1.211 GB, free: 2.605 MB / 0.92 GB Notification: Performance of simplify1: time 0.0002242/0.6584, allocations: 146.5 kB / 1.211 GB, free: 2.527 MB / 0.92 GB Notification: Performance of Alias: time 0.002481/0.6609, allocations: 1.685 MB / 1.213 GB, free: 1.367 MB / 0.92 GB Notification: Performance of simplify2: time 0.0003647/0.6612, allocations: 128.2 kB / 1.213 GB, free: 1.309 MB / 0.92 GB Notification: Performance of Events: time 0.0004621/0.6617, allocations: 173.8 kB / 1.213 GB, free: 1.184 MB / 0.92 GB Notification: Performance of Detect States: time 0.0004937/0.6622, allocations: 255.4 kB / 1.213 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of Partitioning: time 0.0005381/0.6628, allocations: 306.2 kB / 1.213 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of Causalize: time 0.001817/0.6646, allocations: 1.128 MB / 1.215 GB, free: 216 kB / 0.92 GB Notification: Performance of After Index Reduction Inline: time 0.001217/0.6658, allocations: 0.8463 MB / 1.215 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of Inline: time 0.003259/0.6691, allocations: 2.162 MB / 1.217 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of Partitioning: time 0.0001097/0.6692, allocations: 75.42 kB / 1.218 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of Cleanup: time 0.0002194/0.6694, allocations: 98.69 kB / 1.218 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of Causalize: time 0.002524/0.672, allocations: 1.717 MB / 1.219 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of Tearing: time 0.0008531/0.6728, allocations: 0.7953 MB / 1.22 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of Initialization: time 1.393e-06/0.6728, allocations: 0 / 1.22 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of Tearing: time 0.0007/0.6735, allocations: 0.7836 MB / 1.221 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of Categorize: time 1.776e-05/0.6736, allocations: 2.969 kB / 1.221 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of Solve: time 0.000646/0.6742, allocations: 292.1 kB / 1.221 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of Jacobian: time 3.767e-06/0.6742, allocations: 0 / 1.221 GB, free: 11.7 MB / 0.9356 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: ........... 65 (scalar:65, 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 5.991e-05/0.6743, allocations: 28.36 kB / 1.221 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of SimCode: time 0.002353/0.6767, allocations: 1.985 MB / 1.223 GB, free: 9.797 MB / 0.9356 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.