Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001129/0.00113, allocations: 105.8 kB / 16.42 MB, free: 6.461 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.001084/0.001084, allocations: 189.9 kB / 17.36 MB, free: 5.73 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.147/1.147, 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 7.0.3-maint.7.0.x/package.mo): time 1.207/1.207, allocations: 251.7 MB / 0.51 GB, free: 436 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.434e-05, allocations: 2.281 kB / 0.7263 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002531/0.002553, allocations: 2.309 MB / 0.7286 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4143/0.4169, allocations: 152 MB / 0.8771 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.4171, allocations: 7.938 kB / 0.8771 GB, free: 3.547 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.4173, allocations: 47.47 kB / 0.8771 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.4176, allocations: 99.19 kB / 0.8772 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005536/0.4182, allocations: 307 kB / 0.8775 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000375/0.4186, allocations: 471.7 kB / 0.878 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.4187, allocations: 106.9 kB / 0.8781 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009987/0.4198, allocations: 274 kB / 0.8783 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.4199, allocations: 191.2 kB / 0.8785 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.42, allocations: 28 kB / 0.8785 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.4204, allocations: 279.6 kB / 0.8788 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.0003315/0.4207, allocations: 0.514 MB / 0.8793 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.000143/0.4209, allocations: 311.4 kB / 0.8796 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.326e-05/0.4209, allocations: 55.81 kB / 0.8796 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.987e-05/0.421, allocations: 15.88 kB / 0.8797 GB, free: 0.9141 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.001111/0.4221, allocations: 1.462 MB / 0.8811 GB, free: 15.34 MB / 0.67 GB Notification: Performance of FunctionAlias: time 0.0001937/0.4223, allocations: 179.4 kB / 0.8813 GB, free: 15.18 MB / 0.67 GB Notification: Performance of Early Inline: time 0.001151/0.4235, allocations: 1.337 MB / 0.8826 GB, free: 13.82 MB / 0.67 GB Notification: Performance of simplify1: time 0.0001249/0.4236, allocations: 139.8 kB / 0.8827 GB, free: 13.68 MB / 0.67 GB Notification: Performance of Alias: time 0.001454/0.4251, allocations: 1.515 MB / 0.8842 GB, free: 12 MB / 0.67 GB Notification: Performance of simplify2: time 0.000113/0.4252, allocations: 127.9 kB / 0.8843 GB, free: 11.87 MB / 0.67 GB Notification: Performance of Events: time 0.0002063/0.4254, allocations: 167.4 kB / 0.8845 GB, free: 11.71 MB / 0.67 GB Notification: Performance of Detect States: time 0.0002302/0.4256, allocations: 252.6 kB / 0.8847 GB, free: 11.45 MB / 0.67 GB Notification: Performance of Partitioning: time 0.000297/0.4259, allocations: 311.8 kB / 0.885 GB, free: 11.11 MB / 0.67 GB Notification: Performance of Causalize: time 0.001585/0.4275, allocations: 1.724 MB / 0.8867 GB, free: 9.367 MB / 0.67 GB Notification: Performance of After Index Reduction Inline: time 0.0007093/0.4282, allocations: 0.859 MB / 0.8875 GB, free: 8.48 MB / 0.67 GB Notification: Performance of Inline: time 0.001885/0.4301, allocations: 2.165 MB / 0.8896 GB, free: 6.273 MB / 0.67 GB Notification: Performance of Partitioning: time 6.598e-05/0.4302, allocations: 71.55 kB / 0.8897 GB, free: 6.195 MB / 0.67 GB Notification: Performance of Cleanup: time 8.751e-05/0.4303, allocations: 91.86 kB / 0.8898 GB, free: 6.105 MB / 0.67 GB Notification: Performance of Causalize: time 0.002096/0.4324, allocations: 2.52 MB / 0.8922 GB, free: 3.633 MB / 0.67 GB Notification: Performance of Tearing: time 0.0006148/0.433, allocations: 0.7972 MB / 0.893 GB, free: 2.738 MB / 0.67 GB Notification: Performance of Initialization: time 5.01e-07/0.433, allocations: 0 / 0.893 GB, free: 2.738 MB / 0.67 GB Notification: Performance of Tearing: time 0.0005338/0.4336, allocations: 0.7774 MB / 0.8938 GB, free: 1.863 MB / 0.67 GB Notification: Performance of Categorize: time 1.211e-05/0.4336, allocations: 8 kB / 0.8938 GB, free: 1.855 MB / 0.67 GB Notification: Performance of Solve: time 0.0003708/0.434, allocations: 285.9 kB / 0.8941 GB, free: 1.574 MB / 0.67 GB Notification: Performance of Jacobian: time 2.605e-06/0.434, allocations: 0 / 0.8941 GB, free: 1.574 MB / 0.67 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 3.563e-05/0.434, allocations: 33.05 kB / 0.8941 GB, free: 1.551 MB / 0.67 GB Notification: Performance of SimCode: time 0.001514/0.4356, allocations: 1.985 MB / 0.896 GB, free: 15.53 MB / 0.6856 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.