Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL.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.00135/0.00135, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.001444/0.001444, allocations: 211 kB / 24.55 MB, free: 3.828 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.607/1.607, allocations: 230.6 MB / 258.3 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.DFFREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|dFFREGL.dFFR.clock|dFFREGL.dFFR.reset|dFFREGL.delay.inertialDelaySensitive.1..x|dFFREGL.delay.inertialDelaySensitive.1..y|dFFREGL.delay.inertialDelaySensitive.2..x|dFFREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|dFFREGL.dFFR.clock|dFFREGL.dFFR.reset|dFFREGL.delay.inertialDelaySensitive.1..x|dFFREGL.delay.inertialDelaySensitive.1..y|dFFREGL.delay.inertialDelaySensitive.2..x|dFFREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.536e-05, allocations: 2.281 kB / 379 MB, free: 2.531 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGL): time 0.003453/0.003479, allocations: 1.701 MB / 380.7 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2181/0.2216, allocations: 0.9558 MB / 381.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.2217, allocations: 2.438 kB / 381.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.2219, allocations: 32.25 kB / 381.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.2221, allocations: 42.73 kB / 381.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.2225, allocations: 113.7 kB / 381.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007023/0.2232, allocations: 476 kB / 382.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.2234, allocations: 50.2 kB / 382.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.2249, allocations: 0.9815 MB / 383.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.2251, allocations: 171.7 kB / 383.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.2252, allocations: 27.75 kB / 383.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-05/0.2253, allocations: 28.44 kB / 383.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004535/0.2258, allocations: 465.7 kB / 384.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001379/0.2259, allocations: 224 kB / 384.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.238e-05/0.226, allocations: 29.72 kB / 384.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.362e-05/0.2261, allocations: 4.031 kB / 384.3 MB, free: 12.81 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: 40 (19) * Number of variables: 40 (25) Notification: Performance of [SIM] Bindings: time 0.001318/0.2274, allocations: 1.3 MB / 385.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001467/0.2275, allocations: 125.6 kB / 385.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001058/0.2286, allocations: 0.991 MB / 386.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003608/0.2289, allocations: 273.5 kB / 387 MB, free: 11.57 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001338/0.2303, allocations: 0.8663 MB / 387.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003341/0.2306, allocations: 256.5 kB / 388.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002609/0.2309, allocations: 223.5 kB / 388.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0004627/0.2313, allocations: 348.5 kB / 388.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0005374/0.2319, allocations: 0.5455 MB / 389.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0007546/0.2326, allocations: 0.5983 MB / 389.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001433/0.2341, allocations: 1.212 MB / 391 MB, free: 9.535 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001308/0.2354, allocations: 1.194 MB / 392.2 MB, free: 8.988 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.000964/0.2363, allocations: 0.6478 MB / 392.9 MB, free: 8.605 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.002155/0.2385, allocations: 1.808 MB / 394.7 MB, free: 7.773 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.184e-05/0.2385, allocations: 34.11 kB / 394.7 MB, free: 7.738 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.001302/0.2398, allocations: 0.7773 MB / 395.5 MB, free: 7.379 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.004743/0.2446, allocations: 3.316 MB / 398.8 MB, free: 7.039 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.124e-05/0.2446, allocations: 10.59 kB / 398.8 MB, free: 7.031 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.324e-06/0.2446, allocations: 1.312 kB / 398.8 MB, free: 7.031 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 5.349e-05/0.2447, allocations: 18.66 kB / 398.8 MB, free: 7.012 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.466e-06/0.2447, allocations: 384 / 398.8 MB, free: 7.012 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 7.584e-06/0.2447, allocations: 12.19 kB / 398.8 MB, free: 7.004 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.937e-05/0.2447, allocations: 5.406 kB / 398.8 MB, free: 7 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0003309/0.245, allocations: 108.4 kB / 399 MB, free: 6.969 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001152/0.2451, allocations: 175 kB / 399.1 MB, free: 6.777 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: ................. 75 (45) {clock.y, data_0.y, reset.y, data_1.y, dFFREGL.delay.inertialDelaySensitive.x, dFFREGL.delay.inertialDelaySensitive.y, dFFREGL.delay.inertialDelaySensitive.delayTime, dFFREGL.delay.inertialDelaySensitive.y_auxiliary, dFFREGL.delay.inertialDelaySensitive.y_old, dFFREGL.delay.inertialDelaySensitive.lh, dFFREGL.delay.inertialDelaySensitive.t_next, dFFREGL.dataIn, dFFREGL.dataOut, dFFREGL.dFFR.clock, dFFREGL.dFFR.dataOut, dFFREGL.dFFR.clock_flag, dFFREGL.dFFR.reset_flag, dFFREGL.dFFR.nextstate, dFFREGL.dFFR.next_assign_val, $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: ............ 6 (algorithm:6, 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: ........... 13 (scalar:11, array:2, record:0) * Number of multi strong components: ............ 6 (algorithm:6, 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 6.974e-05/0.2452, allocations: 48.89 kB / 399.2 MB, free: 6.746 MB / 302.1 MB Notification: Performance of SimCode: time 0.0037/0.2489, allocations: 3.284 MB / 402.5 MB, free: 4.715 MB / 302.1 MB Notification: Performance of Templates: time 0.01078/0.2597, allocations: 6.481 MB / 408.9 MB, free: 14.54 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL.makefile [Timeout 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL.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_1_0_Modelica_Electrical_Digital_Examples_DFFREGL -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.1.0_Modelica.Electrical.Digital.Examples.DFFREGL.o Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL.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_1_0_Modelica_Electrical_Digital_Examples_DFFREGL -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.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_functions.o Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_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_1_0_Modelica_Electrical_Digital_Examples_DFFREGL -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.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_records.o Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_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_1_0_Modelica_Electrical_Digital_Examples_DFFREGL -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.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_01exo.o Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_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_1_0_Modelica_Electrical_Digital_Examples_DFFREGL -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.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_02nls.o Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_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_1_0_Modelica_Electrical_Digital_Examples_DFFREGL -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.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_03lsy.o Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_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_1_0_Modelica_Electrical_Digital_Examples_DFFREGL -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.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_04set.o Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_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_1_0_Modelica_Electrical_Digital_Examples_DFFREGL -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.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_05evt.o Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_05evt.c Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_05evt.c:268:153: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[196]] /* dFFREGL.dFFR.next_assign_val[1] DISCRETE */)[i - 1] == integer_get_2D(tmp107, ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREGL.dataIn[1] DISCRETE */)[i - 1])-1, 0)) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[196]] /* dFFREGL.dFFR.next_assign_val[1] DISCRETE */)[i - 1] == 1))) ? 1 : -1; ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_05evt.c:268:300: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[196]] /* dFFREGL.dFFR.next_assign_val[1] DISCRETE */)[i - 1] == integer_get_2D(tmp107, ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREGL.dataIn[1] DISCRETE */)[i - 1])-1, 0)) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[196]] /* dFFREGL.dFFR.next_assign_val[1] DISCRETE */)[i - 1] == 1))) ? 1 : -1; ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_05evt.c:268:446: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[196]] /* dFFREGL.dFFR.next_assign_val[1] DISCRETE */)[i - 1] == integer_get_2D(tmp107, ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREGL.dataIn[1] DISCRETE */)[i - 1])-1, 0)) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[196]] /* dFFREGL.dFFR.next_assign_val[1] DISCRETE */)[i - 1] == 1))) ? 1 : -1; ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_05evt.c:272:138: error: use of undeclared identifier 'i' gout[start_index] = (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREGL.dataIn[1] DISCRETE */)[i - 1] == 1)) ? 1 : -1; ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_05evt.c:280:153: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[196]] /* dFFREGL.dFFR.next_assign_val[1] DISCRETE */)[i - 1] == 3) && ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREGL.dataIn[1] DISCRETE */)[i - 1] == 3) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREGL.dataIn[1] DISCRETE */)[i - 1] == 7)) || ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGL.dFFR.clock_flag DISCRETE */) == ((modelica_integer) 0))))) ? 1 : -1; ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_05evt.c:280:285: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[196]] /* dFFREGL.dFFR.next_assign_val[1] DISCRETE */)[i - 1] == 3) && ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREGL.dataIn[1] DISCRETE */)[i - 1] == 3) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREGL.dataIn[1] DISCRETE */)[i - 1] == 7)) || ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGL.dFFR.clock_flag DISCRETE */) == ((modelica_integer) 0))))) ? 1 : -1; ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_05evt.c:280:415: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[196]] /* dFFREGL.dFFR.next_assign_val[1] DISCRETE */)[i - 1] == 3) && ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREGL.dataIn[1] DISCRETE */)[i - 1] == 3) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREGL.dataIn[1] DISCRETE */)[i - 1] == 7)) || ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGL.dFFR.clock_flag DISCRETE */) == ((modelica_integer) 0))))) ? 1 : -1; ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_05evt.c:284:140: error: use of undeclared identifier 'i' gout[start_index] = (((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREGL.dataIn[1] DISCRETE */)[i - 1] == 3) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREGL.dataIn[1] DISCRETE */)[i - 1] == 7)) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGL.dFFR.clock_flag DISCRETE */) == ((modelica_integer) 1)))) ? 1 : -1; ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_05evt.c:284:270: error: use of undeclared identifier 'i' gout[start_index] = (((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREGL.dataIn[1] DISCRETE */)[i - 1] == 3) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREGL.dataIn[1] DISCRETE */)[i - 1] == 7)) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGL.dFFR.clock_flag DISCRETE */) == ((modelica_integer) 1)))) ? 1 : -1; ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_05evt.c:288:154: error: use of undeclared identifier 'i' gout[start_index] = (((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[196]] /* dFFREGL.dFFR.next_assign_val[1] DISCRETE */)[i - 1] == 1) && (!((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGL.dFFR.clock_flag DISCRETE */) == ((modelica_integer) 1)))) || (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREGL.dataIn[1] DISCRETE */)[i - 1] == 1) && (!((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGL.dFFR.clock_flag DISCRETE */) == ((modelica_integer) 0)))))) ? 1 : -1; ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_05evt.c:288:436: error: use of undeclared identifier 'i' gout[start_index] = (((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[196]] /* dFFREGL.dFFR.next_assign_val[1] DISCRETE */)[i - 1] == 1) && (!((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGL.dFFR.clock_flag DISCRETE */) == ((modelica_integer) 1)))) || (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREGL.dataIn[1] DISCRETE */)[i - 1] == 1) && (!((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGL.dFFR.clock_flag DISCRETE */) == ((modelica_integer) 0)))))) ? 1 : -1; ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_05evt.c:475:166: error: use of undeclared identifier 'i' data->simulationInfo->relations[start_index] = ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREGL.dataIn[1] DISCRETE */)[i - 1] == 1); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_05evt.c:580:166: error: use of undeclared identifier 'i' data->simulationInfo->relations[start_index] = ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREGL.dataIn[1] DISCRETE */)[i - 1] == 1); ^ 13 errors generated. make: *** [: Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_05evt.o] Error 1 [Calling os._exit(0), Time elapsed: 3.479271101008635] Failed to read output from testmodel.py, exit status != 0: ['time', 'dFFREGL.dFFR.clock', 'dFFREGL.dFFR.reset', 'dFFREGL.delay.inertialDelaySensitive[1].x', 'dFFREGL.delay.inertialDelaySensitive[1].y', 'dFFREGL.delay.inertialDelaySensitive[2].x', 'dFFREGL.delay.inertialDelaySensitive[2].y'] 0.2683688999968581 0.28338804999999995 0.05406192899999994 Calling exit ...