Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.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.001578/0.001578, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.001875/0.001875, allocations: 217.1 kB / 24.5 MB, free: 3.926 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.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.DFFREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|dFFREGSRH.dataOut.1.|dFFREGSRH.dataOut.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH") translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|dFFREGSRH.dataOut.1.|dFFREGSRH.dataOut.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/1.981e-05, allocations: 5.656 kB / 378.9 MB, free: 2.488 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGSRH): time 0.00291/0.00293, allocations: 1.729 MB / 380.7 MB, free: 0.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1935/0.1964, allocations: 1.016 MB / 381.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.1966, allocations: 2 kB / 381.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002136/0.1968, allocations: 34.59 kB / 381.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004597/0.1973, allocations: 175.8 kB / 381.9 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.1978, allocations: 152.9 kB / 382 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001002/0.1988, allocations: 0.6272 MB / 382.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002369/0.199, allocations: 53.47 kB / 382.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002238/0.2013, allocations: 1.299 MB / 384 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004437/0.2017, allocations: 205.9 kB / 384.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.2018, allocations: 39.56 kB / 384.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.202, allocations: 35.56 kB / 384.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007504/0.2027, allocations: 0.5565 MB / 384.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001773/0.2029, allocations: 258.9 kB / 385.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.203, allocations: 40.12 kB / 385.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.52e-05/0.2031, allocations: 7.906 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.001933/0.205, allocations: 1.538 MB / 386.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002384/0.2053, allocations: 145.4 kB / 386.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001718/0.207, allocations: 1.24 MB / 388.1 MB, free: 11.26 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005821/0.2076, allocations: 304.8 kB / 388.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002071/0.2096, allocations: 1.046 MB / 389.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0005083/0.2101, allocations: 291.1 kB / 389.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004057/0.2105, allocations: 249.4 kB / 389.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0007748/0.2113, allocations: 421 kB / 390.3 MB, free: 9.734 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.001105/0.2124, allocations: 0.7001 MB / 391 MB, free: 9.211 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.001352/0.2138, allocations: 0.7307 MB / 391.8 MB, free: 8.879 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.002211/0.216, allocations: 1.55 MB / 393.3 MB, free: 8.668 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001964/0.2179, allocations: 1.507 MB / 394.8 MB, free: 7.969 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001355/0.2193, allocations: 0.7468 MB / 395.6 MB, free: 7.539 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.002128/0.2214, allocations: 2.266 MB / 397.8 MB, free: 6.484 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.489e-05/0.2215, allocations: 34.92 kB / 397.9 MB, free: 6.453 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.001004/0.2225, allocations: 0.9819 MB / 398.9 MB, free: 5.812 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.003664/0.2261, allocations: 4.236 MB / 403.1 MB, free: 4.531 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.427e-05/0.2262, allocations: 20 kB / 403.1 MB, free: 4.512 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 9.32e-07/0.2262, allocations: 0 / 403.1 MB, free: 4.512 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.774e-06/0.2262, allocations: 0 / 403.1 MB, free: 4.512 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 3.076e-06/0.2262, allocations: 8 kB / 403.1 MB, free: 4.504 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.414e-05/0.2262, allocations: 0 / 403.1 MB, free: 4.504 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0002908/0.2265, allocations: 124.5 kB / 403.2 MB, free: 4.383 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 8.045e-06/0.2265, allocations: 0 / 403.2 MB, free: 4.383 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, dFFREGSRH.delay.inertialDelaySensitive.x, dFFREGSRH.delay.inertialDelaySensitive.y, dFFREGSRH.delay.inertialDelaySensitive.delayTime, dFFREGSRH.delay.inertialDelaySensitive.y_auxiliary, dFFREGSRH.delay.inertialDelaySensitive.y_old, dFFREGSRH.delay.inertialDelaySensitive.lh, dFFREGSRH.delay.inertialDelaySensitive.t_next, dFFREGSRH.dFFSR.clock, dFFREGSRH.dFFSR.dataOut, dFFREGSRH.dFFSR.clock_flag, dFFREGSRH.dFFSR.reset_set_flag, dFFREGSRH.dFFSR.nextstate, dFFREGSRH.dFFSR.next_assign_val, dFFREGSRH.dataIn, dFFREGSRH.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.978e-05/0.2265, allocations: 48.36 kB / 403.3 MB, free: 4.348 MB / 302.1 MB Notification: Performance of SimCode: time 0.003921/0.2305, allocations: 4.97 MB / 408.3 MB, free: 15.33 MB / 318.1 MB Notification: Performance of Templates: time 0.02055/0.251, allocations: 13.45 MB / 421.7 MB, free: 1.621 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.makefile [Timeout 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.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_DFFREGSRH -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.DFFREGSRH.o Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.c Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.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]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 1); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.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]] /* dFFREGSRH.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == integer_get_2D(tmp48, ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1])-1, 0)) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRH.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 1)); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.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]] /* dFFREGSRH.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == integer_get_2D(tmp48, ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1])-1, 0)) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRH.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 1)); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.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]] /* dFFREGSRH.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == integer_get_2D(tmp48, ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1])-1, 0)) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRH.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 1)); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.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]] /* dFFREGSRH.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRH.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 1))) || (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRH.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 0)))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.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]] /* dFFREGSRH.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRH.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 1))) || (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRH.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 0)))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.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]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 3) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 7)) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRH.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 1))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.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]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 3) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 7)) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRH.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 1))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.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]] /* dFFREGSRH.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 3) && ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 3) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 7)) || ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRH.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 0)))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.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]] /* dFFREGSRH.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 3) && ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 3) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 7)) || ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRH.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 0)))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.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]] /* dFFREGSRH.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 3) && ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 3) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 7)) || ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRH.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 0)))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.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]] /* dFFREGSRH.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRH.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 1))) || (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRH.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 0)))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.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]] /* dFFREGSRH.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRH.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 1))) || (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRH.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 0)))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.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]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 4) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 8)) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRH.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 1))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.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]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 4) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 8)) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRH.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 1))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.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]] /* dFFREGSRH.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 4) && ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 4) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 8)) || ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRH.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 0)))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.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]] /* dFFREGSRH.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 4) && ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 4) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 8)) || ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRH.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 0)))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.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]] /* dFFREGSRH.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 4) && ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 4) || ((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 8)) || ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRH.dFFSR.clock_flag DISCRETE */) == ((modelica_integer) 0)))); ^ Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.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]] /* dFFREGSRH.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRH.dFFSR.clock_flag DISCRETE */) != ((modelica_integer) 1))) || (((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[267]] /* dFFREGSRH.dataIn[1] DISCRETE */)[i - 1] == 1) && ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* dFFREGSRH.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.DFFREGSRH.o] Error 1 [Calling os._exit(0), Time elapsed: 2.6028229179792106] Failed to read output from testmodel.py, exit status != 0: ['time', 'dFFREGSRH.dataOut[1]', 'dFFREGSRH.dataOut[2]'] 0.25881145894527435 0.27347061300000003 0.067303307 Calling exit ...