Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG.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.00147/0.00147, allocations: 108.4 kB / 22 MB, free: 5.23 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.001977/0.001977, allocations: 217.5 kB / 25.3 MB, free: 2.895 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.785/1.785, allocations: 207.7 MB / 236.2 MB, free: 9.758 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.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_3.2.3_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_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.646e-05, allocations: 2.281 kB / 348.5 MB, free: 9.383 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREG): time 0.004298/0.004325, allocations: 1.664 MB / 350.2 MB, free: 7.703 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002954/0.007279, allocations: 0.9678 MB / 351.1 MB, free: 6.727 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002393/0.007518, allocations: 7.938 kB / 351.2 MB, free: 6.719 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.007784, allocations: 35.7 kB / 351.2 MB, free: 6.684 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.008059, allocations: 35.72 kB / 351.2 MB, free: 6.648 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005879/0.008647, allocations: 119.8 kB / 351.3 MB, free: 6.531 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009678/0.009615, allocations: 479.2 kB / 351.8 MB, free: 6.062 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002403/0.009855, allocations: 53.7 kB / 351.9 MB, free: 6.012 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001522/0.01138, allocations: 0.9865 MB / 352.8 MB, free: 5.023 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004641/0.01184, allocations: 163.5 kB / 353 MB, free: 4.863 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.01198, allocations: 28 kB / 353 MB, free: 4.836 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.01211, allocations: 28 kB / 353.1 MB, free: 4.809 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0007982/0.01291, allocations: 464.3 kB / 353.5 MB, free: 4.352 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002742/0.01318, allocations: 233.1 kB / 353.7 MB, free: 4.121 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.01338, allocations: 28 kB / 353.8 MB, free: 4.094 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.422e-05/0.01342, allocations: 4 kB / 353.8 MB, free: 4.09 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.002252/0.01567, allocations: 1.301 MB / 355.1 MB, free: 2.664 MB / 286.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003124/0.01598, allocations: 133.2 kB / 355.2 MB, free: 2.523 MB / 286.1 MB Notification: Performance of [SIM] Early Inline: time 0.001469/0.01745, allocations: 0.9954 MB / 356.2 MB, free: 1.5 MB / 286.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005418/0.018, allocations: 268.2 kB / 356.5 MB, free: 1.191 MB / 286.1 MB Notification: Performance of [SIM] Alias: time 0.002066/0.02006, allocations: 0.8601 MB / 357.3 MB, free: 244 kB / 286.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0005027/0.02056, allocations: 264.2 kB / 357.6 MB, free: 15.94 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004116/0.02098, allocations: 220.1 kB / 357.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.000824/0.0218, allocations: 358.4 kB / 358.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0009889/0.02279, allocations: 0.5148 MB / 358.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0009944/0.02378, allocations: 0.6068 MB / 359.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001644/0.02543, allocations: 1.212 MB / 360.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001619/0.02705, allocations: 1.202 MB / 361.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001335/0.02838, allocations: 0.6298 MB / 362.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.002523/0.0309, allocations: 1.819 MB / 364.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.064e-05/0.03094, allocations: 17.44 kB / 364.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.001097/0.03204, allocations: 0.7878 MB / 364.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.003899/0.03594, allocations: 3.33 MB / 368.3 MB, free: 4.977 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.745e-05/0.03596, allocations: 12 kB / 368.3 MB, free: 4.965 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.153e-06/0.03596, allocations: 0 / 368.3 MB, free: 4.965 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 5.285e-05/0.03601, allocations: 24.06 kB / 368.3 MB, free: 4.934 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.824e-06/0.03602, allocations: 0 / 368.3 MB, free: 4.934 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.085e-05/0.03603, allocations: 12.38 kB / 368.3 MB, free: 4.922 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.653e-05/0.03605, allocations: 11.94 kB / 368.3 MB, free: 4.91 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0003202/0.03637, allocations: 104.1 kB / 368.4 MB, free: 4.809 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001722/0.03654, allocations: 182 kB / 368.6 MB, free: 4.598 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 7.883e-05/0.03662, allocations: 39.16 kB / 368.6 MB, free: 4.562 MB / 302.1 MB Notification: Performance of SimCode: time 0.004153/0.04077, allocations: 3.287 MB / 371.9 MB, free: 1.203 MB / 302.1 MB Notification: Performance of Templates: time 0.01216/0.05293, allocations: 6.455 MB / 378.4 MB, free: 10.56 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG.makefile [Timeout 660] make -j1 -f Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG.o Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG_functions.o Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG_records.o Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG_01exo.o Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG_02nls.o Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG_03lsy.o Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG_04set.o Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG_05evt.o Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG_05evt.c Modelica_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_Modelica.Electrical.Digital.Examples.DFFREG_05evt.o] Error 1 [Calling os._exit(0), Time elapsed: 3.819270742998924] 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.062345915008336306 0.319227338 0.301664303 Calling exit ...