Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.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.001664/0.001664, allocations: 104.3 kB / 19.76 MB, free: 1.906 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.001765/0.001765, allocations: 208.7 kB / 23.06 MB, free: 4.984 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.468/1.468, allocations: 230.6 MB / 256.9 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.238/3.238, allocations: 0.5108 GB / 0.8167 GB, free: 17.72 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Utilities.Validation.LastTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|idxLasTru.y|idxLasTruAllFal.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|idxLasTru.y|idxLasTruAllFal.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.478e-05, allocations: 2.281 kB / 1.187 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex): time 0.001792/0.001817, allocations: 0.71 MB / 1.188 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0002163/0.002033, allocations: 52.41 kB / 1.188 GB, free: 13 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.055e-05/0.002104, allocations: 6.781 kB / 1.188 GB, free: 13 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.002219, allocations: 13.11 kB / 1.188 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.002338, allocations: 12.8 kB / 1.188 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 5.524e-05/0.002393, allocations: 16.16 kB / 1.188 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.002626, allocations: 132.7 kB / 1.188 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.002761, allocations: 35.16 kB / 1.188 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.57e-05/0.002807, allocations: 27.3 kB / 1.188 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.541e-05/0.002872, allocations: 34.59 kB / 1.188 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.002896, allocations: 6.344 kB / 1.188 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 1.647e-05/0.002912, allocations: 7.875 kB / 1.188 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001139/0.003026, allocations: 134.2 kB / 1.188 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 5.316e-05/0.003079, allocations: 91.06 kB / 1.188 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.582e-05/0.003095, allocations: 3.625 kB / 1.188 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.285e-05/0.003118, allocations: 4.484 kB / 1.188 GB, free: 12.72 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: 64 (14) * Number of variables: 64 (14) Notification: Performance of [SIM] Bindings: time 0.0005865/0.003704, allocations: 495 kB / 1.189 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 6.442e-05/0.003769, allocations: 54.66 kB / 1.189 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0001756/0.003944, allocations: 206.9 kB / 1.189 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 7.898e-05/0.004023, allocations: 89.02 kB / 1.189 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0008072/0.004831, allocations: 0.5423 MB / 1.19 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 6.355e-05/0.004894, allocations: 76.92 kB / 1.19 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 3.042e-05/0.004925, allocations: 45.17 kB / 1.19 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001035/0.005028, allocations: 97.31 kB / 1.19 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 2.001e-05/0.005048, allocations: 9.781 kB / 1.19 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001067/0.005155, allocations: 74.56 kB / 1.19 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0004034/0.005558, allocations: 251 kB / 1.19 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000105/0.005663, allocations: 105.5 kB / 1.19 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001575/0.005821, allocations: 134.9 kB / 1.19 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001996/0.00602, allocations: 154.2 kB / 1.191 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.405e-05/0.006034, allocations: 15.59 kB / 1.191 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 2.818e-05/0.006062, allocations: 24.89 kB / 1.191 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0003965/0.006459, allocations: 264.1 kB / 1.191 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.183e-05/0.006471, allocations: 6.375 kB / 1.191 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 2.91e-07/0.006471, allocations: 0 / 1.191 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 3.067e-05/0.006502, allocations: 27.05 kB / 1.191 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.689e-06/0.006506, allocations: 0 / 1.191 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.408e-06/0.006511, allocations: 11.22 kB / 1.191 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.074e-05/0.006522, allocations: 9.25 kB / 1.191 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 8.857e-05/0.00661, allocations: 25.47 kB / 1.191 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0001818/0.006792, allocations: 352.6 kB / 1.191 GB, free: 10.35 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: ............... 0 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 26 (6) {idxLasTru.y, idxLasTru.booToInt.y, idxLasTruAllFal.y, idxLasTruAllFal.booToInt.y, conAllFal.y, con.y} * 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: ........... 2 (scalar:2, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 4, 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: ........... 2 (scalar:2, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 4, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.493e-05/0.006837, allocations: 27.83 kB / 1.191 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001674/0.008511, allocations: 1.017 MB / 1.192 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of Templates: time 0.003876/0.01239, allocations: 0.518 MB / 1.193 GB, free: 9.691 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.makefile [Timeout 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.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=Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex -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.Utilities.Validation.LastTrueIndex.o Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.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=Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex -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.Utilities.Validation.LastTrueIndex_functions.o Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_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=Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex -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.Utilities.Validation.LastTrueIndex_records.o Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_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=Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex -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.Utilities.Validation.LastTrueIndex_01exo.o Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_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=Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex -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.Utilities.Validation.LastTrueIndex_02nls.o Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_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=Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex -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.Utilities.Validation.LastTrueIndex_03lsy.o Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_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=Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex -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.Utilities.Validation.LastTrueIndex_04set.o Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_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=Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex -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.Utilities.Validation.LastTrueIndex_05evt.o Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_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=Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex -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.Utilities.Validation.LastTrueIndex_06inz.o Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_06inz.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=Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex -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.Utilities.Validation.LastTrueIndex_07dly.o Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_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=Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex -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.Utilities.Validation.LastTrueIndex_08bnd.o Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_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=Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex -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.Utilities.Validation.LastTrueIndex_09alg.o Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_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=Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex -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.Utilities.Validation.LastTrueIndex_10asr.o Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_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=Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex -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.Utilities.Validation.LastTrueIndex_11mix.o Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_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=Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex -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.Utilities.Validation.LastTrueIndex_12jac.o Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_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=Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex -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.Utilities.Validation.LastTrueIndex_13opt.o Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_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=Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex -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.Utilities.Validation.LastTrueIndex_14lnz.o Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_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=Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex -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.Utilities.Validation.LastTrueIndex_15syn.o Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_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=Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex -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.Utilities.Validation.LastTrueIndex_16dae.o Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_16dae.c Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_16dae.c:27:79: error: expected expression if ((evalStages & currentEvalStage) && !((currentEvalStage!=EVAL_DISCRETE)?():0)) { ^ Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_16dae.c:31:79: error: expected expression if ((evalStages & currentEvalStage) && !((currentEvalStage!=EVAL_DISCRETE)?():0)) { ^ Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_16dae.c:34:80: error: expected expression }if ((evalStages & currentEvalStage) && !((currentEvalStage!=EVAL_DISCRETE)?():0)) { ^ Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_16dae.c:38:79: error: expected expression if ((evalStages & currentEvalStage) && !((currentEvalStage!=EVAL_DISCRETE)?():0)) { ^ 4 errors generated. make: *** [: Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_16dae.o] Error 1 [Calling os._exit(0), Time elapsed: 8.292125528969336] Failed to read output from testmodel.py, exit status != 0: 0.01996395702008158 0.034709609 0.028275253 Calling exit ...