Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001516/0.001516, allocations: 111 kB / 22 MB, free: 4.547 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.001451/0.001451, allocations: 214 kB / 25.3 MB, free: 2.906 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.666/1.666, 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.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_3.2.3_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_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.616e-05/3.616e-05, allocations: 2.281 kB / 348.5 MB, free: 9.371 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGL): time 0.003703/0.003739, allocations: 1.668 MB / 350.2 MB, free: 7.688 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00254/0.00628, allocations: 0.9717 MB / 351.2 MB, free: 6.707 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.62e-05/0.006366, allocations: 7.938 kB / 351.2 MB, free: 6.699 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.006593, allocations: 23.78 kB / 351.2 MB, free: 6.676 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.006772, allocations: 43.7 kB / 351.2 MB, free: 6.633 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.00711, allocations: 111.8 kB / 351.3 MB, free: 6.523 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006474/0.007757, allocations: 483.2 kB / 351.8 MB, free: 6.051 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.007903, allocations: 45.73 kB / 351.9 MB, free: 6.008 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.009081, allocations: 0.9827 MB / 352.8 MB, free: 5.023 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.009342, allocations: 175.4 kB / 353 MB, free: 4.852 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.202e-05/0.009434, allocations: 27.94 kB / 353 MB, free: 4.824 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.41e-05/0.009518, allocations: 32 kB / 353.1 MB, free: 4.793 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0005373/0.01006, allocations: 456.3 kB / 353.5 MB, free: 4.344 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002064/0.01026, allocations: 233.1 kB / 353.7 MB, free: 4.113 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.01036, allocations: 32 kB / 353.8 MB, free: 4.082 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.326e-05/0.0104, allocations: 4 kB / 353.8 MB, free: 4.078 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: 40 (19) * Number of variables: 40 (25) Notification: Performance of [SIM] Bindings: time 0.001754/0.01215, allocations: 1.305 MB / 355.1 MB, free: 2.648 MB / 286.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001882/0.01234, allocations: 125.2 kB / 355.2 MB, free: 2.516 MB / 286.1 MB Notification: Performance of [SIM] Early Inline: time 0.001209/0.01355, allocations: 0.9954 MB / 356.2 MB, free: 1.492 MB / 286.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004188/0.01397, allocations: 268.2 kB / 356.5 MB, free: 1.184 MB / 286.1 MB Notification: Performance of [SIM] Alias: time 0.001651/0.01562, allocations: 0.8679 MB / 357.3 MB, free: 228 kB / 286.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003781/0.016, allocations: 256.3 kB / 357.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003025/0.0163, allocations: 212.1 kB / 357.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0006262/0.01692, allocations: 365 kB / 358.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0007788/0.0177, allocations: 0.5298 MB / 358.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0008623/0.01857, allocations: 0.6029 MB / 359.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001565/0.02013, allocations: 1.212 MB / 360.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001434/0.02157, allocations: 1.198 MB / 361.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001278/0.02284, allocations: 0.622 MB / 362.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.002315/0.02516, allocations: 1.819 MB / 364.1 MB, free: 9.117 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.58e-05/0.02519, allocations: 17.44 kB / 364.1 MB, free: 9.094 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.001092/0.02629, allocations: 0.7839 MB / 364.9 MB, free: 8.309 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.003905/0.03019, allocations: 3.318 MB / 368.2 MB, free: 4.984 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.031e-05/0.03021, allocations: 11.94 kB / 368.3 MB, free: 4.973 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 8.52e-07/0.03021, allocations: 4 kB / 368.3 MB, free: 4.969 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 5.525e-05/0.03027, allocations: 20.06 kB / 368.3 MB, free: 4.941 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.741e-06/0.03027, allocations: 0 / 368.3 MB, free: 4.941 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 6.633e-06/0.03028, allocations: 8.375 kB / 368.3 MB, free: 4.934 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.525e-05/0.03029, allocations: 11.98 kB / 368.3 MB, free: 4.922 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0002834/0.03058, allocations: 108.1 kB / 368.4 MB, free: 4.816 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002168/0.03079, allocations: 182 kB / 368.6 MB, free: 4.605 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 0.0001005/0.0309, allocations: 35.23 kB / 368.6 MB, free: 4.574 MB / 302.1 MB Notification: Performance of SimCode: time 0.004509/0.0354, allocations: 3.274 MB / 371.9 MB, free: 1.23 MB / 302.1 MB Notification: Performance of Templates: time 0.0119/0.0473, allocations: 6.479 MB / 378.4 MB, free: 10.57 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL.makefile [Timeout 660] make -j1 -f Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL.o Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL_functions.o Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL_records.o Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL_01exo.o Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL_02nls.o Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL_03lsy.o Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL_04set.o Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL_05evt.o Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL_05evt.c Modelica_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGL_05evt.o] Error 1 [Calling os._exit(0), Time elapsed: 3.6019885150017217] 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.056613410997670144 0.321213633 0.30690451900000004 Calling exit ...