Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 96.03 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 192.1 kB / 24.52 MB, free: 3.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 225.7 MB / 253.4 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Digital.Examples.DFFREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|dFFREGSRL.dataOut.1.|dFFREGSRL.dataOut.2.",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.335e-05/3.335e-05, allocations: 5.094 kB / 371.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGSRL): time 0.003397/0.00343, allocations: 1.721 MB / 373.4 MB, free: 7.461 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.005911, allocations: 1.002 MB / 374.4 MB, free: 6.453 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.26e-05/0.006004, allocations: 4 kB / 374.4 MB, free: 6.449 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.006208, allocations: 35.7 kB / 374.5 MB, free: 6.414 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003072/0.006515, allocations: 171.5 kB / 374.6 MB, free: 6.246 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.006911, allocations: 151.7 kB / 374.8 MB, free: 6.098 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007799/0.007691, allocations: 0.6241 MB / 375.4 MB, free: 5.473 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.00786, allocations: 54.53 kB / 375.5 MB, free: 5.418 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.009277, allocations: 1.295 MB / 376.8 MB, free: 4.121 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003222/0.009599, allocations: 207.2 kB / 377 MB, free: 3.918 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.009705, allocations: 36 kB / 377 MB, free: 3.883 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.00981, allocations: 36 kB / 377 MB, free: 3.848 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006723/0.01048, allocations: 0.5582 MB / 377.6 MB, free: 3.285 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001964/0.01068, allocations: 260.8 kB / 377.8 MB, free: 3.027 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.689e-05/0.01078, allocations: 40 kB / 377.9 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.312e-05/0.01081, allocations: 4 kB / 377.9 MB, free: 2.984 MB / 302.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.00183/0.01264, allocations: 1.536 MB / 379.4 MB, free: 1.32 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002023/0.01284, allocations: 149.1 kB / 379.6 MB, free: 1.164 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.2461/0.2589, allocations: 1.244 MB / 380.8 MB, free: 16.46 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001027/0.2599, allocations: 299.8 kB / 381.1 MB, free: 16.36 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003183/0.2631, allocations: 1.045 MB / 382.2 MB, free: 16.16 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0006374/0.2638, allocations: 291.7 kB / 382.4 MB, free: 16.06 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005448/0.2643, allocations: 254.4 kB / 382.7 MB, free: 16.01 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0009796/0.2653, allocations: 426.5 kB / 383.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.001349/0.2666, allocations: 0.6965 MB / 383.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.001819/0.2685, allocations: 0.7262 MB / 384.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.00313/0.2716, allocations: 1.55 MB / 386.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003004/0.2746, allocations: 1.498 MB / 387.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.002211/0.2768, allocations: 0.7556 MB / 388.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.00492/0.2817, allocations: 2.278 MB / 390.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 7.792e-05/0.2818, allocations: 18.98 kB / 390.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.002839/0.2846, allocations: 0.9679 MB / 391.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.01088/0.2955, allocations: 4.233 MB / 395.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.677e-05/0.2955, allocations: 11.56 kB / 395.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.515e-06/0.2955, allocations: 0 / 395.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 7.587e-05/0.2956, allocations: 27.72 kB / 395.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.888e-06/0.2956, allocations: 1.188 kB / 395.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.027e-05/0.2956, allocations: 7.75 kB / 395.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.891e-05/0.2957, allocations: 2.562 kB / 395.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.000706/0.2964, allocations: 113.7 kB / 396 MB, free: 12.47 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001273/0.2965, allocations: 179.4 kB / 396.2 MB, free: 12.28 MB / 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 9.974e-05/0.2966, allocations: 43.64 kB / 396.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of SimCode: time 0.007361/0.304, allocations: 4.642 MB / 400.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of Templates: time 0.01247/0.3164, allocations: 8.39 MB / 409.2 MB, free: 2.094 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.makefile [Timeout 660] make -j1 -f Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL_functions.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL_records.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL_01exo.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL_02nls.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL_03lsy.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL_04set.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL_05evt.o Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL_05evt.c Modelica_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL_05evt.o] Error 1 [Calling os._exit(0), Time elapsed: 3.5308078980306163] Failed to read output from testmodel.py, exit status != 0: ['time', 'dFFREGSRL.dataOut[1]', 'dFFREGSRL.dataOut[2]'] 0.32563141896389425 0.34013507499999995 0.326202398 Calling exit ...