Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.001248/0.001254, allocations: 106.2 kB / 16.42 MB, free: 6.477 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.001231/0.001231, 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 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.601e-05, allocations: 2.281 kB / 327.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003477/0.003511, allocations: 2.689 MB / 329.9 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.004672, allocations: 0.7059 MB / 330.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.004805, allocations: 7.938 kB / 330.6 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.004967, allocations: 43.62 kB / 330.7 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.005145, allocations: 87.2 kB / 330.7 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.005423, allocations: 95.86 kB / 330.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003922/0.005826, allocations: 386.6 kB / 331.2 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.006023, allocations: 88.7 kB / 331.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.006169, allocations: 127.4 kB / 331.4 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.006327, allocations: 147.4 kB / 331.6 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.581e-05/0.006389, allocations: 32 kB / 331.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.282e-05/0.006437, allocations: 28 kB / 331.6 MB, free: 14.85 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0003549/0.006797, allocations: 471 kB / 332.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001483/0.006955, allocations: 283.9 kB / 332.4 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.422e-05/0.007015, allocations: 47.81 kB / 332.4 MB, free: 14.06 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.016e-05/0.00705, allocations: 8 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.00121/0.008265, allocations: 1.357 MB / 333.8 MB, free: 12.58 MB / 286.1 MB Notification: Performance of FunctionAlias: time 6.181e-05/0.008334, allocations: 55.91 kB / 333.8 MB, free: 12.53 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0005776/0.008918, allocations: 0.6595 MB / 334.5 MB, free: 11.84 MB / 286.1 MB Notification: Performance of simplify1: time 5.729e-05/0.008984, allocations: 59.92 kB / 334.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of Alias: time 0.001161/0.01015, allocations: 1.037 MB / 335.6 MB, free: 10.6 MB / 286.1 MB Notification: Performance of simplify2: time 4.987e-05/0.01021, allocations: 43.89 kB / 335.6 MB, free: 10.55 MB / 286.1 MB Notification: Performance of Events: time 0.0001975/0.01042, allocations: 137.2 kB / 335.8 MB, free: 10.42 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002396/0.01066, allocations: 197.1 kB / 336 MB, free: 10.21 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0002292/0.0109, allocations: 224.4 kB / 336.2 MB, free: 9.957 MB / 286.1 MB Notification: Performance of Causalize: time 0.0009781/0.01189, allocations: 0.9836 MB / 337.2 MB, free: 8.941 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004633/0.01236, allocations: 0.5169 MB / 337.7 MB, free: 8.395 MB / 286.1 MB Notification: Performance of Inline: time 0.0009603/0.01333, allocations: 0.9914 MB / 338.7 MB, free: 7.371 MB / 286.1 MB Notification: Performance of Partitioning: time 6.283e-05/0.0134, allocations: 58.36 kB / 338.7 MB, free: 7.305 MB / 286.1 MB Notification: Performance of Cleanup: time 0.000104/0.01351, allocations: 117 kB / 338.8 MB, free: 7.188 MB / 286.1 MB Notification: Performance of Causalize: time 0.003463/0.01698, allocations: 3.855 MB / 342.7 MB, free: 3.391 MB / 286.1 MB Notification: Performance of Tearing: time 0.0004394/0.01743, allocations: 0.5519 MB / 343.3 MB, free: 2.742 MB / 286.1 MB Notification: Performance of Initialization: time 6.31e-07/0.01744, allocations: 0 / 343.3 MB, free: 2.742 MB / 286.1 MB Notification: Performance of Tearing: time 0.0002025/0.01765, allocations: 302.3 kB / 343.5 MB, free: 2.398 MB / 286.1 MB Notification: Performance of Categorize: time 1.392e-05/0.01767, allocations: 4 kB / 343.5 MB, free: 2.395 MB / 286.1 MB Notification: Performance of Solve: time 0.0002693/0.01794, allocations: 172 kB / 343.7 MB, free: 2.23 MB / 286.1 MB Notification: Performance of Jacobian: time 3.005e-06/0.01795, allocations: 3.938 kB / 343.7 MB, free: 2.227 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 4.935e-05/0.01801, allocations: 53.05 kB / 343.8 MB, free: 2.184 MB / 286.1 MB Notification: Performance of SimCode: time 0.001094/0.01911, allocations: 1.473 MB / 345.2 MB, free: 0.6875 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.