Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.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.001665/0.001665, 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.001375/0.001375, allocations: 218.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.444/1.444, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|source.i|load.v|load.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|source.i|load.v|load.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.63e-05, allocations: 2.281 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.2086/0.2087, allocations: 2.652 MB / 381.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.2104, allocations: 0.8256 MB / 382.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.2106, allocations: 3.219 kB / 382.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.2107, allocations: 47.16 kB / 382.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.2111, allocations: 124.9 kB / 382.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.2115, allocations: 196 kB / 382.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000601/0.2121, allocations: 0.5818 MB / 383.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.2123, allocations: 81.05 kB / 383.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003326/0.2126, allocations: 227.8 kB / 383.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.2129, allocations: 216.7 kB / 383.9 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.626e-05/0.213, allocations: 44.09 kB / 383.9 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.2131, allocations: 52.94 kB / 384 MB, free: 12.74 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005556/0.2136, allocations: 0.7076 MB / 384.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002164/0.2139, allocations: 403.4 kB / 385.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.974e-05/0.2139, allocations: 31.41 kB / 385.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.47e-05/0.214, allocations: 5.875 kB / 385.1 MB, free: 12.19 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: 53 (53) * Number of variables: 53 (53) Notification: Performance of [SIM] Bindings: time 0.001557/0.2155, allocations: 1.665 MB / 386.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003012/0.2158, allocations: 234.5 kB / 387 MB, free: 10.95 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0009347/0.2168, allocations: 0.9989 MB / 388 MB, free: 10.37 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004359/0.2172, allocations: 347.8 kB / 388.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001695/0.2189, allocations: 1.244 MB / 389.6 MB, free: 9.488 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002982/0.2192, allocations: 268.7 kB / 389.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001077/0.2193, allocations: 112 kB / 390 MB, free: 9.242 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001974/0.2195, allocations: 245.3 kB / 390.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001365/0.2196, allocations: 88.38 kB / 390.3 MB, free: 8.992 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002934/0.2199, allocations: 292.6 kB / 390.6 MB, free: 8.809 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0006595/0.2206, allocations: 0.4995 MB / 391.1 MB, free: 8.609 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005218/0.2211, allocations: 0.5814 MB / 391.7 MB, free: 8.324 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0009203/0.222, allocations: 0.6721 MB / 392.3 MB, free: 7.938 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0009163/0.2229, allocations: 1.022 MB / 393.4 MB, free: 7.391 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.242e-05/0.223, allocations: 28.95 kB / 393.4 MB, free: 7.371 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001345/0.2231, allocations: 152.3 kB / 393.5 MB, free: 7.285 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001755/0.2249, allocations: 1.251 MB / 394.8 MB, free: 6.996 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0003422/0.2252, allocations: 291.7 kB / 395.1 MB, free: 6.887 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 5.21e-07/0.2252, allocations: 4 kB / 395.1 MB, free: 6.883 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.194e-06/0.2252, allocations: 2.094 kB / 395.1 MB, free: 6.883 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0001277/0.2254, allocations: 119.8 kB / 395.2 MB, free: 6.836 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.526e-05/0.2254, allocations: 6.984 kB / 395.2 MB, free: 6.832 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0006026/0.226, allocations: 432.6 kB / 395.6 MB, free: 6.695 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0004668/0.2264, allocations: 471 kB / 396.1 MB, free: 6.352 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: ......... 6 * 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: ................. 7 (7) {$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: ........... 16 (scalar:16, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 40 (scalar:40, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 3.716e-05/0.2265, allocations: 31.56 kB / 396.1 MB, free: 6.324 MB / 302.1 MB Notification: Performance of SimCode: time 0.001462/0.2279, allocations: 1.27 MB / 397.4 MB, free: 5.742 MB / 302.1 MB Notification: Performance of Templates: time 0.08002/0.308, allocations: 4.929 MB / 402.3 MB, free: 3.316 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.makefile [Timeout 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.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_Analog_Examples_Lines_LightningLosslessTransmissionLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.c 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_Analog_Examples_Lines_LightningLosslessTransmissionLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_functions.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_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/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_Analog_Examples_Lines_LightningLosslessTransmissionLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_records.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_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/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_Analog_Examples_Lines_LightningLosslessTransmissionLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_01exo.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_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/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_Analog_Examples_Lines_LightningLosslessTransmissionLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_02nls.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_02nls.c Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_02nls.c:691:21: warning: implicit declaration of function 'delay' is invalid in C99 [-Wimplicit-function-declaration] res[2] = (2.0) * (delay((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[7]] /* line2.v1 variable */), (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[18]] /* line2.TDi PARAM */), (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[18]] /* line2.TDi PARAM */))) - delay((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[11]] /* line2.es variable */), (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[18]] /* line2.TDi PARAM */), (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[18]] /* line2.TDi PARAM */)) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[12]] /* line2.er variable */); ^ Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_02nls.c:863:21: warning: implicit declaration of function 'delay' is invalid in C99 [-Wimplicit-function-declaration] res[3] = (2.0) * (delay((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[1]] /* line1.v2 variable */), (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[13]] /* line1.TDi PARAM */), (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[13]] /* line1.TDi PARAM */))) - delay((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[6]] /* line1.er variable */), (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[13]] /* line1.TDi PARAM */), (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[13]] /* line1.TDi PARAM */)) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[5]] /* line1.es variable */); ^ 2 warnings generated. 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_Analog_Examples_Lines_LightningLosslessTransmissionLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_03lsy.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_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/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_Analog_Examples_Lines_LightningLosslessTransmissionLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_04set.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_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/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_Analog_Examples_Lines_LightningLosslessTransmissionLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_05evt.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_05evt.c 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_Analog_Examples_Lines_LightningLosslessTransmissionLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_06inz.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_06inz.c 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_Analog_Examples_Lines_LightningLosslessTransmissionLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_07dly.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_07dly.c 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_Analog_Examples_Lines_LightningLosslessTransmissionLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_08bnd.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_08bnd.c 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_Analog_Examples_Lines_LightningLosslessTransmissionLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_09alg.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_09alg.c Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_09alg.c:129:1: warning: 'optnone' attribute only applies to functions and Objective-C methods [-Wignored-attributes] OMC_DISABLE_OPT ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/../openmodelica.h:187:40: note: expanded from macro 'OMC_DISABLE_OPT' #define OMC_DISABLE_OPT __attribute__((optnone)) ^ 1 warning generated. 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_Analog_Examples_Lines_LightningLosslessTransmissionLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_10asr.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_10asr.c 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_Analog_Examples_Lines_LightningLosslessTransmissionLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_11mix.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_11mix.c 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_Analog_Examples_Lines_LightningLosslessTransmissionLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_12jac.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_12jac.c 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_Analog_Examples_Lines_LightningLosslessTransmissionLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_13opt.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_13opt.c 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_Analog_Examples_Lines_LightningLosslessTransmissionLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_14lnz.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_14lnz.c 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_Analog_Examples_Lines_LightningLosslessTransmissionLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_15syn.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_15syn.c 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_Analog_Examples_Lines_LightningLosslessTransmissionLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_16dae.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_16dae.c 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_Analog_Examples_Lines_LightningLosslessTransmissionLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_17inl.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_17inl.c 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_Analog_Examples_Lines_LightningLosslessTransmissionLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_18spd.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_18spd.c clang -I. -o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_functions.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_records.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_01exo.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_02nls.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_03lsy.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_04set.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_05evt.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_06inz.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_07dly.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_08bnd.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_09alg.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_10asr.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_11mix.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_12jac.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_13opt.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_14lnz.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_15syn.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_16dae.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_17inl.o Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_18spd.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Analog/Examples/Lines" -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_Analog_Examples_Lines_LightningLosslessTransmissionLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -L"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -L"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib" -Wl,-rpath,"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath,"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib" -Wl,--no-as-needed -Wl,--disable-new-dtags -lSimulationRuntimeC -llapack -lblas -lm -lomcgc -lryu -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_02nls.o: in function `residualFunc25': Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_02nls.c:(.text+0x36ad): undefined reference to `delay' /usr/bin/ld: Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_02nls.c:(.text+0x36fd): undefined reference to `delay' /usr/bin/ld: Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_02nls.c:(.text+0x3a02): undefined reference to `delay' /usr/bin/ld: Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_02nls.c:(.text+0x3a4f): undefined reference to `delay' /usr/bin/ld: Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_02nls.c:(.text+0x3abe): undefined reference to `delay' /usr/bin/ld: Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_02nls.o:Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_02nls.c:(.text+0x3b0b): more undefined references to `delay' follow clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.makefile:37: omc_main_target] Error 1 [Calling os._exit(0), Time elapsed: 5.036283946596086] Failed to read output from testmodel.py, exit status != 0: ['time', 'source.i', 'load.v', 'load.i'] 0.31620729016140103 0.33577579599999996 0.11793953200000001 Calling exit ...