Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001384/0.001384, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001676/0.001676, allocations: 215.3 kB / 24.55 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.582/1.582, allocations: 230.5 MB / 258.2 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.DFFREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|dFFREG.dFFR.clock|dFFREG.dFFR.reset|dFFREG.delay.inertialDelaySensitive.1..x|dFFREG.delay.inertialDelaySensitive.1..y|dFFREG.delay.inertialDelaySensitive.2..x|dFFREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG") translateModel(Modelica.Electrical.Digital.Examples.DFFREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|dFFREG.dFFR.clock|dFFREG.dFFR.reset|dFFREG.delay.inertialDelaySensitive.1..x|dFFREG.delay.inertialDelaySensitive.1..y|dFFREG.delay.inertialDelaySensitive.2..x|dFFREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.372e-05, allocations: 7.062 kB / 379 MB, free: 2.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREG): time 0.00319/0.003214, allocations: 1.677 MB / 380.7 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2265/0.2297, allocations: 0.962 MB / 381.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003086/0.23, allocations: 2.125 kB / 381.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.2304, allocations: 31.58 kB / 381.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.2305, allocations: 42.06 kB / 381.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.2309, allocations: 114.4 kB / 381.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006823/0.2316, allocations: 481.6 kB / 382.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.2318, allocations: 50.64 kB / 382.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.2332, allocations: 0.9794 MB / 383.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003177/0.2335, allocations: 170.4 kB / 383.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.887e-05/0.2336, allocations: 29.53 kB / 383.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.726e-05/0.2337, allocations: 28.62 kB / 383.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005088/0.2342, allocations: 469.5 kB / 384 MB, free: 12.92 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001578/0.2344, allocations: 219.5 kB / 384.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.2345, allocations: 29.81 kB / 384.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.44e-05/0.2345, allocations: 7.125 kB / 384.3 MB, free: 12.79 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.001756/0.2363, allocations: 1.293 MB / 385.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001638/0.2364, allocations: 127.8 kB / 385.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001162/0.2376, allocations: 0.9951 MB / 386.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004072/0.238, allocations: 263.1 kB / 387 MB, free: 11.52 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001365/0.2394, allocations: 0.8714 MB / 387.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003179/0.2397, allocations: 263.1 kB / 388.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002835/0.24, allocations: 221.5 kB / 388.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005243/0.2405, allocations: 347.3 kB / 388.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.000607/0.2411, allocations: 0.5499 MB / 389.2 MB, free: 9.938 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0008371/0.2419, allocations: 0.6026 MB / 389.8 MB, free: 9.664 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001565/0.2435, allocations: 1.215 MB / 391 MB, free: 9.488 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001444/0.245, allocations: 1.194 MB / 392.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001053/0.246, allocations: 0.6385 MB / 392.8 MB, free: 8.566 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.002238/0.2482, allocations: 1.814 MB / 394.7 MB, free: 7.73 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 6.392e-05/0.2483, allocations: 30.11 kB / 394.7 MB, free: 7.699 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.001432/0.2497, allocations: 0.7841 MB / 395.5 MB, free: 7.336 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.004156/0.2539, allocations: 3.314 MB / 398.8 MB, free: 7 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.722e-05/0.2539, allocations: 9.781 kB / 398.8 MB, free: 6.992 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.926e-06/0.2539, allocations: 2.844 kB / 398.8 MB, free: 6.992 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 4.324e-05/0.254, allocations: 14.08 kB / 398.8 MB, free: 6.977 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.931e-06/0.254, allocations: 384 / 398.8 MB, free: 6.977 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 7.233e-06/0.254, allocations: 24.22 kB / 398.8 MB, free: 6.957 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.194e-05/0.254, allocations: 3.266 kB / 398.8 MB, free: 6.957 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0003098/0.2543, allocations: 102.3 kB / 398.9 MB, free: 6.93 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 9.763e-05/0.2544, allocations: 177.6 kB / 399.1 MB, free: 6.738 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, dFFREG.delay.inertialDelaySensitive.x, dFFREG.delay.inertialDelaySensitive.y, dFFREG.delay.inertialDelaySensitive.delayTime, dFFREG.delay.inertialDelaySensitive.y_auxiliary, dFFREG.delay.inertialDelaySensitive.y_old, dFFREG.delay.inertialDelaySensitive.lh, dFFREG.delay.inertialDelaySensitive.t_next, dFFREG.dataIn, dFFREG.dataOut, dFFREG.dFFR.clock, dFFREG.dFFR.dataOut, dFFREG.dFFR.clock_flag, dFFREG.dFFR.reset_flag, dFFREG.dFFR.nextstate, dFFREG.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.239e-05/0.2545, allocations: 46.44 kB / 399.2 MB, free: 6.711 MB / 302.1 MB Notification: Performance of SimCode: time 0.003442/0.2579, allocations: 3.28 MB / 402.4 MB, free: 4.664 MB / 302.1 MB Notification: Performance of Templates: time 0.009817/0.2677, allocations: 6.47 MB / 408.9 MB, free: 14.42 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG.makefile [Timeout 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG.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_trunk_Modelica_Electrical_Digital_Examples_DFFREG -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_trunk_Modelica.Electrical.Digital.Examples.DFFREG.o Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG.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_trunk_Modelica_Electrical_Digital_Examples_DFFREG -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_trunk_Modelica.Electrical.Digital.Examples.DFFREG_functions.o Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG_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_trunk_Modelica_Electrical_Digital_Examples_DFFREG -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_trunk_Modelica.Electrical.Digital.Examples.DFFREG_records.o Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG_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_trunk_Modelica_Electrical_Digital_Examples_DFFREG -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_trunk_Modelica.Electrical.Digital.Examples.DFFREG_01exo.o Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG_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_trunk_Modelica_Electrical_Digital_Examples_DFFREG -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_trunk_Modelica.Electrical.Digital.Examples.DFFREG_02nls.o Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG_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_trunk_Modelica_Electrical_Digital_Examples_DFFREG -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_trunk_Modelica.Electrical.Digital.Examples.DFFREG_03lsy.o Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG_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_trunk_Modelica_Electrical_Digital_Examples_DFFREG -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_trunk_Modelica.Electrical.Digital.Examples.DFFREG_04set.o Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG_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_trunk_Modelica_Electrical_Digital_Examples_DFFREG -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_trunk_Modelica.Electrical.Digital.Examples.DFFREG_05evt.o Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG_05evt.c Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG_05evt.c:268:152: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[196]] /* dFFREG.dFFR.next_assign_val[1] DISCRETE */)[i - 1] == integer_get_2D(tmp107, ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREG.dataIn[1] DISCRETE */)[i - 1])-1, 0)) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[196]] /* dFFREG.dFFR.next_assign_val[1] DISCRETE */)[i - 1] == 1))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG_05evt.c:268:298: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[196]] /* dFFREG.dFFR.next_assign_val[1] DISCRETE */)[i - 1] == integer_get_2D(tmp107, ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREG.dataIn[1] DISCRETE */)[i - 1])-1, 0)) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[196]] /* dFFREG.dFFR.next_assign_val[1] DISCRETE */)[i - 1] == 1))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG_05evt.c:268:443: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[196]] /* dFFREG.dFFR.next_assign_val[1] DISCRETE */)[i - 1] == integer_get_2D(tmp107, ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREG.dataIn[1] DISCRETE */)[i - 1])-1, 0)) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[196]] /* dFFREG.dFFR.next_assign_val[1] DISCRETE */)[i - 1] == 1))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG_05evt.c:272:137: error: use of undeclared identifier 'i' gout[start_index] = (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREG.dataIn[1] DISCRETE */)[i - 1] == 1)) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG_05evt.c:280:152: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[196]] /* dFFREG.dFFR.next_assign_val[1] DISCRETE */)[i - 1] == 3) && ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREG.dataIn[1] DISCRETE */)[i - 1] == 3) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREG.dataIn[1] DISCRETE */)[i - 1] == 7)) || ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREG.dFFR.clock_flag DISCRETE */) == ((modelica_integer) 0))))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG_05evt.c:280:283: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[196]] /* dFFREG.dFFR.next_assign_val[1] DISCRETE */)[i - 1] == 3) && ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREG.dataIn[1] DISCRETE */)[i - 1] == 3) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREG.dataIn[1] DISCRETE */)[i - 1] == 7)) || ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREG.dFFR.clock_flag DISCRETE */) == ((modelica_integer) 0))))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG_05evt.c:280:412: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[196]] /* dFFREG.dFFR.next_assign_val[1] DISCRETE */)[i - 1] == 3) && ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREG.dataIn[1] DISCRETE */)[i - 1] == 3) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREG.dataIn[1] DISCRETE */)[i - 1] == 7)) || ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREG.dFFR.clock_flag DISCRETE */) == ((modelica_integer) 0))))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG_05evt.c:284:139: error: use of undeclared identifier 'i' gout[start_index] = (((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREG.dataIn[1] DISCRETE */)[i - 1] == 3) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREG.dataIn[1] DISCRETE */)[i - 1] == 7)) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREG.dFFR.clock_flag DISCRETE */) == ((modelica_integer) 1)))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG_05evt.c:284:268: error: use of undeclared identifier 'i' gout[start_index] = (((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREG.dataIn[1] DISCRETE */)[i - 1] == 3) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREG.dataIn[1] DISCRETE */)[i - 1] == 7)) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREG.dFFR.clock_flag DISCRETE */) == ((modelica_integer) 1)))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG_05evt.c:288:153: error: use of undeclared identifier 'i' gout[start_index] = (((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[196]] /* dFFREG.dFFR.next_assign_val[1] DISCRETE */)[i - 1] == 1) && (!((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREG.dFFR.clock_flag DISCRETE */) == ((modelica_integer) 1)))) || (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREG.dataIn[1] DISCRETE */)[i - 1] == 1) && (!((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREG.dFFR.clock_flag DISCRETE */) == ((modelica_integer) 0)))))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG_05evt.c:288:433: error: use of undeclared identifier 'i' gout[start_index] = (((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[196]] /* dFFREG.dFFR.next_assign_val[1] DISCRETE */)[i - 1] == 1) && (!((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREG.dFFR.clock_flag DISCRETE */) == ((modelica_integer) 1)))) || (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREG.dataIn[1] DISCRETE */)[i - 1] == 1) && (!((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREG.dFFR.clock_flag DISCRETE */) == ((modelica_integer) 0)))))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG_05evt.c:475:165: error: use of undeclared identifier 'i' data->simulationInfo->relations[start_index] = ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREG.dataIn[1] DISCRETE */)[i - 1] == 1); ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG_05evt.c:580:165: error: use of undeclared identifier 'i' data->simulationInfo->relations[start_index] = ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[187]] /* dFFREG.dataIn[1] DISCRETE */)[i - 1] == 1); ^ 13 errors generated. make: *** [: Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG_05evt.o] Error 1 [Calling os._exit(0), Time elapsed: 3.4832404300104827] Failed to read output from testmodel.py, exit status != 0: ['time', 'dFFREG.dFFR.clock', 'dFFREG.dFFR.reset', 'dFFREG.delay.inertialDelaySensitive[1].x', 'dFFREG.delay.inertialDelaySensitive[1].y', 'dFFREG.delay.inertialDelaySensitive[2].x', 'dFFREG.delay.inertialDelaySensitive[2].y'] 0.27747845399426296 0.29327659399999995 0.055535983000000004 Calling exit ...