Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.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.001325/0.001325, allocations: 103.6 kB / 21.2 MB, free: 0.6328 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.001497/0.001497, allocations: 219 kB / 24.5 MB, free: 3.922 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.529/1.529, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.DFFREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|dFFREGSRL.dataOut.1.|dFFREGSRL.dataOut.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|dFFREGSRL.dataOut.1.|dFFREGSRL.dataOut.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/2.747e-05, allocations: 2.281 kB / 378.9 MB, free: 2.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGSRL): time 0.003253/0.00328, allocations: 1.733 MB / 380.7 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.192/0.1953, allocations: 1.02 MB / 381.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.1955, allocations: 2.562 kB / 381.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.1957, allocations: 34.19 kB / 381.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003864/0.1961, allocations: 177.6 kB / 381.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.1966, allocations: 153.1 kB / 382 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008609/0.1974, allocations: 0.6257 MB / 382.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.1976, allocations: 57.02 kB / 382.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.1993, allocations: 1.297 MB / 384 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003266/0.1996, allocations: 206.4 kB / 384.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.1997, allocations: 36.12 kB / 384.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.1998, allocations: 39.34 kB / 384.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006028/0.2004, allocations: 0.5552 MB / 384.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001405/0.2006, allocations: 252.7 kB / 385.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.2007, allocations: 42.81 kB / 385.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.748e-05/0.2007, allocations: 7.406 kB / 385.1 MB, free: 12.73 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: 43 (22) * Number of variables: 43 (28) Notification: Performance of [SIM] Bindings: time 0.001467/0.2022, allocations: 1.541 MB / 386.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001802/0.2024, allocations: 146.5 kB / 386.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001257/0.2036, allocations: 1.245 MB / 388.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004098/0.204, allocations: 302.9 kB / 388.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001521/0.2055, allocations: 1.04 MB / 389.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003616/0.2059, allocations: 288 kB / 389.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002911/0.2062, allocations: 248.6 kB / 389.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005412/0.2067, allocations: 428.9 kB / 390.4 MB, free: 9.75 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0007342/0.2075, allocations: 0.6984 MB / 391 MB, free: 9.234 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.001003/0.2085, allocations: 0.7291 MB / 391.8 MB, free: 8.902 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001849/0.2103, allocations: 1.557 MB / 393.3 MB, free: 8.688 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001713/0.212, allocations: 1.504 MB / 394.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001176/0.2132, allocations: 0.7483 MB / 395.6 MB, free: 7.559 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.002385/0.2156, allocations: 2.267 MB / 397.9 MB, free: 6.504 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.11e-05/0.2156, allocations: 27 kB / 397.9 MB, free: 6.48 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.001058/0.2167, allocations: 0.9838 MB / 398.9 MB, free: 5.844 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.003913/0.2206, allocations: 4.23 MB / 403.1 MB, free: 4.539 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.114e-05/0.2206, allocations: 16 kB / 403.1 MB, free: 4.523 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.183e-06/0.2206, allocations: 0 / 403.1 MB, free: 4.523 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.508e-06/0.2206, allocations: 7.875 kB / 403.1 MB, free: 4.516 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 4.388e-06/0.2206, allocations: 8.375 kB / 403.1 MB, free: 4.508 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.401e-05/0.2207, allocations: 8 kB / 403.1 MB, free: 4.5 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0002929/0.221, allocations: 126.4 kB / 403.3 MB, free: 4.379 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 9.338e-06/0.221, allocations: 0 / 403.3 MB, free: 4.379 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: ................. 81 (55) {clock.y, data_0.y, reset.y, data_1.y, set.y, dFFREGSRL.delay.inertialDelaySensitive.x, dFFREGSRL.delay.inertialDelaySensitive.y, dFFREGSRL.delay.inertialDelaySensitive.delayTime, dFFREGSRL.delay.inertialDelaySensitive.y_auxiliary, dFFREGSRL.delay.inertialDelaySensitive.y_old, dFFREGSRL.delay.inertialDelaySensitive.lh, dFFREGSRL.delay.inertialDelaySensitive.t_next, dFFREGSRL.dFFSR.clock, dFFREGSRL.dFFSR.dataOut, dFFREGSRL.dFFSR.clock_flag, dFFREGSRL.dFFSR.reset_set_flag, dFFREGSRL.dFFSR.nextstate, dFFREGSRL.dFFSR.next_assign_val, dFFREGSRL.dataIn, dFFREGSRL.dataOut, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $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: ............ 7 (algorithm:7, 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: ........... 14 (scalar:12, array:2, record:0) * Number of multi strong components: ............ 7 (algorithm:7, 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.988e-05/0.221, allocations: 42.84 kB / 403.3 MB, free: 4.352 MB / 302.1 MB Notification: Performance of SimCode: time 0.004038/0.2251, allocations: 4.976 MB / 408.3 MB, free: 15.32 MB / 318.1 MB Notification: Performance of Templates: time 0.02076/0.2458, allocations: 13.44 MB / 421.7 MB, free: 1.625 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.makefile [Timeout 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/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_DFFREGSRL -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.DFFREGSRL.o Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.c Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:757:221: error: use of undeclared identifier 'i' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[0]] /* $SEV_32 DISCRETE */) = ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 1); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:769:237: error: use of undeclared identifier 'i' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[1]] /* $SEV_31 DISCRETE */) = (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == integer_get_2D(tmp48, ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1])-1, 0)) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 1)); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:769:385: error: use of undeclared identifier 'i' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[1]] /* $SEV_31 DISCRETE */) = (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == integer_get_2D(tmp48, ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1])-1, 0)) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 1)); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:769:534: error: use of undeclared identifier 'i' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[1]] /* $SEV_31 DISCRETE */) = (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == integer_get_2D(tmp48, ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1])-1, 0)) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 1)); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:777:238: error: use of undeclared identifier 'i' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[5]] /* $SEV_27 DISCRETE */) = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 1))) || (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 0)))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:777:522: error: use of undeclared identifier 'i' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[5]] /* $SEV_27 DISCRETE */) = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 1))) || (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 0)))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:779:223: error: use of undeclared identifier 'i' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[6]] /* $SEV_26 DISCRETE */) = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 3) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 7)) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 1))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:779:355: error: use of undeclared identifier 'i' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[6]] /* $SEV_26 DISCRETE */) = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 3) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 7)) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 1))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:781:237: error: use of undeclared identifier 'i' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[7]] /* $SEV_25 DISCRETE */) = (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 3) && ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 3) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 7)) || ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 0)))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:781:371: error: use of undeclared identifier 'i' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[7]] /* $SEV_25 DISCRETE */) = (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 3) && ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 3) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 7)) || ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 0)))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:781:503: error: use of undeclared identifier 'i' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[7]] /* $SEV_25 DISCRETE */) = (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 3) && ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 3) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 7)) || ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 0)))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:787:239: error: use of undeclared identifier 'i' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[10]] /* $SEV_22 DISCRETE */) = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 1))) || (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 0)))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:787:523: error: use of undeclared identifier 'i' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[10]] /* $SEV_22 DISCRETE */) = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 1))) || (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 0)))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:789:224: error: use of undeclared identifier 'i' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[11]] /* $SEV_21 DISCRETE */) = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 4) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 8)) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 1))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:789:356: error: use of undeclared identifier 'i' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[11]] /* $SEV_21 DISCRETE */) = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 4) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 8)) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 1))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:791:238: error: use of undeclared identifier 'i' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[12]] /* $SEV_20 DISCRETE */) = (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 4) && ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 4) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 8)) || ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 0)))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:791:372: error: use of undeclared identifier 'i' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[12]] /* $SEV_20 DISCRETE */) = (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 4) && ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 4) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 8)) || ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 0)))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:791:504: error: use of undeclared identifier 'i' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[12]] /* $SEV_20 DISCRETE */) = (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 4) && ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 4) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 8)) || ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 0)))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:795:239: error: use of undeclared identifier 'i' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[14]] /* $SEV_18 DISCRETE */) = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRL.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 1))) || (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRL.dataIn[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRL.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 0)))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.o] Error 1 [Calling os._exit(0), Time elapsed: 2.604622189886868] Failed to read output from testmodel.py, exit status != 0: ['time', 'dFFREGSRL.dataOut[1]', 'dFFREGSRL.dataOut[2]'] 0.25454285787418485 0.2690968799999999 0.06531155100000001 Calling exit ...