Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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) 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(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 107 kB / 16.42 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.001283/0.001283, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.252/1.252, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.162e-05, allocations: 2.281 kB / 327.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003318/0.003349, allocations: 2.691 MB / 329.9 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.004434, allocations: 0.7137 MB / 330.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.004568, allocations: 4 kB / 330.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.004713, allocations: 39.58 kB / 330.7 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.004871, allocations: 87.25 kB / 330.7 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.005155, allocations: 99.8 kB / 330.8 MB, free: 15.65 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000399/0.005574, allocations: 390.6 kB / 331.2 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.005767, allocations: 80.72 kB / 331.3 MB, free: 15.19 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.005913, allocations: 135.4 kB / 331.4 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.006076, allocations: 143.4 kB / 331.6 MB, free: 14.92 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.34e-05/0.006125, allocations: 32 kB / 331.6 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.151e-05/0.006172, allocations: 28 kB / 331.6 MB, free: 14.86 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0003238/0.0065, allocations: 475 kB / 332.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001392/0.006646, allocations: 275.9 kB / 332.4 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.992e-05/0.00671, allocations: 51.81 kB / 332.4 MB, free: 14.07 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.888e-05/0.006753, allocations: 12 kB / 332.4 MB, free: 14.05 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 (49) * Number of variables: 49 (49) Notification: Performance of Bindings: time 0.0012/0.007957, allocations: 1.349 MB / 333.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of FunctionAlias: time 6.247e-05/0.008026, allocations: 59.89 kB / 333.8 MB, free: 12.54 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0005552/0.008586, allocations: 0.6556 MB / 334.5 MB, free: 11.86 MB / 286.1 MB Notification: Performance of simplify1: time 5.415e-05/0.008647, allocations: 59.92 kB / 334.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of Alias: time 0.001121/0.009774, allocations: 1.041 MB / 335.6 MB, free: 10.61 MB / 286.1 MB Notification: Performance of simplify2: time 4.144e-05/0.009826, allocations: 39.95 kB / 335.6 MB, free: 10.57 MB / 286.1 MB Notification: Performance of Events: time 0.0002115/0.01004, allocations: 141.6 kB / 335.8 MB, free: 10.43 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002347/0.01029, allocations: 189.2 kB / 336 MB, free: 10.23 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0002232/0.01052, allocations: 216.4 kB / 336.2 MB, free: 9.98 MB / 286.1 MB Notification: Performance of Causalize: time 0.0009754/0.01151, allocations: 0.9946 MB / 337.2 MB, free: 8.957 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004693/0.01199, allocations: 0.5213 MB / 337.7 MB, free: 8.406 MB / 286.1 MB Notification: Performance of Inline: time 0.0009437/0.01294, allocations: 0.9914 MB / 338.7 MB, free: 7.383 MB / 286.1 MB Notification: Performance of Partitioning: time 6.403e-05/0.01301, allocations: 62.36 kB / 338.7 MB, free: 7.312 MB / 286.1 MB Notification: Performance of Cleanup: time 0.0001041/0.01312, allocations: 109 kB / 338.8 MB, free: 7.203 MB / 286.1 MB Notification: Performance of Causalize: time 0.003449/0.01658, allocations: 3.855 MB / 342.7 MB, free: 3.402 MB / 286.1 MB Notification: Performance of Tearing: time 0.0004479/0.01704, allocations: 0.5516 MB / 343.2 MB, free: 2.754 MB / 286.1 MB Notification: Performance of Initialization: time 7.11e-07/0.01705, allocations: 4 kB / 343.3 MB, free: 2.75 MB / 286.1 MB Notification: Performance of Tearing: time 0.000205/0.01726, allocations: 298.1 kB / 343.5 MB, free: 2.41 MB / 286.1 MB Notification: Performance of Categorize: time 1.447e-05/0.01728, allocations: 4 kB / 343.5 MB, free: 2.406 MB / 286.1 MB Notification: Performance of Solve: time 0.0002576/0.01755, allocations: 180 kB / 343.7 MB, free: 2.234 MB / 286.1 MB Notification: Performance of Jacobian: time 3.426e-06/0.01756, allocations: 0 / 343.7 MB, free: 2.234 MB / 286.1 MB 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: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 2 (2) {vIn.signalSource.count, vIn.signalSource.T_start} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 9 (9) {$SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $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: ........... 24 (scalar:24, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 54 (scalar:54, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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 (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 56 (scalar:56, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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 6.026e-05/0.01762, allocations: 47.86 kB / 343.8 MB, free: 2.195 MB / 286.1 MB Notification: Performance of SimCode: time 0.001068/0.0187, allocations: 1.477 MB / 345.2 MB, free: 0.6953 MB / 286.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.