Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001211/0.001211, allocations: 117.1 kB / 17.75 MB, free: 5.172 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.00116/0.00116, allocations: 183.1 kB / 18.68 MB, free: 4.25 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.3/1.3, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.086e-05, allocations: 6.219 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003273/0.003302, allocations: 2.69 MB / 331.2 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.004383, allocations: 0.7059 MB / 331.9 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.004499, allocations: 4 kB / 331.9 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.004634, allocations: 43.58 kB / 332 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.004787, allocations: 87.25 kB / 332.1 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.005031, allocations: 99.8 kB / 332.2 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003545/0.005394, allocations: 386.6 kB / 332.5 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.005563, allocations: 88.7 kB / 332.6 MB, free: 15.19 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.005703, allocations: 127.5 kB / 332.8 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.005859, allocations: 151.3 kB / 332.9 MB, free: 14.92 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.189e-05/0.005907, allocations: 31.98 kB / 332.9 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.163e-05/0.005954, allocations: 35.94 kB / 333 MB, free: 14.85 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0003168/0.006276, allocations: 463 kB / 333.4 MB, free: 14.39 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001519/0.006434, allocations: 279.9 kB / 333.7 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.006496, allocations: 51.81 kB / 333.7 MB, free: 14.07 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.539e-05/0.006526, allocations: 4 kB / 333.7 MB, free: 14.06 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.001153/0.007685, allocations: 1.357 MB / 335.1 MB, free: 12.59 MB / 286.1 MB Notification: Performance of FunctionAlias: time 6.002e-05/0.007751, allocations: 63.88 kB / 335.2 MB, free: 12.53 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0005533/0.008311, allocations: 0.6478 MB / 335.8 MB, free: 11.86 MB / 286.1 MB Notification: Performance of simplify1: time 5.503e-05/0.008375, allocations: 63.92 kB / 335.9 MB, free: 11.8 MB / 286.1 MB Notification: Performance of Alias: time 0.001074/0.009455, allocations: 1.041 MB / 336.9 MB, free: 10.61 MB / 286.1 MB Notification: Performance of simplify2: time 3.902e-05/0.009505, allocations: 43.95 kB / 337 MB, free: 10.56 MB / 286.1 MB Notification: Performance of Events: time 0.0001851/0.009695, allocations: 133.6 kB / 337.1 MB, free: 10.43 MB / 286.1 MB Notification: Performance of Detect States: time 0.0003746/0.01008, allocations: 193.1 kB / 337.3 MB, free: 10.23 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0002112/0.0103, allocations: 224.4 kB / 337.5 MB, free: 9.973 MB / 286.1 MB Notification: Performance of Causalize: time 0.0009515/0.01126, allocations: 0.9901 MB / 338.5 MB, free: 8.949 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004494/0.01171, allocations: 0.5213 MB / 339 MB, free: 8.398 MB / 286.1 MB Notification: Performance of Inline: time 0.0009047/0.01263, allocations: 0.9795 MB / 340 MB, free: 7.387 MB / 286.1 MB Notification: Performance of Partitioning: time 5.955e-05/0.0127, allocations: 62.36 kB / 340.1 MB, free: 7.316 MB / 286.1 MB Notification: Performance of Cleanup: time 0.0001126/0.01282, allocations: 113 kB / 340.2 MB, free: 7.203 MB / 286.1 MB Notification: Performance of Causalize: time 0.003535/0.01636, allocations: 3.864 MB / 344 MB, free: 3.398 MB / 286.1 MB Notification: Performance of Tearing: time 0.000534/0.0169, allocations: 0.5472 MB / 344.6 MB, free: 2.754 MB / 286.1 MB Notification: Performance of Initialization: time 3.7e-07/0.01691, allocations: 4 kB / 344.6 MB, free: 2.75 MB / 286.1 MB Notification: Performance of Tearing: time 0.0002491/0.01717, allocations: 294.1 kB / 344.9 MB, free: 2.414 MB / 286.1 MB Notification: Performance of Categorize: time 1.564e-05/0.01719, allocations: 4 kB / 344.9 MB, free: 2.41 MB / 286.1 MB Notification: Performance of Solve: time 0.0002703/0.01747, allocations: 172 kB / 345 MB, free: 2.246 MB / 286.1 MB Notification: Performance of Jacobian: time 3.427e-06/0.01748, allocations: 0 / 345 MB, free: 2.246 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 5.357e-05/0.01754, allocations: 47.73 kB / 345.1 MB, free: 2.207 MB / 286.1 MB Notification: Performance of SimCode: time 0.001177/0.01872, allocations: 1.477 MB / 346.6 MB, free: 0.707 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.