Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001772/0.001772, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002002/0.002002, allocations: 223 kB / 24.56 MB, free: 3.816 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.615/1.615, allocations: 230.5 MB / 258.2 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.052e-05, allocations: 2.281 kB / 379 MB, free: 2.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGSRH): time 0.002955/0.002976, allocations: 1.723 MB / 380.8 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1991/0.202, allocations: 1.018 MB / 381.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.2022, allocations: 5.062 kB / 381.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.2024, allocations: 33.33 kB / 381.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004053/0.2028, allocations: 181.8 kB / 382 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.2032, allocations: 144.7 kB / 382.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008374/0.2041, allocations: 0.6271 MB / 382.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.2042, allocations: 55.02 kB / 382.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.2061, allocations: 1.294 MB / 384.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003528/0.2064, allocations: 214.4 kB / 384.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.2065, allocations: 36.19 kB / 384.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.2066, allocations: 35.38 kB / 384.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005951/0.2072, allocations: 0.5561 MB / 384.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001387/0.2074, allocations: 256.4 kB / 385.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.2075, allocations: 39.62 kB / 385.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.866e-05/0.2075, allocations: 5.094 kB / 385.2 MB, free: 12.72 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.001522/0.209, allocations: 1.542 MB / 386.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000172/0.2092, allocations: 148.2 kB / 386.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001172/0.2104, allocations: 1.242 MB / 388.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000403/0.2108, allocations: 302.8 kB / 388.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001502/0.2123, allocations: 1.049 MB / 389.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003378/0.2126, allocations: 293.8 kB / 389.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000272/0.2129, allocations: 250.2 kB / 390 MB, free: 10.02 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005065/0.2134, allocations: 420 kB / 390.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0006986/0.2141, allocations: 0.6986 MB / 391.2 MB, free: 9.188 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0009342/0.215, allocations: 0.7297 MB / 391.9 MB, free: 8.855 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001886/0.2169, allocations: 1.551 MB / 393.4 MB, free: 8.645 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001855/0.2188, allocations: 1.501 MB / 394.9 MB, free: 7.949 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.00145/0.2202, allocations: 0.7413 MB / 395.7 MB, free: 7.527 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.003058/0.2233, allocations: 2.267 MB / 397.9 MB, free: 6.469 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 7.522e-05/0.2234, allocations: 27 kB / 398 MB, free: 6.445 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.001436/0.2248, allocations: 0.9707 MB / 398.9 MB, free: 5.793 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.004422/0.2292, allocations: 4.24 MB / 403.2 MB, free: 4.402 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.719e-05/0.2292, allocations: 12 kB / 403.2 MB, free: 4.391 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.334e-06/0.2292, allocations: 4 kB / 403.2 MB, free: 4.387 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 4.611e-05/0.2293, allocations: 12.12 kB / 403.2 MB, free: 4.367 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.021e-06/0.2293, allocations: 4 kB / 403.2 MB, free: 4.363 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 5.35e-06/0.2293, allocations: 16.38 kB / 403.2 MB, free: 4.348 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.502e-05/0.2293, allocations: 4 kB / 403.2 MB, free: 4.344 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0002978/0.2296, allocations: 120.5 kB / 403.4 MB, free: 4.227 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 8.975e-05/0.2297, allocations: 185.9 kB / 403.5 MB, free: 4.012 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 6.269e-05/0.2298, allocations: 41.98 kB / 403.6 MB, free: 3.977 MB / 302.1 MB Notification: Performance of SimCode: time 0.003905/0.2337, allocations: 4.632 MB / 408.2 MB, free: 15.26 MB / 318.1 MB Notification: Performance of Templates: time 0.01559/0.2493, allocations: 8.388 MB / 416.6 MB, free: 6.734 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH.makefile [Timeout 660] make -j1 -f Modelica_trunk_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/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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH.o Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH.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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_functions.o Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_records.o Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_01exo.o Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_02nls.o Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_03lsy.o Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_04set.o Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_05evt.o Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_05evt.c Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_05evt.c:280:157: error: use of undeclared identifier 'i' gout[start_index] = (((((&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))))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_05evt.c:280:441: error: use of undeclared identifier 'i' gout[start_index] = (((((&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))))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_05evt.c:288:156: error: use of undeclared identifier 'i' gout[start_index] = ((((&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))))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_05evt.c:288:290: error: use of undeclared identifier 'i' gout[start_index] = ((((&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))))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_05evt.c:288:422: error: use of undeclared identifier 'i' gout[start_index] = ((((&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))))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_05evt.c:292:142: error: use of undeclared identifier 'i' gout[start_index] = (((((&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)))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_05evt.c:292:274: error: use of undeclared identifier 'i' gout[start_index] = (((((&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)))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_05evt.c:296:157: error: use of undeclared identifier 'i' gout[start_index] = (((((&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))))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_05evt.c:296:441: error: use of undeclared identifier 'i' gout[start_index] = (((((&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))))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_05evt.c:308:156: error: use of undeclared identifier 'i' gout[start_index] = ((((&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))))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_05evt.c:308:290: error: use of undeclared identifier 'i' gout[start_index] = ((((&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))))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_05evt.c:308:422: error: use of undeclared identifier 'i' gout[start_index] = ((((&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))))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_05evt.c:312:142: error: use of undeclared identifier 'i' gout[start_index] = (((((&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)))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_05evt.c:312:274: error: use of undeclared identifier 'i' gout[start_index] = (((((&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)))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_05evt.c:316:157: error: use of undeclared identifier 'i' gout[start_index] = (((((&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))))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_05evt.c:316:441: error: use of undeclared identifier 'i' gout[start_index] = (((((&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))))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_05evt.c:342:156: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRH.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == integer_get_2D(tmp118, ((&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))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_05evt.c:342:305: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRH.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == integer_get_2D(tmp118, ((&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))) ? 1 : -1; ^ Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_05evt.c:342:454: error: use of undeclared identifier 'i' gout[start_index] = ((((&data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[265]] /* dFFREGSRH.dFFSR.next_assign_val[1] DISCRETE */)[i - 1] == integer_get_2D(tmp118, ((&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))) ? 1 : -1; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_05evt.o] Error 1 [Calling os._exit(0), Time elapsed: 3.5044036639737897] Failed to read output from testmodel.py, exit status != 0: ['time', 'dFFREGSRH.dataOut[1]', 'dFFREGSRH.dataOut[2]'] 0.25807317602448165 0.28053473 0.068209449 Calling exit ...