Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 114.7 kB / 16.43 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 179.2 kB / 17.35 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.206/1.206, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.3/2.3, allocations: 469.8 MB / 0.7432 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.341e-05, allocations: 2.281 kB / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.5925/0.5925, allocations: 167.4 MB / 1.229 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002434/0.595, allocations: 1.555 MB / 1.231 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002628/0.5953, allocations: 12.31 kB / 1.231 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004306/0.5957, allocations: 160.2 kB / 1.231 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.5972, allocations: 0.7414 MB / 1.232 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.5986, allocations: 0.5972 MB / 1.232 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007769/0.5994, allocations: 0.8007 MB / 1.233 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003252/0.5997, allocations: 215.7 kB / 1.233 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005634/0.6003, allocations: 388.6 kB / 1.234 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.6006, allocations: 236.1 kB / 1.234 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.6006, allocations: 22.47 kB / 1.234 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.6019, allocations: 0.8406 MB / 1.235 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of combineBinaries: time 0.0004493/0.6023, allocations: 0.5885 MB / 1.235 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of replaceArrayConstructors: time 0.0002472/0.6026, allocations: 403 kB / 1.236 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.612e-05/0.6027, allocations: 55.81 kB / 1.236 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.485e-05/0.6027, allocations: 12 kB / 1.236 GB, free: 9.965 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 (53) * Number of variables: 55 (53) Notification: Performance of Bindings: time 0.001154/0.6039, allocations: 1.233 MB / 1.237 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of FunctionAlias: time 7.47e-05/0.604, allocations: 59.83 kB / 1.237 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of Early Inline: time 0.0008036/0.6048, allocations: 0.7528 MB / 1.238 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of simplify1: time 0.0001276/0.6049, allocations: 127.7 kB / 1.238 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of Alias: time 0.00098/0.6059, allocations: 0.7382 MB / 1.239 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of simplify2: time 0.0001211/0.606, allocations: 123.7 kB / 1.239 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of Detect States: time 0.0002917/0.6063, allocations: 153.4 kB / 1.239 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of Events: time 0.0001851/0.6065, allocations: 132.2 kB / 1.239 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of Partitioning: time 0.0002229/0.6068, allocations: 212.6 kB / 1.239 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of Causalize: time 0.0009942/0.6078, allocations: 0.8167 MB / 1.24 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of After Index Reduction Inline: time 0.0004453/0.6082, allocations: 487.4 kB / 1.24 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of Inline: time 0.001054/0.6093, allocations: 0.9923 MB / 1.241 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of Partitioning: time 3.521e-05/0.6093, allocations: 26.3 kB / 1.241 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of Cleanup: time 0.0001382/0.6095, allocations: 179.7 kB / 1.242 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of Causalize: time 0.001151/0.6106, allocations: 0.9635 MB / 1.243 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of Tearing: time 1.223e-05/0.6106, allocations: 4 kB / 1.243 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of Initialization: time 3.4e-07/0.6107, allocations: 4 kB / 1.243 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of Tearing: time 5.35e-06/0.6107, allocations: 3.938 kB / 1.243 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of Categorize: time 1.178e-05/0.6107, allocations: 7.938 kB / 1.243 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of Solve: time 0.0002941/0.611, allocations: 181.8 kB / 1.243 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of Jacobian: time 0.0003237/0.6113, allocations: 343 kB / 1.243 GB, free: 1.957 MB / 0.9512 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 1 * 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: ............................. 1 (1) {senDyn.d} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 9 (9) {$SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 42 (scalar:32, array:10, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 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: ........... 52 (scalar:42, array:10, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.628e-05/0.6114, allocations: 41.62 kB / 1.243 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of SimCode: time 0.003126/0.6145, allocations: 2.572 MB / 1.246 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of Templates: time 0.008949/0.6235, allocations: 5.704 MB / 1.251 GB, free: 9.625 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.makefile make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_11_Buildings_Fluid_Sensors_Examples_Velocity -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_11_Buildings.Fluid.Sensors.Examples.Velocity.o Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_11_Buildings_Fluid_Sensors_Examples_Velocity -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_11_Buildings.Fluid.Sensors.Examples.Velocity_functions.o Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_functions.c Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_functions.c:922:3: warning: implicit declaration of function 'ModelicaError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaError(MMC_STRINGDATA(_string)); ^ 1 warning generated. clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_11_Buildings_Fluid_Sensors_Examples_Velocity -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_11_Buildings.Fluid.Sensors.Examples.Velocity_records.o Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_11_Buildings_Fluid_Sensors_Examples_Velocity -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_11_Buildings.Fluid.Sensors.Examples.Velocity_01exo.o Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_11_Buildings_Fluid_Sensors_Examples_Velocity -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_11_Buildings.Fluid.Sensors.Examples.Velocity_02nls.o Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_02nls.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_11_Buildings_Fluid_Sensors_Examples_Velocity -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_11_Buildings.Fluid.Sensors.Examples.Velocity_03lsy.o Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_03lsy.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_11_Buildings_Fluid_Sensors_Examples_Velocity -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_11_Buildings.Fluid.Sensors.Examples.Velocity_04set.o Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_04set.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_11_Buildings_Fluid_Sensors_Examples_Velocity -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_11_Buildings.Fluid.Sensors.Examples.Velocity_05evt.o Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_05evt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_11_Buildings_Fluid_Sensors_Examples_Velocity -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_11_Buildings.Fluid.Sensors.Examples.Velocity_06inz.o Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_06inz.c Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_06inz.c:167:46: error: passing 'modelica_real' (aka 'double') to parameter of incompatible type 'real_array' (aka 'struct base_array_s') usub_alloc_real_array(div_alloc_real_array((data->localData[0]->realVars[19] /* ramp.y variable */), tmp12),&tmp13); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/real_array.h:174:57: note: passing argument to parameter 'a' here extern real_array div_alloc_real_array(const real_array a,const real_array b); ^ Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_06inz.c:168:79: error: assigning to 'modelica_real' (aka 'double') from incompatible type 'real_array' (aka 'struct base_array_s') (data->localData[0]->realVars[13] /* masFloRat.ports[1].m_flow variable */) = tmp13; ^ ~~~~~ 2 errors generated. make: *** [: Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_06inz.o] Error 1