Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.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.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 111.2 kB / 16.43 MB, free: 6.512 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.001094/0.001094, allocations: 183.2 kB / 17.35 MB, free: 5.754 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.192/1.192, 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.291/2.291, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.005e-05/3.004e-05, allocations: 2.281 kB / 1.055 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003191/0.00323, allocations: 2.212 MB / 1.057 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.6302/0.6334, allocations: 150.6 MB / 1.204 GB, free: 7.828 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.6336, allocations: 7.219 kB / 1.204 GB, free: 7.824 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008484/0.6345, allocations: 0.7733 MB / 1.205 GB, free: 7.457 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0006483/0.6352, allocations: 495.5 kB / 1.205 GB, free: 7.195 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009326/0.6361, allocations: 401.3 kB / 1.205 GB, free: 6.91 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005581/0.6367, allocations: 0.5642 MB / 1.206 GB, free: 6.605 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.6369, allocations: 89.09 kB / 1.206 GB, free: 6.562 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009282/0.6378, allocations: 368.9 kB / 1.206 GB, free: 6.391 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003529/0.6382, allocations: 353.2 kB / 1.207 GB, free: 6.242 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.249e-05/0.6382, allocations: 20.59 kB / 1.207 GB, free: 6.242 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004769/0.6387, allocations: 296.6 kB / 1.207 GB, free: 6.102 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.0003442/0.6391, allocations: 0.5056 MB / 1.208 GB, free: 5.742 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.0001623/0.6392, allocations: 304.8 kB / 1.208 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.594e-05/0.6393, allocations: 48.44 kB / 1.208 GB, free: 5.5 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.104e-05/0.6394, allocations: 17.5 kB / 1.208 GB, free: 5.492 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: 45 (41) * Number of variables: 45 (40) Notification: Performance of Bindings: time 0.001144/0.6405, allocations: 1.283 MB / 1.209 GB, free: 4.469 MB / 0.92 GB Notification: Performance of FunctionAlias: time 0.0001563/0.6407, allocations: 121.5 kB / 1.209 GB, free: 4.391 MB / 0.92 GB Notification: Performance of Early Inline: time 0.0007688/0.6415, allocations: 0.8334 MB / 1.21 GB, free: 3.773 MB / 0.92 GB Notification: Performance of simplify1: time 8.259e-05/0.6416, allocations: 86.61 kB / 1.21 GB, free: 3.723 MB / 0.92 GB Notification: Performance of Alias: time 0.001101/0.6427, allocations: 0.9932 MB / 1.211 GB, free: 2.969 MB / 0.92 GB Notification: Performance of simplify2: time 8.909e-05/0.6428, allocations: 86.05 kB / 1.211 GB, free: 2.926 MB / 0.92 GB Notification: Performance of Events: time 0.0001546/0.6429, allocations: 127.7 kB / 1.211 GB, free: 2.836 MB / 0.92 GB Notification: Performance of Detect States: time 0.000251/0.6432, allocations: 232 kB / 1.212 GB, free: 2.648 MB / 0.92 GB Notification: Performance of Partitioning: time 0.0002401/0.6434, allocations: 250.8 kB / 1.212 GB, free: 2.484 MB / 0.92 GB Notification: Performance of Causalize: time 0.00109/0.6445, allocations: 1.104 MB / 1.213 GB, free: 2.004 MB / 0.92 GB Notification: Performance of After Index Reduction Inline: time 0.0005206/0.6451, allocations: 0.6359 MB / 1.213 GB, free: 1.523 MB / 0.92 GB Notification: Performance of Inline: time 0.001369/0.6464, allocations: 1.487 MB / 1.215 GB, free: 460 kB / 0.92 GB Notification: Performance of Partitioning: time 5.398e-05/0.6465, allocations: 55.89 kB / 1.215 GB, free: 420 kB / 0.92 GB Notification: Performance of Cleanup: time 6.582e-05/0.6466, allocations: 79.91 kB / 1.215 GB, free: 356 kB / 0.92 GB Notification: Performance of Causalize: time 0.001553/0.6481, allocations: 1.547 MB / 1.217 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of Tearing: time 0.0003631/0.6485, allocations: 413.3 kB / 1.217 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of Initialization: time 4.61e-07/0.6485, allocations: 0 / 1.217 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of Tearing: time 0.0002881/0.6488, allocations: 407.8 kB / 1.217 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of Categorize: time 1.118e-05/0.6488, allocations: 2.688 kB / 1.217 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of Solve: time 0.0002739/0.6491, allocations: 187.1 kB / 1.218 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of Jacobian: time 4.539e-06/0.6491, allocations: 6.078 kB / 1.218 GB, free: 14.95 MB / 0.9356 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: ......... 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: .................... 4 (4) {PMVRef.nextTimeEvent, PMVRef.nextTimeEventScaled, inp.nextTimeEventScaled, inp.nextTimeEvent} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 11 (7) {$SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0[$i1]} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 25 (scalar:25, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (generic: 3, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 44 (scalar:42, array:0, record:2) * Number of multi strong components: ............ 4 (algorithm:4, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (generic: 3, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 3.966e-05/0.6492, allocations: 31.2 kB / 1.218 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of SimCode: time 0.003397/0.6526, allocations: 3.623 MB / 1.221 GB, free: 12.14 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.