Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay") translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 115.9 kB / 17.1 MB, free: 6 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.001453/0.001453, allocations: 201.5 kB / 18.03 MB, free: 5.082 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.744/1.744, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2231/0.2231, allocations: 43.52 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.79e-05/3.791e-05, allocations: 5.797 kB / 442.4 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.005399/0.005449, allocations: 1.882 MB / 444.3 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.007757, allocations: 0.948 MB / 445.2 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002338/0.008009, allocations: 7.938 kB / 445.3 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.009112, allocations: 199.1 kB / 445.4 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006609/0.009793, allocations: 123.5 kB / 445.6 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009442/0.01075, allocations: 175.6 kB / 445.7 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005851/0.01135, allocations: 291.4 kB / 446 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.01156, allocations: 37.55 kB / 446.1 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.01187, allocations: 111.7 kB / 446.2 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.01211, allocations: 115.5 kB / 446.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.08e-05/0.01218, allocations: 20 kB / 446.3 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.0124, allocations: 63.97 kB / 446.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002542/0.01267, allocations: 316.8 kB / 446.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.000101/0.01278, allocations: 161.6 kB / 446.8 MB, free: 1.293 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.41e-05/0.01288, allocations: 39.88 kB / 446.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.099e-05/0.01295, allocations: 7.938 kB / 446.9 MB, free: 1.246 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 (18) * Number of variables: 21 (21) Notification: Performance of Bindings: time 0.001113/0.01407, allocations: 0.8445 MB / 447.7 MB, free: 304 kB / 318.1 MB Notification: Performance of FunctionAlias: time 8.504e-05/0.01417, allocations: 29.95 kB / 447.8 MB, free: 276 kB / 318.1 MB Notification: Performance of Early Inline: time 0.0006201/0.0148, allocations: 428.2 kB / 448.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simplify1: time 6.448e-05/0.01488, allocations: 19.97 kB / 448.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of Alias: time 0.001067/0.01595, allocations: 459 kB / 448.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simplify2: time 5.254e-05/0.01602, allocations: 15.98 kB / 448.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of Events: time 0.0003568/0.01639, allocations: 139.4 kB / 448.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of Detect States: time 0.0005036/0.0169, allocations: 257.2 kB / 449 MB, free: 14.88 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0004141/0.01733, allocations: 216.8 kB / 449.3 MB, free: 14.63 MB / 334.1 MB Notification: Performance of Causalize: time 0.001006/0.01835, allocations: 0.5155 MB / 449.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008922/0.01926, allocations: 0.5172 MB / 450.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of Inline: time 0.00184/0.02111, allocations: 0.9202 MB / 451.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of Partitioning: time 0.000115/0.02124, allocations: 50.25 kB / 451.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of Cleanup: time 0.000144/0.0214, allocations: 55.89 kB / 451.3 MB, free: 12.48 MB / 334.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) onDelay2.delaySignal = $START.onDelay2.delaySignal ($RES_SRT_50) slice: {}; [SCAL] (1) onDelay3.delaySignal = $START.onDelay3.delaySignal ($RES_SRT_49) slice: {}; [SCAL] (1) onDelay1.delaySignal = $START.onDelay1.delaySignal ($RES_SRT_48) slice: {}; Notification: Performance of Causalize: time 0.003543/0.02495, allocations: 2.001 MB / 453.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of Tearing: time 1.057e-05/0.02498, allocations: 0 / 453.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of Initialization: time 1.192e-06/0.02499, allocations: 0 / 453.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of Tearing: time 8.395e-06/0.02501, allocations: 0 / 453.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of Categorize: time 4.353e-05/0.02506, allocations: 11.88 kB / 453.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of Solve: time 0.0004421/0.02551, allocations: 238.7 kB / 453.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of Jacobian: time 7.093e-06/0.02553, allocations: 0 / 453.6 MB, free: 10.16 MB / 334.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: ......... 4 * 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: .................... 2 (2) {booleanTable.combiTimeTable.nextTimeEvent, booleanTable.combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 27 (27) {onDelay1.u, onDelay1.y, onDelay1.delaySignal, onDelay1.t_next, booleanStep3.y, onDelay3.y, onDelay3.delaySignal, onDelay3.t_next, booleanStep2.y, onDelay2.y, onDelay2.delaySignal, onDelay2.t_next, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_8, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_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: ............ 8 (algorithm:3, when:2, if:3, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 37 (scalar:35, array:1, record:1) * Number of multi strong components: ............ 8 (algorithm:5, when:0, if:3, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001864/0.02573, allocations: 28.5 kB / 453.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of SimCode: time 0.003683/0.02942, allocations: 1.728 MB / 455.3 MB, free: 8.461 MB / 334.1 MB Notification: Performance of Templates: time 0.007998/0.03744, allocations: 2.587 MB / 457.9 MB, free: 5.875 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_3_2_3_ModelicaTest_Blocks_OnDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.o ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_3_2_3_ModelicaTest_Blocks_OnDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay_functions.o ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay_functions.c ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay_functions.c:205:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay_functions.c:206:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay_functions.c:209:46: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT4); ^ ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay_functions.c:212:47: error: use of undeclared identifier '_OMC_LIT3' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT3); ^ 4 errors generated. make: *** [: ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay_functions.o] Error 1