Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002145/0.002145, allocations: 104 kB / 21.25 MB, free: 0.5664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002235/0.002235, allocations: 190.7 kB / 24.53 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 225.7 MB / 253.4 MB, free: 12.95 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.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_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREG") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.674e-05, allocations: 5.094 kB / 371.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREG): time 0.003462/0.003489, allocations: 1.67 MB / 373.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002518/0.006006, allocations: 0.9239 MB / 374.3 MB, free: 6.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.006153, allocations: 0 / 374.3 MB, free: 6.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.00635, allocations: 31.78 kB / 374.3 MB, free: 6.539 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.006563, allocations: 43.7 kB / 374.4 MB, free: 6.496 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.007014, allocations: 111.8 kB / 374.5 MB, free: 6.387 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007397/0.007754, allocations: 483.2 kB / 375 MB, free: 5.914 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.00795, allocations: 45.73 kB / 375 MB, free: 5.863 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.009192, allocations: 0.9866 MB / 376 MB, free: 4.875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004023/0.009594, allocations: 175.3 kB / 376.2 MB, free: 4.703 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.009712, allocations: 28 kB / 376.2 MB, free: 4.676 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.623e-05/0.009808, allocations: 28 kB / 376.2 MB, free: 4.648 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006186/0.01043, allocations: 460.2 kB / 376.7 MB, free: 4.195 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002295/0.01066, allocations: 221.3 kB / 376.9 MB, free: 3.977 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.01078, allocations: 32 kB / 376.9 MB, free: 3.945 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.012e-05/0.01084, allocations: 7.938 kB / 376.9 MB, free: 3.938 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.00177/0.01261, allocations: 1.29 MB / 378.2 MB, free: 2.523 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002689/0.01288, allocations: 129.1 kB / 378.3 MB, free: 2.383 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001326/0.01421, allocations: 0.9993 MB / 379.3 MB, free: 1.355 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005085/0.01471, allocations: 264.2 kB / 379.6 MB, free: 1.051 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001618/0.01633, allocations: 0.8838 MB / 380.5 MB, free: 84 kB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.2068/0.2231, allocations: 250.2 kB / 380.7 MB, free: 16.87 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003549/0.2235, allocations: 218.9 kB / 380.9 MB, free: 16.82 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005436/0.224, allocations: 362.8 kB / 381.3 MB, free: 16.71 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0005978/0.2246, allocations: 0.5272 MB / 381.8 MB, free: 16.43 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0008092/0.2254, allocations: 0.6056 MB / 382.4 MB, free: 16.4 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.00155/0.227, allocations: 1.209 MB / 383.6 MB, free: 16.3 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001196/0.2282, allocations: 1.203 MB / 384.8 MB, free: 16.29 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0009421/0.2291, allocations: 0.6406 MB / 385.5 MB, free: 16.01 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001841/0.231, allocations: 1.82 MB / 387.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.305e-05/0.231, allocations: 18 kB / 387.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0009952/0.232, allocations: 0.7796 MB / 388.1 MB, free: 14.85 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.003722/0.2357, allocations: 3.334 MB / 391.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.743e-05/0.2357, allocations: 11.25 kB / 391.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 9.82e-07/0.2357, allocations: 0.5 kB / 391.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 4.741e-05/0.2358, allocations: 20.06 kB / 391.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.841e-06/0.2358, allocations: 1.188 kB / 391.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 7.244e-06/0.2358, allocations: 12.06 kB / 391.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.321e-05/0.2358, allocations: 9.016 kB / 391.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0003273/0.2361, allocations: 101.3 kB / 391.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001121/0.2363, allocations: 183 kB / 391.8 MB, free: 14.27 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.697e-05/0.2363, allocations: 44.55 kB / 391.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of SimCode: time 0.003874/0.2402, allocations: 3.265 MB / 395.1 MB, free: 12.9 MB / 302.1 MB Notification: Performance of Templates: time 0.009807/0.25, allocations: 6.487 MB / 401.6 MB, free: 9.715 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREG.makefile [Timeout 660] make -j1 -f Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREG.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREG_functions.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREG_records.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREG_01exo.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREG_02nls.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREG_03lsy.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREG_04set.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREG_05evt.o Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREG_05evt.c Modelica_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREG_05evt.o] Error 1 [Calling os._exit(0), Time elapsed: 3.471507691021543] 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.25781615398591384 0.26873631400000003 0.254827222 Calling exit ...