Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.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.00177/0.00177, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 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.001981/0.001981, allocations: 219.1 kB / 24.55 MB, free: 3.82 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.542/1.542, 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.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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.DFFREGL") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.178e-05, allocations: 4.953 kB / 379 MB, free: 2.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGL): time 0.002823/0.002845, allocations: 1.687 MB / 380.7 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.249/0.2518, allocations: 0.9604 MB / 381.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.252, allocations: 5.906 kB / 381.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.2522, allocations: 28.88 kB / 381.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.2523, allocations: 42.84 kB / 381.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.2528, allocations: 116.3 kB / 381.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007475/0.2536, allocations: 478.1 kB / 382.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.2538, allocations: 51.12 kB / 382.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001733/0.2555, allocations: 0.9806 MB / 383.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003467/0.2559, allocations: 177.2 kB / 383.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.256, allocations: 27.84 kB / 383.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.2561, allocations: 27.44 kB / 383.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005543/0.2567, allocations: 468 kB / 384.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001526/0.2568, allocations: 217.7 kB / 384.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.2569, allocations: 33.16 kB / 384.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.331e-05/0.257, allocations: 7.562 kB / 384.3 MB, free: 13.31 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.001796/0.2588, allocations: 1.294 MB / 385.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002126/0.259, allocations: 119.2 kB / 385.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001374/0.2604, allocations: 1.001 MB / 386.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005062/0.2609, allocations: 259.8 kB / 387 MB, free: 11.73 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001921/0.2628, allocations: 0.8662 MB / 387.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0005737/0.2634, allocations: 266.1 kB / 388.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004031/0.2638, allocations: 226.1 kB / 388.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0007649/0.2645, allocations: 350.8 kB / 388.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0008563/0.2654, allocations: 0.5391 MB / 389.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.001089/0.2665, allocations: 0.5946 MB / 389.8 MB, free: 9.871 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001715/0.2682, allocations: 1.21 MB / 391 MB, free: 9.699 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001752/0.2699, allocations: 1.194 MB / 392.2 MB, free: 9.152 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001736/0.2717, allocations: 0.6447 MB / 392.8 MB, free: 8.77 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.003308/0.275, allocations: 1.812 MB / 394.7 MB, free: 7.934 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 7.225e-05/0.2751, allocations: 30.56 kB / 394.7 MB, free: 7.902 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.001635/0.2767, allocations: 0.7815 MB / 395.5 MB, free: 7.539 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.006362/0.2831, allocations: 3.317 MB / 398.8 MB, free: 7.203 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.617e-05/0.2831, allocations: 16.12 kB / 398.8 MB, free: 7.191 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.014e-06/0.2831, allocations: 0 / 398.8 MB, free: 7.191 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 6.726e-05/0.2831, allocations: 17.77 kB / 398.8 MB, free: 7.176 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.684e-06/0.2832, allocations: 1.062 kB / 398.8 MB, free: 7.176 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.252e-05/0.2832, allocations: 15.19 kB / 398.8 MB, free: 7.164 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.36e-05/0.2832, allocations: 6.438 kB / 398.8 MB, free: 7.16 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0004475/0.2836, allocations: 100.7 kB / 398.9 MB, free: 7.133 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001353/0.2838, allocations: 178 kB / 399.1 MB, free: 6.941 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 9.48e-05/0.2839, allocations: 46.75 kB / 399.2 MB, free: 6.91 MB / 302.1 MB Notification: Performance of SimCode: time 0.005033/0.2889, allocations: 3.278 MB / 402.4 MB, free: 4.812 MB / 302.1 MB Notification: Performance of Templates: time 0.01404/0.3029, allocations: 6.479 MB / 408.9 MB, free: 14.51 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.makefile [Timeout 660] make -j1 -f Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.o Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.DFFREGL_functions.o Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.DFFREGL_records.o Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.DFFREGL_01exo.o Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.DFFREGL_02nls.o Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.DFFREGL_03lsy.o Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.DFFREGL_04set.o Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.DFFREGL_05evt.o Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL_05evt.c Modelica_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.DFFREGL_05evt.o] Error 1 [Calling os._exit(0), Time elapsed: 3.4086407810100354] 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.3120807249797508 0.335293956 0.074005838 Calling exit ...