Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.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.001637/0.001637, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.00145/0.00145, allocations: 217.2 kB / 23.07 MB, free: 4.844 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.425/1.425, allocations: 230.7 MB / 256.9 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8609/0.8609, allocations: 134 MB / 447.3 MB, free: 9.867 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) 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(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage") translateModel(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.261e-05, allocations: 2.281 kB / 0.6198 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002304/0.002327, allocations: 1.578 MB / 0.6213 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008679/0.003195, allocations: 0.5251 MB / 0.6219 GB, free: 4.277 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.883e-05/0.003264, allocations: 0 / 0.6219 GB, free: 4.277 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.821e-05/0.003302, allocations: 7.922 kB / 0.6219 GB, free: 4.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.494e-05/0.003397, allocations: 12.59 kB / 0.6219 GB, free: 4.258 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.003679, allocations: 61.5 kB / 0.6219 GB, free: 4.199 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.003848, allocations: 111.7 kB / 0.622 GB, free: 4.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.003963, allocations: 16.11 kB / 0.6221 GB, free: 4.074 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.786e-05/0.004051, allocations: 44.53 kB / 0.6221 GB, free: 4.031 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.341e-05/0.004134, allocations: 40.8 kB / 0.6221 GB, free: 3.992 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.004161, allocations: 8 kB / 0.6221 GB, free: 3.984 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.759e-05/0.004179, allocations: 8 kB / 0.6222 GB, free: 3.977 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001277/0.004306, allocations: 147.6 kB / 0.6223 GB, free: 3.832 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 3.346e-05/0.00434, allocations: 78.95 kB / 0.6224 GB, free: 3.754 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.004366, allocations: 4.5 kB / 0.6224 GB, free: 3.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-05/0.004379, allocations: 7.938 kB / 0.6224 GB, free: 3.742 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 (10) * Number of variables: 10 (10) Notification: Performance of [SIM] Bindings: time 0.0005934/0.004973, allocations: 0.5105 MB / 0.6229 GB, free: 3.113 MB / 446.1 MB Notification: Performance of [SIM] FunctionAlias: time 5.799e-05/0.005031, allocations: 56 kB / 0.6229 GB, free: 3.047 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001821/0.005213, allocations: 289.4 kB / 0.6232 GB, free: 2.738 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001499/0.005363, allocations: 136 kB / 0.6233 GB, free: 2.562 MB / 446.1 MB Notification: Performance of [SIM] Alias: time 0.0004157/0.005778, allocations: 276.4 kB / 0.6236 GB, free: 2.234 MB / 446.1 MB Notification: Performance of [SIM] Simplify 2: time 9.604e-05/0.005874, allocations: 117.7 kB / 0.6237 GB, free: 2.078 MB / 446.1 MB Notification: Performance of [SIM] Remove Stream: time 5.599e-05/0.00593, allocations: 72.39 kB / 0.6238 GB, free: 1.98 MB / 446.1 MB Notification: Performance of [SIM] Detect States: time 0.000202/0.006132, allocations: 179.6 kB / 0.624 GB, free: 1.754 MB / 446.1 MB Notification: Performance of [SIM] Events: time 0.0001551/0.006288, allocations: 104.3 kB / 0.6241 GB, free: 1.668 MB / 446.1 MB Notification: Performance of [SIM] Partitioning: time 0.000162/0.00645, allocations: 161.1 kB / 0.6242 GB, free: 1.488 MB / 446.1 MB Notification: Performance of [SIM] Causalize: time 0.0002984/0.006748, allocations: 244.5 kB / 0.6244 GB, free: 1.227 MB / 446.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001986/0.006946, allocations: 315.6 kB / 0.6247 GB, free: 0.918 MB / 446.1 MB Notification: Performance of [INI] Simplify: time 0.0002841/0.007231, allocations: 244.6 kB / 0.625 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of [INI] Inline: time 0.0002259/0.007456, allocations: 379.7 kB / 0.6253 GB, free: 248 kB / 446.1 MB Notification: Performance of [INI] Partitioning: time 1.619e-05/0.007473, allocations: 12.12 kB / 0.6253 GB, free: 228 kB / 446.1 MB Notification: Performance of [INI] Cleanup: time 4.296e-05/0.007516, allocations: 75.91 kB / 0.6254 GB, free: 152 kB / 446.1 MB Notification: Performance of [INI] Causalize: time 0.0004862/0.008002, allocations: 321.7 kB / 0.6257 GB, free: 15.83 MB / 462.1 MB Notification: Performance of [INI] Tearing: time 2.065e-05/0.008022, allocations: 12.5 kB / 0.6257 GB, free: 15.82 MB / 462.1 MB Notification: Performance of [SIM] Initialization: time 1.102e-06/0.008023, allocations: 1.5 kB / 0.6257 GB, free: 15.82 MB / 462.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001335/0.008157, allocations: 83.69 kB / 0.6258 GB, free: 15.72 MB / 462.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.44e-06/0.008162, allocations: 0 / 0.6258 GB, free: 15.72 MB / 462.1 MB Notification: Performance of [SIM] Tearing: time 1.636e-05/0.008179, allocations: 22.5 kB / 0.6258 GB, free: 15.7 MB / 462.1 MB Notification: Performance of [SIM] Categorize: time 1.419e-05/0.008193, allocations: 4 kB / 0.6258 GB, free: 15.7 MB / 462.1 MB Notification: Performance of [SIM] Solve: time 0.0003301/0.008523, allocations: 226.6 kB / 0.6261 GB, free: 15.48 MB / 462.1 MB Notification: Performance of [SIM] Jacobian: time 0.0003582/0.008881, allocations: 408.1 kB / 0.6264 GB, free: 15.02 MB / 462.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: ............... 1 * Number of algebraic event partitions: ......... 2 * 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: ............................. 3 (3) {movingAverage.iStop, movingAverage.iDelay, firstOrder.y} * Number of discrete states: .................... 2 (2) {step.T_start, step.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 9 (9) {$SEV_2, $SEV_1, $SEV_0, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $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: ........... 15 (scalar:15, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 19 (scalar:19, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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: Performance of backend: time 0.0001068/0.008988, allocations: 27.86 kB / 0.6265 GB, free: 15 MB / 462.1 MB Notification: Performance of SimCode: time 0.0006386/0.009627, allocations: 415.9 kB / 0.6269 GB, free: 14.59 MB / 462.1 MB Notification: Performance of Templates: time 0.005296/0.01492, allocations: 1.352 MB / 0.6282 GB, free: 13.27 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.makefile [Timeout 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage -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 IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage -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 IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_functions.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_functions.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage -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 IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_records.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage -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 IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_01exo.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage -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 IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_02nls.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_02nls.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage -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 IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_03lsy.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_03lsy.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage -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 IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_04set.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_04set.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage -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 IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_05evt.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_05evt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage -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 IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_06inz.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_06inz.c IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_06inz.c:211:118: warning: implicit declaration of function 'delay' is invalid in C99 [-Wimplicit-function-declaration] (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[4]] /* der(movingAverage.iDelay) STATE_DER */) = delay((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[6]] /* movingAverage.u variable */), (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[0]] /* movingAverage.period PARAM */), (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[0]] /* movingAverage.period PARAM */)); ^ 1 warning generated. clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage -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 IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_07dly.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_07dly.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage -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 IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_08bnd.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_08bnd.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage -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 IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_09alg.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_09alg.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage -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 IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_10asr.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_10asr.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage -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 IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_11mix.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_11mix.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage -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 IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_12jac.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_12jac.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage -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 IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_13opt.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_13opt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage -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 IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_14lnz.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_14lnz.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage -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 IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_15syn.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_15syn.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage -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 IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_16dae.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_16dae.c IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_16dae.c:45:93: warning: implicit declaration of function 'delay' is invalid in C99 [-Wimplicit-function-declaration] (data->simulationInfo->daeModeData->residualVars[2]) /* $RES_SIM_13 DAE_RESIDUAL_VAR */ = delay((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[6]] /* movingAverage.u variable */), (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[0]] /* movingAverage.period PARAM */), (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[0]] /* movingAverage.period PARAM */)) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[4]] /* der(movingAverage.iDelay) STATE_DER */); ^ 1 warning generated. clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage -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 IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_17inl.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_17inl.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage -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 IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_18spd.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_18spd.c clang -I. -o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_functions.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_records.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_01exo.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_02nls.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_03lsy.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_04set.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_05evt.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_06inz.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_07dly.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_08bnd.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_09alg.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_10asr.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_11mix.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_12jac.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_13opt.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_14lnz.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_15syn.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_16dae.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_17inl.o IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_18spd.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Math/Examples" -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -L"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -L"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib" -Wl,-rpath,"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath,"/var/lib/jenkins1/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: IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_06inz.o: in function `IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage_eqFunction_7': IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_06inz.c:(.text+0xaf7): undefined reference to `delay' /usr/bin/ld: IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_16dae.o: in function `IDEAS_IDEAS_Utilities_Math_Examples_MovingAverage_eqFunction_27': IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage_16dae.c:(.text+0x3bf): undefined reference to `delay' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.makefile:37: omc_main_target] Error 1 [Calling os._exit(0), Time elapsed: 5.218260677007493] Failed to read output from testmodel.py, exit status != 0: 0.022100142028648406 0.037881157000000006 0.030612435 Calling exit ...