Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.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.001888/0.001888, allocations: 108.3 kB / 19.71 MB, free: 2.152 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.002383/0.002383, allocations: 213.5 kB / 23.01 MB, free: 4.961 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.588/1.588, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.484/3.484, allocations: 0.49 GB / 0.7958 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.047e-05, allocations: 4.391 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.002476/0.002506, allocations: 1.081 MB / 1.156 GB, free: 24.59 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.00394, allocations: 1.076 MB / 1.157 GB, free: 23.79 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.00405, allocations: 6.438 kB / 1.157 GB, free: 23.78 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 5.663e-05/0.004107, allocations: 21 kB / 1.157 GB, free: 23.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.004266, allocations: 41.44 kB / 1.157 GB, free: 23.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.004678, allocations: 96.52 kB / 1.157 GB, free: 23.68 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003612/0.005039, allocations: 274.4 kB / 1.158 GB, free: 23.55 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.005244, allocations: 73.44 kB / 1.158 GB, free: 23.5 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.005481, allocations: 106.5 kB / 1.158 GB, free: 23.45 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.005632, allocations: 111.6 kB / 1.158 GB, free: 23.38 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.577e-05/0.005677, allocations: 25.81 kB / 1.158 GB, free: 23.38 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.853e-05/0.005756, allocations: 26.16 kB / 1.158 GB, free: 23.38 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.000348/0.006104, allocations: 431 kB / 1.158 GB, free: 23.09 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0001592/0.006263, allocations: 269.6 kB / 1.159 GB, free: 22.9 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.908e-05/0.006302, allocations: 14.94 kB / 1.159 GB, free: 22.9 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.389e-05/0.006336, allocations: 11.03 kB / 1.159 GB, free: 22.9 MB / 0.9044 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 [SIM] Bindings: time 0.001241/0.007577, allocations: 1.107 MB / 1.16 GB, free: 22.03 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001517/0.007728, allocations: 122.9 kB / 1.16 GB, free: 21.95 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0007089/0.008437, allocations: 0.6802 MB / 1.16 GB, free: 21.51 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.000299/0.008736, allocations: 206.6 kB / 1.161 GB, free: 21.38 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.001318/0.01005, allocations: 0.9609 MB / 1.162 GB, free: 20.71 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001596/0.01021, allocations: 149.3 kB / 1.162 GB, free: 20.59 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 6.55e-05/0.01028, allocations: 66.98 kB / 1.162 GB, free: 20.52 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0002547/0.01053, allocations: 210.7 kB / 1.162 GB, free: 20.32 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001403/0.01067, allocations: 73.12 kB / 1.162 GB, free: 20.28 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0002712/0.01095, allocations: 212 kB / 1.162 GB, free: 20.18 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0005195/0.01146, allocations: 329.5 kB / 1.163 GB, free: 20.1 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003478/0.01181, allocations: 404 kB / 1.163 GB, free: 19.89 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0005446/0.01236, allocations: 400.3 kB / 1.163 GB, free: 19.6 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0006893/0.01305, allocations: 0.7079 MB / 1.164 GB, free: 19.2 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 3.501e-05/0.01308, allocations: 24.59 kB / 1.164 GB, free: 19.18 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 9.987e-05/0.01318, allocations: 106.7 kB / 1.164 GB, free: 19.11 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.001082/0.01426, allocations: 0.6918 MB / 1.165 GB, free: 18.95 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 2.137e-05/0.01428, allocations: 21.69 kB / 1.165 GB, free: 18.93 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 5.51e-07/0.01428, allocations: 1.375 kB / 1.165 GB, free: 18.93 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 6.322e-06/0.01429, allocations: 0 / 1.165 GB, free: 18.93 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 6.652e-06/0.0143, allocations: 12.28 kB / 1.165 GB, free: 18.92 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 8.717e-06/0.01431, allocations: 1.406 kB / 1.165 GB, free: 18.92 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0004493/0.01476, allocations: 325.5 kB / 1.165 GB, free: 18.8 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0002635/0.01502, allocations: 298 kB / 1.165 GB, free: 18.54 MB / 0.9044 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: ............ 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: ........... 43 (scalar:43, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001184/0.01514, allocations: 27.36 kB / 1.165 GB, free: 18.52 MB / 0.9044 GB Notification: Performance of SimCode: time 0.00119/0.01633, allocations: 0.7891 MB / 1.166 GB, free: 18.14 MB / 0.9044 GB Notification: Performance of Templates: time 0.005654/0.02198, allocations: 1.71 MB / 1.168 GB, free: 17.91 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.makefile [Timeout 300] make -j1 -f Buildings_12_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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.o Buildings_12_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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_functions.o Buildings_12_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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_records.o Buildings_12_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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_01exo.o Buildings_12_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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_02nls.o Buildings_12_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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_03lsy.o Buildings_12_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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_04set.o Buildings_12_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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_05evt.o Buildings_12_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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_06inz.o Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_06inz.c Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_06inz.c:169: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[data->simulationInfo->realParamsIndex[4]] /* loaHea.movAve.delta PARAM */), (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[4]] /* loaHea.movAve.delta PARAM */)); ^ Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_06inz.c:351: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[data->simulationInfo->realParamsIndex[21]] /* loaCoo.movAve.delta PARAM */), (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_07dly.o Buildings_12_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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_08bnd.o Buildings_12_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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_09alg.o Buildings_12_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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_10asr.o Buildings_12_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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_11mix.o Buildings_12_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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_12jac.o Buildings_12_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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_13opt.o Buildings_12_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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_14lnz.o Buildings_12_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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_15syn.o Buildings_12_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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_16dae.o Buildings_12_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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_17inl.o Buildings_12_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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_18spd.o Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_18spd.c clang -I. -o Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.o Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_functions.o Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_records.o Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_01exo.o Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_02nls.o Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_03lsy.o Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_04set.o Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_05evt.o Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_06inz.o Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_07dly.o Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_08bnd.o Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_09alg.o Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_10asr.o Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_11mix.o Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_12jac.o Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_13opt.o Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_14lnz.o Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_15syn.o Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_16dae.o Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_17inl.o Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_18spd.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_06inz.o: in function `Buildings_12_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage_eqFunction_31': Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_06inz.c:(.text+0x5d3): undefined reference to `delay' /usr/bin/ld: Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_06inz.o: in function `Buildings_12_Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage_eqFunction_16': Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_06inz.c:(.text+0xce6): undefined reference to `delay' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.makefile:37: omc_main_target] Error 1 [Calling os._exit(0), Time elapsed: 9.285249782260507] Failed to read output from testmodel.py, exit status != 0: 0.02982140611857176 0.042216563000000006 0.033095205 Calling exit ...