Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 107.2 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.001189/0.001189, allocations: 189.9 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.288/1.288, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.29e-05, allocations: 6.219 kB / 327.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003643/0.003674, allocations: 2.59 MB / 329.8 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.004906, allocations: 0.6983 MB / 330.5 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.005036, allocations: 11.84 kB / 330.5 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.005191, allocations: 31.66 kB / 330.6 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.00537, allocations: 87.25 kB / 330.6 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.005637, allocations: 95.81 kB / 330.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004247/0.006071, allocations: 362.6 kB / 331.1 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.006252, allocations: 84.72 kB / 331.2 MB, free: 15.33 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.006465, allocations: 127.5 kB / 331.3 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.006617, allocations: 135.4 kB / 331.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.232e-05/0.006666, allocations: 28 kB / 331.5 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.611e-05/0.006717, allocations: 28 kB / 331.5 MB, free: 15.02 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0003246/0.007046, allocations: 447.2 kB / 331.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001453/0.007198, allocations: 256.3 kB / 332.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.92e-05/0.007253, allocations: 47.81 kB / 332.2 MB, free: 14.27 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.759e-05/0.007285, allocations: 4 kB / 332.2 MB, free: 14.27 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: 46 (46) * Number of variables: 46 (46) Notification: Performance of Bindings: time 0.001145/0.008436, allocations: 1.291 MB / 333.5 MB, free: 12.87 MB / 286.1 MB Notification: Performance of FunctionAlias: time 6.826e-05/0.008511, allocations: 55.89 kB / 333.6 MB, free: 12.81 MB / 286.1 MB Notification: Performance of Early Inline: time 0.000592/0.00911, allocations: 0.6204 MB / 334.2 MB, free: 12.17 MB / 286.1 MB Notification: Performance of simplify1: time 5.308e-05/0.009171, allocations: 55.92 kB / 334.2 MB, free: 12.11 MB / 286.1 MB Notification: Performance of Alias: time 0.001269/0.01045, allocations: 0.9914 MB / 335.2 MB, free: 10.97 MB / 286.1 MB Notification: Performance of simplify2: time 4.653e-05/0.0105, allocations: 39.94 kB / 335.3 MB, free: 10.93 MB / 286.1 MB Notification: Performance of Events: time 0.0001847/0.0107, allocations: 119 kB / 335.4 MB, free: 10.82 MB / 286.1 MB Notification: Performance of Detect States: time 0.000257/0.01096, allocations: 196 kB / 335.6 MB, free: 10.61 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001855/0.01116, allocations: 176.2 kB / 335.7 MB, free: 10.42 MB / 286.1 MB Notification: Performance of Causalize: time 0.0009101/0.01207, allocations: 0.923 MB / 336.7 MB, free: 9.492 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.00048/0.01256, allocations: 492.3 kB / 337.2 MB, free: 8.984 MB / 286.1 MB Notification: Performance of Inline: time 0.0009694/0.01354, allocations: 0.9626 MB / 338.1 MB, free: 7.988 MB / 286.1 MB Notification: Performance of Partitioning: time 5.424e-05/0.0136, allocations: 58.31 kB / 338.2 MB, free: 7.926 MB / 286.1 MB Notification: Performance of Cleanup: time 9.766e-05/0.01371, allocations: 113.1 kB / 338.3 MB, free: 7.809 MB / 286.1 MB Notification: Performance of Causalize: time 0.003344/0.01706, allocations: 3.783 MB / 342.1 MB, free: 4.078 MB / 286.1 MB Notification: Performance of Tearing: time 0.000473/0.01754, allocations: 0.5903 MB / 342.7 MB, free: 3.391 MB / 286.1 MB Notification: Performance of Initialization: time 6.01e-07/0.01755, allocations: 0 / 342.7 MB, free: 3.391 MB / 286.1 MB Notification: Performance of Tearing: time 0.0002096/0.01777, allocations: 318.2 kB / 343 MB, free: 3.031 MB / 286.1 MB Notification: Performance of Categorize: time 9.859e-06/0.01779, allocations: 4 kB / 343 MB, free: 3.027 MB / 286.1 MB Notification: Performance of Solve: time 0.000255/0.01805, allocations: 158.6 kB / 343.1 MB, free: 2.871 MB / 286.1 MB Notification: Performance of Jacobian: time 0.0002924/0.01835, allocations: 389.9 kB / 343.5 MB, free: 2.453 MB / 286.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: ............... 1 * Number of algebraic event partitions: ......... 1 * 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: ............................. 1 (1) {c.v} * 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: ................. 8 (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: ........... 21 (scalar:21, 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: ........... 51 (scalar:51, 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: ........... 53 (scalar:53, 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.628e-05/0.0184, allocations: 39.11 kB / 343.5 MB, free: 2.422 MB / 286.1 MB Notification: Performance of SimCode: time 0.001122/0.01953, allocations: 1.518 MB / 345.1 MB, free: 0.8789 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.