Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.001439/0.001439, allocations: 112.7 kB / 18.34 MB, free: 3.961 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.001446/0.001446, allocations: 190 kB / 21.52 MB, free: 0.7969 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.301/1.301, allocations: 225.6 MB / 250.1 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] 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 2.624/2.624, allocations: 496.2 MB / 0.7826 GB, free: 12.32 MB / 0.6231 GB " [Timeout remaining time 177] 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.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.155e-05, allocations: 5.516 kB / 1.136 GB, free: 12.55 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001955/0.001977, allocations: 1.219 MB / 1.138 GB, free: 11.31 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002118/0.002188, allocations: 63.75 kB / 1.138 GB, free: 11.25 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.192e-05/0.00222, allocations: 0 / 1.138 GB, free: 11.25 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.02e-05/0.00225, allocations: 3.938 kB / 1.138 GB, free: 11.25 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.605e-05/0.002346, allocations: 11.91 kB / 1.138 GB, free: 11.23 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.002469, allocations: 8 kB / 1.138 GB, free: 11.23 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.42e-05/0.002543, allocations: 23.91 kB / 1.138 GB, free: 11.2 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.834e-05/0.002582, allocations: 4 kB / 1.138 GB, free: 11.2 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.805e-05/0.00261, allocations: 8 kB / 1.138 GB, free: 11.19 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.525e-05/0.002645, allocations: 7.984 kB / 1.138 GB, free: 11.18 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.002656, allocations: 0 / 1.138 GB, free: 11.18 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.113e-05/0.002707, allocations: 4 kB / 1.138 GB, free: 11.18 MB / 0.92 GB Notification: Performance of combineBinaries: time 4.519e-05/0.002753, allocations: 23.83 kB / 1.138 GB, free: 11.16 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 1.521e-05/0.002768, allocations: 11.84 kB / 1.138 GB, free: 11.14 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.161e-05/0.002779, allocations: 7.938 kB / 1.138 GB, free: 11.14 MB / 0.92 GB Notification: Performance of FrontEnd: time 5.651e-06/0.002785, allocations: 0 / 1.138 GB, free: 11.14 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: 0 (0) * Number of variables: 0 (0) Notification: Performance of Bindings: time 0.0003218/0.003107, allocations: 213.8 kB / 1.138 GB, free: 10.81 MB / 0.92 GB Notification: Performance of FunctionAlias: time 3.828e-05/0.003145, allocations: 6.812 kB / 1.138 GB, free: 10.8 MB / 0.92 GB Notification: Performance of Early Inline: time 8.296e-05/0.003228, allocations: 56.73 kB / 1.138 GB, free: 10.72 MB / 0.92 GB Notification: Performance of Simplify 1: time 4.338e-05/0.003271, allocations: 40.42 kB / 1.138 GB, free: 10.66 MB / 0.92 GB Notification: Performance of Alias: time 6.395e-05/0.003335, allocations: 72.86 kB / 1.138 GB, free: 10.54 MB / 0.92 GB Notification: Performance of Simplify 2: time 3.446e-05/0.00337, allocations: 44.42 kB / 1.138 GB, free: 10.46 MB / 0.92 GB Notification: Performance of Remove Stream: time 3.794e-05/0.003408, allocations: 48.36 kB / 1.138 GB, free: 10.39 MB / 0.92 GB Notification: Performance of Detect States: time 0.0001174/0.003525, allocations: 63.36 kB / 1.138 GB, free: 10.29 MB / 0.92 GB Notification: Performance of Events: time 4.288e-06/0.003529, allocations: 0 / 1.138 GB, free: 10.29 MB / 0.92 GB Notification: Performance of Partitioning: time 1.285e-05/0.003542, allocations: 4 kB / 1.138 GB, free: 10.29 MB / 0.92 GB Notification: Performance of Causalize: time 4.188e-06/0.003546, allocations: 0 / 1.138 GB, free: 10.29 MB / 0.92 GB Notification: Performance of After Index Reduction Inline: time 1.668e-05/0.003563, allocations: 15.92 kB / 1.138 GB, free: 10.27 MB / 0.92 GB Notification: Performance of Simplify: time 0.0001606/0.003724, allocations: 92.67 kB / 1.138 GB, free: 10.13 MB / 0.92 GB Notification: Performance of Inline: time 2.294e-05/0.003747, allocations: 20.05 kB / 1.138 GB, free: 10.11 MB / 0.92 GB Notification: Performance of Partitioning: time 1.127e-05/0.003758, allocations: 8.125 kB / 1.139 GB, free: 10.09 MB / 0.92 GB Notification: Performance of Cleanup: time 9.538e-06/0.003767, allocations: 12 kB / 1.139 GB, free: 10.08 MB / 0.92 GB Notification: Performance of Causalize: time 0.0004833/0.004251, allocations: 311.2 kB / 1.139 GB, free: 9.762 MB / 0.92 GB Notification: Performance of Tearing: time 7.313e-06/0.004258, allocations: 0 / 1.139 GB, free: 9.762 MB / 0.92 GB Notification: Performance of Initialization: time 2.91e-07/0.004258, allocations: 0 / 1.139 GB, free: 9.762 MB / 0.92 GB Notification: Performance of Remove Dummies: time 6.32e-07/0.004259, allocations: 0 / 1.139 GB, free: 9.762 MB / 0.92 GB Notification: Performance of Tearing: time 3.5e-07/0.004259, allocations: 0 / 1.139 GB, free: 9.762 MB / 0.92 GB Notification: Performance of Categorize: time 1.803e-06/0.004261, allocations: 4 kB / 1.139 GB, free: 9.758 MB / 0.92 GB Notification: Performance of Solve: time 7.883e-05/0.00434, allocations: 35.91 kB / 1.139 GB, free: 9.723 MB / 0.92 GB Notification: Performance of Jacobian: time 3.276e-06/0.004343, allocations: 0 / 1.139 GB, free: 9.723 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: ............... 0 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 0 (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: ........... 0 (scalar:0, 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 1, generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.591e-05/0.004369, allocations: 10.22 kB / 1.139 GB, free: 9.715 MB / 0.92 GB Notification: Performance of SimCode: time 0.000799/0.005168, allocations: 1.015 MB / 1.14 GB, free: 8.68 MB / 0.92 GB Notification: Performance of Templates: time 0.002555/0.007723, allocations: 424.4 kB / 1.14 GB, free: 8.266 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] make -j1 -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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_Controls_Predictors_BaseClasses_Examples_SampleStart -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.Controls.Predictors.BaseClasses.Examples.SampleStart.o Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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_Controls_Predictors_BaseClasses_Examples_SampleStart -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.Controls.Predictors.BaseClasses.Examples.SampleStart_functions.o Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_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_Controls_Predictors_BaseClasses_Examples_SampleStart -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.Controls.Predictors.BaseClasses.Examples.SampleStart_records.o Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_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_Controls_Predictors_BaseClasses_Examples_SampleStart -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.Controls.Predictors.BaseClasses.Examples.SampleStart_01exo.o Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_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_Controls_Predictors_BaseClasses_Examples_SampleStart -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.Controls.Predictors.BaseClasses.Examples.SampleStart_02nls.o Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_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_Controls_Predictors_BaseClasses_Examples_SampleStart -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.Controls.Predictors.BaseClasses.Examples.SampleStart_03lsy.o Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_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_Controls_Predictors_BaseClasses_Examples_SampleStart -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.Controls.Predictors.BaseClasses.Examples.SampleStart_04set.o Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_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_Controls_Predictors_BaseClasses_Examples_SampleStart -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.Controls.Predictors.BaseClasses.Examples.SampleStart_05evt.o Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_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_Controls_Predictors_BaseClasses_Examples_SampleStart -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.Controls.Predictors.BaseClasses.Examples.SampleStart_06inz.o Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_06inz.c Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_06inz.c:34:12: error: assigning to 'real_array' (aka 'struct base_array_s') from incompatible type 'modelica_integer' (aka 'long') tmp1 = _omcQ_24i1; ^ ~~~~~~~~~~ Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_06inz.c:36:90: error: assigning to 'modelica_real' (aka 'double') from incompatible type 'real_array' (aka 'struct base_array_s') (&(data->simulationInfo->realParameter[0] /* tSimSta[1] PARAM */))[_omcQ_24i1 - 1] = tmp0; ^ ~~~~ 2 errors generated. make: *** [: Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_06inz.o] Error 1 [Calling os._exit(0), Time elapsed: 6.130188503302634]