Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_TAeZoSysPro.HeatTransfer.Components.VerticalOpening.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/TAeZoSysPro master/package.mo", uses=false) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/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(TAeZoSysPro.HeatTransfer.Components.VerticalOpening,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="TAeZoSysPro_TAeZoSysPro.HeatTransfer.Components.VerticalOpening") translateModel(TAeZoSysPro.HeatTransfer.Components.VerticalOpening,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="TAeZoSysPro_TAeZoSysPro.HeatTransfer.Components.VerticalOpening") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001109, allocations: 107.3 kB / 16.42 MB, free: 5.973 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.001152/0.001152, allocations: 191.3 kB / 17.36 MB, free: 5.566 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.541/1.541, 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/TAeZoSysPro master/package.mo): time 0.06493/0.06493, allocations: 10.97 MB / 281.6 MB, free: 1.004 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.753e-05, allocations: 3.125 kB / 391.1 MB, free: 46 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.HeatTransfer.Components.VerticalOpening): time 0.1659/0.1659, allocations: 135.4 MB / 0.5142 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008377/0.1668, allocations: 0.5863 MB / 0.5148 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.866e-05/0.1669, allocations: 0 / 0.5148 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.1672, allocations: 31.81 kB / 0.5148 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 4.798e-05/0.1673, allocations: 27.77 kB / 0.5148 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.1677, allocations: 111.5 kB / 0.5149 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.1679, allocations: 119.4 kB / 0.5151 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.168, allocations: 12.17 kB / 0.5151 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.1682, allocations: 47.91 kB / 0.5151 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.1684, allocations: 79.67 kB / 0.5152 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1684, allocations: 4 kB / 0.5152 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002508/0.1686, allocations: 131.8 kB / 0.5153 GB, free: 11.54 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.0001345/0.1688, allocations: 146.5 kB / 0.5155 GB, free: 11.39 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 4.677e-05/0.1688, allocations: 78.88 kB / 0.5155 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.1689, allocations: 15.94 kB / 0.5156 GB, free: 11.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.045e-05/0.1689, allocations: 0 / 0.5156 GB, free: 11.3 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 (16) * Number of variables: 18 (18) Notification: Performance of Bindings: time 0.0005473/0.1694, allocations: 498.4 kB / 0.516 GB, free: 10.71 MB / 414.1 MB Notification: Performance of FunctionAlias: time 8.291e-05/0.1695, allocations: 33.47 kB / 0.5161 GB, free: 10.68 MB / 414.1 MB Notification: Performance of Early Inline: time 0.0003724/0.1699, allocations: 364 kB / 0.5164 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simplify1: time 3.542e-05/0.1699, allocations: 35.95 kB / 0.5164 GB, free: 10.26 MB / 414.1 MB Notification: Performance of Alias: time 0.0003724/0.1703, allocations: 222.9 kB / 0.5167 GB, free: 9.988 MB / 414.1 MB Notification: Performance of simplify2: time 3.7e-05/0.1704, allocations: 27.97 kB / 0.5167 GB, free: 9.961 MB / 414.1 MB Notification: Performance of Events: time 7.022e-05/0.1704, allocations: 51.88 kB / 0.5167 GB, free: 9.91 MB / 414.1 MB Notification: Performance of Detect States: time 0.0001133/0.1706, allocations: 80.12 kB / 0.5168 GB, free: 9.816 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0001257/0.1707, allocations: 104.1 kB / 0.5169 GB, free: 9.707 MB / 414.1 MB Notification: Performance of Causalize: time 0.000574/0.1713, allocations: 477.9 kB / 0.5174 GB, free: 9.242 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002318/0.1715, allocations: 264.2 kB / 0.5176 GB, free: 8.957 MB / 414.1 MB Notification: Performance of Inline: time 0.0004026/0.1719, allocations: 467.8 kB / 0.5181 GB, free: 8.465 MB / 414.1 MB Notification: Performance of Partitioning: time 2.456e-05/0.172, allocations: 20.12 kB / 0.5181 GB, free: 8.438 MB / 414.1 MB Notification: Performance of Cleanup: time 2.125e-05/0.172, allocations: 23.97 kB / 0.5181 GB, free: 8.414 MB / 414.1 MB Notification: Performance of Causalize: time 0.0005788/0.1726, allocations: 0.494 MB / 0.5186 GB, free: 7.922 MB / 414.1 MB Notification: Performance of Tearing: time 0.0008111/0.1734, allocations: 0.646 MB / 0.5192 GB, free: 7.227 MB / 414.1 MB Notification: Performance of Initialization: time 4.11e-07/0.1734, allocations: 0 / 0.5192 GB, free: 7.227 MB / 414.1 MB Notification: Performance of Tearing: time 0.0005656/0.174, allocations: 0.6345 MB / 0.5198 GB, free: 6.543 MB / 414.1 MB Notification: Performance of Categorize: time 7.885e-06/0.174, allocations: 0 / 0.5198 GB, free: 6.543 MB / 414.1 MB Notification: Performance of Solve: time 3.435e-05/0.174, allocations: 14.73 kB / 0.5198 GB, free: 6.531 MB / 414.1 MB Notification: Performance of Jacobian: time 2.916e-06/0.174, allocations: 0 / 0.5198 GB, free: 6.531 MB / 414.1 MB 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 3 (3) {$FUN_1, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 3 (scalar:3, 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 3 (scalar:3, 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 4.093e-05/0.1741, allocations: 21.08 kB / 0.5199 GB, free: 6.52 MB / 414.1 MB Notification: Performance of SimCode: time 0.000981/0.1751, allocations: 1.142 MB / 0.521 GB, free: 5.359 MB / 414.1 MB 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.