Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.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.001384/0.001384, allocations: 104 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.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.001682/0.001682, allocations: 190.7 kB / 24.53 MB, free: 3.852 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.576/1.576, allocations: 225.7 MB / 253.4 MB, free: 12.78 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.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.0.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.0.0_Modelica.Electrical.Digital.Examples.DFFREGL") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.423e-05, allocations: 2.281 kB / 371.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGL): time 0.003249/0.003273, allocations: 1.675 MB / 373.4 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002346/0.005619, allocations: 0.9278 MB / 374.3 MB, free: 6.543 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.223e-05/0.005711, allocations: 4 kB / 374.3 MB, free: 6.539 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.005896, allocations: 27.78 kB / 374.4 MB, free: 6.512 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.00606, allocations: 43.7 kB / 374.4 MB, free: 6.469 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.006395, allocations: 115.8 kB / 374.5 MB, free: 6.355 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006401/0.007035, allocations: 479.2 kB / 375 MB, free: 5.887 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.007205, allocations: 41.73 kB / 375 MB, free: 5.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.008493, allocations: 0.9827 MB / 376 MB, free: 4.855 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.008761, allocations: 175.3 kB / 376.2 MB, free: 4.684 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.24e-05/0.008853, allocations: 28 kB / 376.2 MB, free: 4.656 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.188e-05/0.008935, allocations: 28 kB / 376.2 MB, free: 4.629 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005329/0.009468, allocations: 472.2 kB / 376.7 MB, free: 4.164 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001712/0.009639, allocations: 217.3 kB / 376.9 MB, free: 3.949 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.202e-05/0.009731, allocations: 36 kB / 376.9 MB, free: 3.914 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.095e-05/0.009762, allocations: 7.938 kB / 376.9 MB, free: 3.906 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.001592/0.01135, allocations: 1.29 MB / 378.2 MB, free: 2.492 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001911/0.01155, allocations: 121.1 kB / 378.4 MB, free: 2.359 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001096/0.01264, allocations: 1.003 MB / 379.4 MB, free: 1.328 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003847/0.01303, allocations: 264.2 kB / 379.6 MB, free: 1.023 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001417/0.01444, allocations: 0.8757 MB / 380.5 MB, free: 64 kB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.2053/0.2197, allocations: 259.5 kB / 380.7 MB, free: 16.77 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000525/0.2203, allocations: 220 kB / 381 MB, free: 16.72 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0007778/0.221, allocations: 354.9 kB / 381.3 MB, free: 16.61 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0008444/0.2219, allocations: 0.5313 MB / 381.8 MB, free: 16.34 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.001124/0.223, allocations: 0.601 MB / 382.4 MB, free: 16.3 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.002068/0.2251, allocations: 1.211 MB / 383.6 MB, free: 16.2 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001376/0.2265, allocations: 1.196 MB / 384.8 MB, free: 16.19 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001078/0.2275, allocations: 0.6436 MB / 385.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001857/0.2294, allocations: 1.82 MB / 387.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.517e-05/0.2294, allocations: 17.83 kB / 387.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.001022/0.2304, allocations: 0.7801 MB / 388.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.003869/0.2343, allocations: 3.326 MB / 391.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.994e-05/0.2343, allocations: 11.12 kB / 391.4 MB, free: 14.44 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.162e-06/0.2343, allocations: 0 / 391.4 MB, free: 14.44 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 4.888e-05/0.2344, allocations: 23.41 kB / 391.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.134e-06/0.2344, allocations: 0 / 391.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 6.282e-06/0.2344, allocations: 7.156 kB / 391.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.842e-05/0.2344, allocations: 3.188 kB / 391.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0003504/0.2348, allocations: 104.1 kB / 391.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 8.477e-05/0.2349, allocations: 181.2 kB / 391.8 MB, free: 14.19 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.761e-05/0.2349, allocations: 50.91 kB / 391.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of SimCode: time 0.004374/0.2393, allocations: 3.266 MB / 395.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of Templates: time 0.0114/0.2507, allocations: 6.479 MB / 401.5 MB, free: 9.688 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.makefile [Timeout 660] make -j1 -f Modelica_4.0.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_0_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.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.o Modelica_4.0.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_0_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.0.0_Modelica.Electrical.Digital.Examples.DFFREGL_functions.o Modelica_4.0.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_0_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.0.0_Modelica.Electrical.Digital.Examples.DFFREGL_records.o Modelica_4.0.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_0_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.0.0_Modelica.Electrical.Digital.Examples.DFFREGL_01exo.o Modelica_4.0.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_0_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.0.0_Modelica.Electrical.Digital.Examples.DFFREGL_02nls.o Modelica_4.0.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_0_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.0.0_Modelica.Electrical.Digital.Examples.DFFREGL_03lsy.o Modelica_4.0.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_0_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.0.0_Modelica.Electrical.Digital.Examples.DFFREGL_04set.o Modelica_4.0.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_0_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.0.0_Modelica.Electrical.Digital.Examples.DFFREGL_05evt.o Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL_05evt.c Modelica_4.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.0_Modelica.Electrical.Digital.Examples.DFFREGL_05evt.o] Error 1 [Calling os._exit(0), Time elapsed: 3.5250841879751533] 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.25889029598329216 0.270585032 0.257287696 Calling exit ...