Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001733/0.001733, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.002064/0.002064, allocations: 204.7 kB / 24.55 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.596/1.596, allocations: 230.6 MB / 258.3 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Digital.Examples.DFFREG") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.18e-05/3.18e-05, allocations: 2.281 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREG): time 0.003497/0.003529, allocations: 1.69 MB / 380.7 MB, free: 0.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1997/0.2033, allocations: 0.9518 MB / 381.7 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.2034, allocations: 4.969 kB / 381.7 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.2036, allocations: 30.14 kB / 381.7 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.2037, allocations: 40.84 kB / 381.8 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.204, allocations: 121.6 kB / 381.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005693/0.2046, allocations: 470.4 kB / 382.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.2048, allocations: 51.05 kB / 382.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.2059, allocations: 0.9866 MB / 383.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003625/0.2063, allocations: 167.2 kB / 383.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.2064, allocations: 30.53 kB / 383.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.686e-05/0.2065, allocations: 28.44 kB / 383.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005863/0.2071, allocations: 467.4 kB / 384.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001952/0.2073, allocations: 223.5 kB / 384.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.2074, allocations: 29.19 kB / 384.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.016e-05/0.2074, allocations: 9.594 kB / 384.3 MB, free: 12.81 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.001345/0.2088, allocations: 1.291 MB / 385.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001612/0.2089, allocations: 124.2 kB / 385.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0009845/0.2099, allocations: 0.9998 MB / 386.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003509/0.2103, allocations: 260.3 kB / 387 MB, free: 11.58 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001259/0.2115, allocations: 0.87 MB / 387.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003183/0.2119, allocations: 264.3 kB / 388.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002565/0.2121, allocations: 223.7 kB / 388.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0004574/0.2126, allocations: 360.9 kB / 388.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0005119/0.2131, allocations: 0.5397 MB / 389.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0007372/0.2138, allocations: 0.5946 MB / 389.8 MB, free: 9.715 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001312/0.2151, allocations: 1.213 MB / 391 MB, free: 9.539 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001242/0.2164, allocations: 1.196 MB / 392.2 MB, free: 8.992 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0009595/0.2173, allocations: 0.6437 MB / 392.9 MB, free: 8.613 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001927/0.2193, allocations: 1.811 MB / 394.7 MB, free: 7.781 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.236e-05/0.2193, allocations: 25.91 kB / 394.7 MB, free: 7.754 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0009886/0.2203, allocations: 0.7911 MB / 395.5 MB, free: 7.383 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.003473/0.2237, allocations: 3.318 MB / 398.8 MB, free: 7.043 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.382e-05/0.2238, allocations: 7.5 kB / 398.8 MB, free: 7.039 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.573e-06/0.2238, allocations: 1.406 kB / 398.8 MB, free: 7.039 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 3.385e-05/0.2238, allocations: 14.34 kB / 398.8 MB, free: 7.023 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.521e-06/0.2238, allocations: 5.469 kB / 398.8 MB, free: 7.02 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 5.511e-06/0.2238, allocations: 14.81 kB / 398.8 MB, free: 7.008 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.316e-05/0.2238, allocations: 5.938 kB / 398.9 MB, free: 7.004 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.000245/0.2241, allocations: 105.3 kB / 399 MB, free: 6.973 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 9.173e-05/0.2242, allocations: 176.9 kB / 399.1 MB, free: 6.781 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 5.342e-05/0.2242, allocations: 49.14 kB / 399.2 MB, free: 6.754 MB / 302.1 MB Notification: Performance of SimCode: time 0.002888/0.2271, allocations: 3.289 MB / 402.5 MB, free: 4.707 MB / 302.1 MB Notification: Performance of Templates: time 0.00945/0.2366, allocations: 6.469 MB / 408.9 MB, free: 14.5 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREG.makefile [Timeout 660] make -j1 -f Modelica_4.1.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_1_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.1.0_Modelica.Electrical.Digital.Examples.DFFREG.o Modelica_4.1.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_1_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.1.0_Modelica.Electrical.Digital.Examples.DFFREG_functions.o Modelica_4.1.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_1_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.1.0_Modelica.Electrical.Digital.Examples.DFFREG_records.o Modelica_4.1.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_1_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.1.0_Modelica.Electrical.Digital.Examples.DFFREG_01exo.o Modelica_4.1.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_1_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.1.0_Modelica.Electrical.Digital.Examples.DFFREG_02nls.o Modelica_4.1.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_1_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.1.0_Modelica.Electrical.Digital.Examples.DFFREG_03lsy.o Modelica_4.1.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_1_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.1.0_Modelica.Electrical.Digital.Examples.DFFREG_04set.o Modelica_4.1.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_1_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.1.0_Modelica.Electrical.Digital.Examples.DFFREG_05evt.o Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREG_05evt.c Modelica_4.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.0_Modelica.Electrical.Digital.Examples.DFFREG_05evt.o] Error 1 [Calling os._exit(0), Time elapsed: 3.4077912570210174] 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.2446092909667641 0.25993726500000003 0.049277427000000006 Calling exit ...