Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 110.2 kB / 21.99 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 214 kB / 25.3 MB, free: 2.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 207.7 MB / 236.2 MB, free: 9.762 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|dFFREGSRL.dataOut.1.|dFFREGSRL.dataOut.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|dFFREGSRL.dataOut.1.|dFFREGSRL.dataOut.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.481e-05, allocations: 2.281 kB / 348.5 MB, free: 9.371 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGSRL): time 0.00394/0.003964, allocations: 1.723 MB / 350.2 MB, free: 7.633 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003346/0.007311, allocations: 1.026 MB / 351.3 MB, free: 6.598 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002499/0.007561, allocations: 3.938 kB / 351.3 MB, free: 6.594 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.007833, allocations: 27.77 kB / 351.3 MB, free: 6.566 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004388/0.008271, allocations: 187.4 kB / 351.5 MB, free: 6.383 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005899/0.008861, allocations: 147.7 kB / 351.6 MB, free: 6.238 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.01001, allocations: 0.6397 MB / 352.3 MB, free: 5.598 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002415/0.01026, allocations: 50.55 kB / 352.3 MB, free: 5.551 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.01193, allocations: 1.303 MB / 353.6 MB, free: 4.246 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.01227, allocations: 203.3 kB / 353.8 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.01238, allocations: 36 kB / 353.8 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.01249, allocations: 36 kB / 353.9 MB, free: 3.977 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0007127/0.0132, allocations: 0.5621 MB / 354.4 MB, free: 3.41 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002053/0.01341, allocations: 256.9 kB / 354.7 MB, free: 3.156 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.01351, allocations: 36 kB / 354.7 MB, free: 3.121 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.924e-05/0.01355, allocations: 11.88 kB / 354.7 MB, free: 3.109 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: 43 (22) * Number of variables: 43 (28) Notification: Performance of [SIM] Bindings: time 0.001976/0.01552, allocations: 1.54 MB / 356.3 MB, free: 1.445 MB / 286.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002182/0.01574, allocations: 141.2 kB / 356.4 MB, free: 1.293 MB / 286.1 MB Notification: Performance of [SIM] Early Inline: time 0.001517/0.01726, allocations: 1.249 MB / 357.7 MB, free: 16 kB / 286.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005977/0.01786, allocations: 304.2 kB / 358 MB, free: 15.67 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001945/0.0198, allocations: 1.051 MB / 359 MB, free: 14.52 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000434/0.02024, allocations: 288.2 kB / 359.3 MB, free: 14.19 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003486/0.02058, allocations: 245.2 kB / 359.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0006885/0.02127, allocations: 423.2 kB / 360 MB, free: 13.46 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0009737/0.02225, allocations: 0.6779 MB / 360.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.00107/0.02332, allocations: 0.737 MB / 361.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.002161/0.02548, allocations: 1.552 MB / 362.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001931/0.02741, allocations: 1.499 MB / 364.4 MB, free: 8.891 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001419/0.02883, allocations: 0.7468 MB / 365.2 MB, free: 8.074 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.002863/0.03169, allocations: 2.271 MB / 367.4 MB, free: 5.797 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.601e-05/0.03174, allocations: 17.44 kB / 367.5 MB, free: 5.77 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.001503/0.03324, allocations: 0.9752 MB / 368.4 MB, free: 4.793 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.006103/0.03934, allocations: 4.224 MB / 372.7 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 3.391e-05/0.03938, allocations: 8 kB / 372.7 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.423e-06/0.03938, allocations: 3.938 kB / 372.7 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 8.794e-05/0.03946, allocations: 24.12 kB / 372.7 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.438e-06/0.03947, allocations: 0 / 372.7 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.02e-05/0.03948, allocations: 11.94 kB / 372.7 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.331e-05/0.03951, allocations: 4.375 kB / 372.7 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0004969/0.04, allocations: 132.6 kB / 372.8 MB, free: 380 kB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002379/0.04024, allocations: 170 kB / 373 MB, free: 176 kB / 302.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: ......... 1 * 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 81 (55) {clock.y, data_0.y, reset.y, data_1.y, set.y, dFFREGSRL.delay.inertialDelaySensitive.x, dFFREGSRL.delay.inertialDelaySensitive.y, dFFREGSRL.delay.inertialDelaySensitive.delayTime, dFFREGSRL.delay.inertialDelaySensitive.y_auxiliary, dFFREGSRL.delay.inertialDelaySensitive.y_old, dFFREGSRL.delay.inertialDelaySensitive.lh, dFFREGSRL.delay.inertialDelaySensitive.t_next, dFFREGSRL.dFFSR.clock, dFFREGSRL.dFFSR.dataOut, dFFREGSRL.dFFSR.clock_flag, dFFREGSRL.dFFSR.reset_set_flag, dFFREGSRL.dFFSR.nextstate, dFFREGSRL.dFFSR.next_assign_val, dFFREGSRL.dataIn, dFFREGSRL.dataOut, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 7 (algorithm:7, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 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: ........... 14 (scalar:12, array:2, record:0) * Number of multi strong components: ............ 7 (algorithm:7, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (resizable: 2, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001283/0.04037, allocations: 42.95 kB / 373 MB, free: 136 kB / 302.1 MB Notification: Performance of SimCode: time 0.006494/0.04687, allocations: 4.642 MB / 377.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of Templates: time 0.01729/0.06415, allocations: 8.393 MB / 386.1 MB, free: 2.836 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.makefile [Timeout 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Electrical_Digital_Examples_DFFREGSRL -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 Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.o Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Electrical_Digital_Examples_DFFREGSRL -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 Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_functions.o Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_functions.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Electrical_Digital_Examples_DFFREGSRL -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 Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_records.o Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Electrical_Digital_Examples_DFFREGSRL -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 Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_01exo.o Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Electrical_Digital_Examples_DFFREGSRL -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 Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_02nls.o Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_02nls.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Electrical_Digital_Examples_DFFREGSRL -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 Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_03lsy.o Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_03lsy.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Electrical_Digital_Examples_DFFREGSRL -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 Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_04set.o Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_04set.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Electrical_Digital_Examples_DFFREGSRL -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 Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_05evt.o Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_05evt.c Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_05evt.c:280:157: error: use of undeclared identifier 'i' gout[start_index] = (((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 1))) || (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 0))))) ? 1 : -1; ^ Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_05evt.c:280:441: error: use of undeclared identifier 'i' gout[start_index] = (((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 1))) || (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 0))))) ? 1 : -1; ^ Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_05evt.c:288:156: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 4) && ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 4) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 8)) || ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 0))))) ? 1 : -1; ^ Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_05evt.c:288:290: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 4) && ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 4) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 8)) || ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 0))))) ? 1 : -1; ^ Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_05evt.c:288:422: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 4) && ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 4) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 8)) || ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 0))))) ? 1 : -1; ^ Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_05evt.c:292:142: error: use of undeclared identifier 'i' gout[start_index] = (((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 4) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 8)) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 1)))) ? 1 : -1; ^ Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_05evt.c:292:274: error: use of undeclared identifier 'i' gout[start_index] = (((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 4) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 8)) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 1)))) ? 1 : -1; ^ Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_05evt.c:296:157: error: use of undeclared identifier 'i' gout[start_index] = (((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 1))) || (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 0))))) ? 1 : -1; ^ Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_05evt.c:296:441: error: use of undeclared identifier 'i' gout[start_index] = (((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 1))) || (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 0))))) ? 1 : -1; ^ Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_05evt.c:308:156: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 3) && ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 3) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 7)) || ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 0))))) ? 1 : -1; ^ Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_05evt.c:308:290: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 3) && ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 3) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 7)) || ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 0))))) ? 1 : -1; ^ Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_05evt.c:308:422: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 3) && ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 3) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 7)) || ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 0))))) ? 1 : -1; ^ Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_05evt.c:312:142: error: use of undeclared identifier 'i' gout[start_index] = (((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 3) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 7)) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 1)))) ? 1 : -1; ^ Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_05evt.c:312:274: error: use of undeclared identifier 'i' gout[start_index] = (((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 3) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 7)) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 1)))) ? 1 : -1; ^ Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_05evt.c:316:157: error: use of undeclared identifier 'i' gout[start_index] = (((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 1))) || (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 0))))) ? 1 : -1; ^ Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_05evt.c:316:441: error: use of undeclared identifier 'i' gout[start_index] = (((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 1))) || (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 0))))) ? 1 : -1; ^ Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_05evt.c:342:156: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == integer_get_2D(tmp118, ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1])-1, 0)) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 1))) ? 1 : -1; ^ Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_05evt.c:342:305: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == integer_get_2D(tmp118, ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1])-1, 0)) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 1))) ? 1 : -1; ^ Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_05evt.c:342:454: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == integer_get_2D(tmp118, ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1])-1, 0)) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 1))) ? 1 : -1; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_05evt.o] Error 1 [Calling os._exit(0), Time elapsed: 3.6902951499796472] Failed to read output from testmodel.py, exit status != 0: ['time', 'dFFREGSRL.dataOut[1]', 'dFFREGSRL.dataOut[2]'] 0.07551384100224823 0.32622903799999997 0.30987130299999993 Calling exit ...