Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 112.5 kB / 18.34 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002005/0.002005, allocations: 189.9 kB / 21.51 MB, free: 0.8945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 225.6 MB / 250.1 MB, free: 3.121 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.088/3.088, allocations: 496.2 MB / 0.7826 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loaHea.TSupSet|loaHea.TRet|loaHea.V_flow|loaHea.QReq_flow|loaCoo.TSupSet|loaCoo.TRet|loaCoo.V_flow|loaCoo.QReq_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loaHea.TSupSet|loaHea.TRet|loaHea.V_flow|loaHea.QReq_flow|loaCoo.TSupSet|loaCoo.TRet|loaCoo.V_flow|loaCoo.QReq_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/2.973e-05, allocations: 9.312 kB / 1.136 GB, free: 12.5 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.002666/0.002696, allocations: 1.172 MB / 1.138 GB, free: 11.33 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.004288, allocations: 1.053 MB / 1.139 GB, free: 10.26 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.615e-05/0.004384, allocations: 7.938 kB / 1.139 GB, free: 10.25 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.096e-05/0.004445, allocations: 15.75 kB / 1.139 GB, free: 10.24 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.004619, allocations: 47.56 kB / 1.139 GB, free: 10.19 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.004977, allocations: 95.83 kB / 1.139 GB, free: 10.1 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003455/0.005322, allocations: 275.3 kB / 1.139 GB, free: 9.828 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.005522, allocations: 67.44 kB / 1.139 GB, free: 9.758 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.005707, allocations: 95.62 kB / 1.139 GB, free: 9.664 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.005963, allocations: 111.4 kB / 1.139 GB, free: 9.555 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.059e-05/0.006013, allocations: 24 kB / 1.139 GB, free: 9.531 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.911e-05/0.006053, allocations: 28 kB / 1.139 GB, free: 9.504 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.000366/0.006419, allocations: 379.9 kB / 1.14 GB, free: 9.129 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.0001545/0.006573, allocations: 232.6 kB / 1.14 GB, free: 8.898 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/0.006621, allocations: 39.88 kB / 1.14 GB, free: 8.859 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.073e-05/0.006652, allocations: 11.88 kB / 1.14 GB, free: 8.848 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 (43) * Number of variables: 43 (43) Notification: Performance of Bindings: time 0.001078/0.00773, allocations: 0.9087 MB / 1.141 GB, free: 7.816 MB / 0.92 GB Notification: Performance of FunctionAlias: time 0.0001801/0.00791, allocations: 110.5 kB / 1.141 GB, free: 7.711 MB / 0.92 GB Notification: Performance of Early Inline: time 0.0004608/0.008371, allocations: 415.6 kB / 1.141 GB, free: 7.277 MB / 0.92 GB Notification: Performance of Simplify 1: time 0.0001447/0.008515, allocations: 111.7 kB / 1.142 GB, free: 7.141 MB / 0.92 GB Notification: Performance of Alias: time 0.001426/0.009941, allocations: 0.8768 MB / 1.142 GB, free: 6.098 MB / 0.92 GB Notification: Performance of Simplify 2: time 0.0001653/0.01011, allocations: 80.75 kB / 1.142 GB, free: 5.992 MB / 0.92 GB Notification: Performance of Remove Stream: time 9.168e-05/0.0102, allocations: 84.31 kB / 1.143 GB, free: 5.883 MB / 0.92 GB Notification: Performance of Detect States: time 0.0003112/0.01051, allocations: 166.6 kB / 1.143 GB, free: 5.684 MB / 0.92 GB Notification: Performance of Events: time 0.0001781/0.01069, allocations: 98.34 kB / 1.143 GB, free: 5.59 MB / 0.92 GB Notification: Performance of Partitioning: time 0.0002295/0.01092, allocations: 172.7 kB / 1.143 GB, free: 5.414 MB / 0.92 GB Notification: Performance of Causalize: time 0.0006862/0.0116, allocations: 472.9 kB / 1.143 GB, free: 4.941 MB / 0.92 GB Notification: Performance of After Index Reduction Inline: time 0.0003104/0.01191, allocations: 287.7 kB / 1.144 GB, free: 4.66 MB / 0.92 GB Notification: Performance of Simplify: time 0.0004643/0.01238, allocations: 302.6 kB / 1.144 GB, free: 4.32 MB / 0.92 GB Notification: Performance of Inline: time 0.0004962/0.01287, allocations: 452.7 kB / 1.144 GB, free: 3.871 MB / 0.92 GB Notification: Performance of Partitioning: time 3.235e-05/0.01291, allocations: 22.31 kB / 1.144 GB, free: 3.844 MB / 0.92 GB Notification: Performance of Cleanup: time 0.0001057/0.01301, allocations: 111.9 kB / 1.145 GB, free: 3.734 MB / 0.92 GB Notification: Performance of Causalize: time 0.001167/0.01418, allocations: 0.8448 MB / 1.145 GB, free: 2.883 MB / 0.92 GB Notification: Performance of Tearing: time 1.249e-05/0.01419, allocations: 0 / 1.145 GB, free: 2.883 MB / 0.92 GB Notification: Performance of Initialization: time 3.11e-07/0.01419, allocations: 0 / 1.145 GB, free: 2.883 MB / 0.92 GB Notification: Performance of Remove Dummies: time 1.037e-05/0.0142, allocations: 8.234 kB / 1.145 GB, free: 2.875 MB / 0.92 GB Notification: Performance of Tearing: time 1.683e-06/0.0142, allocations: 0 / 1.145 GB, free: 2.875 MB / 0.92 GB Notification: Performance of Categorize: time 9.428e-06/0.01421, allocations: 0 / 1.145 GB, free: 2.875 MB / 0.92 GB Notification: Performance of Solve: time 0.0004032/0.01462, allocations: 202 kB / 1.146 GB, free: 2.656 MB / 0.92 GB Notification: Performance of Jacobian: time 0.0003644/0.01498, allocations: 326 kB / 1.146 GB, free: 2.301 MB / 0.92 GB 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: ......... 0 * 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: ............................. 2 (2) {loaHea.movAve.mu, loaCoo.movAve.mu} * Number of discrete states: .................... 2 (2) {loaCoo.movAve.mode, loaHea.movAve.mode} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {$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: ........... 23 (scalar:23, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:2, if:2, 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: ........... 43 (scalar:43, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:0, if:2, 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.0001177/0.0151, allocations: 30.39 kB / 1.146 GB, free: 2.277 MB / 0.92 GB Notification: Performance of SimCode: time 0.001272/0.01637, allocations: 1.363 MB / 1.147 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of Templates: time 0.005196/0.02157, allocations: 1.635 MB / 1.149 GB, free: 15.26 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.makefile [Timeout 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=Buildings_latest_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage -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 Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=Buildings_latest_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage -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 Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_functions.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_functions.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=Buildings_latest_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage -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 Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_records.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=Buildings_latest_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage -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 Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_01exo.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=Buildings_latest_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage -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 Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_02nls.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_02nls.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=Buildings_latest_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage -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 Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_03lsy.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_03lsy.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=Buildings_latest_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage -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 Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_04set.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_04set.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=Buildings_latest_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage -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 Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_05evt.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_05evt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=Buildings_latest_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage -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 Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_06inz.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_06inz.c Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_06inz.c:195:111: warning: implicit declaration of function 'delay' is invalid in C99 [-Wimplicit-function-declaration] (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[7]] /* loaHea.movAve.muDel variable */) = delay((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[0]] /* loaHea.movAve.mu STATE(1,der(loaHea.movAve.mu)) */), (data->simulationInfo->realParameter[4] /* loaHea.movAve.delta PARAM */), (data->simulationInfo->realParameter[4] /* loaHea.movAve.delta PARAM */)); ^ Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_06inz.c:442:112: warning: implicit declaration of function 'delay' is invalid in C99 [-Wimplicit-function-declaration] (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[15]] /* loaCoo.movAve.muDel variable */) = delay((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[1]] /* loaCoo.movAve.mu STATE(1,der(loaCoo.movAve.mu)) */), (data->simulationInfo->realParameter[21] /* loaCoo.movAve.delta PARAM */), (data->simulationInfo->realParameter[21] /* loaCoo.movAve.delta PARAM */)); ^ 2 warnings generated. clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=Buildings_latest_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage -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 Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_07dly.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_07dly.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=Buildings_latest_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage -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 Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_08bnd.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_08bnd.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=Buildings_latest_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage -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 Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_09alg.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_09alg.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=Buildings_latest_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage -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 Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_10asr.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_10asr.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=Buildings_latest_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage -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 Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_11mix.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_11mix.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=Buildings_latest_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage -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 Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_12jac.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_12jac.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=Buildings_latest_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage -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 Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_13opt.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_13opt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=Buildings_latest_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage -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 Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_14lnz.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_14lnz.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=Buildings_latest_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage -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 Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_15syn.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_15syn.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=Buildings_latest_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage -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 Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_16dae.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_16dae.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=Buildings_latest_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage -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 Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_17inl.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_17inl.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=Buildings_latest_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage -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 Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_18spd.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_18spd.c clang -I. -o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_functions.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_records.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_01exo.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_02nls.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_03lsy.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_04set.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_05evt.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_06inz.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_07dly.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_08bnd.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_09alg.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_10asr.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_11mix.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_12jac.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_13opt.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_14lnz.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_15syn.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_16dae.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_17inl.o Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_18spd.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Templates/Plants/Controls/StagingRotation/Validation" -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=Buildings_latest_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage -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/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: Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_06inz.o: in function `Buildings_latest_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage_eqFunction_36': Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_06inz.c:(.text+0x493): undefined reference to `delay' /usr/bin/ld: Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_06inz.o: in function `Buildings_latest_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage_eqFunction_18': Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_06inz.c:(.text+0xb2b): undefined reference to `delay' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.makefile:37: omc_main_target] Error 1 [Calling os._exit(0), Time elapsed: 8.912070328369737]